diff --git a/adm/auth_list.php b/adm/auth_list.php index dab3c51f7..9f5758b56 100644 --- a/adm/auth_list.php +++ b/adm/auth_list.php @@ -103,9 +103,9 @@ $colspan = 5; continue; } - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + diff --git a/adm/board_list.php b/adm/board_list.php index a97f3b3cb..dd7ed5eb2 100644 --- a/adm/board_list.php +++ b/adm/board_list.php @@ -119,10 +119,10 @@ $colspan = 16; $one_update = '수정'; $one_copy = '복사'; - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + diff --git a/adm/boardgroup_list.php b/adm/boardgroup_list.php index 2f727e233..673485eb3 100644 --- a/adm/boardgroup_list.php +++ b/adm/boardgroup_list.php @@ -125,10 +125,10 @@ $colspan = 11; $s_upd = '수정'; - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + diff --git a/adm/boardgroupmember_list.php b/adm/boardgroupmember_list.php index a21918493..37549e711 100644 --- a/adm/boardgroupmember_list.php +++ b/adm/boardgroupmember_list.php @@ -110,9 +110,9 @@ $colspan = 7; $mb_nick = get_sideview($row['mb_id'], $row['mb_nick'], $row['mb_email'], $row['mb_homepage']); - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + diff --git a/adm/mail_list.php b/adm/mail_list.php index dc1431731..2ac9d1237 100644 --- a/adm/mail_list.php +++ b/adm/mail_list.php @@ -57,10 +57,10 @@ $colspan = 7; $num = number_format($total_count - ($page - 1) * $config['cf_page_rows'] - $i); - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + diff --git a/adm/mail_select_list.php b/adm/mail_select_list.php index 7cce2e4fd..e95ca52a7 100644 --- a/adm/mail_select_list.php +++ b/adm/mail_select_list.php @@ -96,9 +96,9 @@ include_once('./admin.head.php'); $ma_list .= $cr . $row['mb_email'] . "||" . $row['mb_id'] . "||" . $row['mb_name'] . "||" . $row['mb_nick'] . "||" . $row['mb_datetime']; $cr = "\n"; - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + diff --git a/adm/member_list.php b/adm/member_list.php index b7ddc81e6..63595fd2c 100644 --- a/adm/member_list.php +++ b/adm/member_list.php @@ -187,7 +187,7 @@ $colspan = 15; $address = $row['mb_zip1'] ? $row['mb_addr1'].' '.$row['mb_addr2'] : ''; - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); switch($row['mb_certify']) { case 'hp': @@ -209,7 +209,7 @@ $colspan = 15; } ?> - > + @@ -235,7 +235,7 @@ $colspan = 15; - > +
Yes':'No'; ?> value="1"> diff --git a/adm/point_list.php b/adm/point_list.php index 7c6bde3b2..a6ea202ea 100644 --- a/adm/point_list.php +++ b/adm/point_list.php @@ -151,10 +151,10 @@ function point_clear() if($row['po_expired'] == 1) $expr = ' txt_expired'; - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + diff --git a/adm/poll_list.php b/adm/poll_list.php index 5320f2307..40070ed9a 100644 --- a/adm/poll_list.php +++ b/adm/poll_list.php @@ -105,10 +105,10 @@ $colspan = 7; $s_mod = '수정'; //$s_del = '삭제'; - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + diff --git a/adm/popular_list.php b/adm/popular_list.php index 26b5c9773..bf5b2feb4 100644 --- a/adm/popular_list.php +++ b/adm/popular_list.php @@ -112,10 +112,10 @@ var list_delete_php = 'popular_list.php'; for ($i=0; $row=sql_fetch_array($result); $i++) { $word = get_text($row['pp_word']); - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + diff --git a/adm/visit_browser.php b/adm/visit_browser.php index d6496ab1f..3c1656a6a 100644 --- a/adm/visit_browser.php +++ b/adm/visit_browser.php @@ -65,10 +65,10 @@ while ($row=sql_fetch_array($result)) { $rate = ($count / $sum_count * 100); $s_rate = number_format($rate, 1); - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + diff --git a/adm/visit_date.php b/adm/visit_date.php index 88bebbc7f..9f180df30 100644 --- a/adm/visit_date.php +++ b/adm/visit_date.php @@ -56,10 +56,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++) { $rate = ($count / $sum_count * 100); $s_rate = number_format($rate, 1); - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > +
diff --git a/adm/visit_domain.php b/adm/visit_domain.php index eb5bb60b6..2c3f9c919 100644 --- a/adm/visit_domain.php +++ b/adm/visit_domain.php @@ -76,9 +76,9 @@ while ($row=sql_fetch_array($result)) { $rate = ($count / $sum_count * 100); $s_rate = number_format($rate, 1); - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + diff --git a/adm/visit_hour.php b/adm/visit_hour.php index 83aef104f..5e6cb1922 100644 --- a/adm/visit_hour.php +++ b/adm/visit_hour.php @@ -55,9 +55,9 @@ for ($i=0; $row=sql_fetch_array($result); $i++) { $rate = ($count / $sum_count * 100); $s_rate = number_format($rate, 1); - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > +
diff --git a/adm/visit_list.php b/adm/visit_list.php index 090ded735..200cda1b5 100644 --- a/adm/visit_list.php +++ b/adm/visit_list.php @@ -78,9 +78,9 @@ $result = sql_query($sql); if ($brow == '기타') { $brow = ''.$brow.''; } if ($os == '기타') { $os = ''.$os.''; } - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + @@ -98,7 +98,7 @@ $result = sql_query($sql);
- > +
diff --git a/adm/visit_os.php b/adm/visit_os.php index a5752e494..936237a72 100644 --- a/adm/visit_os.php +++ b/adm/visit_os.php @@ -69,10 +69,10 @@ while ($row=sql_fetch_array($result)) { $rate = ($count / $sum_count * 100); $s_rate = number_format($rate, 1); - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + diff --git a/adm/visit_week.php b/adm/visit_week.php index 917652ff1..d554d9be9 100644 --- a/adm/visit_week.php +++ b/adm/visit_week.php @@ -52,10 +52,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++) { $rate = ($count / $sum_count * 100); $s_rate = number_format($rate, 1); - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > +
diff --git a/adm/visit_year.php b/adm/visit_year.php index 181948564..a176ad681 100644 --- a/adm/visit_year.php +++ b/adm/visit_year.php @@ -57,10 +57,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++) { $rate = ($count / $sum_count * 100); $s_rate = number_format($rate, 1); - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > +
diff --git a/css/admin.css b/css/admin.css index c21ed00fe..c810132c5 100644 --- a/css/admin.css +++ b/css/admin.css @@ -256,7 +256,6 @@ tfoot th {} tfoot td {font-weight:bold;text-align:center} table .tr_bg0 {background:#fff} table .tr_bg1 {background:#f0f3f7} - table .tr_bg0escrow {background:#f3f7e7} table .tr_bg0escrow td {border-color:#e4efbb} table .tr_bg1escrow {background:#edf1e3} @@ -400,7 +399,6 @@ td.td_grpset {width:160px;border-left:1px solid #e9ecee;text-align:center} .txt_true {color:#e8180c} .txt_false {color:#ccc} - .banner_or_img {margin:10px 0 0} .banner_or_img button {display:block;margin:5px 0 0} .txt_active {color:#5d910b} @@ -649,15 +647,15 @@ strong.sodr_nonpay {display:block;padding:5px 0;text-align:right} /* 새창 기본 스타일 */ .new_win {} -.new_win h1 {margin-bottom:20px;padding:0 20px;min-width:480px;height:60px;border-top:2px solid #484848;border-bottom:1px solid #e9e9e9;background:#fff;font-size:1.2em;line-height:5em} +.new_win h1 {margin-bottom:20px;padding:0 20px;min-width:320px/* 적정값으로 변경하여 사용하세요. */;height:60px;border-top:2px solid #484848;border-bottom:1px solid #e9e9e9;background:#fff;font-size:1.2em;line-height:5em} .new_win h2 {margin:0 20px 10px} .new_win_ul {margin:-20px 0 20px 0;padding:0 0 0 20px;border-bottom:1px solid #515151;background:#484848;list-style:none;zoom:1} .new_win_ul:after {display:block;visibility:hidden;clear:both;content:""} .new_win_ul li {float:left;margin-left:-1px} .new_win_ul a {display:block;padding:10px 10px 8px;border-right:1px solid #595959;border-left:1px solid #595959;color:#fff;font-family:dotum;font-weight:bold;text-decoration:none} -.new_win_desc {margin:0 20px} -.new_win .anchor {margin:0 20px 5px} +.new_win_desc {margin:0 auto;width:93%} +.new_win .anchor {margin:0 auto 5px;width:93%} .new_win .tbl_wrap {margin:0 20px 20px;padding:0} .new_win .local_sch, .new_win .local_cmd, .new_win .local_desc01, .new_win .local_desc02, .new_win .local_ov {min-width:480px}