Lines Matching defs:ip

50 case 'ip':
51 if(isset($_POST['ip']) && $_POST['ip']) {
86 function ip_data($ip=false,$p_brief=false) {
90 if($ip === false) $ip =rawurldecode($_POST['ip']);
94 $result = ip_row(array('ip','ua'), $ip,$date);
96 $table .= '<tr>' . cell("$ip ",'caption',false,$p_brief) . '</tr>';
102 $result = ip_row(array('ip','page_users','ua', 'qs_data'), $ip,$date);
104 $table .= '<tr>' . cell("Data for IP address: $ip ",'caption',false,$p_brief) . '</tr>';
117 $table .= ip_row(array('ip','ua'), $ip,$date);
120 $table .= ip_row(array('ip','page_users','ua', 'qs_data'), $ip,$date);
128 function qs_data(&$ar,$ip) {
134 if(isset($data[$ip])) {
135 $search_terms .= "&nbsp;&nbsp;&nbsp;$word (" . $data[$ip] . ')<br />';
223 $thds = array('ip'=>'IP', 'month'=>'Month', 'access'=>'Accesses', 'page'=>'Pages','country'=>'Country', 'agent'=>'UserAgent', 'search'=>'Search Terms',
249 $file['ip'] = $meta_path . $date .'/ip.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);
273 $table .= '<tr>' . cell("Data for IP address: $ip ",'caption',false,$p_brief) . '</tr>';
283 * outputs header of page name and page access, then ip data for the ip using ip_row
302 foreach($ar['ips'] as $ip) {
303 $ipdata = get_page_row($ip, $month, isset($_POST['p_brief']),$agent) ;
307 echo qs_header(array('ip','month','access','country','agent'));
320 foreach($ar['ips'] as $ip) {
321 $ipdata = get_page_row($ip, $month, isset($_POST['p_brief']),$agent) ;
386 foreach($ua_data as $ip=>$ar) {
388 echo rawurlencode(ip_row(array('ip','page_users','ua', 'qs_data'), $ip,$date,false,true));
400 echo qs_header(array('ip','month','access','page','agent','search','ns','name','val'));
415 foreach($agents as $ip) {
416 echo rawurlencode(ip_row(array('ip','page_users','ua', 'qs_data'), $ip,$date,true,true));
426 echo qs_header(array('ip','month','access','page','country','agent','search','ns','name','val'));
448 foreach($agents as $ip => $val)
452 $ret_ar[] = $ip;
462 $fields = array('country_name'=>'Country', 'user_agent'=>'User Agent', 'priority'=>'Priority', 'ip'=>'IP Address',
490 case 'ip':
503 if($ip_set && $priority != 'ip') {