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
¦~
¤ë
¤é ¬P´Á
®É
Á`¤H¼Æ¡G
¥»¤é¤H¼Æ¡G
¬Q¤é¤H¼Æ¡G
¥»©P¤H¼Æ¡G
¥»¤ë¤H¼Æ¡G
|
|
¨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);
?>
ùþ |
|
|
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);
?>
ùþ |
|
|
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;
?>
|
|
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;
?>
|
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 ¸ê ®Æ |
}
?>
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;
}
}
}
}
?>