|
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/bbs/download.php b/bbs/download.php
index 38607c45c..92e7df1b3 100644
--- a/bbs/download.php
+++ b/bbs/download.php
@@ -1,6 +1,9 @@
$(function() {
$("a.sct_a").on("click", function() {
- opener.location.href = this.href;
+ window.opener.location.href = this.href;
self.close();
+ return false;
});
});
\ No newline at end of file
diff --git a/mobile/skin/shop/basic/itemqa.skin.php b/mobile/skin/shop/basic/itemqa.skin.php
index c48fbe95d..84fb0ef4e 100644
--- a/mobile/skin/shop/basic/itemqa.skin.php
+++ b/mobile/skin/shop/basic/itemqa.skin.php
@@ -126,8 +126,9 @@ $(function(){
});
$("a#itemqa_list").on("click", function() {
- opener.location.href = this.href;
+ window.opener.location.href = this.href;
self.close();
+ return false;
});
});
diff --git a/mobile/skin/shop/basic/itemuse.skin.php b/mobile/skin/shop/basic/itemuse.skin.php
index 9acad155a..78fe63e1d 100644
--- a/mobile/skin/shop/basic/itemuse.skin.php
+++ b/mobile/skin/shop/basic/itemuse.skin.php
@@ -106,8 +106,9 @@ $(function(){
});
$("a#itemuse_list").on("click", function() {
- opener.location.href = this.href;
+ window.opener.location.href = this.href;
self.close();
+ return false;
});
});
| | | | |