/home/wwwroot/adopt/web/protected/views/product/detail.php(21)
09 </div> 10 </div> 11 <!-- e =nowSite --> 12 13 <!--详情页面 --> 14 <div class="petDetail"> 15 <div class="container clr"> 16 <div class="petDetail-hd"> 17 <div class="hd-left"> 18 <div class="scroll"> 19 <div class="bigPic"> 20 <ul> 21 <?php foreach($product['pic'] as $pic){?> 22 <li> 23 <img width="386" height="270" src="<?php echo $pic['filename'].'?imageMogr2/thumbnail/!386x270r/gravity/Center/crop/386x270/quality/80';?>"/> 24 </li> 25 <?php }?> 26 </ul> 27 </div> 28 <div class="smallPic"> 29 <ul> 30 <?php foreach($product['pic'] as $pic){?> 31 <li> 32 <img width="123" height="85" src="<?php echo $pic['filename'].'?imageMogr2/thumbnail/!123x85r/gravity/Center/crop/123x85/quality/80';?>"/> 33 </li>
#0 |
+
–
/home/wwwroot/adopt/web/framework/web/CBaseController.php(133): require("/home/wwwroot/adopt/web/protected/views/product/detail.php") 128 $data = $_data_; 129 } 130 if ($_return_) { 131 ob_start(); 132 ob_implicit_flush(false); 133 require $_viewFile_; 134 135 return ob_get_clean(); 136 } else { 137 require $_viewFile_; 138 } |
#1 |
+
–
/home/wwwroot/adopt/web/framework/web/CBaseController.php(100): CBaseController->renderInternal("/home/wwwroot/adopt/web/protected/views/product/detail.php", array("product" => array(), "productRel" => array(array("id" => "660", "sex" => "母", "name" => "花魁 母", "cat_dog" => "猫", ...), array("id" => "717", "sex" => "公", "name" => "五百 公", "cat_dog" => "狗", ...))), true) 095 { 096 $widgetCount = count($this->_widgetStack); 097 if (($renderer = Yii::app()->getViewRenderer()) !== null && $renderer->fileExtension === '.'.CFileHelper::getExtension($viewFile)) { 098 $content = $renderer->renderFile($this, $viewFile, $data, $return); 099 } else { 100 $content = $this->renderInternal($viewFile, $data, $return); 101 } 102 if (count($this->_widgetStack) === $widgetCount) { 103 return $content; 104 } else { 105 $widget = end($this->_widgetStack); |
#2 |
+
–
/home/wwwroot/adopt/web/framework/web/CController.php(940): CBaseController->renderFile("/home/wwwroot/adopt/web/protected/views/product/detail.php", array("product" => array(), "productRel" => array(array("id" => "660", "sex" => "母", "name" => "花魁 母", "cat_dog" => "猫", ...), array("id" => "717", "sex" => "公", "name" => "五百 公", "cat_dog" => "狗", ...))), true) 935 * @see render 936 */ 937 public function renderPartial($view, $data = null, $return = false, $processOutput = false) 938 { 939 if (($viewFile = $this->getViewFile($view)) !== false) { 940 $output = $this->renderFile($viewFile, $data, true); 941 if ($processOutput) { 942 $output = $this->processOutput($output); 943 } 944 if ($return) { 945 return $output; |
#3 |
+
–
/home/wwwroot/adopt/web/framework/web/CController.php(839): CController->renderPartial("detail", array("product" => array(), "productRel" => array(array("id" => "660", "sex" => "母", "name" => "花魁 母", "cat_dog" => "猫", ...), array("id" => "717", "sex" => "公", "name" => "五百 公", "cat_dog" => "狗", ...))), true) 834 * @see getLayoutFile 835 */ 836 public function render($view, $data = null, $return = false) 837 { 838 if ($this->beforeRender($view)) { 839 $output = $this->renderPartial($view, $data, true); 840 if (($layoutFile = $this->getLayoutFile($this->layout)) !== false) { 841 $output = $this->renderFile($layoutFile, array('content' => $output), true); 842 } 843 844 $this->afterRender($view, $output); |
#4 |
+
–
/home/wwwroot/adopt/web/protected/components/Controller.php(82): CController->render("detail", array("product" => array(), "productRel" => array(array("id" => "660", "sex" => "母", "name" => "花魁 母", "cat_dog" => "猫", ...), array("id" => "717", "sex" => "公", "name" => "五百 公", "cat_dog" => "狗", ...))), false) 77 } 78 79 if ($return) { 80 return parent::render($view, $data, $return); 81 } else { 82 parent::render($view, $data, $return); 83 } 84 } 85 86 //常规跳转页面 87 public function customRedirect($message, $url = '', $time = 3, $is_get = false) |
#5 |
+
–
/home/wwwroot/adopt/web/protected/controllers/ProductController.php(62): Controller->render("detail", array("product" => array(), "productRel" => array(array("id" => "660", "sex" => "母", "name" => "花魁 母", "cat_dog" => "猫", ...), array("id" => "717", "sex" => "公", "name" => "五百 公", "cat_dog" => "狗", ...)))) 57 //获取未领养宠物信息 58 $productRel = Product::getRandFromProduct(0,2,Product::ADOPTION_NO,$language); 59 60 $this->render('detail',array( 61 'product' => $productInfo, 62 'productRel' => $productRel, 63 )); 64 65 } 66 67 |
#6 |
+
–
/home/wwwroot/adopt/web/framework/web/actions/CInlineAction.php(54): ProductController->actionDetail() 49 $controller = $this->getController(); 50 $method = new ReflectionMethod($controller, $methodName); 51 if ($method->getNumberOfParameters() > 0) { 52 return $this->runWithParamsInternal($controller, $method, $params); 53 } else { 54 return $controller->$methodName(); 55 } 56 } 57 } |
#7 |
+
–
/home/wwwroot/adopt/web/framework/web/CController.php(316): CInlineAction->runWithParams(array("id" => "460")) 311 public function runAction($action) 312 { 313 $priorAction = $this->_action; 314 $this->_action = $action; 315 if ($this->beforeAction($action)) { 316 if ($action->runWithParams($this->getActionParams()) === false) { 317 $this->invalidActionParams($action); 318 } else { 319 $this->afterAction($action); 320 } 321 } |
#8 |
+
–
/home/wwwroot/adopt/web/framework/web/CController.php(295): CController->runAction(CInlineAction) 290 * @see runAction 291 */ 292 public function runActionWithFilters($action, $filters) 293 { 294 if (empty($filters)) { 295 $this->runAction($action); 296 } else { 297 $priorAction = $this->_action; 298 $this->_action = $action; 299 CFilterChain::create($this, $action, $filters)->run(); 300 $this->_action = $priorAction; |
#9 |
+
–
/home/wwwroot/adopt/web/framework/web/CController.php(272): CController->runActionWithFilters(CInlineAction, array()) 267 if (($action = $this->createAction($actionID)) !== null) { 268 if (($parent = $this->getModule()) === null) { 269 $parent = Yii::app(); 270 } 271 if ($parent->beforeControllerAction($this, $action)) { 272 $this->runActionWithFilters($action, $this->filters()); 273 $parent->afterControllerAction($this, $action); 274 } 275 } else { 276 $this->missingAction($actionID); 277 } |
#10 |
+
–
/home/wwwroot/adopt/web/framework/web/CWebApplication.php(293): CController->run("detail") 288 if (($ca = $this->createController($route)) !== null) { 289 list($controller, $actionID) = $ca; 290 $oldController = $this->_controller; 291 $this->_controller = $controller; 292 $controller->init(); 293 $controller->run($actionID); 294 $this->_controller = $oldController; 295 } else { 296 throw new CHttpException(404, Yii::t('yii', 'Unable to resolve the request "{route}".', 297 array('{route}' => $route === '' ? $this->defaultController : $route))); 298 } |
#11 |
+
–
/home/wwwroot/adopt/web/framework/web/CWebApplication.php(144): CWebApplication->runController("product/detail") 139 $_GET[$name] = $value; 140 } 141 } else { 142 $route = $this->getUrlManager()->parseUrl($this->getRequest()); 143 } 144 $this->runController($route); 145 } 146 147 /** 148 * Registers the core application components. 149 * This method overrides the parent implementation by registering additional core components. |
#12 |
+
–
/home/wwwroot/adopt/web/framework/base/CApplication.php(182): CWebApplication->processRequest() 177 { 178 if ($this->hasEventHandler('onBeginRequest')) { 179 $this->onBeginRequest(new CEvent($this)); 180 } 181 register_shutdown_function(array($this, 'end'), 0, false); 182 $this->processRequest(); 183 if ($this->hasEventHandler('onEndRequest')) { 184 $this->onEndRequest(new CEvent($this)); 185 } 186 } 187 |
#13 |
+
–
/home/wwwroot/adopt/web/public/index.php(34): CApplication->run() 29 ini_set('session.name', 'PHPSESSID'); 30 ini_set('date.timezone', 'Asia/Shanghai'); 31 32 include SERVER_ROOT.'framework/YiiBase.php'; 33 require SERVER_ROOT.'protected/extensions/yii.php'; 34 Yii::createWebApplication($config)->run(); |