/home/texlinee/public_html/applications/newsletter/admin/connect.php(2)
01 <?php 02 $db = mysql_connect("127.0.0.1", "texlinee", "audi#77VDR") or die("Could not connect."); 03 if(!$db) 04 die("no db"); 05 if(!mysql_select_db("texlinee_new",$db)) 06 die("No database selected."); 07 if(!get_magic_quotes_gpc()) 08 { 09 $_GET = array_map('mysql_real_escape_string', $_GET); 10 $_POST = array_map('mysql_real_escape_string', $_POST); 11 $_COOKIE = array_map('mysql_real_escape_string', $_COOKIE); 12 } 13 else 14 {
#0 |
+
–
/home/texlinee/public_html/applications/newsletter/index.php(2): include() 1 <?php 2 include "admin/connect.php"; 3 ?> 4 <?php 5 print "<form action='../newsletter/sub.php' method='post'>"; 6 print "E-mail: <input type='text' name='email' size='15'><br>"; 7 print "<input type='radio' name='choice' value='sub' checked=\"checked\"> Aboneaza-te "; |
#1 |
+
–
/home/texlinee/public_html/applications/texline/protected/components/widgets/views/newsletter.php(6): include("/home/texlinee/public_html/applications/newsletter/index.php") 1 <div class="panel panel-default"> 2 <div class="panel-heading">Newsletter</div> 3 <div class="panel-body"> 4 <?php 5 $newsletterLocation = __DIR__.'/../../../../../newsletter/index.php'; 6 include($newsletterLocation); 7 ?> 8 </div> 9 </div> |
#2 |
+
–
/home/texlinee/public_html/framework/web/CBaseController.php(130): require("/home/texlinee/public_html/applications/texline/protected/compon...") 125 ob_implicit_flush(false); 126 require($_viewFile_); 127 return ob_get_clean(); 128 } 129 else 130 require($_viewFile_); 131 } 132 133 /** 134 * Creates a widget and initializes it. 135 * This method first creates the specified widget instance. |
#3 |
+
–
/home/texlinee/public_html/framework/web/CBaseController.php(95): CBaseController->renderInternal("/home/texlinee/public_html/applications/texline/protected/compon...", null, false) 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 |
+
–
/home/texlinee/public_html/framework/web/widgets/CWidget.php(244): CBaseController->renderFile("/home/texlinee/public_html/applications/texline/protected/compon...", null, false) 239 * @see getViewFile 240 */ 241 public function render($view,$data=null,$return=false) 242 { 243 if(($viewFile=$this->getViewFile($view))!==false) 244 return $this->renderFile($viewFile,$data,$return); 245 else 246 throw new CException(Yii::t('yii','{widget} cannot find the view "{view}".', 247 array('{widget}'=>get_class($this), '{view}'=>$view))); 248 } 249 } |
#5 |
+
–
/home/texlinee/public_html/applications/texline/protected/components/widgets/NewsletterWidget.php(4): CWidget->render("newsletter") 1 <?php 2 class NewsletterWidget extends CWidget { 3 public function run() { 4 $this->render('newsletter'); 5 } 6 } |
#6 |
+
–
/home/texlinee/public_html/framework/web/CBaseController.php(173): NewsletterWidget->run() 168 return ob_get_clean(); 169 } 170 else 171 { 172 $widget=$this->createWidget($className,$properties); 173 $widget->run(); 174 return $widget; 175 } 176 } 177 178 /** |
#7 |
+
–
/home/texlinee/public_html/applications/texline/protected/views/layouts/website.php(90): CBaseController->widget("application.components.widgets.NewsletterWidget") 85 <div class="col-md-2"> 86 <?php 87 $this->widget('application.components.widgets.CategoryWidget', array('selectedSubCategory' => $this->selectedSubCategory, 88 'position' => Category::POSITION_RIGHT)); 89 $this->widget('application.components.widgets.CommercialsWidget'); 90 $this->widget('application.components.widgets.NewsletterWidget'); 91 ?> 92 </div> 93 </div> 94 </div> 95 </div> |
#8 |
+
–
/home/texlinee/public_html/framework/web/CBaseController.php(126): require("/home/texlinee/public_html/applications/texline/protected/views/...") 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 } |
#9 |
+
–
/home/texlinee/public_html/framework/web/CBaseController.php(95): CBaseController->renderInternal("/home/texlinee/public_html/applications/texline/protected/views/...", array("content" => " <div class="panel panel-default">
<div class="panel-..."), 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); |
#10 |
+
–
/home/texlinee/public_html/framework/web/CController.php(784): CBaseController->renderFile("/home/texlinee/public_html/applications/texline/protected/views/...", array("content" => " <div class="panel panel-default">
<div class="panel-..."), true) 779 { 780 if($this->beforeRender($view)) 781 { 782 $output=$this->renderPartial($view,$data,true); 783 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 784 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 785 786 $this->afterRender($view,$output); 787 788 $output=$this->processOutput($output); 789 |
#11 |
+
–
/home/texlinee/public_html/applications/texline/protected/controllers/ProductsController.php(11): CController->render("view", array("product" => Product)) 06 $product = Product::model()->findByPk((int) $id); 07 if ($product != null) { 08 $this->initSeo($product); 09 $this->selectedSubCategory = SubCategory::model()->findByPk($product->getSubCategoryId()); 10 $this->render('view', array( 11 'product' => $product 12 )); 13 } else { 14 $this->renderInfoPanel('Produs inexistent', 'Ne pare rau dar acest produs nu exista.'); 15 } 16 } |
#12 |
unknown(0): ProductsController->actionView("26")
|
#13 |
+
–
/home/texlinee/public_html/framework/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(ProductsController, array("26")) 103 elseif($param->isDefaultValueAvailable()) 104 $ps[]=$param->getDefaultValue(); 105 else 106 return false; 107 } 108 $method->invokeArgs($object,$ps); 109 return true; 110 } 111 } |
#14 |
+
–
/home/texlinee/public_html/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(ProductsController, ReflectionMethod, array("id" => "26")) 42 { 43 $methodName='action'.$this->getId(); 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 } |
#15 |
+
–
/home/texlinee/public_html/framework/web/CController.php(308): CInlineAction->runWithParams(array("id" => "26")) 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; |
#16 |
+
–
/home/texlinee/public_html/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(); |
#17 |
+
–
/home/texlinee/public_html/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); |
#18 |
+
–
/home/texlinee/public_html/framework/web/CWebApplication.php(282): CController->run("view") 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))); |
#19 |
+
–
/home/texlinee/public_html/framework/web/CWebApplication.php(141): CWebApplication->runController("products/view") 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. |
#20 |
+
–
/home/texlinee/public_html/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 /** |
#21 |
+
–
/home/texlinee/public_html/applications/texline/index.php(15): CApplication->run() 10 defined('YII_DEBUG') or define('YII_DEBUG',true); 11 // specify how many levels of call stack should be shown in each log message 12 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 13 14 require_once($yii); 15 Yii::createWebApplication($config)->run(); |