관리자 따옴표 수정
This commit is contained in:
@ -1,12 +1,12 @@
|
||||
<?
|
||||
$sub_menu = "200800";
|
||||
include_once("./_common.php");
|
||||
include_once('./_common.php');
|
||||
|
||||
auth_check($auth[$sub_menu], "r");
|
||||
auth_check($auth[$sub_menu], 'r');
|
||||
|
||||
$g4[title] = "일별 접속자현황";
|
||||
include_once("./admin.head.php");
|
||||
include_once("./visit.sub.php");
|
||||
$g4['title'] = '일별 접속자현황';
|
||||
include_once('./admin.head.php');
|
||||
include_once('./visit.sub.php');
|
||||
|
||||
$colspan = 4;
|
||||
?>
|
||||
@ -27,17 +27,17 @@ $colspan = 4;
|
||||
<?
|
||||
$max = 0;
|
||||
$sum_count = 0;
|
||||
$sql = " select vs_date, vs_count as cnt
|
||||
from $g4[visit_sum_table]
|
||||
$sql = " select vs_date, vs_count as cnt
|
||||
from {$g4['visit_sum_table']}
|
||||
where vs_date between '$fr_date' and '$to_date'
|
||||
order by vs_date desc ";
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
$arr[$row[vs_date]] = $row[cnt];
|
||||
$arr[$row['vs_date']] = $row['cnt'];
|
||||
|
||||
if ($row[cnt] > $max) $max = $row[cnt];
|
||||
if ($row['cnt'] > $max) $max = $row['cnt'];
|
||||
|
||||
$sum_count += $row[cnt];
|
||||
$sum_count += $row['cnt'];
|
||||
}
|
||||
|
||||
$i = 0;
|
||||
@ -52,7 +52,7 @@ if (count($arr)) {
|
||||
$s_rate = number_format($rate, 1);
|
||||
|
||||
$bar = (int)($count / $max * 100);
|
||||
$graph = "<img src='{$g4[admin_path]}/img/graph.gif' width='$bar%' height='18'>";
|
||||
$graph = "<img src='{$g4['admin_path']}/img/graph.gif' width='$bar%' height='18'>";
|
||||
|
||||
$list = ($k++%2);
|
||||
echo "
|
||||
@ -79,5 +79,5 @@ if (count($arr)) {
|
||||
</table>
|
||||
|
||||
<?
|
||||
include_once("./admin.tail.php");
|
||||
include_once('./admin.tail.php');
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user