include("./../counter.inc.php");
include("./../skin/skin.cfg.php");
$datafile="./../".$datafile;
$cntObj=unserialize(implode("", file($datafile)));
$colorbar=array( "6699CC", "99FF00", "CC00FF", "66CC00", "FF0000", "FFCC00", "9900FF", "FF9900");
?>
¬y¶q²Îp
if($cntObj->count[total]>0){
?>
°ò¥»²Îp |
$tmp1=getdate($cntObj->last_timestamp);
$conv_week=array("¤é", "¤@", "¤G", "¤T", "¥|", "¤", "¤»");
?>
³Ì«á²Îp¤é´Á¡G
Warning: Use of undefined constant year - assumed 'year' (this will throw an Error in a future version of PHP) in E:\ysps_web_2018\ccount\stat\stat.php on line 104
Notice: Undefined variable: tmp1 in E:\ysps_web_2018\ccount\stat\stat.php on line 104
¦~
Warning: Use of undefined constant mon - assumed 'mon' (this will throw an Error in a future version of PHP) in E:\ysps_web_2018\ccount\stat\stat.php on line 106
Notice: Undefined variable: tmp1 in E:\ysps_web_2018\ccount\stat\stat.php on line 106
¤ë
Warning: Use of undefined constant mday - assumed 'mday' (this will throw an Error in a future version of PHP) in E:\ysps_web_2018\ccount\stat\stat.php on line 108
Notice: Undefined variable: tmp1 in E:\ysps_web_2018\ccount\stat\stat.php on line 108
¤é ¬P´Á
Warning: Use of undefined constant wday - assumed 'wday' (this will throw an Error in a future version of PHP) in E:\ysps_web_2018\ccount\stat\stat.php on line 110
Notice: Undefined variable: tmp1 in E:\ysps_web_2018\ccount\stat\stat.php on line 110
Notice: Undefined variable: conv_week in E:\ysps_web_2018\ccount\stat\stat.php on line 110
Warning: Use of undefined constant hours - assumed 'hours' (this will throw an Error in a future version of PHP) in E:\ysps_web_2018\ccount\stat\stat.php on line 112
Notice: Undefined variable: tmp1 in E:\ysps_web_2018\ccount\stat\stat.php on line 112
®É
Á`¤H¼Æ¡G
Warning: Use of undefined constant total - assumed 'total' (this will throw an Error in a future version of PHP) in E:\ysps_web_2018\ccount\stat\stat.php on line 115
Notice: Undefined variable: cntObj in E:\ysps_web_2018\ccount\stat\stat.php on line 115
Notice: Trying to get property 'count' of non-object in E:\ysps_web_2018\ccount\stat\stat.php on line 115
¥»¤é¤H¼Æ¡G
Warning: Use of undefined constant today - assumed 'today' (this will throw an Error in a future version of PHP) in E:\ysps_web_2018\ccount\stat\stat.php on line 118
Notice: Undefined variable: cntObj in E:\ysps_web_2018\ccount\stat\stat.php on line 118
Notice: Trying to get property 'count' of non-object in E:\ysps_web_2018\ccount\stat\stat.php on line 118
¬Q¤é¤H¼Æ¡G
Warning: Use of undefined constant yesterday - assumed 'yesterday' (this will throw an Error in a future version of PHP) in E:\ysps_web_2018\ccount\stat\stat.php on line 121
Notice: Undefined variable: cntObj in E:\ysps_web_2018\ccount\stat\stat.php on line 121
Notice: Trying to get property 'count' of non-object in E:\ysps_web_2018\ccount\stat\stat.php on line 121
¥»©P¤H¼Æ¡G
Warning: Use of undefined constant week - assumed 'week' (this will throw an Error in a future version of PHP) in E:\ysps_web_2018\ccount\stat\stat.php on line 124
Notice: Undefined variable: cntObj in E:\ysps_web_2018\ccount\stat\stat.php on line 124
Notice: Trying to get property 'count' of non-object in E:\ysps_web_2018\ccount\stat\stat.php on line 124
¥»¤ë¤H¼Æ¡G
Warning: Use of undefined constant month - assumed 'month' (this will throw an Error in a future version of PHP) in E:\ysps_web_2018\ccount\stat\stat.php on line 127
Notice: Undefined variable: cntObj in E:\ysps_web_2018\ccount\stat\stat.php on line 127
Notice: Trying to get property 'count' of non-object in E:\ysps_web_2018\ccount\stat\stat.php on line 127
|
|
¨C¤p®É¤H¬y²Îp |
|
|
|
¨C¤ë¤H¬y²Îp |
|
|
¨C¤é¤H¬y²Îp |
|
ÂsÄý¾¹²Îp |
foreach($cntObj->count_browser as $key=>$value){ $arr_browser[]=array("name"=>$key, "hits"=>$value); }
sort_array($arr_browser, "hits");
?>
$colorbar_arr=0;
for($i=0; $icount[total])*240)-4;
$width=($width<=0)?0:$width;
?> if($width>0){?>}?>
if($colorbar_arr>=(count($colorbar)-1)){$colorbar_arr=0;}else{$colorbar_arr++;}
}
?> |
|
|
|
ÂsÄý¾¹ |
ÂIÀ» |
¦Ê¤À¤ñ |
$colorbar_arr=0;
for($i=0; $icount[total])*100,2);
?>
ùþ |
Warning: Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in E:\ysps_web_2018\ccount\stat\stat.php on line 231
Notice: Undefined variable: arr_browser in E:\ysps_web_2018\ccount\stat\stat.php on line 231
Notice: Undefined variable: i in E:\ysps_web_2018\ccount\stat\stat.php on line 231
|
Warning: Use of undefined constant hits - assumed 'hits' (this will throw an Error in a future version of PHP) in E:\ysps_web_2018\ccount\stat\stat.php on line 232
Notice: Undefined variable: arr_browser in E:\ysps_web_2018\ccount\stat\stat.php on line 232
Notice: Undefined variable: i in E:\ysps_web_2018\ccount\stat\stat.php on line 232
|
Notice: Undefined variable: percent in E:\ysps_web_2018\ccount\stat\stat.php on line 233
0.00% |
if($colorbar_arr>=(count($colorbar)-1)){$colorbar_arr=0;}else{$colorbar_arr++;}
}
?>
|
|
|
|
¨t²Î²Îp |
foreach($cntObj->count_system as $key=>$value){ $arr_system[]=array("name"=>$key, "hits"=>$value); }
sort_array($arr_system, "hits");
?>
$colorbar_arr=0;
for($i=0; $icount[total])*240)-4;
$width=($width<=0)?0:$width;
?> if($width>0){?>}?>
if($colorbar_arr>=(count($colorbar)-1)){$colorbar_arr=0;}else{$colorbar_arr++;}
}
?> |
|
|
|
§@·~¨t²Î |
ÂIÀ» |
¦Ê¤À¤ñ |
$colorbar_arr=0;
for($i=0; $icount[total])*100,2);
?>
ùþ |
Warning: Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in E:\ysps_web_2018\ccount\stat\stat.php on line 296
Notice: Undefined variable: arr_system in E:\ysps_web_2018\ccount\stat\stat.php on line 296
Notice: Undefined variable: i in E:\ysps_web_2018\ccount\stat\stat.php on line 296
|
Warning: Use of undefined constant hits - assumed 'hits' (this will throw an Error in a future version of PHP) in E:\ysps_web_2018\ccount\stat\stat.php on line 297
Notice: Undefined variable: arr_system in E:\ysps_web_2018\ccount\stat\stat.php on line 297
Notice: Undefined variable: i in E:\ysps_web_2018\ccount\stat\stat.php on line 297
|
Notice: Undefined variable: percent in E:\ysps_web_2018\ccount\stat\stat.php on line 298
0.00% |
if($colorbar_arr>=(count($colorbar)-1)){$colorbar_arr=0;}else{$colorbar_arr++;}
}
?>
|
|
|
¦a°Ï²Îp |
¦a°Ï |
ÂIÀ» |
¦Ê¤À¤ñ |
¹Ï¥Ü |
//$dat_region=file($datapath."/region.txt");
//for($i=0; $icount_region as $key=>$value){
$sorted_arr[]=array(key=>$key, value=>$value);
}
sort_array($sorted_arr, "value");
//foreach($sorted_arr as $key=>$val){
for($i=0; $icount[total])*100,2);
$opercent=round(200*$percent/100)-4;
?>
Notice: Undefined variable: tmp in E:\ysps_web_2018\ccount\stat\stat.php on line 348
|
Notice: Undefined variable: tmp in E:\ysps_web_2018\ccount\stat\stat.php on line 350
|
Notice: Undefined variable: percent in E:\ysps_web_2018\ccount\stat\stat.php on line 351
0.00% |
|
if($colorbar_arr>=(count($colorbar)-1)){$colorbar_arr=0;}else{$colorbar_arr++;}
}
?>
|
°f¦V³sµ² ²Îp |
ÂIÀ» |
¦Ê¤À¤ñ |
¹Ï¥Ü |
ºô§} |
function cmp($a, $b){
if($a==$b) return 0;
return ($a>$b)?-1:1;
}
while(list($key, $value)=each($cntObj->count_referer)){
$sort_d[$value]=$key;
}
uksort($sort_d, cmp);
$colorbar_arr=0;
while(list($tmp[1], $tmp[0]) = each($sort_d)){
$percent=round(($tmp[1]/$cntObj->count[total])*100,2);
$opercent=round(100*$percent/100)-4;
?>
Notice: Undefined variable: tmp in E:\ysps_web_2018\ccount\stat\stat.php on line 392
|
Notice: Undefined variable: percent in E:\ysps_web_2018\ccount\stat\stat.php on line 393
0.00% |
|
40){ echo substr($tmp[0],0,25)." ... ".substr($tmp[0],-15); }else{ echo $tmp[0]; }?> |
if($colorbar_arr==(count($colorbar)-1)){
$colorbar_arr=0;
}else{
$colorbar_arr++;
}
}
?>
|
}else{
?>
¼È ¥¼ ¦³ ¥ô ¦ó ²Î p ¸ê ®Æ |
}
?>
¡u
Notice: Undefined variable: sitename in E:\ysps_web_2018\ccount\stat\stat.php on line 428
¡v ºô¯¸Àò±ÂÅv¨Ï¥Î |
CCOUNT v0.1 |
function sort_array(&$sorted_arr, $compare_field){
for($i=0; $i$sorted_arr[$j][$compare_field]){
$tarr=$sorted_arr[$i];
$sorted_arr[$i]=$sorted_arr[$j];
$sorted_arr[$j]=$tarr;
}
}
}
}
?>