* ---------------------------------------------------------------------------- * 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和 * 使用;不允许对程序代码以任何形式任何目的的再发布。 * ============================================================================ */ define('IN_QISHI', true); define('REQUEST_MOBILE', true); require_once dirname(__FILE__) . '/../include/common.inc.php'; require_once QISHI_ROOT_PATH . 'include/fun_wap.php'; require_once QISHI_ROOT_PATH . 'include/mysql.class.php'; $smarty->cache = false; $db = new mysql($dbhost, $dbuser, $dbpass, $dbname); require_once dirname(__FILE__) . '/weixin_share.php'; wap_weixin_logon($_GET['from']); $row = jobs_one($_GET['id']); check_m_url($row['subsite_id'], $smarty, $_CFG['m_job_url']); //感兴趣的职位 $interest_show = interest_jobs($row['topclass'], $row['category'], $row['subclass'], $_GET['id']); if ($_SESSION["uid"] && $_SESSION["utype"] == 2) { $sql = "select * from " . table("resume") . " where uid={$_SESSION['uid']} "; $resume_list = $db->getall($sql); $smarty->assign('resume_list', $resume_list); } $show = false; if ($_CFG['showjobcontact_wap'] == '0') { $show = true; } elseif ($_CFG['showjobcontact_wap'] == '1') { if ($_SESSION['uid'] && $_SESSION['username'] && $_SESSION['utype'] == '2') { $show = true; } else { $show = false;
* 版权所有: 骑士网络,并保留所有权利。 * 网站地址: http://www.74cms.com; * ---------------------------------------------------------------------------- * 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和 * 使用;不允许对程序代码以任何形式任何目的的再发布。 * ============================================================================ */ define('IN_QISHI', true); define('REQUEST_MOBILE', true); require_once dirname(__FILE__) . '/../include/common.inc.php'; require_once QISHI_ROOT_PATH . 'include/fun_wap.php'; require_once QISHI_ROOT_PATH . 'include/mysql.class.php'; $smarty->cache = false; $db = new mysql($dbhost, $dbuser, $dbpass, $dbname); require_once dirname(__FILE__) . '/weixin_share.php'; $id = intval($_GET['id']); $row = resume_one($id); check_m_url($row['subsite_id'], $smarty, $_CFG['m_resume_url']); wap_weixin_logon($_GET['from']); if (intval($_SESSION["uid"]) > 0) { $sql = "select * from " . table("company_down_resume") . " where company_uid={$_SESSION['uid']} and resume_id=" . $id; $down_resume = $db->getone($sql); $smarty->assign('down_resume', $down_resume); $time = time(); $jobs_sql = "select * from " . table("jobs") . " where uid={$_SESSION['uid']} and display=1 and deadline>{$time} "; $jobs_row = $db->getall($jobs_sql); $smarty->assign('jobs_row', $jobs_row); } $smarty->assign('show', $row); $smarty->assign('goback', $_SERVER["HTTP_REFERER"]); $smarty->display("m/m-resume-show.html");
* 网站地址: http://www.74cms.com; * ---------------------------------------------------------------------------- * 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和 * 使用;不允许对程序代码以任何形式任何目的的再发布。 * ============================================================================ */ define('IN_QISHI', true); define('REQUEST_MOBILE', true); require_once dirname(__FILE__) . '/../include/common.inc.php'; require_once QISHI_ROOT_PATH . 'include/fun_wap.php'; require_once QISHI_ROOT_PATH . 'include/mysql.class.php'; $smarty->cache = false; $db = new mysql($dbhost, $dbuser, $dbpass, $dbname); require_once dirname(__FILE__) . '/weixin_share.php'; $show = jobfair_one($_GET['id']); check_m_url($show['subsite_id'], $smarty, $_CFG['m_jobfair_url']); $time = time(); if ($show) { //状态 if ($show['predetermined_status'] == "1" && $show['predetermined_start'] > $time) { $show['predetermined_ok'] = 1; // 未开始 } else { if ($show['predetermined_status'] == "1" && $show['holddate_start'] > $time && ($show['predetermined_end'] == "0" || $show['predetermined_end'] > $time) && ($show['predetermined_web'] == "1" || $show['predetermined_tel'] == "1")) { $show['predetermined_ok'] = 2; // 预定中 } else { $show['predetermined_ok'] = 0; // 已结束 } }
<?php /* * 74cms WAP * ============================================================================ * 版权所有: 骑士网络,并保留所有权利。 * 网站地址: http://www.74cms.com; * ---------------------------------------------------------------------------- * 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和 * 使用;不允许对程序代码以任何形式任何目的的再发布。 * ============================================================================ */ define('IN_QISHI', true); define('REQUEST_MOBILE', true); require_once dirname(__FILE__) . '/../include/common.inc.php'; require_once QISHI_ROOT_PATH . 'include/fun_wap.php'; require_once QISHI_ROOT_PATH . 'include/mysql.class.php'; $smarty->cache = false; $db = new mysql($dbhost, $dbuser, $dbpass, $dbname); require_once dirname(__FILE__) . '/weixin_share.php'; $show = news_one($_GET['id']); check_m_url($show['subsite_id'], $smarty, $_CFG['m_news_url']); if ($show) { $show['addtime'] = daterange(time(), $show['addtime'], 'Y-m-d', "#FF3300"); $show['bimg'] = $_CFG['site_domain'] . $_CFG['upfiles_dir'] . $show['Small_img']; $type_cn = $db->getone(" SELECT * FROM " . table('article_category') . " WHERE id=" . $show['type_id']); $show['type_cn'] = $type_cn['categoryname']; $smarty->assign('show', $show); } $smarty->assign('goback', $_SERVER["HTTP_REFERER"]); $smarty->display("m/news-show.html");