{include file="statistics/header.template"} {assign var=langId value=$locale->getLanguageId()} {assign var=countryId value=$locale->getCountryId()} {php} $getlang=$this->get_template_vars('langId'); $getcountry=$this->get_template_vars('countryId'); $under='_'; if (file_exists( "./templates/statistics/lang/".$getlang.$under.$getcountry.".php" )) { include( "./templates/statistics/lang/".$getlang.$under.$getcountry.".php" ); } else { include( "./templates/statistics/lang/english.php" ); } {/php} {php} include( "./templates/statistics/drawgraph.php" ); {/php}
{php}echo $rmsg['currenttime']; {/php} 

{$now->getDate()}

{php}echo $rmsg['reporttime']; {/php} 

{assign var=blogId value=$blog->getId()} {assign var=totalreadnumber value=$blogstatistics->getTotalReadNumber()} {assign var=totalpostnumber value=$blogstatistics->getTotalPostNumber()} {assign var=totalcommentnumber value=$blogstatistics->getTotalCommentNumber()} {assign var=totaltrackbacknumber value=$blogstatistics->getTotalTrackbackNumber()} {assign var=totalreferernumber value=$blogstatistics->getTotalRefererNumber()} {assign var=todayvisitor value=$blogstatistics->getTodayVisitor()} {assign var=yesterdayvisitor value=$blogstatistics->getYesterdayVisitor()} {assign var=weekvisitor value=$blogstatistics->getThisWeekVisitor()} {assign var=monthvisitor value=$blogstatistics->getThisMonthVisitor()} {assign var=totalvisitor value=$blogstatistics->getTotalVisitor()} {assign var=todaydistinctvisitor value=$blogstatistics->getTodayDistinctVisitor()} {assign var=yesterdaydistinctvisitor value=$blogstatistics->getYesterdayDistinctVisitor()} {assign var=weekdistinctvisitor value=$blogstatistics->getThisWeekDistinctVisitor()} {assign var=monthdistinctvisitor value=$blogstatistics->getThisMonthDistinctVisitor()} {assign var=totaldistinctvisitor value=$blogstatistics->getTotalDistinctVisitor()} {assign var=onlinevisitor value=$blogstatistics->getOnlineVisitor()}

{php}echo $rmsg['plogstat'];{/php}

{php}echo $rmsg['category'];{/php}

{php}echo $rmsg['count'];{/php}

{php}echo $rmsg['totartread'];{/php} {$totalreadnumber}
{php}echo $rmsg['totart'];{/php} {$totalpostnumber}
{php}echo $rmsg['totcomment'];{/php} {$totalcommentnumber}
{php}echo $rmsg['tottrack'];{/php} {$totaltrackbacknumber}
{php}echo $rmsg['totref'];{/php} {$totalreferernumber}
{php}echo $rmsg['totonline'];{/php} {$onlinevisitor}

{php}echo $rmsg['traffic']; {/php}

{php}echo $rmsg['category']; {/php}

{php}echo $rmsg['visitor']; {/php}

{php}echo $rmsg['hit']; {/php}

{php}echo $rmsg['today']; {/php} {$todaydistinctvisitor}{$todayvisitor}
{php}echo $rmsg['yesterday']; {/php} {$yesterdaydistinctvisitor}{$yesterdayvisitor}
{php}echo $rmsg['thisweek']; {/php} {$weekdistinctvisitor}{$weekvisitor}
{php}echo $rmsg['thismonth']; {/php} {$monthdistinctvisitor}{$monthvisitor}
{php}echo $rmsg['total']; {/php} {$totaldistinctvisitor}{$totalvisitor}

{php}echo $rmsg['monthtop']; {/php}

{foreach name=topmonthvisitor from=$topmonthvisitor item=visitor} {/foreach}

{php}echo $rmsg['rank']; {/php}

{php}echo $rmsg['ipaddress']; {/php}

{php}echo $rmsg['hit']; {/php}

{php}echo $rmsg['browser']; {/php}

{php}echo $rmsg['ossystem']; {/php}

{php}echo $rmsg['recentvisittime']; {/php}

{$smarty.foreach.topmonthvisitor.iteration} {$visitor->getIp()} {$visitor->getHits()} {$visitor->getBrowser()} {$visitor->getOS()} {$visitor->getTime()}

{php}echo $rmsg['weektop']; {/php}

{foreach name=topweekvisitor from=$topweekvisitor item=visitor} {/foreach}

{php}echo $rmsg['rank']; {/php}

{php}echo $rmsg['ipaddress']; {/php}

{php}echo $rmsg['hit']; {/php}

{php}echo $rmsg['browser']; {/php}

{php}echo $rmsg['ossystem']; {/php}

{php}echo $rmsg['recentvisittime']; {/php}

{$smarty.foreach.topweekvisitor.iteration} {$visitor->getIp()}{$visitor->getHits()} {$visitor->getBrowser()}{$visitor->getOS()} {$visitor->getTime()}

{php}echo $rmsg['todaytop']; {/php}

{foreach name=topdayvisitor from=$topdayvisitor item=visitor} {/foreach}

{php}echo $rmsg['rank']; {/php}

{php}echo $rmsg['ipaddress']; {/php}

{php}echo $rmsg['hit']; {/php}

{php}echo $rmsg['browser']; {/php}

{php}echo $rmsg['ossystem']; {/php}

