chengkun
2025-05-20 8642932b71c25e340c9b76d4432de77f9caeed36
member/com/model/jobadd.class.php
@@ -1,11 +1,9 @@
<?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'])){
@@ -131,8 +129,7 @@
        $this->com_tpl('jobadd');
    }
    function edit_action()
    {
    function edit_action() {
        $jobM       =   $this->MODEL('job');
        $statis     =   $this->company_satic();
@@ -165,8 +162,6 @@
        }
        
        $company = $this -> comInfo['info'];
        if ($company['linktel'] == '' && $company['linkphone']) {
            $company['linktel'] = $company['linkphone'];
@@ -197,7 +192,6 @@
    }
    function save_action(){
        if ($_POST) {
            
            $company    =   $this -> comInfo['info'];
@@ -273,7 +267,6 @@
                'zp_maxage'        => intval($_POST['zp_maxage'])
            );
            if($this->config['joblock']!=1 || empty($_POST['id'])){
            $post['name']   =   $_POST['name'];
@@ -317,8 +310,7 @@
        }
    }
    function getJobNum_action()
    {
    function getJobNum_action() {
        if ($_POST['uid']) {
            $statis = $this->company_satic();
@@ -333,8 +325,7 @@
    /**
     *  @desc 发布职位条件查询 
     */
    function jobCheck_action()
    {
    function jobCheck_action() {
        
        $jobM   =   $this->MODEL('job');
        $statisM=   $this->MODEL('statis');
@@ -357,4 +348,5 @@
        
    }
}
?>