"); print(""); print(""); print(""); print("
>> <<


...
".$msgFrom."".date("d " , $weeklowreqdate).$msgMonthsArray[date("n", $weeklowreqdate)-1].date(" Y" , $weeklowreqdate); echo " ".$msgTo."".date("d " , $weekhighreqdate ).$msgMonthsArray[date("n", $weekhighreqdate)-1].date(" Y" , $weekhighreqdate); break; case "mois": echo $msgMonthsArray[date("n", $reqdate)-1].date(" Y", $reqdate); break; } ?>

','','width=300,height=300')">
">
">

$msgPreviousDay <<"; echo "
"; $tmreqdate = $reqdate + 86400; echo "$msgNextDay >>"; echo "
"; } if ($period==semaine) { $ysreqdate = $reqdate - 7*86400; $PHP_SELF2 = basename($PHP_SELF); echo "$msgPreviousWeek <<"; echo "
"; $tmreqdate = $reqdate + 7*86400; echo "$msgNextWeek >>"; echo "
"; } ?>

[ "> ]   [ "> ]   [ "> ]

 

"); print("

"); print("
"); if ($reset) { ClearAll($table_log); } # clear fields: "country provider os wb" to take into acount modif in log_func (ie: new browser new NIC extention ...) ProcessEmptyEntry($table_log); $today = date("Y-m-d" , $reqdate); $today_2 = getdate($reqdate); if ($period == "jour") { $valjour = HourSort($table_log, $reqdate ); $title = $msgDaysArray[$today_2[wday]]." ".$today_2[mday]." ".$msgMonthsArray[$today_2[mon]-1]." ".$today_2[year]; ProcessBarGraph($title,$valjour); echo "
"; } if ($period != "jour") { $val = DaySort($table_log, $reqdate, $period ); ProcessBarGraph($msgDaySort,$val); echo "
"; } // $val = MonthSort($table_log, $today ); $val = MonthSort($table_log, $reqdate ); ProcessBarGraph($msgMonthSort,$val); echo "
"; // $val = ClassAndCountField($table_log, "country",$today,$period); $val = ClassAndCountField($table_log, "country",$reqdate,$period); ProcessBarGraph($msgCountrySort,$val); echo "
"; // $val = ClassAndCountField($table_log, "os",$today,$period); $val = ClassAndCountField($table_log, "os",$reqdate,$period); ProcessBarGraph($msgOsSort,$val); echo "
"; // $val = ClassAndCountField($table_log, "wb",$today,$period); $val = ClassAndCountField($table_log, "wb",$reqdate,$period); ProcessBarGraph($msgBrowserSort,$val); echo "
"; print("
"); print("
"); print("
"); if ( ($period == "jour") and ($valjour["Total"]>0) ) { $title = $msgDaysArray[$today_2[wday]]." ".$today_2[mday]." ".$msgMonthsArray[$today_2[mon]-1]." ".$today_2[year]; if ($valjour["0 h"] =="") $valjour["0 h"]="0"; if ($valjour["1 h"] =="") $valjour["1 h"]="0"; if ($valjour["2 h"] =="") $valjour["2 h"]="0"; if ($valjour["3 h"] =="") $valjour["3 h"]="0"; if ($valjour["4 h"] =="") $valjour["4 h"]="0"; if ($valjour["5 h"] =="") $valjour["5 h"]="0"; if ($valjour["6 h"] =="") $valjour["6 h"]="0"; if ($valjour["7 h"] =="") $valjour["7 h"]="0"; if ($valjour["8 h"] =="") $valjour["8 h"]="0"; if ($valjour["9 h"] =="") $valjour["9 h"]="0"; if ($valjour["10 h"] =="") $valjour["10 h"]="0"; if ($valjour["11 h"] =="") $valjour["11 h"]="0"; if ($valjour["12 h"] =="") $valjour["12 h"]="0"; if ($valjour["13 h"] =="") $valjour["13 h"]="0"; if ($valjour["14 h"] =="") $valjour["14 h"]="0"; if ($valjour["15 h"] =="") $valjour["15 h"]="0"; if ($valjour["16 h"] =="") $valjour["16 h"]="0"; if ($valjour["17 h"] =="") $valjour["17 h"]="0"; if ($valjour["18 h"] =="") $valjour["18 h"]="0"; if ($valjour["19 h"] =="") $valjour["19 h"]="0"; if ($valjour["20 h"] =="") $valjour["20 h"]="0"; if ($valjour["21 h"] =="") $valjour["21 h"]="0"; if ($valjour["22 h"] =="") $valjour["22 h"]="0"; if ($valjour["23 h"] =="") $valjour["23 h"]="0"; $sval = $valjour["0 h"].";".$valjour["1 h"].";".$valjour["2 h"].";".$valjour["3 h"].";".$valjour["4 h"].";".$valjour["5 h"].";".$valjour["6 h"].";".$valjour["7 h"].";".$valjour["8 h"].";".$valjour["9 h"].";".$valjour["10 h"].";".$valjour["11 h"].";".$valjour["12 h"].";".$valjour["13 h"].";".$valjour["14 h"].";".$valjour["15 h"].";".$valjour["16 h"].";".$valjour["17 h"].";".$valjour["18 h"].";".$valjour["19 h"].";".$valjour["20 h"].";".$valjour["21 h"].";".$valjour["22 h"].";".$valjour["23 h"]; echo ""; echo "
"; echo "
"; } $val = ClassAndCountField($table_log, "provider",$reqdate,$period); ProcessBarGraph($msgProviderSort,$val); print("
"); print("
"); ?>


ezBOO