mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-12 23:12:13 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7649 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5aa5432e9b
commit
174a24db8a
2 changed files with 9 additions and 5 deletions
|
|
@ -170,18 +170,22 @@
|
|||
$args->start_date = $start_date;
|
||||
$args->end_date = $end_date;
|
||||
$output = executeQueryArray('admin.getVisitors', $args);
|
||||
$status->week_max = 0;
|
||||
if(count($output->data)) {
|
||||
foreach($output->data as $key => $val) {
|
||||
$visitors[$val->regdate] = $val->unique_visitor;
|
||||
if($val->unique_visitor>$status->week_max) $status->week_max = $val->unique_visitor;
|
||||
}
|
||||
}
|
||||
$output = executeQueryArray('admin.getSiteVisitors', $args);
|
||||
if(count($output->data)) {
|
||||
foreach($output->data as $key => $val) {
|
||||
$visitors[$val->regdate] += $val->unique_visitor;
|
||||
if($val->unique_visitor>$status->week_max) $status->week_max = $val->unique_visitor;
|
||||
}
|
||||
}
|
||||
|
||||
$status->week_max = 0;
|
||||
if(count($visitors)) {
|
||||
foreach($visitors as $key => $val) {
|
||||
if($val>$status->week_max) $status->week_max = $val;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue