/var/www/EXTERNAL/Gucio/protected/components/Cookie.php(33)
21 const SixMonths = 15811200; 22 const OneYear = 31536000; 23 const Lifetime = -1; // 2030-01-01 00:00:00 24 25 26 public static function hasCookie($name) 27 { 28 return !empty(Yii::app()->request->cookies[$name]->value); 29 } 30 31 public static function getCookie($name) 32 { 33 return Yii::app()->request->cookies[$name]->value; 34 } 35 36 public static function setCookie($name, $value, $time = null, $disableClientCookies = false) 37 { 38 if ($time === -1) 39 $time = 1893456000; // Lifetime = 2030-01-01 00:00:00 40 elseif (is_numeric($time)) 41 $time += time(); 42 else 43 $time = strtotime($time); 44 45 $cookie = new CHttpCookie($name, $value);
#0 |
+
–
/var/www/EXTERNAL/Gucio/protected/modules/Main/views/cart/index/menu_full_options.php(14): Cookie::getCookie("portal_language") 09 <a href="<?php echo Service_Constants::PORTAL_DOMAIN?>"><img class="special_logo option" src="<?php echo Yii::app()->baseUrl ?>/img/main/menu/logo_menu.svg" alt="" /></a> 10 11 12 <div class="lang" id="lang_menu"> 13 <?php $cookie = new Cookie(); 14 if ($cookie->getCookie("portal_language") == "PL"): ?> 15 <!--<span class="menu_item" data-goto=""> 16 <span style="display:inline" class="language mn_bg_orange goto" data-goto="goto_kontakt" style="color:#707070"><span class="lang_choice lang_on" data-lang="PL">PL</span>/<span class="lang_choice lang_off" data-lang="EN">EN</span></span> 17 </span>--> 18 <?php else:?> 19 <!--<span class="menu_item" data-goto=""> |
#1 |
+
–
/var/www/EXTERNAL/Gucio/yii/framework/web/CBaseController.php(119): require("/var/www/EXTERNAL/Gucio/protected/modules/Main/views/cart/index/...") 114 $data=$_data_; 115 if($_return_) 116 { 117 ob_start(); 118 ob_implicit_flush(false); 119 require($_viewFile_); 120 return ob_get_clean(); 121 } 122 else 123 require($_viewFile_); 124 } |
#2 |
+
–
/var/www/EXTERNAL/Gucio/yii/framework/web/CBaseController.php(88): CBaseController->renderInternal("/var/www/EXTERNAL/Gucio/protected/modules/Main/views/cart/index/...", array(), true) 83 { 84 $widgetCount=count($this->_widgetStack); 85 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 86 $content=$renderer->renderFile($this,$viewFile,$data,$return); 87 else 88 $content=$this->renderInternal($viewFile,$data,$return); 89 if(count($this->_widgetStack)===$widgetCount) 90 return $content; 91 else 92 { 93 $widget=end($this->_widgetStack); |
#3 |
+
–
/var/www/EXTERNAL/Gucio/yii/framework/web/CController.php(866): CBaseController->renderFile("/var/www/EXTERNAL/Gucio/protected/modules/Main/views/cart/index/...", array(), true) 861 */ 862 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 863 { 864 if(($viewFile=$this->getViewFile($view))!==false) 865 { 866 $output=$this->renderFile($viewFile,$data,true); 867 if($processOutput) 868 $output=$this->processOutput($output); 869 if($return) 870 return $output; 871 else |
#4 |
+
–
/var/www/EXTERNAL/Gucio/protected/modules/Main/views/cart/index.php(16): CController->renderPartial("index/menu_full_options", array()) 11 Yii::app()->clientScript->registerCssFile($assetcssUrl.'/cart/cart.css'); 12 Yii::app()->clientScript->registerCssFile($assetcssUrl.'/cart/cart_additional.css'); 13 Yii::app()->clientScript->registerCssFile($assetcssUrl.'/cart/cart_RWD.css'); 14 15 ?> 16 <?php $this->renderPartial('index/menu_full_options',array()) ?> 17 <?php $this->renderPartial('index/cart',array()) ?> 18 19 <div id="test_rwd"></div> 20 |
#5 |
+
–
/var/www/EXTERNAL/Gucio/yii/framework/web/CBaseController.php(119): require("/var/www/EXTERNAL/Gucio/protected/modules/Main/views/cart/index....") 114 $data=$_data_; 115 if($_return_) 116 { 117 ob_start(); 118 ob_implicit_flush(false); 119 require($_viewFile_); 120 return ob_get_clean(); 121 } 122 else 123 require($_viewFile_); 124 } |
#6 |
+
–
/var/www/EXTERNAL/Gucio/yii/framework/web/CBaseController.php(88): CBaseController->renderInternal("/var/www/EXTERNAL/Gucio/protected/modules/Main/views/cart/index....", array(), true) 83 { 84 $widgetCount=count($this->_widgetStack); 85 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 86 $content=$renderer->renderFile($this,$viewFile,$data,$return); 87 else 88 $content=$this->renderInternal($viewFile,$data,$return); 89 if(count($this->_widgetStack)===$widgetCount) 90 return $content; 91 else 92 { 93 $widget=end($this->_widgetStack); |
#7 |
+
–
/var/www/EXTERNAL/Gucio/yii/framework/web/CController.php(866): CBaseController->renderFile("/var/www/EXTERNAL/Gucio/protected/modules/Main/views/cart/index....", array(), true) 861 */ 862 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 863 { 864 if(($viewFile=$this->getViewFile($view))!==false) 865 { 866 $output=$this->renderFile($viewFile,$data,true); 867 if($processOutput) 868 $output=$this->processOutput($output); 869 if($return) 870 return $output; 871 else |
#8 |
+
–
/var/www/EXTERNAL/Gucio/yii/framework/web/CController.php(779): CController->renderPartial("index", array(), true) 774 */ 775 public function render($view,$data=null,$return=false) 776 { 777 if($this->beforeRender($view)) 778 { 779 $output=$this->renderPartial($view,$data,true); 780 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 781 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 782 783 $this->afterRender($view,$output); 784 |
#9 |
+
–
/var/www/EXTERNAL/Gucio/protected/modules/Main/controllers/CartController.php(45): CController->render("index", array()) 40 } 41 } 42 } 43 } 44 } 45 $this->render('index',array()); 46 } 47 public function actionStoreitem() 48 { 49 session_start(); 50 $ADDED_FLAG = 0; |
#10 |
+
–
/var/www/EXTERNAL/Gucio/yii/framework/web/actions/CInlineAction.php(50): CartController->actionIndex() 45 $controller=$this->getController(); 46 $method=new ReflectionMethod($controller, $methodName); 47 if($method->getNumberOfParameters()>0) 48 return $this->runWithParamsInternal($controller, $method, $params); 49 else 50 return $controller->$methodName(); 51 } 52 53 } |
#11 |
+
–
/var/www/EXTERNAL/Gucio/yii/framework/web/CController.php(300): CInlineAction->runWithParams(array()) 295 { 296 $priorAction=$this->_action; 297 $this->_action=$action; 298 if($this->beforeAction($action)) 299 { 300 if($action->runWithParams($this->getActionParams())===false) 301 $this->invalidActionParams($action); 302 else 303 $this->afterAction($action); 304 } 305 $this->_action=$priorAction; |
#12 |
+
–
/var/www/EXTERNAL/Gucio/yii/framework/web/CController.php(278): CController->runAction(CInlineAction) 273 * @see runAction 274 */ 275 public function runActionWithFilters($action,$filters) 276 { 277 if(empty($filters)) 278 $this->runAction($action); 279 else 280 { 281 $priorAction=$this->_action; 282 $this->_action=$action; 283 CFilterChain::create($this,$action,$filters)->run(); |
#13 |
+
–
/var/www/EXTERNAL/Gucio/yii/framework/web/CController.php(257): CController->runActionWithFilters(CInlineAction, array()) 252 { 253 if(($parent=$this->getModule())===null) 254 $parent=Yii::app(); 255 if($parent->beforeControllerAction($this,$action)) 256 { 257 $this->runActionWithFilters($action,$this->filters()); 258 $parent->afterControllerAction($this,$action); 259 } 260 } 261 else 262 $this->missingAction($actionID); |
#14 |
+
–
/var/www/EXTERNAL/Gucio/yii/framework/web/CWebApplication.php(277): CController->run("Index") 272 { 273 list($controller,$actionID)=$ca; 274 $oldController=$this->_controller; 275 $this->_controller=$controller; 276 $controller->init(); 277 $controller->run($actionID); 278 $this->_controller=$oldController; 279 } 280 else 281 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 282 array('{route}'=>$route===''?$this->defaultController:$route))); |
#15 |
+
–
/var/www/EXTERNAL/Gucio/yii/framework/web/CWebApplication.php(136): CWebApplication->runController("Main/Cart/Index") 131 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 132 $_GET[$name]=$value; 133 } 134 else 135 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 136 $this->runController($route); 137 } 138 139 /** 140 * Registers the core application components. 141 * This method overrides the parent implementation by registering additional core components. |
#16 |
+
–
/var/www/EXTERNAL/Gucio/yii/framework/base/CApplication.php(158): CWebApplication->processRequest() 153 */ 154 public function run() 155 { 156 if($this->hasEventHandler('onBeginRequest')) 157 $this->onBeginRequest(new CEvent($this)); 158 $this->processRequest(); 159 if($this->hasEventHandler('onEndRequest')) 160 $this->onEndRequest(new CEvent($this)); 161 } 162 163 /** |
#17 |
+
–
/var/www/EXTERNAL/Gucio/index.php(13): CApplication->run() 08 defined('YII_DEBUG') or define('YII_DEBUG',true); 09 // specify how many levels of call stack should be shown in each log message 10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',1); 11 12 require_once($yii); 13 Yii::createWebApplication($config)->run(); |