Lines Matching defs:date
42 if(strpos($key,'date') !== false) {
89 $date = rawurldecode($_POST['date']);
94 $result = ip_row(array('ip','ua'), $ip,$date);
102 $result = ip_row(array('ip','page_users','ua', 'qs_data'), $ip,$date);
113 $date = rawurldecode($_POST[$key]);
117 $table .= ip_row(array('ip','ua'), $ip,$date);
120 $table .= ip_row(array('ip','page_users','ua', 'qs_data'), $ip,$date);
155 function ip_row($which,$index,$date,$show_country=true, $show_ip=false,$check_agent=false) {
168 $row .= cell(str_replace('_','/',$date). ' ');
177 else $temp = load_data($type,$date);
246 function load_data($which,$date) {
249 $file['ip'] = $meta_path . $date .'/ip.ser';
250 $file['misc_data'] = $meta_path . $date .'/misc_data.ser';
251 $file['pages'] =$meta_path . $date .'/pages.ser';
252 $file['ua'] =$meta_path . $date .'/ua.ser';
253 $file['qs_data'] =$meta_path . $date .'/qs_data.ser';
254 $file['page_users'] =$meta_path . $date .'/page_users.ser';
262 function get_page_row($ip, $date, $p_brief=false,$agent=false) {
265 $result = ip_row(array('ip','ua'), $ip,$date,true,true,$agent);
271 $result = ip_row(array('ip','page_users','ua', 'qs_data'), $ip,$date,true,false,$agent);
381 function qs_output_countries($date,$cc,$country) {
383 $ua_data = load_data('ua',$date);
388 echo rawurlencode(ip_row(array('ip','page_users','ua', 'qs_data'), $ip,$date,false,true));
401 $date = rawurldecode($_POST['date']);
402 qs_output_countries($date,$cc,$country_name) ;
407 $date = rawurldecode($_POST[$key]);
408 qs_output_countries($date,$cc,$country_name) ;
414 function qs_output_agents($agents,$date) {
416 echo rawurlencode(ip_row(array('ip','page_users','ua', 'qs_data'), $ip,$date,true,true));
427 $date = rawurldecode($_POST['date']);
428 $agents = qs_agent_search_i ($agent,$date);
429 qs_output_agents($agents,$date) ;
434 $date = rawurldecode($_POST[$key]);
435 $agents = qs_agent_search_i ($agent,$date) ;
436 qs_output_agents($agents,$date) ;
463 'page'=>'<Namespace:>Page', 'date'=>'Month/Year' );
474 case 'date':
478 if(strpos($key,'date') !== false) {