관리자 따옴표 수정

This commit is contained in:
chicpro
2012-11-05 13:32:28 +09:00
parent 1e974943c9
commit 1288772680
15 changed files with 238 additions and 238 deletions

View File

@ -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;
?>
@ -28,16 +28,16 @@ $colspan = 4;
$weekday = array ('월', '화', '수', '목', '금', '토', '일');
$sum_count = 0;
$sql = " select WEEKDAY(vs_date) as weekday_date, SUM(vs_count) as cnt
from $g4[visit_sum_table]
$sql = " select WEEKDAY(vs_date) as weekday_date, SUM(vs_count) as cnt
from {$g4['visit_sum_table']}
where vs_date between '$fr_date' and '$to_date'
group by weekday_date
order by weekday_date ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) {
$arr[$row[weekday_date]] = $row[cnt];
$arr[$row['weekday_date']] = $row['cnt'];
$sum_count += $row[cnt];
$sum_count += $row['cnt'];
}
$k = 0;
@ -47,7 +47,7 @@ if ($i) {
$rate = ($count / $sum_count * 100);
$s_rate = number_format($rate, 1);
$graph = "<img src='{$g4[admin_path]}/img/graph.gif' width='$rate%' height='18'>";
$graph = "<img src='{$g4['admin_path']}/img/graph.gif' width='$rate%' height='18'>";
$list = ($k++%2);
echo "
@ -74,5 +74,5 @@ if ($i) {
</table>
<?
include_once("./admin.tail.php");
include_once('./admin.tail.php');
?>