/home/autogarant/public_html/protected/views/template/widgets/used_vehicles_details.php(41)
29 foreach ($data->gallery as $images){ 30 $image = $images->server . $images->path . $images->basename . '-800x600.jpg'; 31 $gallery[] = $image; 32 } 33 34 ?> 35 36 <div class="row mb-5 justify-content-end justify-content-sm-between"> 37 <div class="col-xl-9 col-md-8 col-sm-6 align-self-center title"> 38 <h1><?= isset($data->values->title) ? $data->values->title : ''; ?></h1> 39 </div> 40 <div class="col-xl-3 col-md-4 col-sm-5 align-self-center price"> 41 <?php if($data->values->price) { ?> 42 <?php if($data->values->price === 999999999){ ?> 43 <h3><?= $data->values->price = 'Na upit'; ?></h3> 44 <?php } else {?> 45 <h3><?= clsDataFormat::numberNoDecimal($data->values->price); ?> EUR</h3> 46 <?php } ?> 47 <?php } ?> 48 </div> 49 </div> 50 51 <div class="row"> 52 <div class="col-xl-8"> 53 <div class="carousel carousel-main" data-flickity='{"pageDots": false,"imagesLoaded": true }'>
#0 |
+
–
/home/autogarant/public_html/yii/framework/web/CBaseController.php(134): require("/home/autogarant/public_html/protected/views/template/widgets/us...") 129 return ob_get_clean(); 130 } 131 } else { 132 ob_start(); 133 ob_implicit_flush(false); 134 require($_viewFile_); 135 return ob_get_clean(); 136 } 137 } 138 else 139 require($_viewFile_); |
#1 |
+
–
/home/autogarant/public_html/yii/framework/web/CBaseController.php(95): CBaseController->renderInternal("/home/autogarant/public_html/protected/views//template/widgets/u...", array("data" => stdClass, "opt" => array(), "name" => "w_1", "return" => "string"), true) 090 { 091 $widgetCount=count($this->_widgetStack); 092 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 093 $content=$renderer->renderFile($this,$viewFile,$data,$return); 094 else 095 $content=$this->renderInternal($viewFile,$data,$return); 096 if(count($this->_widgetStack)===$widgetCount) 097 return $content; 098 else 099 { 100 $widget=end($this->_widgetStack); |
#2 |
+
–
/home/autogarant/public_html/yii/framework/web/CController.php(869): CBaseController->renderFile("/home/autogarant/public_html/protected/views//template/widgets/u...", array("data" => stdClass, "opt" => array(), "name" => "w_1", "return" => "string"), true) 864 */ 865 public function renderPartial($view,$data=null,$return=false,$processOutput=false,$error=true) 866 { 867 if(($viewFile=$this->getViewFile($view))!==false) 868 { 869 $output=$this->renderFile($viewFile,$data,true); 870 if($processOutput) 871 $output=$this->processOutput($output); 872 if($return) 873 return $output; 874 else |
#3 |
+
–
/home/autogarant/public_html/protected/components/clsFunctions.php(4164): CController->renderPartial("//template/widgets/used_vehicles_details", array("data" => stdClass, "opt" => array(), "name" => "w_1", "return" => "string"), true, false) 4159 'path' => __DIR__ . '/../views/' . $widget_data->location . $widget_data->name . '.php', 4160 'data' => array('data' => $config, 'opt' => $opt, 'name' => $name, 'return' => 'string'), 4161 ); 4162 $content = clsFunctions::renderPartialsInConsoleCommand($render_opt); 4163 } else { 4164 $content = Yii::app()->controller->renderPartial($widget_data->location . $widget_data->name, array('data' => $config, 'opt' => $opt, 'name' => $name, 'return' => 'string'), true, false); 4165 } 4166 } else { 4167 $content = $widget_data; 4168 } 4169 |
#4 |
+
–
/home/autogarant/public_html/protected/components/clsFunctions.php(4109): clsFunctions::getRenderBody(stdClass, array()) 4104 foreach ($pageData->default->structure as $position => $structure) { 4105 $page_template->$position = $structure; 4106 } 4107 } 4108 4109 $data = self::getRenderBody($pageData, $opt->opt); 4110 4111 $return = (object) array( 4112 'data' => $data, 4113 'page_template' => $page_template 4114 ); |
#5 |
+
–
/home/autogarant/public_html/protected/controllers/SiteController.php(257): clsFunctions::getPageTemplate(stdClass) 252 'page' => $this->action->id, 253 'controller' => Yii::app()->controller->id, 254 'opt' => array(), 255 ); 256 257 $data = clsFunctions::getPageTemplate($opt); 258 259 $this->render('page', array( 260 'page_template' => $data->page_template, 261 'data' => $data->data, 262 )); |
#6 |
+
–
/home/autogarant/public_html/yii/framework/web/actions/CInlineAction.php(49): SiteController->actionUsedCarsDetails() 44 $controller=$this->getController(); 45 $method=new ReflectionMethod($controller, $methodName); 46 if($method->getNumberOfParameters()>0) 47 return $this->runWithParamsInternal($controller, $method, $params); 48 else 49 return $controller->$methodName(); 50 } 51 52 } |
#7 |
+
–
/home/autogarant/public_html/yii/framework/web/CController.php(308): CInlineAction->runWithParams(array("sr/detalji-vozila/20184347" => "", "lang" => "sr", "id" => "20184347")) 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; |
#8 |
+
–
/home/autogarant/public_html/yii/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(); |
#9 |
+
–
/home/autogarant/public_html/yii/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array()) 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); |
#10 |
+
–
/home/autogarant/public_html/yii/framework/web/CWebApplication.php(282): CController->run("usedcarsdetails") 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))); |
#11 |
+
–
/home/autogarant/public_html/yii/framework/web/CWebApplication.php(141): CWebApplication->runController("site/usedcarsdetails") 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. |
#12 |
+
–
/home/autogarant/public_html/yii/framework/base/CApplication.php(180): CWebApplication->processRequest() 175 public function run() 176 { 177 if($this->hasEventHandler('onBeginRequest')) 178 $this->onBeginRequest(new CEvent($this)); 179 register_shutdown_function(array($this,'end'),0,false); 180 $this->processRequest(); 181 if($this->hasEventHandler('onEndRequest')) 182 $this->onEndRequest(new CEvent($this)); 183 } 184 185 /** |
#13 |
+
–
/home/autogarant/public_html/index.php(17): CApplication->run() 12 $yii=dirname(__FILE__).'/yii/framework/yii.php'; 13 $config=dirname(__FILE__).'/protected/config/main.php'; 14 15 require_once($yii); 16 17 Yii::createWebApplication($config)->run(); |