/home/dpkkaunairac/public_html/protected/components/system/Utility.php(626)
614 $date2 = date('Y-m-d', strtotime($date2)); 615 616 $explodeDate1 = explode("-", $date1); 617 $date1 = $explodeDate1[2]; 618 $month1 = $explodeDate1[1]; 619 $year1 = $explodeDate1[0]; 620 621 $explodeDate2 = explode("-", $date2); 622 $date2 = $explodeDate2[2]; 623 $month2 = $explodeDate2[1]; 624 $year2 = $explodeDate2[0]; 625 626 $jd1 = GregorianToJD($month1, $date1, $year1); 627 $jd2 = GregorianToJD($month2, $date2, $year2); 628 629 630 $interval = $jd2 - $jd1; 631 632 //return $interval; 633 return ($interval + 1); 634 635 } 636 637 /** 638 * count date diff between two datetimes
#0 |
+
–
/home/dpkkaunairac/public_html/protected/modules/vacancy/views/site/_view_simple.php(3): Utility::dateInterval("18", "05") 1 <h2><?php echo ucfirst($data->position_name); ?></h2> 2 <?php 3 $interval = Utility::dateInterval(date('Y-m-d H:i:s'), $data->close_date); 4 foreach(Yii::app()->user->getFlashes(true) as $key => $message) { 5 if ($key == 'error') 6 echo Utility::flashError($message); 7 else 8 echo Utility::flashSuccess($message); |
#1 |
+
–
/home/dpkkaunairac/public_html/yii-1.1.19_yliqpGShFt/framework/web/CBaseController.php(130): require("/home/dpkkaunairac/public_html/protected/modules/vacancy/views/s...") 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. |
#2 |
+
–
/home/dpkkaunairac/public_html/yii-1.1.19_yliqpGShFt/framework/web/CBaseController.php(95): CBaseController->renderInternal("/home/dpkkaunairac/public_html/protected/modules/vacancy/views/s...", array("index" => 0, "data" => CcnEmployerVacancy, "widget" => FListView), 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); |
#3 |
+
–
/home/dpkkaunairac/public_html/protected/components/system/FListView.php(260): CBaseController->renderFile("/home/dpkkaunairac/public_html/protected/modules/vacancy/views/s...", array("index" => 0, "data" => CcnEmployerVacancy, "widget" => FListView)) 255 { 256 $data=$this->viewData; 257 $data['index']=$i; 258 $data['data']=$item; 259 $data['widget']=$this; 260 $owner->renderFile($viewFile,$data); 261 if($j++ < $n-1) 262 echo $this->separator; 263 } 264 } 265 else |
#4 |
+
–
/home/dpkkaunairac/public_html/yii-1.1.19_yliqpGShFt/framework/zii/widgets/CBaseListView.php(181): FListView->renderItems() 176 protected function renderSection($matches) 177 { 178 $method='render'.$matches[1]; 179 if(method_exists($this,$method)) 180 { 181 $this->$method(); 182 $html=ob_get_contents(); 183 ob_clean(); 184 return $html; 185 } 186 else |
#5 |
unknown(0): CBaseListView->renderSection(array("{items}", "items"))
|
#6 |
+
–
/home/dpkkaunairac/public_html/yii-1.1.19_yliqpGShFt/framework/zii/widgets/CBaseListView.php(164): preg_replace_callback("/{(\w+)}/", array(FListView, "renderSection"), "{summary}
{sorter}
{items}
{pager}") 159 * The rendering results will replace the corresponding placeholders in {@link template}. 160 */ 161 public function renderContent() 162 { 163 ob_start(); 164 echo preg_replace_callback("/{(\w+)}/",array($this,'renderSection'),$this->template); 165 ob_end_flush(); 166 } 167 168 /** 169 * Renders a section. |
#7 |
+
–
/home/dpkkaunairac/public_html/yii-1.1.19_yliqpGShFt/framework/zii/widgets/CBaseListView.php(149): CBaseListView->renderContent() 144 { 145 $this->registerClientScript(); 146 147 echo CHtml::openTag($this->tagName,$this->htmlOptions)."\n"; 148 149 $this->renderContent(); 150 $this->renderKeys(); 151 152 echo CHtml::closeTag($this->tagName); 153 } 154 |
#8 |
+
–
/home/dpkkaunairac/public_html/yii-1.1.19_yliqpGShFt/framework/web/CBaseController.php(182): CBaseListView->run() 177 return ob_get_clean(); 178 } 179 else 180 { 181 $widget=$this->createWidget($className,$properties); 182 $widget->run(); 183 return $widget; 184 } 185 } 186 187 /** |
#9 |
+
–
/home/dpkkaunairac/public_html/protected/modules/vacancy/views/site/front_view_simple_responsif.php(84): CBaseController->widget("application.components.system.FListView", array("dataProvider" => CActiveDataProvider, "itemView" => "_view_simple", "summaryText" => "")) 79 ), 80 )); 81 $this->widget('application.components.system.FListView', array( 82 'dataProvider'=>$dataProvider, 83 'itemView'=>'_view_simple', 84 'summaryText' => '' 85 )); 86 ?> 87 </div> 88 </div> 89 <a href="http://localhost#disqus_thread" class="hide" id="<?php echo 'group'.$model->id_group ?>" data-disqus-identifier="vacancy/site/group/<?php echo $model->id_group; ?>">Link</a> |
#10 |
+
–
/home/dpkkaunairac/public_html/yii-1.1.19_yliqpGShFt/framework/web/CBaseController.php(126): require("/home/dpkkaunairac/public_html/protected/modules/vacancy/views/s...") 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 } |
#11 |
+
–
/home/dpkkaunairac/public_html/yii-1.1.19_yliqpGShFt/framework/web/CBaseController.php(95): CBaseController->renderInternal("/home/dpkkaunairac/public_html/protected/modules/vacancy/views/s...", array("model" => CcnEmployerVacancy, "employer" => CcnEmployerData, "style" => "simple"), 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); |
#12 |
+
–
/home/dpkkaunairac/public_html/yii-1.1.19_yliqpGShFt/framework/web/CController.php(872): CBaseController->renderFile("/home/dpkkaunairac/public_html/protected/modules/vacancy/views/s...", array("model" => CcnEmployerVacancy, "employer" => CcnEmployerData, "style" => "simple"), true) 867 */ 868 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 869 { 870 if(($viewFile=$this->getViewFile($view))!==false) 871 { 872 $output=$this->renderFile($viewFile,$data,true); 873 if($processOutput) 874 $output=$this->processOutput($output); 875 if($return) 876 return $output; 877 else |
#13 |
+
–
/home/dpkkaunairac/public_html/yii-1.1.19_yliqpGShFt/framework/web/CController.php(785): CController->renderPartial("front_view_simple_responsif", array("model" => CcnEmployerVacancy, "employer" => CcnEmployerData, "style" => "simple"), true) 780 */ 781 public function render($view,$data=null,$return=false) 782 { 783 if($this->beforeRender($view)) 784 { 785 $output=$this->renderPartial($view,$data,true); 786 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 787 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 788 789 $this->afterRender($view,$output); 790 |
#14 |
+
–
/home/dpkkaunairac/public_html/protected/components/Controller.php(100): CController->render("front_view_simple_responsif", array("model" => CcnEmployerVacancy, "employer" => CcnEmployerData, "style" => "simple"), false) 095 $gfugmtype = 'jobseeker-nonmember'; 096 Yii::app()->session['gfugmtype'] = $gfugmtype; 097 } 098 } 099 100 parent::render($view, $data, $return); 101 } 102 } 103 104 protected function beforeRender($view) 105 { |
#15 |
+
–
/home/dpkkaunairac/public_html/protected/modules/vacancy/controllers/SiteController.php(224): Controller->render("front_view_simple_responsif", array("model" => CcnEmployerVacancy, "employer" => CcnEmployerData, "style" => "simple")) 219 } 220 $style = $model->style == 3 ? 'extended' : $model->style == 2 ? 'simple' : 'single'; 221 $this->render($render ,array( 222 'model'=>$model, 223 'employer' => $employer, 224 'style' => $style, 225 )); 226 } 227 228 public function actionComments() 229 { |
#16 |
unknown(0): SiteController->actionView("826")
|
#17 |
+
–
/home/dpkkaunairac/public_html/yii-1.1.19_yliqpGShFt/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(SiteController, array("826")) 104 elseif($param->isDefaultValueAvailable()) 105 $ps[]=$param->getDefaultValue(); 106 else 107 return false; 108 } 109 $method->invokeArgs($object,$ps); 110 return true; 111 } 112 } |
#18 |
+
–
/home/dpkkaunairac/public_html/yii-1.1.19_yliqpGShFt/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(SiteController, ReflectionMethod, array("id" => "826", "t" => "it-helpdesk")) 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 49 $controller->$methodName(); 50 return true; 51 } 52 } |
#19 |
+
–
/home/dpkkaunairac/public_html/yii-1.1.19_yliqpGShFt/framework/web/CController.php(308): CInlineAction->runWithParams(array("id" => "826", "t" => "it-helpdesk")) 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; |
#20 |
+
–
/home/dpkkaunairac/public_html/yii-1.1.19_yliqpGShFt/framework/web/filters/CFilterChain.php(134): CController->runAction(CInlineAction) 129 $filter=$this->itemAt($this->filterIndex++); 130 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 131 $filter->filter($this); 132 } 133 else 134 $this->controller->runAction($this->action); 135 } 136 } |
#21 |
+
–
/home/dpkkaunairac/public_html/yii-1.1.19_yliqpGShFt/framework/web/filters/CFilter.php(40): CFilterChain->run() 35 */ 36 public function filter($filterChain) 37 { 38 if($this->preFilter($filterChain)) 39 { 40 $filterChain->run(); 41 $this->postFilter($filterChain); 42 } 43 } 44 45 /** |
#22 |
+
–
/home/dpkkaunairac/public_html/yii-1.1.19_yliqpGShFt/framework/web/CController.php(1148): CFilter->filter(CFilterChain) 1143 */ 1144 public function filterAccessControl($filterChain) 1145 { 1146 $filter=new CAccessControlFilter; 1147 $filter->setRules($this->accessRules()); 1148 $filter->filter($filterChain); 1149 } 1150 1151 /** 1152 * Returns a persistent page state value. 1153 * A page state is a variable that is persistent across POST requests of the same page. |
#23 |
+
–
/home/dpkkaunairac/public_html/yii-1.1.19_yliqpGShFt/framework/web/filters/CInlineFilter.php(58): CController->filterAccessControl(CFilterChain) 53 * @param CFilterChain $filterChain the filter chain that the filter is on. 54 */ 55 public function filter($filterChain) 56 { 57 $method='filter'.$this->name; 58 $filterChain->controller->$method($filterChain); 59 } 60 } |
#24 |
+
–
/home/dpkkaunairac/public_html/yii-1.1.19_yliqpGShFt/framework/web/filters/CFilterChain.php(131): CInlineFilter->filter(CFilterChain) 126 { 127 if($this->offsetExists($this->filterIndex)) 128 { 129 $filter=$this->itemAt($this->filterIndex++); 130 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 131 $filter->filter($this); 132 } 133 else 134 $this->controller->runAction($this->action); 135 } 136 } |
#25 |
+
–
/home/dpkkaunairac/public_html/yii-1.1.19_yliqpGShFt/framework/web/CController.php(291): CFilterChain->run() 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); 292 $this->_action=$priorAction; 293 } 294 } 295 296 /** |
#26 |
+
–
/home/dpkkaunairac/public_html/yii-1.1.19_yliqpGShFt/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array("accessControl")) 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); |
#27 |
+
–
/home/dpkkaunairac/public_html/yii-1.1.19_yliqpGShFt/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))); |
#28 |
+
–
/home/dpkkaunairac/public_html/yii-1.1.19_yliqpGShFt/framework/web/CWebApplication.php(141): CWebApplication->runController("vacancy/site/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. |
#29 |
+
–
/home/dpkkaunairac/public_html/yii-1.1.19_yliqpGShFt/framework/base/CApplication.php(185): CWebApplication->processRequest() 180 public function run() 181 { 182 if($this->hasEventHandler('onBeginRequest')) 183 $this->onBeginRequest(new CEvent($this)); 184 register_shutdown_function(array($this,'end'),0,false); 185 $this->processRequest(); 186 if($this->hasEventHandler('onEndRequest')) 187 $this->onEndRequest(new CEvent($this)); 188 } 189 190 /** |
#30 |
+
–
/home/dpkkaunairac/public_html/index.php(47): CApplication->run() 42 43 define('SHOW_SCRIPT_NAME', $showScriptName); 44 define('WEB_ROOT', Yii::getPathOfAlias('webroot')); 45 define('APP_ROOT', Yii::getPathOfAlias('application')); 46 47 $app->run(); |