| | |
| | | <?php |
| | | |
| | | |
| | | class jobadd_controller extends company |
| | | { |
| | | class jobadd_controller extends company { |
| | | |
| | | function index_action() |
| | | { |
| | | function index_action() { |
| | | |
| | | $company = $this -> comInfo['info']; |
| | | if(!$company['name'] || ! $company['provinceid'] || (!$company['linktel'] && ! $company['linkphone'])){ |
| | |
| | | $this->com_tpl('jobadd'); |
| | | } |
| | | |
| | | function edit_action() |
| | | { |
| | | function edit_action() { |
| | | |
| | | $jobM = $this->MODEL('job'); |
| | | $statis = $this->company_satic(); |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | $company = $this -> comInfo['info']; |
| | | if ($company['linktel'] == '' && $company['linkphone']) { |
| | | $company['linktel'] = $company['linkphone']; |
| | |
| | | } |
| | | |
| | | function save_action(){ |
| | | |
| | | if ($_POST) { |
| | | |
| | | $company = $this -> comInfo['info']; |
| | |
| | | 'zp_maxage' => intval($_POST['zp_maxage']) |
| | | |
| | | |
| | | |
| | | ); |
| | | if($this->config['joblock']!=1 || empty($_POST['id'])){ |
| | | $post['name'] = $_POST['name']; |
| | |
| | | } |
| | | } |
| | | |
| | | function getJobNum_action() |
| | | { |
| | | function getJobNum_action() { |
| | | if ($_POST['uid']) { |
| | | |
| | | $statis = $this->company_satic(); |
| | |
| | | /** |
| | | * @desc 发布职位条件查询 |
| | | */ |
| | | function jobCheck_action() |
| | | { |
| | | function jobCheck_action() { |
| | | |
| | | $jobM = $this->MODEL('job'); |
| | | $statisM= $this->MODEL('statis'); |
| | |
| | | |
| | | } |
| | | } |
| | | |
| | | ?> |