관리자 접속자 기능 개선

This commit is contained in:
chicpro committed 2015-11-03 15:35:31 +09:00
1 parent c7b1d0ee96
commit 7083bb0899
18 files changed
+1722 -60

No files matched your search

+4 -2
View File
@@ -15,7 +15,9 @@ $sql = " select * from {$g5['visit_table']}
where vi_date between '$fr_date' and '$to_date' ";
$result = sql_query($sql);
while ($row=sql_fetch_array($result)) {
$s = get_os($row['vi_agent']);
$s = $row['vi_os'];
if(!$s)
$s = get_os($row['vi_agent']);
$arr[$s]++;
@@ -63,7 +65,7 @@ while ($row=sql_fetch_array($result)) {
}
if (!$key) {
$key = '직접';
$key = 'Unknown';
}
$rate = ($count / $sum_count * 100);