| +----------------------------------------------------------------------+ | This file is subject to license, that is bundled with this package | | in the file LICENSE.TXT, and is available at through the | | world-wide-web at http://www.netautor.com/license/ | | | | If you did not receive a copy of the license and are unable to | | obtain it through the world-wide-web, please send a note to | | license@netautor.com so we can mail you a copy. | +----------------------------------------------------------------------+ | Authors: Stefan Rottensteiner | | Marek Kadziela | | Gregor Wollner | | Christian Unger | | Helli Kleinhans | +----------------------------------------------------------------------+*/ require_once ('../include/init.inc'); if(!$GLOBALS['USER']->check_feature('Admin')) { $GLOBALS['USER']->login_call(); } ?> digiconcept/netautor/spy  
title="Taeglich"> title="Monatlich">
title="Zaehler"> title="Statistik"> title="Alles">
".get_lang("key","context")." ".get_lang("spy_user_id","context")." ".get_lang("spy_user","context")." ".get_lang("spy_reference","context")." ".get_lang("spy_date","context")." ".get_lang("spy_page","context")." ".get_lang("spy_user_ip","context")." ".get_lang("spy_info","context")." ".get_lang("spy_browser","context")." ".get_lang("spy_os","context")." "; $view = array("spy_id","spy_user_id","spy_user","spy_reference","spy_date","spy_page","spy_user_ip","spy_info","spy_browser","spy_os"); $loop =" %s %s %s %s %s %s %s %s %s %s "; $post =""; $countervar=0; if (isset($search)) make_Box("top"); if(!isset($clear)) { if(date_compare($spy_date_von,"<",$spy_date_bis)||date_compare($spy_date_von,"=",$spy_date_bis)) { if(($Zaehler == "Zaehlung")&&($Zeitraum == "Taeglich")) { $von=dateCustom2DBFormat($spy_date_von,"00:00:00",2); $bis=dateCustom2DBFormat($spy_date_bis,"23:59:59",2); if( (!$von) || (!$bis) ) { $DC_ENV->message[]=get_lang("101","message"); $DC_ENV->errnr="101"; } else { echo ""; echo "\r\n"; $bis=dateCustom2DBFormat($spy_date_von,"23:59:59",2); $bis_ende=dateCustom2DBFormat($spy_date_bis,"00:00:00",2); if(($spy_date_von != "")&&($spy_date_bis != "")&&($von)&&($bis)&&($bis_ende)) { do { echo "\r\n\r\n"; if($von==$bis_ende) {break;} $von=date_add_1($von); $von=dateCustom2DBFormat($von,"00:00:00",2); $bis=date_add_1($bis); $bis=dateCustom2DBFormat($bis,"23:59:59",2); if((!$von)||(!bis)) { $DC_ENV->message[]=get_lang("101","message"); $DC_ENV->errnr="101"; break; } }while(1); } else { $DC_ENV->message[]=get_lang("101","message"); $DC_ENV->errnr="101"; } echo "
"; echo "
"; echo (get_lang("total","context")).": "; $query=get_query($von,$bis,$spy_user_id,$spy_user_ip,$spy_reference,$spy_page,$spy_info,$spy_browser,$spy_os,$adv_client); $stati[$countervar][0]="COUNT"; $stati[$countervar][1]=show_counts("mspy",$query,"count(spy_user_ip)"); echo $stati[$countervar][1]; $countervar++; echo "
".(day($von))."".(date_convert($von)).": "; $query=get_query($von,$bis,$spy_user_id,$spy_user_ip,$spy_reference,$spy_page,$spy_info,$spy_browser,$spy_os,$adv_client); $stati[$countervar][0]="CVALUE$countervar"; $stati[$countervar][1]=show_counts("mspy",$query,"count(spy_user_ip)"); echo $stati[$countervar][1]; $countervar++; echo "
"; } } if(($Zaehler == "Zaehlung")&&($Zeitraum == "Monatlich")) { $von=dateCustom2DBFormat($spy_date_von,"00:00:00",2); $bis=dateCustom2DBFormat($spy_date_bis,"23:59:59",2); if((!$von)||(!bis)) { $DC_ENV->message[]=get_lang("101","message"); $DC_ENV->errnr="101"; } else { echo "\r\n"; $bis_ende=$spy_date_bis; if(($spy_date_von != "")&&($spy_date_bis != "")&&($von)&&(dateCustom2DBFormat($spy_date_bis,"00:00:00",2))) { do { $bis=month_end(date_convert2($von)); if(date_compare($bis,">",$spy_date_bis)) {$bis=$spy_date_bis;} echo "\r\n"; if($bis==$bis_ende) {break;} $von=date_add_1(dateCustom2DBFormat($bis,"00:00:00",2)); $von=dateCustom2DBFormat($von,"00:00:00",2); if((!$von)) { $DC_ENV->message[]=get_lang("101","message"); $DC_ENV->errnr="101"; break; } }while(1); } else { $DC_ENV->message[]=get_lang("101","message"); $DC_ENV->errnr="101"; } echo "
\r\n"; echo (get_lang("total","context")).": "; $query=get_query($von,$bis,$spy_user_id,$spy_user_ip,$spy_reference,$spy_page,$spy_info,$spy_browser,$spy_os,$adv_client); $stati[$countervar][0]="COUNT"; $stati[$countervar][1]=show_counts("mspy",$query,"count(spy_user_ip)"); echo $stati[$countervar][1]; $countervar++; echo "\r\n
".(month_lang($von))." ".(year(date_convert2($von)))." : "; $query=get_query($von,dateCustom2DBFormat($bis,"23:59:59",2),$spy_user_id,$spy_user_ip,$spy_reference,$spy_page,$spy_info,$spy_browser,$spy_os,$adv_client); $stati[$countervar][0]="CVALUE$countervar"; $stati[$countervar][1]=show_counts("mspy",$query,"count(spy_user_ip)"); echo $stati[$countervar][1]; $countervar++; echo "
"; } } if($Anzeige == "Alles") { if(($spy_date_von != "")&&($spy_date_bis != "")) { $von=dateCustom2DBFormat($spy_date_von,"00:00:00",2); $bis=dateCustom2DBFormat($spy_date_bis,"23:59:59",2); show_all($pre,$view,$loop,$post,$trans,"mspy","","spy_date >= '$von' and spy_date <= '$bis'","spy_page like '%$adv_client%' "); } } if($Stati == "Stati") { if($Zaehler!="Zaehlung") { $DC_ENV->message[]=get_lang("651","message"); $DC_ENV->errnr="651"; } else { if((($countervar-1)>=2)&&($stati[0][1]>1)) { if(($spy_date_von!="")&&($spy_date_bis!="")) { statistik_applet($spy_date_von,$spy_date_bis,$countervar,$stati,$Zeitraum); } else { $DC_ENV->message[]=get_lang("101","message"); $DC_ENV->errnr="101"; } } else { $DC_ENV->message[]=get_lang("650","message"); $DC_ENV->errnr="650"; } } } } else { $DC_ENV->message[]=get_lang("101","message"); $DC_ENV->errnr="101"; } } if (isset($search)) make_Box(""); ?>