git-svn-id: http://xe-core.googlecode.com/svn/trunk@1213 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-18 05:37:23 +00:00
parent 713bbfe3d2
commit 7ae6882c5c
16 changed files with 109 additions and 254 deletions

View file

@ -54,16 +54,18 @@
* @brief unique visitor 등록
**/
function insertUniqueVisitor() {
$args->regdate = date("Ymd000000");
return executeQuery('counter.updateCounterUnique', $args);
$args->regdate = date("Ymd");
executeQuery('counter.updateCounterUnique', $args);
executeQuery('counter.updateTotalCounterUnique');
}
/**
* @brief pageview 등록
**/
function insertPageView() {
$args->regdate = date("Ymd000000");
return executeQuery('counter.updateCounterPageview', $args);
$args->regdate = date("Ymd");
executeQuery('counter.updateCounterPageview', $args);
executeQuery('counter.updateTotalCounterPageview');
}
/**
@ -71,7 +73,7 @@
**/
function insertTodayStatus($regdate = 0) {
if($regdate) $args->regdate = $regdate;
else $args->regdate = date("Ymd000000");
else $args->regdate = date("Ymd");
executeQuery('counter.insertTodayStatus', $args);
// 로그 등록