| |||||||||||||||||||||||||
}else{
$a = "<span class=\"bus\">$r[name]</span>";
}
} else {
if ("prefix_listing" == $mode) {
$a = $r['name'];
} elseif ("phone_profile" == $mode || "light_report" == $mode ) {
list($fname_id, $lname_id) = HB::explode("-", substr($r['uk'], 0, strpos($r['uk'], ':')),2);
//30 Mar 2016 decided to lad to /people at phoneownre.com
$a = (!empty($r['no-pfl']) || empty($fname_id) || empty($lname_id))?($r['name']??""):'<a rel="nofollow" href="'.Phone::phonePeopleUrl($phone, HB::fl($fname_id,$lname_id), ($r['loc']??[])).'">' . ($r["name"]??"") .'</a>';
} else {
| Phone
|
| 1 : {"uk":"Allareacodes/***d":1410866255,"id":1,"_sort":"---9-868"}
1 : 12394813343 1 : prefix_listing
| }
$tr[] = '<div class="'.$this->cssTableParentClass.'"><table class="'.$this->cssTableClass.'"><tr><th>Owner Name</th><th>Address</th><th>Information</th></tr>';
$cnt = 0;
foreach ($items as $id => $i) {
//$d = $this->_p7_item($i, $phone);
$d = Phone::p7_item($i, $phone, "prefix_listing");
if ($loc = ($i['loc']??'')) {
$l_key = ($loc['region']??'').'-'.($loc['city']??'');
if (!isset($prefix_info['locations'][$l_key]) && ($loc['city_state']??0)) {
list($loc['city_name'], $loc['state']) = HB::explode(', ', $loc['city_state'], 2);
Geo::resolveLoc($loc);
|
| return call_user_func_array( [$this, $method], $r);
| 1 : 23948133
| }
} catch(Exception $ex) {
\Log::alert( $ex->getMessage() );
}
try {
return call_user_func_array( [$this, $method], $r);
} catch(RedirectException $ex) {
return $ex->getMessage();
}
}
function page404() {
|
| return $this->_reflection_call($method);
| 1 : prefix7
| if (method_exists($this, $method) )
$mex=1;
}
}
if ($mex)
return $this->_reflection_call($method);
// use template name (same as url)
return $url;
}
/* internal */
// serve method (normal or gzipped)
|
| $r = $A->_call($method, $path);
| 1 : prefix7
1 : 23948133
| Profiler::disable();
CD::set("AJAX", 1);
}
Profiler::in("${class}::$method", $p);
$A = new $class($p);
$r = $A->_call($method, $path);
Profiler::out();
//respect called action's desire to act as AJAX.
$is_ajax = CD("AJAX");
// AJAX methods - default - no templates
if ($is_ajax) {
|
| $template = self::action($url, $params); // PARAM by REF!
| 1 : 23948133
1 : {"cssTableClass":"ow***99","prev_p":23948132,"next_p":23948134}
| self::$layout=$layout;
if ($r = strpos($url,"?"))
$url = substr($url, 0, $r);
$url = substr($url,1); // remove leading "/"
restore_msg($params);
$template = self::action($url, $params); // PARAM by REF!
if (isset($_GET['TPL']) ) {
echo "<div style='padding-left: 3px; background: #eee'>";
vvv($params);
echo "</div>";
}
|
| Controller::dispatch($_SERVER["REDIRECT_URL"], $_GET + $_POST, "_layout");
| 1 : 23948133
1 : {"cssTableClass":"ow***99","prev_p":23948132,"next_p":23948134} 1 : _layout
| <?
Controller::dispatch($_SERVER["REDIRECT_URL"], $_GET + $_POST, "_layout");
exit; |
ErrorException: Undefined array key "name" in lib/Phone/Phone.php:456 #0 vhosts/phone/lib/Action/Phone/Root.php:425 Phone::p7_item(Array, 12394813343, '...') #1 lib.framework/Action/Action.php:236 Action_Phone_Root->prefix7('...') #5 vhosts/phone/phoneowner.us/www/index.php:2 Controller::dispatch('...', Array, '...')