/home2/greenlawnasia/public_html/source/system/general_item.php(159)
147 $url = $url_prefix.$this->data['router_method'].$url_suffix.'?id='.$class_id.'&page='; 148 } 149 } // isset _GET id 150 151 } else { // 分項列表 152 $url = $url_prefix.$this->data['router_method'].$url_suffix.'?page='; 153 } 154 155 156 if(isset($_GET['id'])){ 157 if($common_action_by_categoryurl == '' or $common_action_by_categoryurl == '0'){ // 當層"分類以外"的項目 (預設) 158 $common_content_type = 2; 159 $where['class_id'] = $class_id; 160 if($common_item == 1){ // 是通用分項 161 $where['type'] = $this->data['router_method']; 162 $table = 'html'; 163 } else { // 獨立分項 164 $table = $this->data['router_method']; 165 } 166 } elseif($common_action_by_categoryurl == '1'){ // 當層分類,最末層顯示產品 167 $common_content_type = 1; 168 if($common_category == 1){ // 是通用分類 169 $where['type'] = $this->data['router_method'].'type'; 170 $where['class_id'] = $_GET['id']; 171 $table = 'html';
#0 |
+
–
/home2/greenlawnasia/public_html/layoutv3/pre_render_other.php(20): include("/home2/greenlawnasia/public_html/source/system/general_item.php") 15 16 if(isset($this->data['need_flattened']) and $this->data['need_flattened'] === true){ 17 $CCCCCCCCCCCCCCCCCCCC.='?'.'>'.file_get_contents(_BASEPATH.'/../'.LAYOUTV3_PATH.'source/'.$tmp2_gggggg['source'].'.php')."\n"; 18 } 19 20 include _BASEPATH.'/../'.LAYOUTV3_PATH.'source/'.$tmp2_gggggg['source'].'.php'; 21 } |
#1 |
+
–
/home2/greenlawnasia/public_html/layoutv3/pre_render.php(349): include("/home2/greenlawnasia/public_html/layoutv3/pre_render_other.php") 344 } 345 } 346 347 // 沒有下條件的情況 348 } else { 349 include 'pre_render_other.php'; 350 } 351 } 352 353 if(count($layoutv3_struct) == ($k_gggggg+1)){ 354 // 最後一筆不輸出囉,因為也沒什麼意義 |
#2 |
+
–
/home2/greenlawnasia/public_html/parent/news.php(70): include("/home2/greenlawnasia/public_html/layoutv3/pre_render.php") 65 66 // 結尾的程式碼,通常都放這裡 67 'share-end', 68 ); 69 70 include 'layoutv3/pre_render.php'; 71 // include 'layoutv3/print_struct.php'; 72 73 include 'layoutv3/render.php'; |
#3 |
/home2/greenlawnasia/public_html/_i/web/controllers/SiteController.php(110) : eval()'d code(29): include("/home2/greenlawnasia/public_html/parent/news.php")
|
#4 |
+
–
/home2/image/_i/framework/web/actions/CInlineAction.php(49): SitexxxController->actionNews() 44 $controller=$this->getController(); 45 $method=new ReflectionMethod($controller, $methodName); 46 if($method->getNumberOfParameters()>0) 47 return $this->runWithParamsInternal($controller, $method, $params); 48 49 $controller->$methodName(); 50 return true; 51 } 52 } |
#5 |
+
–
/home2/image/_i/framework/web/CController.php(308): CInlineAction->runWithParams(array("id" => "596")) 303 { 304 $priorAction=$this->_action; 305 $this->_action=$action; 306 if($this->beforeAction($action)) 307 { 308 if($action->runWithParams($this->getActionParams())===false) 309 $this->invalidActionParams($action); 310 else 311 $this->afterAction($action); 312 } 313 $this->_action=$priorAction; |
#6 |
+
–
/home2/image/_i/framework/web/CController.php(286): CController->runAction(CInlineAction) 281 * @see runAction 282 */ 283 public function runActionWithFilters($action,$filters) 284 { 285 if(empty($filters)) 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); |
#7 |
+
–
/home2/image/_i/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, null) 260 { 261 if(($parent=$this->getModule())===null) 262 $parent=Yii::app(); 263 if($parent->beforeControllerAction($this,$action)) 264 { 265 $this->runActionWithFilters($action,$this->filters()); 266 $parent->afterControllerAction($this,$action); 267 } 268 } 269 else 270 $this->missingAction($actionID); |
#8 |
+
–
/home2/image/_i/framework/web/CWebApplication.php(282): CController->run("") 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); 282 $controller->run($actionID); 283 $this->_controller=$oldController; 284 } 285 else 286 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 287 array('{route}'=>$route===''?$this->defaultController:$route))); |
#9 |
+
–
/home2/image/_i/framework/web/CWebApplication.php(141): CWebApplication->runController("") 136 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 137 $_GET[$name]=$value; 138 } 139 else 140 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 141 $this->runController($route); 142 } 143 144 /** 145 * Registers the core application components. 146 * This method overrides the parent implementation by registering additional core components. |
#10 |
+
–
/home2/image/_i/framework/base/CApplication.php(185): CWebApplication->processRequest() 180 public function run() 181 { 182 if($this->hasEventHandler('onBeginRequest')) 183 $this->onBeginRequest(new CEvent($this)); 184 register_shutdown_function(array($this,'end'),0,false); 185 $this->processRequest(); 186 if($this->hasEventHandler('onEndRequest')) 187 $this->onEndRequest(new CEvent($this)); 188 } 189 190 /** |
#11 |
+
–
/home2/greenlawnasia/public_html/a.php(52): CApplication->run() 47 $app_path = $base_path.ds('/').$app_name; 48 49 //require_once(str_replace('yii.php', '', $yii).$app_name.ds('/yii_init.php')); 50 require_once(str_replace('yii.php', '', $yii).'frontend'.ds('/yii_init.php')); 51 52 $app->run(); |
#12 |
+
–
/home2/greenlawnasia/public_html/layoutv3/yii/init.php(38): require("/home2/greenlawnasia/public_html/a.php") 33 'defaultController' => 'site', 34 'defaultAction' => '$tmp', 35 ); 36 XXX 37 ); 38 require 'a.php'; 39 } else { 40 // define('LAYOUTV3_IS_RUN_FIRST', str_replace(__DIR__.'/', '', str_replace('.php','',__FILE__))); 41 // 用script_name才不會抓到GET引數 42 43 $gggs = explode('/', $_SERVER["SCRIPT_NAME"]); |
#13 |
+
–
/home2/greenlawnasia/public_html/layoutv3/init.php(12): include("/home2/greenlawnasia/public_html/layoutv3/yii/init.php") 07 /* 08 * 這支程式,對於LayoutV3來說,是要預留給需要用的程式或架構,例如:MVC架構 09 */ 10 11 // 切換成Yii架構(V3) 12 include 'yii/init.php'; 13 14 // 切換成Yii架構(cttdemo) 15 // 記得這些檔案也要跟著修改: 1. parent/core.php 2. group/layout_main.php 3. cp contact/(v3|ctt)_contact.php contact/contact.php 16 // include 'yii_ctt/init.php'; 17 |
#14 |
/home2/greenlawnasia/public_html/parent/core.php(152) : eval()'d code(3): include("/home2/greenlawnasia/public_html/layoutv3/init.php")
|
#15 |
+
–
/home2/greenlawnasia/public_html/parent/core.php(152): eval() 147 // header("HTTP/1.0 404 Not Found"); 148 // die; 149 // } 150 // } 151 152 eval('?'.'>'.$run); 153 } |
#16 |
+
–
/home2/greenlawnasia/public_html/parent_core.php(3): include("/home2/greenlawnasia/public_html/parent/core.php") 1 <?php 2 3 include 'parent/core.php'; |