diff --git a/bbs/poll_result.php b/bbs/poll_result.php index 027223855..e30675561 100644 --- a/bbs/poll_result.php +++ b/bbs/poll_result.php @@ -85,6 +85,14 @@ for ($i=0; $row2=sql_fetch_array($result); $i++) { $list3[$i]['subject'] = cut_str($row2['po_subject'],60,"…"); } +if (G4_IS_MOBILE) { + $poll_skin_path = G4_MOBILE_PATH.'/'.G4_SKIN_DIR.'/poll/'.$skin_dir; + $poll_skin_url = G4_MOBILE_URL.'/'.G4_SKIN_DIR.'/poll/'.$skin_dir; +} else { + $poll_skin_path = G4_SKIN_PATH.'/poll/'.$skin_dir; + $poll_skin_url = G4_SKIN_URL.'/poll/'.$skin_dir; +} + include_once(G4_PATH.'/head.sub.php'); if (!file_exists($poll_skin_path.'/poll_result.skin.php')) die('skin error'); diff --git a/head.sub.php b/head.sub.php index b811ed25f..837b4855c 100644 --- a/head.sub.php +++ b/head.sub.php @@ -37,12 +37,12 @@ header("Pragma: no-cache"); // HTTP/1.0 +<?=$g4_head_title?> -<?=$g4_head_title?>