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..96bdd8fe9 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;
}
?>
-
>
+
|
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);
?>
- >
+
|
| | | | |