diff --git a/css/default.css b/css/default.css index 2633a179f..93c6490c4 100644 --- a/css/default.css +++ b/css/default.css @@ -33,7 +33,7 @@ a:active {color:#000;text-decoration:underline} #to_content a:active {width:100%;height:75px;background:#21272e;color:#fff;font-size:2em;font-weight:bold;text-align:center;text-decoration:none;line-height:3.3em} /* 이미지 등비율 리사이징 */ -.img_fix {float:left;width:100%;height:auto} +.img_fix {width:100%;height:auto} /* 캡챠 자동등록(입력)방지 기본 */ #captcha img {border:1px solid #cfded8;border-right:0} diff --git a/css/mobile.css b/css/mobile.css index 31ec572ea..5911a8dce 100644 --- a/css/mobile.css +++ b/css/mobile.css @@ -29,7 +29,7 @@ pre {overflow-x:scroll;font-size:1.1em} .to_content a {z-index:100000;position:absolute;top:0;left:0;width:0;height:0;font-size:0;line-height:0;overflow:hidden} /* 이미지 등비율 리사이징 */ -.img_fix {float:left;width:100%;height:auto} +.img_fix {width:100%;height:auto} /* 캡챠 자동등록(입력)방지 기본 */ #captcha img {height:1.8em;border:1px solid #cfded8;border-right:0} diff --git a/mobile/skin/poll/basic/poll.skin.php b/mobile/skin/poll/basic/poll.skin.php index f3f017c0d..b1da218a4 100644 --- a/mobile/skin/poll/basic/poll.skin.php +++ b/mobile/skin/poll/basic/poll.skin.php @@ -1,19 +1,8 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 - -global $is_admin; - -// 투표번호가 넘어오지 않았다면 가장 큰(최근에 등록한) 투표번호를 얻는다 -if (!$po_id) { - $po_id = $config['cf_max_po_id']; - - if (!$po_id) return; -} - -$po = sql_fetch(" select * from {$g4['poll_table']} where po_id = '$po_id' "); ?> -