function tpl_modifier_qishi_url($string) { global $_CFG; if (strpos($string, ",")) { $val = explode(",", $string); if ($val[0] == "QS_user") { return get_member_url($val[1], true); } else { if (strpos($val[1], "-")) { $g = explode("-", $val[1]); if (!empty($g)) { foreach ($g as $v) { $vs = explode(":", $v); $getarray[$vs[0]] = $vs[1]; } } } else { $g = explode(":", $val[1]); $getarray[$g[0]] = $g[1]; } return url_rewrite($val[0], $getarray); } } else { return url_rewrite($string); } }
{ DialogClose(); }); function DialogClose() { $("#FloatBg").hide(); $("#FloatBox").hide(); } </script> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableall" id="add_ok"> <tr> <td width="140" align="right"><img height="100" src="<?php echo $_CFG['site_template']; ?> images/14.gif" /></td> <td> <strong style="font-size:14px ; color:#0066CC;margin-left:20px">添加成功!</strong> <div style="border-top:1px #CCCCCC solid; line-height:180%; margin-top:10px; padding-top:10px; height:50px;margin-left:20px" class="dialog_closed"> <a href="<?php echo get_member_url(2, true); ?> personal_apply.php?act=favorites" >查看职位收藏夹</a><br /> <a href="javascript:void(0)" class="DialogClose">添加完成</a> </div> </td> </tr> </table> <?php } }
</tbody> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableall" id="download_ok" style="display:none"> <tr> <td width="140" align="right"><img height="100" src="<?php echo $_CFG['site_template']; ?> images/big-yes.png" /></td> <td> <strong style="font-size:14px ; color:#0066CC;margin-left:20px">下载成功!</strong> <?php if ($_SESSION['utype'] == 1) { ?> <div style="border-top:1px #CCCCCC solid; line-height:180%; margin-top:10px; padding-top:10px; height:50px;margin-left:20px" class="dialog_closed"> <a href="<?php echo get_member_url(1, true); ?> company_recruitment.php?act=down_resume_list" style="color:#0180cf;text-decoration:none;" class="underline">查看已下载简历</a><br /> <?php } else { ?> <div style="border-top:1px #CCCCCC solid; line-height:180%; margin-top:10px; padding-top:10px; height:50px;margin-left:20px" class="dialog_closed"> <?php echo $downresumeurl; ?> <br /> <?php } ?> <a href="javascript:void(0)" class="DialogClose underline" style="color:#0180cf;text-decoration:none;">下载完成</a> </div>
/* * 74cms 支付响应页面 * ============================================================================ * 版权所有: 骑士网络,并保留所有权利。 * 网站地址: http://www.74cms.com; * ---------------------------------------------------------------------------- * 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和 * 使用;不允许对程序代码以任何形式任何目的的再发布。 * ============================================================================ */ define('IN_QISHI', true); require_once dirname(__FILE__) . '/../common.inc.php'; require_once QISHI_ROOT_PATH . 'include/mysql.class.php'; $db = new mysql($dbhost, $dbuser, $dbpass, $dbname); $funtype = array('1' => 'include/fun_company.php'); require_once QISHI_ROOT_PATH . $funtype[$_SESSION['utype']]; require_once QISHI_ROOT_PATH . "include/payment/alipay.php"; if (respond()) { $orderurl = array('1' => 'company_service.php?act=order_list'); $link[0]['text'] = "查看订单"; $link[0]['href'] = get_member_url($_SESSION['utype'], true) . $orderurl[$_SESSION['utype']]; $link[1]['text'] = "会员中心"; $link[1]['href'] = url_rewrite('QS_login'); $link[2]['text'] = "网站首页"; $link[2]['href'] = $_CFG['site_dir']; showmsg("付款成功!", 2, $link, false); } else { $link[0]['text'] = "会员中心"; $link[0]['href'] = get_member_url($_SESSION['utype']); showmsg("付款失败!请联系网站管理员", 0, $link); }
* 版权所有: 骑士网络,并保留所有权利。 * 网站地址: http://www.74cms.com; * ---------------------------------------------------------------------------- * 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和 * 使用;不允许对程序代码以任何形式任何目的的再发布。 * ============================================================================ */ define('IN_QISHI', true); require_once dirname(__FILE__) . '/../include/common.inc.php'; require_once QISHI_ROOT_PATH . 'include/mysql.class.php'; $db = new mysql($dbhost, $dbuser, $dbpass, $dbname); if ((empty($_SESSION['uid']) || empty($_SESSION['username']) || empty($_SESSION['utype'])) && $_COOKIE['QS']['username'] && $_COOKIE['QS']['password'] && $_COOKIE['QS']['uid']) { require_once QISHI_ROOT_PATH . 'include/fun_user.php'; if (check_cookie($_COOKIE['QS']['uid'], $_COOKIE['QS']['username'], $_COOKIE['QS']['password'])) { update_user_info($_COOKIE['QS']['uid'], false, false); header("Location:" . get_member_url($_SESSION['utype'])); } else { unset($_SESSION['uid'], $_SESSION['username'], $_SESSION['utype'], $_SESSION['uqqid'], $_SESSION['activate_username'], $_SESSION['activate_email'], $_SESSION["openid"]); setcookie("QS[uid]", "", time() - 3600, $QS_cookiepath, $QS_cookiedomain); setcookie('QS[username]', "", time() - 3600, $QS_cookiepath, $QS_cookiedomain); setcookie('QS[password]', "", time() - 3600, $QS_cookiepath, $QS_cookiedomain); setcookie("QS[utype]", "", time() - 3600, $QS_cookiepath, $QS_cookiedomain); } } if ($_SESSION['uid'] == '' || $_SESSION['username'] == '') { $captcha = get_cache('captcha'); $smarty->assign('verify_userlogin', $captcha['verify_userlogin']); $smarty->display('plus/ajax_login.htm'); exit; } if ($_SESSION['utype'] != '1') {
} elseif ($act == 'reg_save') { if (empty($_SESSION["taobao_access_token"])) { exit("access_token is empty"); } $val['username'] = !empty($_POST['nickname']) ? trim($_POST['nickname']) : exit("err"); $val['mobile'] = !empty($_POST['mobile']) ? trim($_POST['mobile']) : exit("err"); $val['email'] = !empty($_POST['email']) ? trim($_POST['email']) : exit("err"); $val['member_type'] = intval($_POST['utype']); $val['password'] = !empty($_POST['password']) ? trim($_POST['password']) : exit("err"); require_once QISHI_ROOT_PATH . 'include/mysql.class.php'; $db = new mysql($dbhost, $dbuser, $dbpass, $dbname); unset($dbhost, $dbuser, $dbpass, $dbname); require_once QISHI_ROOT_PATH . 'include/fun_user.php'; $userid = user_register(3, $val['password'], $val['member_type'], $val['email'], $val['mobile'], $uc_reg = true); if ($userid > 0) { $time = time(); $db->query("UPDATE " . table('members') . " SET taobao_access_token = '{$_SESSION['taobao_access_token']}', taobao_nick = '{$val['username']}',taobao_binding_time='{$time}' WHERE uid='{$userid}' AND taobao_access_token='' LIMIT 1"); unset($_SESSION["taobao_access_token"]); unset($_SESSION["taobao_nickname"]); update_user_info($userid); $userurl = get_member_url($val['member_type']); header("Location:{$userurl}"); } else { unset($_SESSION["taobao_access_token"]); unset($_SESSION["taobao_nickname"]); require_once QISHI_ROOT_PATH . 'include/tpl.inc.php'; $link[0]['text'] = "返回首页"; $link[0]['href'] = "{$_CFG['site_dir']}"; showmsg('注册失败!', 0, $link); } }
$show = true; } elseif ($_CFG['showhunterjobcontact'] == '1') { if ($_SESSION['uid'] && $_SESSION['username'] && $_SESSION['utype'] == '2') { $show = true; } else { $show = false; $html = "<div class=\"hunter_log\">个人会员请 <a href=\"" . url_rewrite('QS_login', array('url' => $_SERVER['HTTP_REFERER']), false, NULL, false) . "\">登录</a> 查看联系方式!如果您不是个人会员,请先 <a href=\"" . $_CFG['main_domain'] . "user/user_reg.php\">免费注册</a> 成为个人会员!</div>"; } } elseif ($_CFG['showhunterjobcontact'] == '2') { if ($_SESSION['uid'] && $_SESSION['username'] && $_SESSION['utype'] == '2') { $val = $db->getone("select uid from " . table('resume') . " where uid='{$_SESSION['uid']}' and complete=1 and audit=1 and talent=2 LIMIT 1"); if (!empty($val)) { $show = true; } else { $show = false; $html = "<p>您没有发布高级简历或者简历无效,发布高级简历后才可以查看联系方式。<a href=\"" . get_member_url($_SESSION['utype'], true) . "personal_managerresume.php?act=resume_list\">[查看我的经理人简历]</a></p>"; } } else { $show = false; $html = "<p>个人会员请 <a href=\"" . url_rewrite('QS_login', array('url' => $_SERVER['HTTP_REFERER']), false, NULL, false) . "\">登录</a> 查看联系方式!如果您不是个人会员,请先 <a href=\"" . $_CFG['main_domain'] . "user/user_reg.php\">免费注册</a> 成为个人会员!</p>"; } } if ($show) { $sql = "select telephone,telephone_show,email,email_show,address,address_show,contact,contact_show,qq,qq_show from " . table('hunter_jobs') . " where id='{$id}' LIMIT 1"; $val = $db->getone($sql); if ($_CFG['contact_img_hunterjob'] == '2') { $token = md5($val['contact'] . $id . $val['telephone']); $contact = $val['contact_show'] == '1' ? "<p>联 系 人:<img src=\"{$_CFG['main_domain']}plus/contact_img.php?act=hunterjobs_contact&type=1&id={$id}&token={$token}\" border=\"0\" align=\"absmiddle\"/></p>" : "<p>联 系 人:企业设置不对外公开</p>"; $telephone = $val['telephone_show'] == '1' ? "<p>联 系 电 话:<img src=\"{$_CFG['main_domain']}plus/contact_img.php?act=hunterjobs_contact&type=2&id={$id}&token={$token}\" border=\"0\" align=\"absmiddle\"/></p>" : "<p>联 系 电 话:企业设置不对外公开</p>"; $email = $val['email_show'] == '1' ? "<p>联系邮箱:<img src=\"{$_CFG['main_domain']}plus/contact_img.php?act=hunterjobs_contact&type=3&id={$id}&token={$token}\" border=\"0\" align=\"absmiddle\"/></p>" : "<p>联系邮箱:企业设置不对外公开</p>"; $address = $val['address_show'] == '1' ? "<p>联系地址:<img src=\"{$_CFG['main_domain']}plus/contact_img.php?act=hunterjobs_contact&type=4&id={$id}&token={$token}\" border=\"0\" align=\"absmiddle\"/></p>" : "<p>联系地址:企业设置不对外公开</p>";
unset($_SESSION['uqqid']); setcookie("QS[uid]", "", time() - 3600, $QS_cookiepath, $QS_cookiedomain); setcookie("QS[username]", "", time() - 3600, $QS_cookiepath, $QS_cookiedomain); setcookie("QS[password]", "", time() - 3600, $QS_cookiepath, $QS_cookiedomain); setcookie("QS[utype]", "", time() - 3600, $QS_cookiepath, $QS_cookiedomain); unset($_SESSION['activate_username']); unset($_SESSION['activate_email']); $_SESSION['uid'] = $u['uid']; $_SESSION['username'] = $u['username']; $_SESSION['utype'] = $u['utype']; $_SESSION['uqqid'] = "1"; setcookie('QS[uid]', $u['uid'], 0, $QS_cookiepath, $QS_cookiedomain); setcookie('QS[username]', $u['username'], 0, $QS_cookiepath, $QS_cookiedomain); setcookie('QS[password]', $u['password'], 0, $QS_cookiepath, $QS_cookiedomain); setcookie('QS[utype]', $u['utype'], 0, $QS_cookiepath, $QS_cookiedomain); header("Location:" . get_member_url($u['utype'], false, $_CFG['site_dir'])); } } elseif ($act == 'consultant') { get_token(); check_permissions($_SESSION['admin_purview'], "consultant_show"); require_once QISHI_ROOT_PATH . 'include/page.class.php'; $oederbysql = " order BY id DESC "; $total_sql = "SELECT COUNT(*) AS num FROM " . table('consultant') . $oederbysql; $total_val = $db->get_total($total_sql); $page = new page(array('total' => $total_val, 'perpage' => $perpage)); $currenpage = $page->nowindex; $offset = ($currenpage - 1) * $perpage; $clist = get_consultant($offset, $perpage, $oederbysql); $smarty->assign('pageheader', "顾问管理"); $smarty->assign('clist', $clist); $smarty->assign('page', $page->show(3));
$success = dfopen($_CFG['site_domain'] . $_CFG['site_dir'] . "plus/asyn_sms.php?uid={$_SESSION['uid']}&key=" . asyn_userkey($_SESSION['uid']) . "&act=set_invite&companyname={$jobs['companyname']}&mobile={$resume['telephone']}"); if ($success == "success") { reduce_user_sms($_SESSION['uid']); } } else { dfopen($_CFG['site_domain'] . $_CFG['site_dir'] . "plus/asyn_sms.php?uid={$_SESSION['uid']}&key=" . asyn_userkey($_SESSION['uid']) . "&act=set_invite&companyname={$jobs['companyname']}&mobile={$resume['telephone']}"); } } //站内信 if ($pms_notice == '1') { $jobs_url = url_rewrite('QS_jobsshow', array('id' => $jobs['id'])); $company_url = url_rewrite('QS_companyshow', array('id' => $jobs['company_id']), false); $message = $jobs['companyname'] . "邀请您参加公司面试,面试职位:<a href=\"{$jobs_url}\" target=\"_blank\"> {$jobs['jobs_name']} </a>,<a href=\"{$company_url}\" target=\"_blank\">点击查看公司详情</a>"; write_pmsnotice($resume['uid'], $resume_user['username'], $message); } //微信 set_invite($resume['uid'], $jobs['id'], $jobs['companyname'], $jobs['jobs_name'], $jobs['contact']['address'], $jobs['contact']['contact'], $jobs['contact']['telephone'], $notes); $html = '<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableall" id="invited_ok"> <tr> <td width="140" align="right"><img height="100" src="' . $_CFG['site_template'] . 'images/big-yes.png" /></td> <td> <strong style="font-size:14px ; color:#0066CC;margin-left:20px">邀请成功!</strong> <div style="border-top:1px #CCCCCC solid; line-height:180%; margin-top:10px; padding-top:10px; height:50px;margin-left:20px" class="dialog_closed"> <a href="' . get_member_url(1, true) . 'company_recruitment.php?act=interview_list" style="color:#0180cf;text-decoration:none;" class="underline">查看我发起的面试邀请</a><br /> <a href="javascript:void(0)" class="DialogClose underline" style="color:#0180cf;text-decoration:none;">邀请完成</a> </div> </td> </tr> </table>'; exit($html); }
require_once ADMIN_ROOT_PATH . 'include/admin_flash_statement_fun.php'; $pie_type = !empty($_GET['pie_type']) ? intval($_GET['pie_type']) : 1; meal_hunter_log_pie($pie_type, 3); $smarty->assign('pageheader', "猎头顾问管理"); $smarty->assign('navlabel', 'meal_log_pie'); $smarty->display('hunter/admin_hunter_meal_log_pie.htm'); } elseif ($act == 'management') { $id = intval($_GET['id']); $u = get_user($id); if (!empty($u)) { unset($_SESSION['uid']); unset($_SESSION['username']); unset($_SESSION['utype']); unset($_SESSION['uqqid']); setcookie("QS[uid]", "", time() - 3600, $QS_cookiepath, $QS_cookiedomain); setcookie("QS[username]", "", time() - 3600, $QS_cookiepath, $QS_cookiedomain); setcookie("QS[password]", "", time() - 3600, $QS_cookiepath, $QS_cookiedomain); setcookie("QS[utype]", "", time() - 3600, $QS_cookiepath, $QS_cookiedomain); unset($_SESSION['activate_username']); unset($_SESSION['activate_email']); $_SESSION['uid'] = $u['uid']; $_SESSION['username'] = $u['username']; $_SESSION['utype'] = $u['utype']; $_SESSION['uqqid'] = "1"; setcookie('QS[uid]', $u['uid'], 0, $QS_cookiepath, $QS_cookiedomain); setcookie('QS[username]', $u['username'], 0, $QS_cookiepath, $QS_cookiedomain); setcookie('QS[password]', $u['password'], 0, $QS_cookiepath, $QS_cookiedomain); setcookie('QS[utype]', $u['utype'], 0, $QS_cookiepath, $QS_cookiedomain); header("Location:" . get_member_url($u['utype'])); } }
function user_login($account, $password, $account_type = 1, $uc_login = true, $expire = NULL) { global $timestamp, $online_ip, $QS_pwdhash; $usinfo = $login = array(); $success = false; if ($account_type == "1") { $usinfo = get_user_inusername($account); } elseif ($account_type == "2") { $usinfo = get_user_inemail($account); } elseif ($account_type == "3") { $usinfo = get_user_inmobile($account); } if (!empty($usinfo)) { $pwd_hash = $usinfo['pwd_hash']; $usname = addslashes($usinfo['username']); $pwd = md5(md5($password) . $pwd_hash . $QS_pwdhash); if ($usinfo['password'] == $pwd) { if ($usinfo['status'] == 2) { $usinfo = ''; $success = false; $login['qs_login'] = '******'; } else { update_user_info($usinfo['uid'], true, true, $expire); $login['qs_login'] = get_member_url($usinfo['utype']); $success = true; write_memberslog($usinfo['uid'], $usinfo['utype'], 1001, $usname, "成功登录"); } } else { $usinfo = ''; $success = false; } } if (defined('UC_API') && $uc_login) { include_once QISHI_ROOT_PATH . 'uc_client/client.php'; $account = $usinfo['username'] ? $usinfo['username'] : $account; list($uc_uid, $uc_username, $uc_password, $uc_email) = uc_user_login($account, $password); if ($uc_uid > 0) { $login['uc_login'] = uc_user_synlogin($uc_uid); if ($success == false) { global $_CFG; $_SESSION['activate_username'] = $uc_username; $login['qs_login'] = $_CFG['site_dir'] . "user/user_reg.php?act=activate"; } } elseif ($uc_uid === -1 && $success) { $uc_reg_uid = uc_user_register($usinfo['username'], $password, $usinfo['email']); if ($uc_reg_uid > 0) { $login['uc_login'] = uc_user_synlogin($uc_reg_uid); } } } return $login; }
$show = true; } else { $show = false; $html = '<div class="title"><h2>联系方式</h2></div><div class="txt">'; $html .= '个人会员请<a href="wap_login.php">[登录]</a>后查看联系方式<br />没有帐号?<a href="wap_user_reg.php">[免费注册]</a>'; $html .= '</div><div class="telimg"></div>'; } } elseif ($_CFG['showjobcontact'] == '2') { if ($_SESSION['uid'] && $_SESSION['username'] && $_SESSION['utype'] == '2') { $val = $db->getone("select uid from " . table('resume') . " where uid='{$_SESSION['uid']}' LIMIT 1"); if (!empty($val)) { $show = true; } else { $show = false; $html = '<div class="title"><h2>联系方式</h2></div><div class="txt">'; $html .= "您没有发布简历或者简历无效,发布简历后才可以查看联系方式。<a href=\"" . get_member_url($_SESSION['utype'], true) . "personal_resume.php?act=resume_list\">[查看我的简历]</a>"; $html .= '</div><div class="telimg"></div>'; } } else { $show = false; $html = '<div class="title"><h2>联系方式</h2></div><div class="txt">'; $html .= '个人会员请<a href="wap_login.php">[登录]</a>后查看联系方式<br />没有帐号?<a href="wap_user_reg.php">[免费注册]</a>'; $html .= '</div><div class="telimg"></div>'; } } if ($show) { $sql = "select contact,contact_show,telephone,telephone_show,email,email_show,address,address_show,website FROM " . table('company_profile') . " where id='{$id}' LIMIT 1"; $val = $db->getone($sql); if ($_CFG['contact_img_com'] == '2') { $token = md5($val['contact'] . $id . $val['telephone']); $contact = $val['contact_show'] == '1' ? "联系人:<img src=\"{$_CFG['site_dir']}plus/contact_img.php?act=company_contact&type=1&id={$id}&token={$token}\" border=\"0\" align=\"absmiddle\"/><br />" : "联系人:企业设置不对外公开<br />";
function user_login($account, $password, $account_type = 1, $uc_login = true, $expire = NULL) { global $timestamp, $online_ip, $QS_pwdhash; $usinfo = $login = array(); $success = false; if ($account_type == "1") { $usinfo = get_user_inusername($account); } elseif ($account_type == "2") { $usinfo = get_user_inemail($account); } elseif ($account_type == "3") { $usinfo = get_user_inmobile($account); } if (!empty($usinfo)) { $pwd_hash = $usinfo['pwd_hash']; $usname = addslashes($usinfo['username']); $pwd = md5(md5($password) . $pwd_hash . $QS_pwdhash); if ($usinfo['password'] == $pwd) { update_user_info($usinfo['uid'], true, true, $expire); $login['qs_login'] = get_member_url($usinfo['utype']); $success = true; write_memberslog($usinfo['uid'], $usinfo['utype'], 1001, $usname, "成功登录"); } else { $usinfo = ''; $success = false; } } return $login; }
$str = "<a href=\"" . get_member_url(4, true) . "train_service.php?act=setmeal_list\">[申请服务]</a>"; exit('<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableall"> <tr> <td width="20" align="right"></td> <td class="ajax_app"> 你的查看课程申请人联系方式数量已经超出了限制。您可以 ' . $str . ' </td> </tr> </table>'); } } elseif ($_CFG['operation_train_mode'] == "1") { $points_rule = get_cache('points_rule'); $points = $points_rule['down_apply']['value']; $mypoints = get_user_points($_SESSION['uid']); if ($mypoints < $points) { $str = "<a href=\"" . get_member_url(4, true) . "train_service.php?act=order_add\">[充值{$_CFG['train_points_byname']}]</a> "; exit('<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableall"> <tr> <td width="20" align="right"></td> <td class="ajax_app"> 你的' . $_CFG['train_points_byname'] . '不足,请充值后下载。 ' . $str . ' </td> </tr> </table>'); } } if ($act == "downtype") { if ($_CFG['operation_train_mode'] == "2") { $tip = "提示:你的查看课程申请人联系方式数量<span> {$setmeal['down_apply']}</span>份"; } else { $tip = "查看联系方式将扣除<span> {$points} </span>{$_CFG['train_points_quantifier']}{$_CFG['train_points_byname']},您目前共有<span> {$mypoints} </span>{$_CFG['train_points_quantifier']}{$_CFG['train_points_byname']}";
</table> <?php } elseif ($act == "delay_save") { $id = trim($_GET['id']) ? trim($_GET['id']) : exit("您没有选择职位!"); $days = intval($_GET['days']) ? intval($_GET['days']) : exit("您没有填写延期天数"); // $olddeadline=intval($_GET['olddeadline'])?intval($_GET['olddeadline']):exit("出错了"); if ($operation_mode == "1") { $points_rule = get_cache('points_rule'); $day_points = $points_rule['jobs_daily']['value']; $ptype = $points_rule['jobs_daily']['type']; $mypoints = get_user_points($_SESSION['uid']); if ($points_rule['jobs_daily']['type'] == "2" && $points_rule['jobs_daily']['value'] > 0) { $points = $day_points * $days * $count_id; } if ($mypoints < $points) { $str = "<a href=\"" . get_member_url(1, true) . "company_service.php?act=order_add\">[充值{$_CFG['points_byname']}]</a>"; exit("你的" . $_CFG['points_byname'] . "不足,请" . $str); } if (delay_jobs($id, $_SESSION['uid'], $days)) { if ($points > 0) { report_deal($_SESSION['uid'], $ptype, $points); $user_points = get_user_points($_SESSION['uid']); $operator = $ptype == "1" ? "+" : "-"; write_memberslog($_SESSION['uid'], 1, 9001, $_SESSION['username'], "延长职位({$id})有效期为{$days}天,({$operator}{$points}),(剩余:{$user_points})"); write_memberslog($_SESSION['uid'], 1, 2007, $_SESSION['username'], "延长职位({$id}) 有效期为{$days}天"); //记录套餐操作 } exit("ok"); } } else { exit("该运营模式下不允许职位延期");
<p>个人在注册并登录后才能查看企业的联系方式,现在<a href="javascript:void(0);" class="ajax_user_login" style="color:#ff7400">[立即登录]</a>或者<a href="' . $_CFG['site_dir'] . 'user/user_reg.php" style="color:#ff7400">[免费注册]</a></p> </div>'; } } elseif ($_CFG['showjobcontact'] == '2') { if ($_SESSION['uid'] && $_SESSION['username'] && $_SESSION['utype'] == '2') { $val = $db->getone("select uid from " . table('resume') . " where uid='{$_SESSION['uid']}' LIMIT 1"); if (!empty($val)) { $show = true; } else { $show = false; $html = '<div class="no-login"> <span class="border-item topleft"></span> <span class="border-item topright"></span> <span class="border-item bottomleft"></span> <span class="border-item bottomright"></span> <p>您没有发布简历或者简历无效,发布简历后才可以查看联系方式。<a href="' . get_member_url($_SESSION['utype'], true) . 'personal_resume.php?act=resume_list">[查看我的简历]</a></p> </div>'; } } else { $show = false; $html = '<div class="no-login"> <span class="border-item topleft"></span> <span class="border-item topright"></span> <span class="border-item bottomleft"></span> <span class="border-item bottomright"></span> <p>个人在注册并登录后才能查看企业的联系方式,现在<a href="javascript:void(0);" class="ajax_user_login" style="color:#ff7400">[立即登录]</a>或者<a href="' . $_CFG['site_dir'] . 'user/user_reg.php" style="color:#ff7400">[免费注册]</a></p> </div>'; } } if ($_SESSION['uid'] && $_SESSION['username'] && $_SESSION['utype'] == '1' && $show == false) { if ($company_profile['uid'] == $_SESSION['uid']) {