Example #1
0
 $link_name = isset($_POST['link_name']) ? trim($_POST['link_name']) : "";
 $link_telephone = isset($_POST['link_telephone']) ? trim($_POST['link_telephone']) : "";
 if (empty($link_name)) {
     exit("联系人姓名不能为空");
 }
 if (empty($link_telephone)) {
     exit("联系人联系方式不能为空");
 }
 $jobsarr = app_get_jobs($jobsid);
 if (empty($jobsarr)) {
     exit("职位丢失");
 }
 $i = 0;
 foreach ($jobsarr as $jobs) {
     $jobs = array_map("addslashes", $jobs);
     if (check_jobs_apply($jobs['id'], $resumeid, $_SESSION['uid'])) {
         continue;
     }
     $addarr['job_id'] = $jobs['id'];
     $addarr['job_name'] = $jobs['jobs_name'];
     $addarr['company_id'] = $jobs['company_id'];
     $addarr['company_name'] = $jobs['companyname'];
     $addarr['company_uid'] = $jobs['uid'];
     $addarr['link_name'] = $link_name;
     $addarr['link_telephone'] = $link_telephone;
     $addarr['remark'] = $remark;
     if (strcasecmp(QISHI_DBCHARSET, "utf8") != 0) {
         $addarr['remark'] = utf8_to_gbk($addarr['remark']);
         $addarr['link_name'] = utf8_to_gbk($link_name);
         $addarr['link_telephone'] = utf8_to_gbk($link_telephone);
     }
Example #2
0
$id = !empty($_GET['id']) ? intval($_GET['id']) : exit("出错了");
$resumeshow = get_resume_basic_one($id);
require_once QISHI_ROOT_PATH . 'include/fun_company.php';
$user = get_user_info($_SESSION['uid']);
$downresumeurl = "<a href=\"" . get_member_url(1, true) . "company_recruitment.php?act=down_resume_list&talent=2\">[查看已下载的高级简历]</a>";
if ($user['status'] == '2') {
    exit('<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableall">
		    <tr>
				<td width="20" align="right"></td>
				<td class="ajax_app">
					您的账号处于暂停状态,请联系管理员设为正常后进行操作!
				</td>
		    </tr>
		</table>');
}
if (check_jobs_apply($id, $_SESSION['uid'])) {
    if ($_CFG['showapplycontact'] == 1) {
        exit('<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableall">
			<tr>
				<td width="20" align="right"></td>
				<td class="ajax_app">
					简历联系方式可见,您无需下载此简历!
				</td>
			</tr>
		</table>');
    }
}
if (check_down_resumeid($id, $_SESSION['uid'])) {
    $str = "<a href=\"" . get_member_url(1, true) . "company_recruitment.php?act=down_resume_list\">查看[已下载的简历]</a>";
    exit('<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableall">
			<tr>
Example #3
0
     $sub_sql = '';
     foreach ($resume_jobs as $value) {
         if ($value['subclass']) {
             $sub_sql .= $sub_sql ? " or subclass=" . intval($value['subclass']) : " subclass=" . intval($value['subclass']);
         } elseif ($value['category']) {
             $sub_sql .= $sub_sql ? " or category=" . intval($value['category']) : " category=" . intval($value['category']);
         }
     }
     $category_sql .= $sub_sql ? " and (" . $sub_sql . ")" : "";
     $jobs = $db->getall("select id,jobs_name,company_id,companyname,uid from " . table('jobs') . " where is_entrust!=1 {$district_sql} {$category_sql} order by refreshtime desc limit 10 ");
 }
 if (empty($jobs)) {
     continue;
 } else {
     foreach ($jobs as $key => $value) {
         if (check_jobs_apply($value['id'], $row['id'], $row['uid'])) {
             continue;
         }
         // 个人屏蔽企业
         $personal_shield_company = $db->getone("select id from " . table('personal_shield_company') . " where pid={$row['id']} and comkeyword='" . $value['companyname'] . "'");
         if (!empty($personal_shield_company)) {
             continue;
         }
         // 屏蔽工作经验
         if (!empty($work)) {
             $is_cont = 0;
             foreach ($work as $val) {
                 if ($value['companyname'] == $val['companyname']) {
                     $is_cont = 1;
                 }
             }