| |||||||||||||||||||||||||
$rc[]="$region-$city";
}
$rc2cs = $rc ? Geo_Go::go("cities", ["c" => join(",",$rc)]) : [];
foreach ($r as &$row) {
list($region, $city) = self::_geo($row['top_geo1']);
$row['top_geo1'] = $city ? $rc2cs["$region-$city"] : "";
list($region, $city) = self::_geo($row['top_geo2']);
$row['top_geo2'] = $city ? $rc2cs["$region-$city"] : "";
list($region, $city) = self::_geo($row['top_geo3']);
$row['top_geo3'] = $city ? $rc2cs["$region-$city"] : "";
}
| Phone
|
| 1 : 1515241
1 : 1 1 : 1
| // phoneowner.us/123456
// +1 (123) (456) - 6 digit prefix within US
// Show available US 7 digits completions - their locations and summary details
function prefix6($p) {
$this->_fixWrongURL($p);
$this->teaser = Phone::teaser7("1".$p, true, true);
$this->phone = $p;
$this->prefix_info = Phone_Prefix::info6($p);
if(!$this->prefix_info){
$this->prefix_info = Phone_Prefix::info3($p);
}
|
| return call_user_func_array( [$this, $method], $r);
| 1 : 515241
| }
} 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 : prefix6
| 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 : prefix6
1 : 515241
| 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 : 515241
1 : {"cssTableClass":"ow***arentClass":"table-scroll","p":"515241"}
| 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 : 515241
1 : {"cssTableClass":"ow***arentClass":"table-scroll","p":"515241"} 1 : _layout
| <?
Controller::dispatch($_SERVER["REDIRECT_URL"], $_GET + $_POST, "_layout");
exit; |
ErrorException: Undefined array key "65535-65535" in lib/Phone/Phone.php:567 #0 vhosts/phone/lib/Action/Phone/Root.php:235 Phone::teaser7('...', true, true) #1 lib.framework/Action/Action.php:236 Action_Phone_Root->prefix6('...') #5 vhosts/phone/phoneowner.us/www/index.php:2 Controller::dispatch('...', Array, '...')