/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/register.php(80): CBaseController->widget("CCaptcha", array("buttonLabel" => "<i class="ico ico-refrest"></i>", "imageOptions" => array("height" => "34px"))) 75 // 'showRefreshButton' => false, 76 // 'clickableImage' => true, 77 'imageOptions' => array( 78 'height' => '34px', 79 ), 80 )); 81 ?> 82 </span> 83 </div> 84 <div> 85 <?php echo $form->error($model, 'captcha'); ?> |
#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("theme" => Themes, "model" => BuildRegisterForm, "themerelaction" => array(3 => array("theme_id" => "ggwi197", "theme_name" => "GGw96547", "theme_type" => "3", "category_id" => "5", ...), 4 => array("theme_id" => "ggwi198", "theme_name" => "web giới thiệu công ty luật màu đỏ", "theme_type" => "3", "category_id" => "5", ...), 7 => array("theme_id" => "ggwi126", "theme_name" => "Mẫu web dich vụ", "theme_type" => "3", "category_id" => "5", ...))), 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("theme" => Themes, "model" => BuildRegisterForm, "themerelaction" => array(3 => array("theme_id" => "ggwi197", "theme_name" => "GGw96547", "theme_type" => "3", "category_id" => "5", ...), 4 => array("theme_id" => "ggwi198", "theme_name" => "web giới thiệu công ty luật màu đỏ", "theme_type" => "3", "category_id" => "5", ...), 7 => array("theme_id" => "ggwi126", "theme_name" => "Mẫu web dich vụ", "theme_type" => "3", "category_id" => "5", ...))), 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/components/PublicController.php(93): CController->renderPartial("register", array("theme" => Themes, "model" => BuildRegisterForm, "themerelaction" => array(3 => array("theme_id" => "ggwi197", "theme_name" => "GGw96547", "theme_type" => "3", "category_id" => "5", ...), 4 => array("theme_id" => "ggwi198", "theme_name" => "web giới thiệu công ty luật màu đỏ", "theme_type" => "3", "category_id" => "5", ...), 7 => array("theme_id" => "ggwi126", "theme_name" => "Mẫu web dich vụ", "theme_type" => "3", "category_id" => "5", ...))), 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 |
#6 |
+
–
/var/www/gugo.vn/public_html/protected/modules/site/controllers/BuildController.php(232): PublicController->render("register", array("theme" => Themes, "model" => BuildRegisterForm, "themerelaction" => array(3 => array("theme_id" => "ggwi197", "theme_name" => "GGw96547", "theme_type" => "3", "category_id" => "5", ...), 4 => array("theme_id" => "ggwi198", "theme_name" => "web giới thiệu công ty luật màu đỏ", "theme_type" => "3", "category_id" => "5", ...), 7 => array("theme_id" => "ggwi126", "theme_name" => "Mẫu web dich vụ", "theme_type" => "3", "category_id" => "5", ...)))) 227 // 228 $this->render('register', array( 229 'theme' => $theme, 230 'model' => $model, 231 'themerelaction' => $theme_relaction, 232 )); 233 } 234 235 /** 236 * Tự động tạo ra file sql 237 * array("table" => array("id" => array("map"=>"tên biến trong sql"))) |
#7 |
+
–
/var/www/gugo.vn/public_html/common/lib/Yii/web/actions/CInlineAction.php(49): BuildController->actionInstall() 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 } |
#8 |
+
–
/var/www/gugo.vn/public_html/common/lib/Yii/web/CController.php(308): CInlineAction->runWithParams(array("theme" => "ggwi186")) 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; |
#9 |
+
–
/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(); |
#10 |
+
–
/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); |
#11 |
+
–
/var/www/gugo.vn/public_html/common/lib/Yii/web/CWebApplication.php(282): CController->run("install") 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))); |
#12 |
+
–
/var/www/gugo.vn/public_html/common/components/WebApplication.php(33): CWebApplication->runController("site/build/install") 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; |
#13 |
+
–
/var/www/gugo.vn/public_html/common/lib/Yii/web/CWebApplication.php(141): WebApplication->runController("site/build/install") 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. |
#14 |
+
–
/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 /** |
#15 |
+
–
/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(); |