{php}echo $rmsg['recentvisittime']; {/php}

{$smarty.foreach.topdayvisitor.iteration} {$visitor->getIp()} {$visitor->getHits()} {$visitor->getBrowser()} {$visitor->getOS()} {$visitor->getTime()}

{php}echo $rmsg['recentvisit']; {/php}

{foreach name=lastvisitor from=$lastvisitor item=visitor} {/foreach}

{php}echo $rmsg['time']; {/php}

{php}echo $rmsg['ipaddress']; {/php}

{php}echo $rmsg['artread']; {/php}

{php}echo $rmsg['referer']; {/php}

{php}echo $rmsg['browser']; {/php}

{php}echo $rmsg['ossystem']; {/php}

{$visitor->getTime()} {$visitor->getIp()} {if $visitor->getArticle()}{if $visitor->getArticleName()}{$visitor->getArticleName()}{else}Incorrect Article{/if}{else}Main Page{/if} {if $visitor->getRefer()=="Referer Spam"}Referer Spam{elseif $visitor->getRefer()}{$visitor->getRefer()|truncate:30:"..."}{else}None{/if} {$visitor->getBrowser()}{$visitor->getOS()}

{php}echo $rmsg['monthtraffic']; {/php}

{foreach from=$visitorsmonth item=visitor} {/foreach}

{php}echo $rmsg['month']; {/php}

{php}echo $rmsg['visitor']; {/php}

{php}echo $rmsg['hit']; {/php}

{$visitor->getYear()}/{$visitor->getMonth()|string_format:"%02d"} {$visitor->getVisitors()}{$visitor->getHits()}

{php}echo $rmsg['daytraffic']; {/php}

{foreach from=$visitorsday item=visitor} {/foreach}

{php}echo $rmsg['date']; {/php}

{php}echo $rmsg['visitor']; {/php}

{php}echo $rmsg['hit']; {/php}

{$visitor->getYear()}/{$visitor->getMonth()|string_format:"%02d"}/{$visitor->getDay()|string_format:"%02d"} {$visitor->getVisitors()}{$visitor->getHits()}

{php}echo $rmsg['weekdaytraffic']; {/php}

{foreach from=$visitorsweekday item=visitor} {/foreach}

{php}echo $rmsg['weekday']; {/php}

{php}echo $rmsg['visitor']; {/php}

{php}echo $rmsg['hit']; {/php}

{$visitor->getWeekDay()}{$visitor->getVisitors()} {$visitor->getHits()}

{php}echo $rmsg['hourtraffic']; {/php}

{foreach from=$visitorshour item=visitor} {/foreach}

{php}echo $rmsg['hour']; {/php}

{php}echo $rmsg['visitor']; {/php}

{php}echo $rmsg['hit']; {/php}

{$visitor->getHour()|string_format:"%02d"} {$visitor->getVisitors()}{$visitor->getHits()}

{php} $getmonth=$this->get_template_vars('visitorsmonth'); $getm[0]=0; for ($i=1; $i<=12; $i++) $getm[$i]=($getmonth[$i]->_visitor); for ($i=1; $i<=12; $i++) $getm[0]+=$getm[$i]; vertical($rmsg['title']['year'].$getmonth[1]->_year, 12, 12, 999999, $getm, 'bar1.gif', 1, 1, 0, $rmsg['monthdesc'], 0, $rmsg['tail']['max'], $rmsg['tail']['avg'], $rmsg['tail']['min'], $rmsg['tail']['visitors']); $getday=$this->get_template_vars('visitorsday'); $getd[0]=0; $days = count($getday); for ($i=1; $i<=$days; $i++) $getd[$i]=($getday[$i]->_visitor); for ($i=1; $i<=$days; $i++) $getd[0]+=$getd[$i]; vertical($rmsg['title']['month'].$rmsg['monthdesc'][$getday[1]->_month-1], $days, $days, 999999, $getd, 'bar2.gif', 1, 1, 0, 0, 0, $rmsg['tail']['max'], $rmsg['tail']['avg'], $rmsg['tail']['min'], $rmsg['tail']['visitors']); $getweekday=$this->get_template_vars('visitorsweekday'); $getw[0]=0; for ($i=0; $i<7; $i++) $getw[$i+1]=($getweekday[$i]->_visitor); for ($i=1; $i<=7; $i++) $getw[0]+=$getw[$i]; vertical($rmsg['title']['weekday'].$rmsg['monthdesc'][$getweekday[1]->_month-1], 7, 7, 999999, $getw, 'bar5.gif', 1, 1, 0, $rmsg['weekdesc'], 0, $rmsg['tail']['max'], $rmsg['tail']['avg'], $rmsg['tail']['min'], $rmsg['tail']['visitors']); $gethour=$this->get_template_vars('visitorshour'); $geth[0]=0; for ($i=0; $i<24; $i++) $geth[$i+1]=($gethour[$i]->_visitor); for ($i=1; $i<=24; $i++) $geth[0]+=$geth[$i]; vertical($rmsg['title']['hour'].$rmsg['monthdesc'][$gethour[1]->_month-1], 24, 24, 999999, $geth, 'bar4.gif', 1, 1, 0, $rmsg['hourdesc'], 0, $rmsg['tail']['max'], $rmsg['tail']['avg'], $rmsg['tail']['min'], $rmsg['tail']['visitors']); {/php} {include file="statistics/footer.template"}