/var/www/gugo.vn/public_html/common/lib/Yii/web/widgets/captcha/CCaptcha.php(91)
079 080 /** 081 * Renders the widget. 082 */ 083 public function run() 084 { 085 if(self::checkRequirements('imagick') || self::checkRequirements('gd')) 086 { 087 $this->renderImage(); 088 $this->registerClientScript(); 089 } 090 else 091 throw new CException(Yii::t('yii','GD with FreeType or ImageMagick PHP extensions are required.')); 092 } 093 094 /** 095 * Renders the CAPTCHA image. 096 */ 097 protected function renderImage() 098 { 099 if(!isset($this->imageOptions['id'])) 100 $this->imageOptions['id']=$this->getId(); 101 102 $url=$this->getController()->createUrl($this->captchaAction,array('v'=>uniqid())); 103 $alt=isset($this->imageOptions['alt'])?$this->imageOptions['alt']:'';
#0 |
+
–
/var/www/gugo.vn/public_html/common/lib/Yii/web/CBaseController.php(181): CCaptcha->run() 176 return ob_get_clean(); 177 } 178 else 179 { 180 $widget=$this->createWidget($className,$properties); 181 $widget->run(); 182 return $widget; 183 } 184 } 185 186 /** |
#1 |
+
–
/var/www/gugo.vn/public_html/protected/modules/site/views/build/request_form.php(75): CBaseController->widget("CCaptcha", array("buttonLabel" => "<i class="ico ico-refrest"></i>", "captchaAction" => "/site/request/captcha", "imageOptions" => array("height" => "34px"))) 70 'buttonLabel' => '<i class="ico ico-refrest"></i>', 71 'captchaAction' => Yii::app()->createUrl('/site/request/captcha'), 72 'imageOptions' => array( 73 'height' => '34px', 74 ), 75 )); 76 ?> 77 </span> 78 </div> 79 <div> 80 <?php echo $form->error($model, 'captcha', array('hideErrorMessage' => true)); ?> |
#2 |
+
–
/var/www/gugo.vn/public_html/common/lib/Yii/web/CBaseController.php(126): require("/var/www/gugo.vn/public_html/protected/modules/site/views/build/...") 121 $data=$_data_; 122 if($_return_) 123 { 124 ob_start(); 125 ob_implicit_flush(false); 126 require($_viewFile_); 127 return ob_get_clean(); 128 } 129 else 130 require($_viewFile_); 131 } |
#3 |
+
–
/var/www/gugo.vn/public_html/common/lib/Yii/web/CBaseController.php(95): CBaseController->renderInternal("/var/www/gugo.vn/public_html/protected/modules/site/views/build/...", array("model" => Requests), 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); |
#4 |
+
–
/var/www/gugo.vn/public_html/common/lib/Yii/web/CController.php(869): CBaseController->renderFile("/var/www/gugo.vn/public_html/protected/modules/site/views/build/...", array("model" => Requests), true) 864 */ 865 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 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 |
#5 |
+
–
/var/www/gugo.vn/public_html/protected/modules/site/views/build/order.php(26): CController->renderPartial("request_form", array("model" => Requests)) 21 </div> 22 <div class="col-xs-4"> 23 <?php 24 $this->renderPartial('request_form', array( 25 'model' => $model, 26 )); 27 ?> 28 </div> 29 </div> 30 <?php 31 if ($themerelaction && count($themerelaction)) { |
#6 |
+
–
/var/www/gugo.vn/public_html/common/lib/Yii/web/CBaseController.php(126): require("/var/www/gugo.vn/public_html/protected/modules/site/views/build/...") 121 $data=$_data_; 122 if($_return_) 123 { 124 ob_start(); 125 ob_implicit_flush(false); 126 require($_viewFile_); 127 return ob_get_clean(); 128 } 129 else 130 require($_viewFile_); 131 } |
#7 |
+
–
/var/www/gugo.vn/public_html/common/lib/Yii/web/CBaseController.php(95): CBaseController->renderInternal("/var/www/gugo.vn/public_html/protected/modules/site/views/build/...", array("model" => Requests, "theme" => Themes, "themerelaction" => array(3 => array("theme_id" => "ggwi106", "theme_name" => "Web công ty luật", "theme_type" => "3", "category_id" => "1", ...), 5 => array("theme_id" => "ggwi0006", "theme_name" => "w3ni0006", "theme_type" => "3", "category_id" => "1", ...), 8 => array("theme_id" => "ggwi139", "theme_name" => "Web công ty giới thiệu", "theme_type" => "3", "category_id" => "1", ...))), 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); |
#8 |
+
–
/var/www/gugo.vn/public_html/common/lib/Yii/web/CController.php(869): CBaseController->renderFile("/var/www/gugo.vn/public_html/protected/modules/site/views/build/...", array("model" => Requests, "theme" => Themes, "themerelaction" => array(3 => array("theme_id" => "ggwi106", "theme_name" => "Web công ty luật", "theme_type" => "3", "category_id" => "1", ...), 5 => array("theme_id" => "ggwi0006", "theme_name" => "w3ni0006", "theme_type" => "3", "category_id" => "1", ...), 8 => array("theme_id" => "ggwi139", "theme_name" => "Web công ty giới thiệu", "theme_type" => "3", "category_id" => "1", ...))), true) 864 */ 865 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 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 |
#9 |
+
–
/var/www/gugo.vn/public_html/protected/components/PublicController.php(93): CController->renderPartial("order", array("model" => Requests, "theme" => Themes, "themerelaction" => array(3 => array("theme_id" => "ggwi106", "theme_name" => "Web công ty luật", "theme_type" => "3", "category_id" => "1", ...), 5 => array("theme_id" => "ggwi0006", "theme_name" => "w3ni0006", "theme_type" => "3", "category_id" => "1", ...), 8 => array("theme_id" => "ggwi139", "theme_name" => "Web công ty giới thiệu", "theme_type" => "3", "category_id" => "1", ...))), true) 88 // 89 public function render($view, $data = null, $return = false) { 90 if ($this->beforeRender($view)) { 91 Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . '/js/web3nhat.min.js?v=' . VERSION, CClientScript::POS_END); 92 Yii::app()->clientScript->registerCssFile(Yii::app()->baseUrl . '/css/main.min.css?v=' . VERSION); 93 $output = $this->renderPartial($view, $data, true); 94 $output.= $this->widget('common.widgets.managerwidget.managerwidget', array(), true); 95 $output.= $this->widget('common.widgets.statistic.statistic', array(), true); 96 // widget nhận thông báo 97 $output.= $this->widget('Flashes', array(), true); 98 // add custom style to out put |
#10 |
+
–
/var/www/gugo.vn/public_html/protected/modules/site/controllers/BuildController.php(871): PublicController->render("order", array("model" => Requests, "theme" => Themes, "themerelaction" => array(3 => array("theme_id" => "ggwi106", "theme_name" => "Web công ty luật", "theme_type" => "3", "category_id" => "1", ...), 5 => array("theme_id" => "ggwi0006", "theme_name" => "w3ni0006", "theme_type" => "3", "category_id" => "1", ...), 8 => array("theme_id" => "ggwi139", "theme_name" => "Web công ty giới thiệu", "theme_type" => "3", "category_id" => "1", ...)))) 866 // 867 $this->render('order', array( 868 'model' => $model, 869 'theme' => $theme, 870 'themerelaction' => $theme_relaction, 871 )); 872 } 873 874 /** 875 * Chỉ có web3nhat.com mới chạy được controller này 876 * @param type $action |
#11 |
+
–
/var/www/gugo.vn/public_html/common/lib/Yii/web/actions/CInlineAction.php(49): BuildController->actionOrder() 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 } |
#12 |
+
–
/var/www/gugo.vn/public_html/common/lib/Yii/web/CController.php(308): CInlineAction->runWithParams(array("theme" => "ggwi112")) 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; |
#13 |
+
–
/var/www/gugo.vn/public_html/common/lib/Yii/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(); |
#14 |
+
–
/var/www/gugo.vn/public_html/common/lib/Yii/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); |
#15 |
+
–
/var/www/gugo.vn/public_html/common/lib/Yii/web/CWebApplication.php(282): CController->run("order") 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))); |
#16 |
+
–
/var/www/gugo.vn/public_html/common/components/WebApplication.php(33): CWebApplication->runController("site/build/order") 28 * that Apache polls its processes to see if they're alive. This function causes 29 * Yii to respond without logging errors. 30 */ 31 public function runController($route) { 32 try { 33 parent::runController($route); 34 } catch (CHttpException $e) { 35 if (@$_SERVER['REQUEST_METHOD'] == 'OPTIONS' && @$_SERVER['REQUEST_URI'] == '*') { 36 Yii::app()->end('Hello, friend!'); 37 } else 38 throw $e; |
#17 |
+
–
/var/www/gugo.vn/public_html/common/lib/Yii/web/CWebApplication.php(141): WebApplication->runController("site/build/order") 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. |
#18 |
+
–
/var/www/gugo.vn/public_html/common/lib/Yii/base/CApplication.php(184): CWebApplication->processRequest() 179 public function run() 180 { 181 if($this->hasEventHandler('onBeginRequest')) 182 $this->onBeginRequest(new CEvent($this)); 183 register_shutdown_function(array($this,'end'),0,false); 184 $this->processRequest(); 185 if($this->hasEventHandler('onEndRequest')) 186 $this->onEndRequest(new CEvent($this)); 187 } 188 189 /** |
#19 |
+
–
/var/www/gugo.vn/public_html/index.php(26): CApplication->run() 21 require_once('common/components/WebApplication.php'); 22 require_once('common/lib/global.php'); 23 require_once('protected/components/PublicWebApplication.php'); 24 25 $app = Yii::createApplication('PublicWebApplication', require($config)); 26 $app->run(); |