/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.php(13): Utility::dateInterval("27", "19") 08 else 09 $totalPosition = CcnEmployerVacancy::model()->countByAttributes(array('swt_users_id' => $data['swt_users_id'], 'publish' => 1)); 10 11 // Count interval date between now date and vacancy's starting date 12 $nowDate = date("Y-m-d H:i:s"); 13 $interval = Utility::dateInterval($data['start_date'], $nowDate); 14 $class = $interval <= 7 ? 'new' : ''; 15 ?> 16 17 <div class="sep <?= WebOption::isThemeResponsif()?'clearfix ':''?><?php echo $class ?>" name="<?php echo $data['id'] ?>"> 18 <span class="icons"></span> |
#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("datas" => null, "sort" => 1, "catid" => 0, "industry" => "Lainnya", ...), 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("datas" => null, "sort" => 1, "catid" => 0, "industry" => "Lainnya", ...)) 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_index_responsif.php(317): CBaseController->widget("application.components.system.FListView", array("dataProvider" => CSqlDataProvider, "viewData" => array("datas" => null, "sort" => 1, "catid" => 0, "industry" => "Lainnya"), "itemView" => "_view", "emptyText" => "<span class="empty bell-gothic mt-10">Lowongan tidak ditemukan.<...")) 312 $emptyText = '<span class="empty bell-gothic mt-10">Lowongan tidak ditemukan.</span>'; 313 $this->widget('application.components.system.FListView', array( 314 'dataProvider'=>$dataProvider, 315 'viewData'=>array('datas' => $company, 'sort'=>$sort,'catid'=>$catid,'industry'=>$industry), 316 'itemView'=>'_view', 317 'emptyText' =>$emptyText, 318 )); 319 ?> 320 </div> 321 </div> 322 </div> |
#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("dataProvider" => CSqlDataProvider, "data" => array(array("id" => "55570", "swt_users_id" => "55570", "city" => "Kota Surabaya", "country" => "Indonesia", ...), array("id" => "57295", "swt_users_id" => "57295", "city" => "Kota Administrasi Jakarta Pusat", "country" => "Indonesia", ...), array("id" => "57295", "swt_users_id" => "57295", "city" => "Kota Administrasi Jakarta Pusat", "country" => "Indonesia", ...), array("id" => "57295", "swt_users_id" => "57295", "city" => "Kota Administrasi Jakarta Pusat", "country" => "Indonesia", ...), ...), "catid" => 0, "sort" => 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); |
#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("dataProvider" => CSqlDataProvider, "data" => array(array("id" => "55570", "swt_users_id" => "55570", "city" => "Kota Surabaya", "country" => "Indonesia", ...), array("id" => "57295", "swt_users_id" => "57295", "city" => "Kota Administrasi Jakarta Pusat", "country" => "Indonesia", ...), array("id" => "57295", "swt_users_id" => "57295", "city" => "Kota Administrasi Jakarta Pusat", "country" => "Indonesia", ...), array("id" => "57295", "swt_users_id" => "57295", "city" => "Kota Administrasi Jakarta Pusat", "country" => "Indonesia", ...), ...), "catid" => 0, "sort" => 1, ...), 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_index_responsif", array("dataProvider" => CSqlDataProvider, "data" => array(array("id" => "55570", "swt_users_id" => "55570", "city" => "Kota Surabaya", "country" => "Indonesia", ...), array("id" => "57295", "swt_users_id" => "57295", "city" => "Kota Administrasi Jakarta Pusat", "country" => "Indonesia", ...), array("id" => "57295", "swt_users_id" => "57295", "city" => "Kota Administrasi Jakarta Pusat", "country" => "Indonesia", ...), array("id" => "57295", "swt_users_id" => "57295", "city" => "Kota Administrasi Jakarta Pusat", "country" => "Indonesia", ...), ...), "catid" => 0, "sort" => 1, ...), 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_index_responsif", array("dataProvider" => CSqlDataProvider, "data" => array(array("id" => "55570", "swt_users_id" => "55570", "city" => "Kota Surabaya", "country" => "Indonesia", ...), array("id" => "57295", "swt_users_id" => "57295", "city" => "Kota Administrasi Jakarta Pusat", "country" => "Indonesia", ...), array("id" => "57295", "swt_users_id" => "57295", "city" => "Kota Administrasi Jakarta Pusat", "country" => "Indonesia", ...), array("id" => "57295", "swt_users_id" => "57295", "city" => "Kota Administrasi Jakarta Pusat", "country" => "Indonesia", ...), ...), "catid" => 0, "sort" => 1, ...), 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(191): Controller->render("front_index_responsif", array("dataProvider" => CSqlDataProvider, "data" => array(array("id" => "55570", "swt_users_id" => "55570", "city" => "Kota Surabaya", "country" => "Indonesia", ...), array("id" => "57295", "swt_users_id" => "57295", "city" => "Kota Administrasi Jakarta Pusat", "country" => "Indonesia", ...), array("id" => "57295", "swt_users_id" => "57295", "city" => "Kota Administrasi Jakarta Pusat", "country" => "Indonesia", ...), array("id" => "57295", "swt_users_id" => "57295", "city" => "Kota Administrasi Jakarta Pusat", "country" => "Indonesia", ...), ...), "catid" => 0, "sort" => 1, ...)) 186 'data' => $dataProvider->getData(), 187 'catid' => $catid, 188 'sort' => $sort, 189 'industry' => $industry, 190 'categoryData' => $categoryData, 191 'count' => $count, 192 )); 193 } 194 } 195 196 public function actionView($id) |
#16 |
unknown(0): SiteController->actionIndex(0, 1, 0)
|
#17 |
+
–
/home/dpkkaunairac/public_html/yii-1.1.19_yliqpGShFt/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(SiteController, array(0, 1, 0)) 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("page" => "16", "t" => "halaman-lowongan")) 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("page" => "16", "t" => "halaman-lowongan")) 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("index") 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/index") 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(); |