public function recorded() { $arCompany = $this->getCompanyInfo(); $cpid = $arCompany['id']; $jobOb = new JobModel(); $result = $jobOb->getCurrentJobList($cpid, 2, $start = 0, $len = 100); // echo "<pre>";var_dump($result);echo "</pre>";die; //为引入的头部传入标题 $lArr = array(array("name" => "回到首页", "url" => "/", "img" => "/Public/new-images/head-icon/m-icon1.png"), array("name" => "发布职位", "url" => "/index.php?s=/Company/send_job", "img" => "/Public/new-images/com-head-icon/send_job.png"), array("name" => "正在招聘", "url" => "/index.php?s=/Companyabout/recording", "img" => "/Public/new-images/com-head-icon/recording.png"), array("name" => "往期招聘", "url" => "/index.php?s=/Companyabout/recorded", "img" => "/Public/new-images/com-head-icon/recorded.png")); $this->assign("lArr", $lArr); $this->assign("header_title", "往期招聘"); $this->assign("result", $result); $this->assign("select", "send_job"); $this->display("Company/recorded"); }