접속자 Browscap 적용 기능 개선

This commit is contained in:
chicpro
2015-11-13 11:23:14 +09:00
parent aebfc70b10
commit 158d9040d2
14 changed files with 209 additions and 42 deletions

View File

@ -17,7 +17,7 @@ $result = sql_query($sql);
while ($row=sql_fetch_array($result)) {
$s = $row['vi_device'];
if(!$s)
$s = get_device($row['vi_agent']);
$s = '기타';
$arr[$s]++;
@ -65,7 +65,7 @@ while ($row=sql_fetch_array($result)) {
}
if (!$key) {
$key = 'Unknown';
$key = '기타';
}
$rate = ($count / $sum_count * 100);