<div class="commonRight"> <div class="TopList"> <div class="hotXiao"> <div class="common-title"> <span>|</span> 你可能感兴趣的学校 </div> <div class="interestSchool"> <ul> <!--循环li--> <?php foreach ($school['data'] as $k => $v) { if (is_numeric($k)) { ?> <li class="school-flex"> <div class="numDiv"><?php echo $k + 1 ?></div> <div class="interImg"> <a href="/schools/<?php echo $v['id'] ?>.html"> <img src="https://schools.viplgw.cn<?php echo $v['image'] ?>" alt="学校图片"> </a> </div>
$this->renderers[$ext] = Yii::createObject($this->renderers[$ext]); } /* @var $renderer ViewRenderer */ $renderer = $this->renderers[$ext]; $output = $renderer->render($this, $viewFile, $params); } else { $output = $this->renderPhpFile($viewFile, $params); } $this->afterRender($viewFile, $params, $output); } array_pop($this->_viewFiles); $this->context = $oldContext;
* @throws InvalidParamException if the view cannot be resolved or the view file does not exist. * @see renderFile() */ public function render($view, $params = [], $context = null) { $viewFile = $this->findViewFile($view, $context); return $this->renderFile($viewFile, $params, $context); } /** * Finds the view file based on the given view name. * @param string $view the view name or the path alias of the view file. Please refer to [[render()]] * on how to specify this parameter.
* These parameters will not be available in the layout. * @return string the rendering result. * @throws InvalidParamException if the view file or the layout file does not exist. */ public function render($view, $params = []) { $content = $this->getView()->render($view, $params, $this); return $this->renderContent($content); } /** * Renders a static string by applying a layout. * @param string $content the static string being rendered
$code =0; } // var_dump($code);die; $this->title = $data['name'].',申友官网-留学咨询—名校留学专业申请机构-托福/雅思/GMAT/GRE培训机构-申友网'; $this->keywords = '本科留学,留学中介,本科留学中介,本科留学申请,留学机构,本科留学费用,本科留学咨询,留学条件'; $this->description = '申友留学中介机构,为您提供专业的留学服务,本科留学,高中留学,留学一年费用,留学申请规划,大学排名等留学相关资讯及申请服务,想要了解更多留学相关的信息就上申友留学官网!'; return $this->render('informationDetails',['data'=>$data,'school'=>$school ,'hot'=>$hot,'code'=>$code]); } /** * 公开课详情
$args = $this->controller->bindActionParams($this, $params); Yii::trace('Running action: ' . get_class($this->controller) . '::' . $this->actionMethod . '()', __METHOD__); if (Yii::$app->requestedParams === null) { Yii::$app->requestedParams = $args; } return call_user_func_array([$this->controller, $this->actionMethod], $args); } }
$args = $this->controller->bindActionParams($this, $params); Yii::trace('Running action: ' . get_class($this->controller) . '::' . $this->actionMethod . '()', __METHOD__); if (Yii::$app->requestedParams === null) { Yii::$app->requestedParams = $args; } return call_user_func_array([$this->controller, $this->actionMethod], $args); } }
} $result = null; if ($runAction && $this->beforeAction($action)) { // run the action $result = $action->runWithParams($params); $result = $this->afterAction($action, $result); // call afterAction on modules foreach ($modules as $module) { /* @var $module Module */
$parts = $this->createController($route); if (is_array($parts)) { /* @var $controller Controller */ list($controller, $actionID) = $parts; $oldController = Yii::$app->controller; Yii::$app->controller = $controller; $result = $controller->runAction($actionID, $params); Yii::$app->controller = $oldController; return $result; } else { $id = $this->getUniqueId(); throw new InvalidRouteException('Unable to resolve the request "' . ($id === '' ? $route : $id . '/' . $route) . '".');
$params = $this->catchAll; unset($params[0]); } try { Yii::trace("Route requested: '$route'", __METHOD__); $this->requestedRoute = $route; $result = $this->runAction($route, $params); if ($result instanceof Response) { return $result; } else { $response = $this->getResponse(); if ($result !== null) { $response->data = $result;
try { $this->state = self::STATE_BEFORE_REQUEST; $this->trigger(self::EVENT_BEFORE_REQUEST); $this->state = self::STATE_HANDLING_REQUEST; $response = $this->handleRequest($this->getRequest()); $this->state = self::STATE_AFTER_REQUEST; $this->trigger(self::EVENT_AFTER_REQUEST); $this->state = self::STATE_SENDING_RESPONSE; $response->send();
// default: // break; // } //} error_reporting(E_ALL); (new yii\web\Application($config))->run();
$_GET = [ 'id' => '5830', ]; $_SERVER = [ 'REDIRECT_UNIQUE_ID' => 'ZgWvLgh-UXOAGe2U28pkzgAAACc', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'www.thinkwithu.com', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgWvLgh-UXOAGe2U28pkzgAAACc', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'www.thinkwithu.com', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'www.thinkwithu.com', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.6.40', 'SERVER_NAME' => 'www.thinkwithu.com', 'SERVER_ADDR' => '172.18.175.120', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '3.94.150.98', 'DOCUMENT_ROOT' => '/var/www/html/thinkwithu/web', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/thinkwithu/web', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/var/www/html/thinkwithu/web/index.php', 'REMOTE_PORT' => '32966', 'REDIRECT_QUERY_STRING' => 'id=5830', 'REDIRECT_URL' => '/cn/neighbouring-country/information-details', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'id=5830', 'REQUEST_URI' => '/cn/neighbouring-country/information-details?id=5830', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1711648558.0020001, 'REQUEST_TIME' => 1711648558, ]; $_SESSION = [ '__flash' => [], ];