/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/member/views/employer/_view_vacancy.php(4): Utility::dateInterval("18", "16") 1 <?php 2 $nowDate = date("Y-m-d H:i:s"); 3 $closeDate = date($data->close_date); 4 $interval = Utility::dateInterval($nowDate, $closeDate); 5 ?> 6 <div class="sep"> 7 <?php echo $index + 1; ?> . <a href="<?php echo Yii::app()->createUrl("vacancy/site/view",array('id'=>$data->id, 't'=>Utility::clearUrl($data->position_name))); ?>" title="<?php echo $data->position_name ?>"><?php echo $data->position_name ?></a> 8 <span><?php if ($interval > 0) echo $interval ." hari "; else echo "tutup" ; ?></span> 9 </div> |
#1 |
+
–
/home/dpkkaunairac/public_html/yii-1.1.19_yliqpGShFt/framework/web/CBaseController.php(130): require("/home/dpkkaunairac/public_html/protected/modules/member/views/em...") 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/member/views/em...", 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/member/views/em...", 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/member/views/employer/front_view_responsif.php(92): CBaseController->widget("application.components.system.FListView", array("dataProvider" => CActiveDataProvider, "summaryText" => "", "itemView" => "_view_vacancy", "pager" => array("header" => ""), ...)) 87 'itemView'=>'_view_vacancy', 88 'pager' => array( 89 'header' => '', 90 ), 91 'pagerCssClass'=>'pager', 92 'emptyText' => 'Maaf, sepertinya belum ada lowongan yang tutup untuk saat ini. <br />Silakan cek kembali disaat yang lain.', 93 )); ?> 94 </div> 95 <?php //end.Closed Vacancy ?> 96 97 <?php //begin.Test ?> |
#10 |
+
–
/home/dpkkaunairac/public_html/yii-1.1.19_yliqpGShFt/framework/web/CBaseController.php(126): require("/home/dpkkaunairac/public_html/protected/modules/member/views/em...") 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/member/views/em...", array("model" => CcnEmployerData, "dataProviderVacancy" => CActiveDataProvider, "dataProviderClosed" => CActiveDataProvider, "dataProviderTest" => CActiveDataProvider), 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/member/views/em...", array("model" => CcnEmployerData, "dataProviderVacancy" => CActiveDataProvider, "dataProviderClosed" => CActiveDataProvider, "dataProviderTest" => CActiveDataProvider), 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_responsif", array("model" => CcnEmployerData, "dataProviderVacancy" => CActiveDataProvider, "dataProviderClosed" => CActiveDataProvider, "dataProviderTest" => CActiveDataProvider), 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_responsif", array("model" => CcnEmployerData, "dataProviderVacancy" => CActiveDataProvider, "dataProviderClosed" => CActiveDataProvider, "dataProviderTest" => CActiveDataProvider), 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/member/controllers/EmployerController.php(146): Controller->render("front_view_responsif", array("model" => CcnEmployerData, "dataProviderVacancy" => CActiveDataProvider, "dataProviderClosed" => CActiveDataProvider, "dataProviderTest" => CActiveDataProvider)) 141 $render = WebOption::isThemeResponsif()?'front_view_responsif':'front_view'; 142 $this->render($render,array( 143 'model'=>$model, 144 'dataProviderVacancy'=>$dataProviderVacancy, 145 'dataProviderClosed' => $dataProviderClosed, 146 'dataProviderTest' =>$dataProviderTest, 147 )); 148 } 149 150 public function actionAccount() 151 { |
#16 |
+
–
/home/dpkkaunairac/public_html/yii-1.1.19_yliqpGShFt/framework/web/actions/CInlineAction.php(49): EmployerController->actionView() 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 } |
#17 |
+
–
/home/dpkkaunairac/public_html/yii-1.1.19_yliqpGShFt/framework/web/CController.php(308): CInlineAction->runWithParams(array("id" => "45637", "t" => "pt-harmony-pilar-sentosa")) 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; |
#18 |
+
–
/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 } |
#19 |
+
–
/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 /** |
#20 |
+
–
/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. |
#21 |
+
–
/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 } |
#22 |
+
–
/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 } |
#23 |
+
–
/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 /** |
#24 |
+
–
/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); |
#25 |
+
–
/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))); |
#26 |
+
–
/home/dpkkaunairac/public_html/yii-1.1.19_yliqpGShFt/framework/web/CWebApplication.php(141): CWebApplication->runController("member/employer/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. |
#27 |
+
–
/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 /** |
#28 |
+
–
/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(); |