From 5d55579fd424e024c52e62265b72e24c38a45004 Mon Sep 17 00:00:00 2001
From: chengkun <chengkun@ishangstudy.com>
Date: Thu, 24 Apr 2025 11:08:36 +0800
Subject: [PATCH] 提交
---
/dev/null | 187 ----
.gitignore | 4
admin/model/config.class.php | 205 ++--
app/public/action.class.php | 2287 +++++++++++++++++++++++++-------------------------
4 files changed, 1,264 insertions(+), 1,419 deletions(-)
diff --git a/.gitignore b/.gitignore
index 485dee6..27c542f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,5 @@
.idea
+
+/data/templates_c
+templates_c
+/data/plus/config.php
diff --git a/admin/model/config.class.php b/admin/model/config.class.php
index 96314ab..d30f5ca 100644
--- a/admin/model/config.class.php
+++ b/admin/model/config.class.php
@@ -9,32 +9,33 @@
*
* 软件声明:未经授权前提下,不得用于商业运营、二次开发以及任何形式的再次发布。
*/
-class config_controller extends adminCommon{
+class config_controller extends adminCommon {
+
/**
* 系统-网站设置
*/
- function index_action(){
- if (strpos($this->config['sy_weburl'], 'https') !== false) {
+ function index_action() {
+ if (strpos($this->config['sy_weburl'], 'https') !== FALSE) {
$this->config['mapurl'] = 'https://api.map.baidu.com/api?v=2.0&ak=' . $this->config['map_key'] . '&s=1';
} else {
$this->config['mapurl'] = 'http://api.map.baidu.com/api?v=2.0&ak=' . $this->config['map_key'];
}
- if ($this->config['sy_ossurl'] == ''){
- $this->config['sy_ossurl'] = $this->config['sy_weburl'];
+ if ($this->config['sy_ossurl'] == '') {
+ $this->config['sy_ossurl'] = $this->config['sy_weburl'];
}
$this->yunset("config", $this->config);
-
+
$this->yunset('sphinxSearchd', $sphinxSearchd);
$this->yuntpl(array('admin/admin_web_config'));
}
-
+
/**
* 系统-网站设置-网站logo
*/
- function save_logo_action(){
+ function save_logo_action() {
if ($_POST['waterconfig']) {
$this->web_config();
@@ -42,61 +43,62 @@
$this->ACT_layer_msg('网站LOGO配置设置成功!', 9, $_SERVER['HTTP_REFERER'], 2, 1);
}
}
-
+
// 保存
- function save_action(){
+ function save_action() {
+// var_dump($_POST);exit;
if ($_POST['config']) {
- if ($_POST['config'] == 'uploadconfig'){
+ if ($_POST['config'] == 'uploadconfig') {
// 上传参数为空,保存默认值
- if (!$_POST['pic_maxsize'] || ($_POST['pic_maxsize'] == '' || $_POST['pic_maxsize'] < 1)){
+ if (!$_POST['pic_maxsize'] || ($_POST['pic_maxsize'] == '' || $_POST['pic_maxsize'] < 1)) {
$_POST['pic_maxsize'] = 5;
}
- if (!$_POST['file_maxsize'] || ($_POST['file_maxsize'] == '' || $_POST['file_maxsize'] < 1)){
+ if (!$_POST['file_maxsize'] || ($_POST['file_maxsize'] == '' || $_POST['file_maxsize'] < 1)) {
$_POST['file_maxsize'] = 5;
}
-
- if (!$_POST['pic_type']){
+
+ if (!$_POST['pic_type']) {
$_POST['pic_type'] = 'jpg,png,jpeg,bmp,gif';
- }else{
- $pic_type = explode(',',str_replace(' ','',$_POST['pic_type']));
-
- //禁止后台设定可执行程序后缀
- foreach($pic_type as $pickey => $picvalue){
-
- $new_pic_type = strtolower(str_replace('.','',trim($picvalue)));
- if(in_array($new_pic_type,array('php','asp','aspx','jsp','exe','do'))){
-
- unset($pic_type[$pickey]);
- }
- }
- $_POST['pic_type'] = implode(',',$pic_type);
- }
- if (!$_POST['file_type']){
+ } else {
+ $pic_type = explode(',', str_replace(' ', '', $_POST['pic_type']));
+
+ //禁止后台设定可执行程序后缀
+ foreach ($pic_type as $pickey => $picvalue) {
+
+ $new_pic_type = strtolower(str_replace('.', '', trim($picvalue)));
+ if (in_array($new_pic_type, array('php', 'asp', 'aspx', 'jsp', 'exe', 'do'))) {
+
+ unset($pic_type[$pickey]);
+ }
+ }
+ $_POST['pic_type'] = implode(',', $pic_type);
+ }
+ if (!$_POST['file_type']) {
$_POST['file_type'] = 'rar,zip,doc,docx,xls';
- }else{
- $file_type = explode(',',str_replace(' ','',$_POST['file_type']));
-
- //禁止后台设定可执行程序后缀
- foreach($file_type as $filekey => $filevalue){
-
- $new_file_type = strtolower(str_replace('.','',trim($filevalue)));
- if(in_array($new_file_type,array('php','asp','aspx','jsp','exe','do'))){
-
- unset($file_type[$filekey]);
- }
- }
- $_POST['file_type'] = implode(',',$file_type);
- }
- if (!$_POST['wmark_position']){
+ } else {
+ $file_type = explode(',', str_replace(' ', '', $_POST['file_type']));
+
+ //禁止后台设定可执行程序后缀
+ foreach ($file_type as $filekey => $filevalue) {
+
+ $new_file_type = strtolower(str_replace('.', '', trim($filevalue)));
+ if (in_array($new_file_type, array('php', 'asp', 'aspx', 'jsp', 'exe', 'do'))) {
+
+ unset($file_type[$filekey]);
+ }
+ }
+ $_POST['file_type'] = implode(',', $file_type);
+ }
+ if (!$_POST['wmark_position']) {
$_POST['wmark_position'] = 1;
}
}
unset($_POST['config']);
unset($_POST['pytoken']);
if (isset($_POST['map_key'])) {
- if (strpos($this->config['sy_weburl'], 'https') !== false) {
+ if (strpos($this->config['sy_weburl'], 'https') !== FALSE) {
$_POST['mapurl'] = 'https://api.map.baidu.com/api?v=2.0&ak=' . $_POST['map_key'] . '&s=1';
} else {
@@ -105,34 +107,34 @@
}
if (!empty($_POST['sy_weburl'])) {
$weburl = trim($_POST['sy_weburl']);
- if (stripos($weburl, 'http') === false){
+ if (stripos($weburl, 'http') === FALSE) {
$this->layer_msg('网站地址缺少http://或https://', 8, 1, '');
}
// 保存域名时,相关的内容要重新保存,防止域名或http头改变后,有关功能异常
- if (!empty($this->config['map_key'])){
+ if (!empty($this->config['map_key'])) {
// 百度地图地址
- $protocol = getprotocol($weburl);
- $_POST['mapurl'] = $protocol . 'api.map.baidu.com/api?v=2.0&ak=' . $this->config['map_key'] . '&s=1';
+ $protocol = getprotocol($weburl);
+ $_POST['mapurl'] = $protocol . 'api.map.baidu.com/api?v=2.0&ak=' . $this->config['map_key'] . '&s=1';
}
- if (!empty($this->config['sy_indexdomain'])){
+ if (!empty($this->config['sy_indexdomain'])) {
// 分站默认域名
- $protocol = getprotocol($weburl);
- $indexUrl = parse_url($this->config['sy_indexdomain']);
- $indexPath = !empty($indexUrl['path']) ? $indexUrl['path'] : '';
- $_POST['sy_indexdomain'] = $protocol . $indexUrl['host'] . $indexPath;
+ $protocol = getprotocol($weburl);
+ $indexUrl = parse_url($this->config['sy_indexdomain']);
+ $indexPath = !empty($indexUrl['path']) ? $indexUrl['path'] : '';
+ $_POST['sy_indexdomain'] = $protocol . $indexUrl['host'] . $indexPath;
}
- if (file_exists(DATA_PATH.'/api/alipay/alipay_data.php')){
+ if (file_exists(DATA_PATH . '/api/alipay/alipay_data.php')) {
// 支付宝配置参数中网站域名,跟随调整
- @include(DATA_PATH.'api/alipay/alipay_data.php');
- if (!empty($alipaydata)){
- $alipaydata['sy_weburl'] = $weburl;
- made_web(DATA_PATH.'api/alipay/alipay_data.php',ArrayToString($alipaydata),'alipaydata');
+ @include(DATA_PATH . 'api/alipay/alipay_data.php');
+ if (!empty($alipaydata)) {
+ $alipaydata['sy_weburl'] = $weburl;
+ made_web(DATA_PATH . 'api/alipay/alipay_data.php', ArrayToString($alipaydata), 'alipaydata');
}
}
}
- $configM = $this->MODEL('config');
+ $configM = $this->MODEL('config');
- $configM -> setConfig($_POST);
+ $configM->setConfig($_POST);
// 判断验证字符
if ($_POST['code_strlength'] < 5) {
@@ -143,11 +145,11 @@
}
}
}
-
+
// 加载模板缓存
- function settplcache_action(){
- include (CONFIG_PATH . "db.data.php");
- include (PLUS_PATH . "cache.config.php");
+ function settplcache_action() {
+ include(CONFIG_PATH . "db.data.php");
+ include(PLUS_PATH . "cache.config.php");
$modelconfig = $arr_data['modelconfig'];
foreach ($modelconfig as $key => $value) {
@@ -161,12 +163,12 @@
'admin/admin_tplcache'
));
}
-
+
// 保存设置模板缓存
- function savetplcache_action(){
+ function savetplcache_action() {
if ($_POST["config"]) {
unset($_POST["config"]);
- include (CONFIG_PATH . "db.data.php");
+ include(CONFIG_PATH . "db.data.php");
$modelconfig = array_keys($arr_data['modelconfig']);
$config_new = array();
foreach ($_POST as $key => $v) {
@@ -180,24 +182,24 @@
$this->ACT_layer_msg("模块缓存设置修改成功!", 9, "index.php?m=config&c=settplcache", 2, 1);
}
}
-
+
// 刷新sphinx主索引
- function refresh_sphinx_main_index_action(){
- require_once (APP_PATH . 'app/include/cron/sphinx_indexer_main.php');
+ function refresh_sphinx_main_index_action() {
+ require_once(APP_PATH . 'app/include/cron/sphinx_indexer_main.php');
echo '1';
exit();
}
-
+
// 开启sphinx时,检查searchd是否运行,生成sphinx.conf配置文件
- function check_usesphinx_action(){
- include_once (LIB_PATH . "sphinx.class.php");
- $useSphinx = false;
+ function check_usesphinx_action() {
+ include_once(LIB_PATH . "sphinx.class.php");
+ $useSphinx = FALSE;
if (sphinx::isRun($this->config['sphinxhost'], $this->config['sphinxport'])) {
- $useSphinx = true;
+ $useSphinx = TRUE;
}
if ($useSphinx) {
- require_once (LIB_PATH . 'sphinxhelper.class.php');
+ require_once(LIB_PATH . 'sphinxhelper.class.php');
$helper = new sphinxhelper();
$helper->generateConf();
echo '1';
@@ -207,19 +209,19 @@
exit();
}
}
-
+
// 生成sphinx.conf配置文件
- function generate_conf_action(){
- require_once (LIB_PATH . 'sphinxhelper.class.php');
+ function generate_conf_action() {
+ require_once(LIB_PATH . 'sphinxhelper.class.php');
$helper = new sphinxhelper();
$helper->generateConf();
echo '1';
exit();
}
-
+
// 启动/停止sphinx的searchd搜索服务
- public function sphinx_searchd_action(){
- if (! isset($_POST['status']) || ($_POST['status'] != 'start' && $_POST['status'] != 'stop')) {
+ public function sphinx_searchd_action() {
+ if (!isset($_POST['status']) || ($_POST['status'] != 'start' && $_POST['status'] != 'stop')) {
echo '2';
exit();
}
@@ -240,36 +242,37 @@
echo '1';
exit();
}
+
//后台专用,layui上传图片公共方法
- function layui_upload_action()
- {
+ function layui_upload_action() {
- if($_FILES['file']['tmp_name']){
-
- $data = array(
- 'name' => $_POST['name'],
- 'path' => $_POST['path'],
- 'imgid' => $_POST['imgid'],
- 'file' => $_FILES['file']
+ if ($_FILES['file']['tmp_name']) {
+
+ $data = array(
+ 'name' => $_POST['name'],
+ 'path' => $_POST['path'],
+ 'imgid' => $_POST['imgid'],
+ 'file' => $_FILES['file']
);
-
- $UploadM=$this->MODEL('upload');
+
+ $UploadM = $this->MODEL('upload');
$return = $UploadM->layUpload($data);
- if (!empty($_POST['name']) && $return['code'] == 0){
+ if (!empty($_POST['name']) && $return['code'] == 0) {
// 后台上传logo后,重新生成缓存
$this->web_config();
}
- }else{
- $return = array(
- 'code' => 1,
- 'msg' => '请上传文件',
- 'data' => array()
+ } else {
+ $return = array(
+ 'code' => 1,
+ 'msg' => '请上传文件',
+ 'data' => array()
);
}
echo json_encode($return);
}
}
+
?>
\ No newline at end of file
diff --git a/app/public/action.class.php b/app/public/action.class.php
index 6e65815..9d2533c 100644
--- a/app/public/action.class.php
+++ b/app/public/action.class.php
@@ -1,4 +1,5 @@
<?php
+
/*
* $Author :PHPYUN开发团队
*
@@ -8,111 +9,111 @@
*
* 软件声明:未经授权前提下,不得用于商业运营、二次开发以及任何形式的再次发布。
*/
-class model{
+
+class model {
// 操作状态
- const MODEL_INSERT = 1; // 插入模型数据
- const MODEL_UPDATE = 2; // 更新模型数据
- const MODEL_BOTH = 3; // 包含上面两种方式
- const MUST_VALIDATE = 1; // 必须验证
- const EXISTS_VALIDATE = 0; // 表单存在字段则验证
- const VALUE_VALIDATE = 2; // 表单值不为空则验证
-
+ const MODEL_INSERT = 1; // 插入模型数据
+ const MODEL_UPDATE = 2; // 更新模型数据
+ const MODEL_BOTH = 3; // 包含上面两种方式
+ const MUST_VALIDATE = 1; // 必须验证
+ const EXISTS_VALIDATE = 0; // 表单存在字段则验证
+ const VALUE_VALIDATE = 2; // 表单值不为空则验证
+
//网站配置信息
- protected $config = null;
+ protected $config = NULL;
// 当前数据库操作对象
- protected $db = null;
+ protected $db = NULL;
// 主键名称
- protected $pk = 'id';
+ protected $pk = 'id';
// 主键是否自动增长
- protected $autoinc = false;
+ protected $autoinc = FALSE;
// 数据表前缀
- protected $def = null;
+ protected $def = NULL;
// 模型名称
- protected $name = '';
+ protected $name = '';
// 数据库编码
- protected $coding = '';
+ protected $coding = '';
// 数据库名称
// 数据库名称
- protected $dbName = '';
+ protected $dbName = '';
//数据库配置
- protected $connection = '';
+ protected $connection = '';
// 数据表名(不包含表前缀)
- protected $tableName = '';
+ protected $tableName = '';
// 实际数据表名(包含表前缀)
- protected $trueTableName = '';
+ protected $trueTableName = '';
// 最近错误信息
- protected $error = '';
+ protected $error = '';
// 字段信息
- protected $fields = array();
+ protected $fields = array();
// 数据信息
- protected $data = array();
+ protected $data = array();
// 查询表达式参数
- protected $options = array();
- protected $_validate = array(); // 自动验证定义
- protected $_auto = array(); // 自动完成定义
- protected $_map = array(); // 字段映射定义
- protected $_scope = array(); // 命名范围定义
+ protected $options = array();
+ protected $_validate = array(); // 自动验证定义
+ protected $_auto = array(); // 自动完成定义
+ protected $_map = array(); // 字段映射定义
+ protected $_scope = array(); // 命名范围定义
// 是否自动检测数据表字段信息
- protected $autoCheckFields = true;
+ protected $autoCheckFields = TRUE;
// 是否批处理验证
- protected $patchValidate = false;
+ protected $patchValidate = FALSE;
// 链操作方法列表
- protected $methods = array('order','alias','having','group','lock','distinct','auto','filter','validate','result','token');
+ protected $methods = array('order', 'alias', 'having', 'group', 'lock', 'distinct', 'auto', 'filter', 'validate', 'result', 'token');
//开启分站功能的数据表
- protected $sitetable = array('ad_order','admin_announcement','zhaopinhui','zhaopinhui_com','zhaopinhui_pic','news_base','news_content','resume_expect','member','company_job','resume','user_entrust','user_entrust_record','down_resume','look_resume','company','company_cert','company_msg','company_news','company_order','company_pay','company_product','once_job','resume_tiny','userid_msg','userid_job','look_job','admin_link','px_subject','px_train_news','px_teacher','lt_info','lt_job','report','invoice_record','company_statis','px_train','partjob','hotjob','px_baoming','px_zixun','company_show','resume_show','banner','px_banner','px_train_show','rebates','lt_talent','member_log','login_log','user_change','company_account');
-
- //此数组针对insert_into方法。目的是添加附表数据的时候,不加入当前站的did,而是存member表中的did。
- // protected $sitetadd=array('ad','admin_announcement','zhaopinhui','news_content','member','resume','company','once_job','px_train','resume_tiny','admin_link','lt_info','partjob','hotjob');
-
- protected $admindir;
- protected $siteadmindir;
-
- protected $logininfo;
-
- public function __construct($db,$def,$logininfo = array(),$tpl=''){
- global $coding,$config,$adminDir,$siteAdminDir;
-
- $this->db = $db;
- $this->tp = '';//未查到在哪用到
- $this->def = $def;
- $this->md = $coding;
+ protected $sitetable = array('ad_order', 'admin_announcement', 'zhaopinhui', 'zhaopinhui_com', 'zhaopinhui_pic', 'news_base', 'news_content', 'resume_expect', 'member', 'company_job', 'resume', 'user_entrust', 'user_entrust_record', 'down_resume', 'look_resume', 'company', 'company_cert', 'company_msg', 'company_news', 'company_order', 'company_pay', 'company_product', 'once_job', 'resume_tiny', 'userid_msg', 'userid_job', 'look_job', 'admin_link', 'px_subject', 'px_train_news', 'px_teacher', 'lt_info', 'lt_job', 'report', 'invoice_record', 'company_statis', 'px_train', 'partjob', 'hotjob', 'px_baoming', 'px_zixun', 'company_show', 'resume_show', 'banner', 'px_banner', 'px_train_show', 'rebates', 'lt_talent', 'member_log', 'login_log', 'user_change', 'company_account');
+
+ //此数组针对insert_into方法。目的是添加附表数据的时候,不加入当前站的did,而是存member表中的did。
+ // protected $sitetadd=array('ad','admin_announcement','zhaopinhui','news_content','member','resume','company','once_job','px_train','resume_tiny','admin_link','lt_info','partjob','hotjob');
+
+ protected $admindir;
+ protected $siteadmindir;
+
+ protected $logininfo;
+
+ public function __construct($db, $def, $logininfo = array(), $tpl = '') {
+ global $coding, $config, $adminDir, $siteAdminDir;
+
+ $this->db = $db;
+ $this->tp = '';//未查到在哪用到
+ $this->def = $def;
+ $this->md = $coding;
$this->config = $config;
- if (!empty($logininfo)){
+ if (!empty($logininfo)) {
$this->uid = $logininfo['uid'];
$this->username = $logininfo['username'];
$this->usertype = $logininfo['usertype'];
}
- $this->admindir = $adminDir;
- $this->siteadmindir = $siteAdminDir;
- $this->tpl = $tpl;
-
- if(!($this->config['sy_wapdomain'])){
-
- $this->config['sy_wapdomain'] = $this->config['sy_weburl'].'/'.$this->config['sy_wapdir'];
- }else{
-
- if($config['sy_wapssl']=='1'){
- $protocol = 'https://';
- }else{
- $protocol = 'http://';
- }
-
- if(strpos($this->config['sy_wapdomain'],'http://')===false && strpos($this->config['sy_wapdomain'],'https://')===false)
- {
- $this->config['sy_wapdomain'] = $protocol.$this->config['sy_wapdomain'];
- }
- }
- if($adminDir||!$siteAdminDir){
- //$this->sitetadd = array();
- $this->sitetable = array();
- }
- // oss关闭时,oss地址为服务器地址
- if (!isset($this->config['sy_oss']) || (isset($this->config['sy_oss']) && $this->config['sy_oss'] == 2)){
-
- $this->config['sy_ossurl'] = $this->config['sy_weburl'];
- }
- }
-
+ $this->admindir = $adminDir;
+ $this->siteadmindir = $siteAdminDir;
+ $this->tpl = $tpl;
+
+ if (!($this->config['sy_wapdomain'])) {
+
+ $this->config['sy_wapdomain'] = $this->config['sy_weburl'] . '/' . $this->config['sy_wapdir'];
+ } else {
+
+ if ($config['sy_wapssl'] == '1') {
+ $protocol = 'https://';
+ } else {
+ $protocol = 'http://';
+ }
+
+ if (strpos($this->config['sy_wapdomain'], 'http://') === FALSE && strpos($this->config['sy_wapdomain'], 'https://') === FALSE) {
+ $this->config['sy_wapdomain'] = $protocol . $this->config['sy_wapdomain'];
+ }
+ }
+ if ($adminDir || !$siteAdminDir) {
+ //$this->sitetadd = array();
+ $this->sitetable = array();
+ }
+ // oss关闭时,oss地址为服务器地址
+ if (!isset($this->config['sy_oss']) || (isset($this->config['sy_oss']) && $this->config['sy_oss'] == 2)) {
+
+ $this->config['sy_ossurl'] = $this->config['sy_weburl'];
+ }
+ }
+
/**
* 设置数据对象的值
* @access public
@@ -120,11 +121,11 @@
* @param mixed $value 值
* @return void
*/
- public function __set($name,$value) {
+ public function __set($name, $value) {
// 设置数据对象属性
- $this->data[$name] = $value;
+ $this->data[$name] = $value;
}
-
+
/**
* 获取数据对象的值
* @access public
@@ -132,9 +133,9 @@
* @return mixed
*/
public function __get($name) {
- return isset($this->data[$name])?$this->data[$name]:null;
+ return isset($this->data[$name]) ? $this->data[$name] : NULL;
}
-
+
/**
* 检测数据对象的值
* @access public
@@ -144,7 +145,7 @@
public function __isset($name) {
return isset($this->data[$name]);
}
-
+
/**
* 销毁数据对象的值
* @access public
@@ -154,403 +155,419 @@
public function __unset($name) {
unset($this->data[$name]);
}
-
+
// 回调方法 初始化模型
- protected function _initialize() {}
-
-
-
- function insert_into($table,$data=array()){
-
-
- $value=array();
-
- $this->db->connect();
- include(PLUS_PATH.'dbstruct.cache.php');
- $TableFullName=$this->def.$table;
- if(is_array($$TableFullName)){
- $fields=array_keys($$TableFullName);
- }else{
- return false;
- }
-
- if(is_array($fields)){
-
- if(is_array($data)){
- foreach($data as $key=>$v){
- if(in_array($key,$fields)){
- $v = $this->FilterStr($v);
- $value[]="`".$key."`='".$this->db->escape_string($v)."'";
- }
- }
- }
- }
- $value=@implode(",",$value);
- return $this->DB_insert_once($table,$value);
- }
- function update_once($table,$data=array(),$where=array()){
-
- $this->db->connect();
- $value=array();
- include(PLUS_PATH.'dbstruct.cache.php');
- $TableFullName=$this->def.$table;
- if(is_array($$TableFullName)){
- $fields=array_keys($$TableFullName);
- }else{
- return false;
- }
-
- if(is_array($fields)){
-
- if(is_array($data)){
-
- foreach($data as $key=>$v){
-
- if(in_array($key,$fields)){
-
-
- if(is_array($v)){
-
- if($v[0] == '+'){
-
- $value[] = '`'.$key.'` = `'.$key.'` + '.$this->db->escape_string($v[1]);
- }elseif ($v[0] == '-'){
-
- $value[] = '`'.$key.'` = `'.$key.'` - '.$this->db->escape_string($v[1]);
-
- }else if($v[0] == '='){
-
- $value[] = '`'.$key.'` = '.$this->db->escape_string($v[1]);
-
-
- }elseif ($v[0] == 'CASE'){
-
-
- $casesql = '`'.$key.'` = CASE `'.$this->db->escape_string($v[1]).'`';
-
- foreach ($v[2] as $ck=>$cv){
-
- $casesql .= " WHEN '".$ck."' THEN '".$this->db->escape_string($cv)."' ";
- }
-
- $casesql .= 'END';
-
- $value[] = $casesql;
- }elseif ($v[0] == 'DATE_ADD'){
-
- $value[] = '`'.$key.'` = DATE_ADD(`'.$key.'` , INTERVAL '.$this->db->escape_string($v[1]).' DAY )';
-
- }elseif ($v[0] == 'concat'){
-
- $value[] = '`'.$key.'` = concat(`'.$key.'` , ",'.$this->db->escape_string($v[1]).' ")';
- }else{
-
- $this->db->show_error();
- }
-
- }else{
-
- $v = $this->FilterStr($v);
-
- $value[] = "`".$key."`='".$this->db->escape_string($v)."'";
- }
- }
- }
- }
-
-
- $whereNew = $this->checkWhere($where);
-
- $value = @implode(',',$value);
-
- if($value !='' && $whereNew !=''){
-
- return $this->DB_update_all($table,$value,$whereNew);
- }else{
- return false;
- }
- }
- }
-
- function FilterStr($str){
- $str = stripslashes($str);
- return $str;
- }
- function Memcache_set($name,$value="")
- {
-
- global $config;
-
- if(isset($config['ismemcache']) && $config['ismemcache']==2){
- return false;
- }
- if (!empty($config['memcachehost']) && !empty($config['memcacheport']) && !empty($config['memcachetime'])){
-
- $memcachehost = $config['memcachehost'];//所在服务器
- $memcacheport = $config['memcacheport'];//所在服务器端口
- $memcachezip = 0;//是否支持解压缩
- $memcachetime = $config['memcachetime'];//缓存时间
-
- $name=md5(str_replace(array(" ","`","'",".","=","!"),"",$name));
-
- if(!extension_loaded('memcache'))return;
-
- $memcache =new memcache();
-
- if(!@class_exists($memcache)){return;}
-
- $memcache->connect($memcachehost,$memcacheport) or die ("Memcache连接失败或您的服务器不支持Memcache,请在后台关闭!");
-
- $val = $memcache->get($name);
-
- if(!is_array($val)){
- $val = $value;
- $memcache->set($name,$value,$memcachezip,$memcachetime);
- }
- $memcache->close();
- return $val;
- }else{
- return false;
- }
- }
- /**
+ protected function _initialize() {
+ }
+
+
+ function insert_into($table, $data = array()) {
+
+
+ $value = array();
+
+ $this->db->connect();
+ include(PLUS_PATH . 'dbstruct.cache.php');
+ $TableFullName = $this->def . $table;
+ if (is_array($$TableFullName)) {
+ $fields = array_keys($$TableFullName);
+ } else {
+ return FALSE;
+ }
+
+ if (is_array($fields)) {
+
+ if (is_array($data)) {
+ foreach ($data as $key => $v) {
+ if (in_array($key, $fields)) {
+ $v = $this->FilterStr($v);
+ $value[] = "`" . $key . "`='" . $this->db->escape_string($v) . "'";
+ }
+ }
+ }
+ }
+ $value = @implode(",", $value);
+ return $this->DB_insert_once($table, $value);
+ }
+
+ function update_once($table, $data = array(), $where = array()) {
+
+ $this->db->connect();
+ $value = array();
+ include(PLUS_PATH . 'dbstruct.cache.php');
+// $TableFullName=$this->def.$table;
+// var_dump($$TableFullName);exit();
+// if (is_array($where)) {
+// $fields = array_keys($where);
+// } else {
+// return FALSE;
+// }
+// var_dump($fields);exit();
+
+
+ if (is_array($data)) {
+
+ foreach ($data as $key => $v) {
+
+ if (is_array($v)) {
+
+ if ($v[0] == '+') {
+
+ $value[] = '`' . $key . '` = `' . $key . '` + ' . $this->db->escape_string($v[1]);
+ } elseif ($v[0] == '-') {
+
+ $value[] = '`' . $key . '` = `' . $key . '` - ' . $this->db->escape_string($v[1]);
+
+ } else if ($v[0] == '=') {
+
+ $value[] = '`' . $key . '` = ' . $this->db->escape_string($v[1]);
+
+
+ } elseif ($v[0] == 'CASE') {
+
+
+ $casesql = '`' . $key . '` = CASE `' . $this->db->escape_string($v[1]) . '`';
+
+ foreach ($v[2] as $ck => $cv) {
+
+ $casesql .= " WHEN '" . $ck . "' THEN '" . $this->db->escape_string($cv) . "' ";
+ }
+
+ $casesql .= 'END';
+
+ $value[] = $casesql;
+ } elseif ($v[0] == 'DATE_ADD') {
+
+ $value[] = '`' . $key . '` = DATE_ADD(`' . $key . '` , INTERVAL ' . $this->db->escape_string($v[1]) . ' DAY )';
+
+ } elseif ($v[0] == 'concat') {
+
+ $value[] = '`' . $key . '` = concat(`' . $key . '` , ",' . $this->db->escape_string($v[1]) . ' ")';
+ } else {
+
+ $this->db->show_error();
+ }
+
+ } else {
+
+ $v = $this->FilterStr($v);
+
+ $value[] = "`" . $key . "`='" . $this->db->escape_string($v) . "'";
+ }
+
+ }
+ }
+
+
+ $whereNew = $this->checkWhere($where);
+
+ $value = @implode(',', $value);
+
+ if ($value != '' && $whereNew != '') {
+
+ return $this->DB_update_all($table, $value, $whereNew);
+ } else {
+ return FALSE;
+ }
+
+ }
+
+ function FilterStr($str) {
+ $str = stripslashes($str);
+ return $str;
+ }
+
+ function Memcache_set($name, $value = "") {
+
+ global $config;
+
+ if (isset($config['ismemcache']) && $config['ismemcache'] == 2) {
+ return FALSE;
+ }
+ if (!empty($config['memcachehost']) && !empty($config['memcacheport']) && !empty($config['memcachetime'])) {
+
+ $memcachehost = $config['memcachehost'];//所在服务器
+ $memcacheport = $config['memcacheport'];//所在服务器端口
+ $memcachezip = 0;//是否支持解压缩
+ $memcachetime = $config['memcachetime'];//缓存时间
+
+ $name = md5(str_replace(array(" ", "`", "'", ".", "=", "!"), "", $name));
+
+ if (!extension_loaded('memcache')) return;
+
+ $memcache = new memcache();
+
+ if (!@class_exists($memcache)) {
+ return;
+ }
+
+ $memcache->connect($memcachehost, $memcacheport) or die ("Memcache连接失败或您的服务器不支持Memcache,请在后台关闭!");
+
+ $val = $memcache->get($name);
+
+ if (!is_array($val)) {
+ $val = $value;
+ $memcache->set($name, $value, $memcachezip, $memcachetime);
+ }
+ $memcache->close();
+ return $val;
+ } else {
+ return FALSE;
+ }
+ }
+
+ /**
* 通用数量查询$tablename,$where = 1, $select="*"
*/
- function DB_select_num($tablename, $where = '', $select = "*",$tablename2='',$special=''){
- if(!$this->checkTableName($tablename)){
-
- return false;
- }
- $cachename=$tablename.$where;
- if(!$return=$this->Memcache_set($cachename)){//获取是否存在memcache
- if($tablename2){
- if($this->siteadmindir && $special==''){
- if(in_array($tablename,$this->sitetable) && is_numeric($this->config['did'])){
- $Where='a.`did`='.$this->config['did']."' and ".$Where;
- }
- if(in_array($tablename2,$this->sitetable) && is_numeric($this->config['did'])){
- $Where='b.`did`='.$this->config['did']."' and ".$Where;
- }
- }
-
- $SQL = "SELECT count($select) as num FROM " . $this->def . $tablename . " as a," . $this->def . $tablename2 . " as b WHERE $where";
- }else{
-
-
- if($this->siteadmindir && $special==''){
-
- $where = $this->site_fetchsql($where,$tablename);
- }
- $SQL = "SELECT count($select) as num FROM " . $this->def . $tablename;
-
- if($where)
- {
- $SQL .= " WHERE ".$where;
- }
- }
- $query = $this->db->query($SQL);
- while($row=$this->db->fetch_array($query)){$return=$row['num'];}
- $this->Memcache_set($cachename,$return);//设置memcache
- }
- if($return<1){$return='0';}
- return $return;
- }
-
- function select_num($tablename, $where = array(), $select = "*"){
- if(!$this->checkTableName($tablename)){
-
- return false;
- }
- if($this->siteadmindir){
- if(in_array($tablename,$this->sitetable)){
- if(is_numeric($this->config['did'])){
- $where['did']=$this->config['did'];
- }
- }
- }
- $whereNew = $this->checkWhere($where);
- $cachename = $tablename.$whereNew;
-
- if(!$return=$this->Memcache_set($cachename)){//获取是否存在memcache
-
- $SQL = "SELECT count($select) as num FROM " . $this->def . $tablename . $whereNew;
-
- $query = $this->db->query($SQL);
- while($row=$this->db->fetch_array($query)){$return=$row['num'];}
- $this->Memcache_set($cachename,$return);//设置memcache
- }
- if($return<1){$return='0';}
- return $return;
- }
- /**
- * 通用query查询 $tablename,$where = 1, $select="*"
- *$special:标记某些特殊查询,不使用did参数。
- *2016-1-14 LGL
- */
- function DB_select_query($tablename, $where = 1, $select = "*",$special='') {
- if(!$this->checkTableName($tablename)){
-
- return false;
- }
- if($this->siteadmindir){
-
- $where = $this->site_fetchsql($where,$tablename);
- }
- $SQL = "SELECT $select FROM " . $this->def . $tablename . " WHERE $where";
- $query=$this->db->query($SQL);
- return $query;
- }
- /**
- * 通用all查询 $tablename,$where = 1, $select="*"
- *$special:标记某些特殊查询,不使用did参数。
- */
- function DB_select_all($tablename, $where = 1, $select = "*",$special='') {
- if(!$this->checkTableName($tablename)){
-
- return false;
- }
-
- $cachename=$tablename.$where;
- if(!$row_return=$this->Memcache_set($cachename)){//获取是否存在memcache
- $row_return=array();
- if($this->siteadmindir&&$special==''){
-
- $where = $this->site_fetchsql($where,$tablename);
- }
- $SQL = "SELECT $select FROM `" . $this->def . $tablename . "`";
-
- if( $where ){
- $SQL .= " WHERE ".$where;
- }
-
- $query=$this->db->query($SQL);
- while($row=$this->db->fetch_array($query)){$row_return[]=$row;}
- $this->Memcache_set($cachename,$row_return);//设置memcache
- }
- return $row_return;
- }
-
- //新多条查询
- function select_all($tablename, $where = array(), $select = "*",$special='') {
- if(!$this->checkTableName($tablename)){
-
- return false;
- }
-
- if($this->siteadmindir && $special==''){
-
- if(in_array($tablename,$this->sitetable)){
- if(is_numeric($this->config['did'])){
- $where['did']=$this->config['did'];
- }
- }
- }
- $whereNew = $this->checkWhere($where);
-
- $cachename = $tablename.$whereNew;
-
- if(!$row_return=$this->Memcache_set($cachename)){//获取是否存在memcache
-
- $row_return=array();
-
- /*if($this->siteadmindir&&$special==''){
-
- $whereNew = $this->site_fetchsql($whereNew,$tablename);
- } */
-
- $SQL = "SELECT $select FROM `" . $this->def . $tablename . "`" . $whereNew;
- $query = $this->db->query($SQL);
-
- while($row=$this->db->fetch_array($query)){
+ function DB_select_num($tablename, $where = '', $select = "*", $tablename2 = '', $special = '') {
+ if (!$this->checkTableName($tablename)) {
+
+ return FALSE;
+ }
+ $cachename = $tablename . $where;
+ if (!$return = $this->Memcache_set($cachename)) {//获取是否存在memcache
+ if ($tablename2) {
+ if ($this->siteadmindir && $special == '') {
+ if (in_array($tablename, $this->sitetable) && is_numeric($this->config['did'])) {
+ $Where = 'a.`did`=' . $this->config['did'] . "' and " . $Where;
+ }
+ if (in_array($tablename2, $this->sitetable) && is_numeric($this->config['did'])) {
+ $Where = 'b.`did`=' . $this->config['did'] . "' and " . $Where;
+ }
+ }
- $row_return[] = $row;
+ $SQL = "SELECT count($select) as num FROM " . $this->def . $tablename . " as a," . $this->def . $tablename2 . " as b WHERE $where";
+ } else {
+
+
+ if ($this->siteadmindir && $special == '') {
+
+ $where = $this->site_fetchsql($where, $tablename);
+ }
+ $SQL = "SELECT count($select) as num FROM " . $this->def . $tablename;
+
+ if ($where) {
+ $SQL .= " WHERE " . $where;
+ }
}
- $this->Memcache_set($cachename,$row_return);//设置memcache
- }
+ $query = $this->db->query($SQL);
+ while ($row = $this->db->fetch_array($query)) {
+ $return = $row['num'];
+ }
+ $this->Memcache_set($cachename, $return);//设置memcache
+ }
+ if ($return < 1) {
+ $return = '0';
+ }
+ return $return;
+ }
+
+ function select_num($tablename, $where = array(), $select = "*") {
+ if (!$this->checkTableName($tablename)) {
+
+ return FALSE;
+ }
+ if ($this->siteadmindir) {
+ if (in_array($tablename, $this->sitetable)) {
+ if (is_numeric($this->config['did'])) {
+ $where['did'] = $this->config['did'];
+ }
+ }
+ }
+ $whereNew = $this->checkWhere($where);
+ $cachename = $tablename . $whereNew;
+
+ if (!$return = $this->Memcache_set($cachename)) {//获取是否存在memcache
+
+ $SQL = "SELECT count($select) as num FROM " . $this->def . $tablename . $whereNew;
+
+ $query = $this->db->query($SQL);
+ while ($row = $this->db->fetch_array($query)) {
+ $return = $row['num'];
+ }
+ $this->Memcache_set($cachename, $return);//设置memcache
+ }
+ if ($return < 1) {
+ $return = '0';
+ }
+ return $return;
+ }
+
+ /**
+ * 通用query查询 $tablename,$where = 1, $select="*"
+ *$special:标记某些特殊查询,不使用did参数。
+ *2016-1-14 LGL
+ */
+ function DB_select_query($tablename, $where = 1, $select = "*", $special = '') {
+ if (!$this->checkTableName($tablename)) {
+
+ return FALSE;
+ }
+ if ($this->siteadmindir) {
+
+ $where = $this->site_fetchsql($where, $tablename);
+ }
+ $SQL = "SELECT $select FROM " . $this->def . $tablename . " WHERE $where";
+ $query = $this->db->query($SQL);
+ return $query;
+ }
+
+ /**
+ * 通用all查询 $tablename,$where = 1, $select="*"
+ *$special:标记某些特殊查询,不使用did参数。
+ */
+ function DB_select_all($tablename, $where = 1, $select = "*", $special = '') {
+ if (!$this->checkTableName($tablename)) {
+
+ return FALSE;
+ }
+
+ $cachename = $tablename . $where;
+ if (!$row_return = $this->Memcache_set($cachename)) {//获取是否存在memcache
+ $row_return = array();
+ if ($this->siteadmindir && $special == '') {
+
+ $where = $this->site_fetchsql($where, $tablename);
+ }
+ $SQL = "SELECT $select FROM `" . $this->def . $tablename . "`";
+
+ if ($where) {
+ $SQL .= " WHERE " . $where;
+ }
+
+ $query = $this->db->query($SQL);
+ while ($row = $this->db->fetch_array($query)) {
+ $row_return[] = $row;
+ }
+ $this->Memcache_set($cachename, $row_return);//设置memcache
+ }
return $row_return;
- }
- /**
+ }
+
+ //新多条查询
+ function select_all($tablename, $where = array(), $select = "*", $special = '') {
+ if (!$this->checkTableName($tablename)) {
+
+ return FALSE;
+ }
+
+ if ($this->siteadmindir && $special == '') {
+
+ if (in_array($tablename, $this->sitetable)) {
+ if (is_numeric($this->config['did'])) {
+ $where['did'] = $this->config['did'];
+ }
+ }
+ }
+ $whereNew = $this->checkWhere($where);
+
+ $cachename = $tablename . $whereNew;
+
+ if (!$row_return = $this->Memcache_set($cachename)) {//获取是否存在memcache
+
+ $row_return = array();
+
+ /*if($this->siteadmindir&&$special==''){
+
+ $whereNew = $this->site_fetchsql($whereNew,$tablename);
+ } */
+
+ $SQL = "SELECT $select FROM `" . $this->def . $tablename . "`" . $whereNew;
+ $query = $this->db->query($SQL);
+
+ while ($row = $this->db->fetch_array($query)) {
+
+ $row_return[] = $row;
+ }
+ $this->Memcache_set($cachename, $row_return);//设置memcache
+ }
+ return $row_return;
+ }
+
+ /**
* 通用all查询双表 $tablename1,$tablename2, $where = 1, $select = "*"
*/
- function DB_select_alls($tablename1,$tablename2, $where = 1, $select = "*") {
- if(!$this->checkTableName($tablename1)){
-
- return false;
- }
- if(!$this->checkTableName($tablename2)){
-
- return false;
- }
- $cachename=$tablename1.$tablename2.$where;
- if(!$row_return=$this->Memcache_set($cachename)){//获取是否存在memcache
-
-
- if($this->siteadmindir){
-
- if(in_array($tablename1,$this->sitetable) && is_numeric($this->config['did'])){
- $where='a.`did`='.$this->config['did']." and ".$where;
- }
- if(in_array($tablename2,$this->sitetable) && is_numeric($this->config['did'])){
-
-
- $where='b.`did`='.$this->config['did']." and ".$where;
- }
- }
- $SQL = "SELECT $select FROM " . $this->def . $tablename1. " as a," . $this->def . $tablename2 . " as b WHERE $where";
-
- $query=$this->db->query($SQL);
- while($row=$this->db->fetch_array($query)){$row_return[]=$row;}
- $this->Memcache_set($cachename,$row_return);//设置memcache
- }
-
+ function DB_select_alls($tablename1, $tablename2, $where = 1, $select = "*") {
+ if (!$this->checkTableName($tablename1)) {
+
+ return FALSE;
+ }
+ if (!$this->checkTableName($tablename2)) {
+
+ return FALSE;
+ }
+ $cachename = $tablename1 . $tablename2 . $where;
+ if (!$row_return = $this->Memcache_set($cachename)) {//获取是否存在memcache
+
+
+ if ($this->siteadmindir) {
+
+ if (in_array($tablename1, $this->sitetable) && is_numeric($this->config['did'])) {
+ $where = 'a.`did`=' . $this->config['did'] . " and " . $where;
+ }
+ if (in_array($tablename2, $this->sitetable) && is_numeric($this->config['did'])) {
+
+
+ $where = 'b.`did`=' . $this->config['did'] . " and " . $where;
+ }
+ }
+ $SQL = "SELECT $select FROM " . $this->def . $tablename1 . " as a," . $this->def . $tablename2 . " as b WHERE $where";
+
+ $query = $this->db->query($SQL);
+ while ($row = $this->db->fetch_array($query)) {
+ $row_return[] = $row;
+ }
+ $this->Memcache_set($cachename, $row_return);//设置memcache
+ }
+
return $row_return;
- }
- /**
-
+ }
+
+ /**
* 单表单条插入 $tablename, $value
*/
- function DB_insert_once($tablename, $value){
- if(!$this->checkTableName($tablename)){
-
- return false;
- }
- if(in_array($tablename,$this->sitetable) && strpos($value,'`did`')===false){
- $value.=",`did`='".$this->config['did']."'";
- }
- $SQL = "INSERT INTO `" . $this->def . $tablename . "` SET ".$value;
-
- $this->db->query("set sql_mode=''");
- $this->db->query($SQL);
- $nid= $this->db->insert_id();
- return $nid;
- }
-
+ function DB_insert_once($tablename, $value) {
+ if (!$this->checkTableName($tablename)) {
+
+ return FALSE;
+ }
+ if (in_array($tablename, $this->sitetable) && strpos($value, '`did`') === FALSE) {
+ $value .= ",`did`='" . $this->config['did'] . "'";
+ }
+ $SQL = "INSERT INTO `" . $this->def . $tablename . "` SET " . $value;
+
+ $this->db->query("set sql_mode=''");
+ $this->db->query($SQL);
+ $nid = $this->db->insert_id();
+ return $nid;
+ }
+
//一次插入多条数据,方便本地测试数据库构造数据进行测试
- function DB_insert_multi($tablename, $valueArr){
+ function DB_insert_multi($tablename, $valueArr) {
// INSERT INTO `roles` (`uid`,`rid`) VALUES
// (534,14),(535,14),(536,14),(537,14),(539,14)
- if(!$this->checkTableName($tablename)){
- return false;
- }
- include(PLUS_PATH.'dbstruct.cache.php');
- $TableFullName=$this->def.$tablename;
- if(is_array($$TableFullName)){
+ if (!$this->checkTableName($tablename)) {
+ return FALSE;
+ }
+ include(PLUS_PATH . 'dbstruct.cache.php');
+ $TableFullName = $this->def . $tablename;
+ if (is_array($$TableFullName)) {
$fieldsArr = array_keys($$TableFullName);
}
- if($fieldsArr){
+ if ($fieldsArr) {
$fields = array();
- foreach($valueArr[0] as $f => $v){
- if(in_array($f, $fieldsArr)){
+ foreach ($valueArr[0] as $f => $v) {
+ if (in_array($f, $fieldsArr)) {
$fields [] = "`$f`";
}
}
$fields = implode(',', $fields);
-
+
$values = array();
- foreach($valueArr as $r){
+ foreach ($valueArr as $r) {
$arr = array();
- foreach($r as $k => $v){
- if(in_array($k, $fieldsArr)){
+ foreach ($r as $k => $v) {
+ if (in_array($k, $fieldsArr)) {
$arr [] = "'" . $this->db->escape_string($v) . "'";
}
}
@@ -559,107 +576,108 @@
$values = implode(',', $values);
$SQL = "INSERT INTO `{$this->def}{$tablename}` ($fields) VALUES $values";
$this->db->query("set sql_mode=''");
- $return=$this->db->query($SQL);
+ $return = $this->db->query($SQL);
return $return;
}
}
- /**
+
+ /**
* 更新 $tablename, $value, $where = 1
*/
- function DB_update_all($tablename, $value, $where ,$pecial=''){
- if(!$this->checkTableName($tablename)){
-
- return false;
- }
+ function DB_update_all($tablename, $value, $where, $pecial = '') {
+ if (!$this->checkTableName($tablename)) {
+
+ return FALSE;
+ }
- if(empty($where) || empty($value)){
- return false;
- }
-
- $SQL = "UPDATE `" . $this->def . $tablename . "` SET $value ".$where;
-
-
+ if (empty($where) || empty($value)) {
+ return FALSE;
+ }
+
+ $SQL = "UPDATE `" . $this->def . $tablename . "` SET $value " . $where;
+
+
$this->db->query("set sql_mode=''");
- $return=$this->db->query($SQL);
- return $return;
- }
-
- /**
+ $return = $this->db->query($SQL);
+ return $return;
+ }
+
+ /**
* 删除 $tablename, $value, $where = 1
*/
- function DB_delete_all($tablename, $where, $limit = 'limit 1',$pecial='', $norecycle = ''){
- if(!$this->checkTableName($tablename)){
-
- return false;
- }
- if(empty($where)){
- return false;
- }
- if($pecial!=$tablename){
- //快速创建简历保存数据不进入回收站
- if(!in_array($tablename,array('temporary_resume')) && $norecycle != '1'){
- $this->insert_recycle($tablename,$this->site_fetchsql($where,$tablename));//先执行回收站
- }
- $SQL = "DELETE FROM `" . $this->def . $tablename . "` WHERE ".$this->site_fetchsql($where,$tablename)." $limit";
- }else{
- //快速创建简历保存数据不进入回收站
- if(!in_array($tablename,array('temporary_resume')) && $norecycle != '1'){
- $this->insert_recycle($tablename,$where);//先执行回收站
- }
- $SQL = "DELETE FROM `" . $this->def . $tablename . "` WHERE ".$where." $limit";
- }
-
- $this->db->query("set `sql_mode`=''");
- return $this->db->query($SQL);
- }
- /**
- * @desc 删除数据库
- * @param $tablename 数据表名;
- $where 删除数据表数据查询条件;
- $limit 删除记录数
- $pecial 暂未发现使用
- $norecycle 1:不做回收站插入操作
- */
- function delete_all($tablename, $where = array(), $limit = 'limit 1', $special='', $norecycle = '')
- {
-
- if(!$this->checkTableName($tablename)){
-
- return false;
- }
- include(PLUS_PATH.'dbstruct.cache.php');
-
- if($this->siteadmindir && $special==''){
-
- if(in_array($tablename,$this->sitetable)){
- if(is_numeric($this->config['did'])){
- $where['did']=$this->config['did'];
- }
- }
- }
-
- $whereNew = $this->checkWhere($where);
-
-
- if(!empty($whereNew)){
-
- //快速创建简历保存数据不进入回收站
- if(!in_array($tablename,array('temporary_resume')) && $norecycle!='1'){
-
- $this->insert_recycle($tablename,$whereNew);//先执行回收站
- }
-
- $SQL = "DELETE FROM `" . $this->def . $tablename . "` ".$whereNew." ".$limit;
-
- }else{
-
- return false;
- }
-
- $this->db->query("set `sql_mode`=''");
- return $this->db->query($SQL);
- }
-
+ function DB_delete_all($tablename, $where, $limit = 'limit 1', $pecial = '', $norecycle = '') {
+ if (!$this->checkTableName($tablename)) {
+
+ return FALSE;
+ }
+ if (empty($where)) {
+ return FALSE;
+ }
+ if ($pecial != $tablename) {
+ //快速创建简历保存数据不进入回收站
+ if (!in_array($tablename, array('temporary_resume')) && $norecycle != '1') {
+ $this->insert_recycle($tablename, $this->site_fetchsql($where, $tablename));//先执行回收站
+ }
+ $SQL = "DELETE FROM `" . $this->def . $tablename . "` WHERE " . $this->site_fetchsql($where, $tablename) . " $limit";
+ } else {
+ //快速创建简历保存数据不进入回收站
+ if (!in_array($tablename, array('temporary_resume')) && $norecycle != '1') {
+ $this->insert_recycle($tablename, $where);//先执行回收站
+ }
+ $SQL = "DELETE FROM `" . $this->def . $tablename . "` WHERE " . $where . " $limit";
+ }
+
+ $this->db->query("set `sql_mode`=''");
+ return $this->db->query($SQL);
+ }
+
+ /**
+ * @desc 删除数据库
+ * @param $tablename 数据表名;
+ * $where 删除数据表数据查询条件;
+ * $limit 删除记录数
+ * $pecial 暂未发现使用
+ * $norecycle 1:不做回收站插入操作
+ */
+ function delete_all($tablename, $where = array(), $limit = 'limit 1', $special = '', $norecycle = '') {
+
+ if (!$this->checkTableName($tablename)) {
+
+ return FALSE;
+ }
+ include(PLUS_PATH . 'dbstruct.cache.php');
+
+ if ($this->siteadmindir && $special == '') {
+
+ if (in_array($tablename, $this->sitetable)) {
+ if (is_numeric($this->config['did'])) {
+ $where['did'] = $this->config['did'];
+ }
+ }
+ }
+
+ $whereNew = $this->checkWhere($where);
+
+
+ if (!empty($whereNew)) {
+
+ //快速创建简历保存数据不进入回收站
+ if (!in_array($tablename, array('temporary_resume')) && $norecycle != '1') {
+
+ $this->insert_recycle($tablename, $whereNew);//先执行回收站
+ }
+
+ $SQL = "DELETE FROM `" . $this->def . $tablename . "` " . $whereNew . " " . $limit;
+
+ } else {
+
+ return FALSE;
+ }
+
+ $this->db->query("set `sql_mode`=''");
+ return $this->db->query($SQL);
+ }
+
/**
* 删除进入回收站
*
@@ -667,645 +685,652 @@
* @param $where
* @return bool
*/
- function insert_recycle($tablename, $where)
- {
-
+ function insert_recycle($tablename, $where) {
+
if (!$this->checkTableName($tablename)) {
-
- return false;
+
+ return FALSE;
}
//回收站同一次操作生成数据MD5用作识别同一次操作的标识符
if (!$this->__isset('recyclemd5')) {
-
- $recyclemd5 = md5($tablename.$where);
-
+
+ $recyclemd5 = md5($tablename . $where);
+
$this->__set('recyclemd5', $recyclemd5);
-
+
} else {
//获取当前操作模块的统一标识符
- $recyclemd5 = $this->__get('recyclemd5');
+ $recyclemd5 = $this->__get('recyclemd5');
}
-
+
if (!isset($_GET['isdel']) || $_GET['isdel'] != "all") {
-
- $value = "tablename = '" . $tablename . "', ";
- $value .= "ctime = '" . time() . "', ";
-
+
+ $value = "tablename = '" . $tablename . "', ";
+ $value .= "ctime = '" . time() . "', ";
+
if (isset($_SESSION['auid']) && isset($_SESSION['ausername']) && $_SESSION['auid'] && $_SESSION['ausername']) {
-
- $username = $_SESSION['ausername'];
- $uid = $_SESSION['auid'];
+
+ $username = $_SESSION['ausername'];
+ $uid = $_SESSION['auid'];
} else {
-
- $username = isset($this->username) ? $this->username : '';
- $uid = isset($this->uid) ? $this->uid : '';
+
+ $username = isset($this->username) ? $this->username : '';
+ $uid = isset($this->uid) ? $this->uid : '';
}
-
- $value .= "uid = '" . $uid . "', ";
- $value .= "username = '" . $username . "', ";
- $value .= "uri = '" . $_SERVER['REQUEST_URI'] . "', ";
-
- $query = $this->db->query("SELECT * FROM " . $this->def . $tablename . " $where");
- $row_del= array();
+
+ $value .= "uid = '" . $uid . "', ";
+ $value .= "username = '" . $username . "', ";
+ $value .= "uri = '" . $_SERVER['REQUEST_URI'] . "', ";
+
+ $query = $this->db->query("SELECT * FROM " . $this->def . $tablename . " $where");
+ $row_del = array();
while ($row = $this->db->fetch_assoc($query)) {
- $row_del[] = $row;
+ $row_del[] = $row;
}
-
+
if (!empty($row_del)) {
-
+
foreach ($row_del as $delvalue) {
-
+
$this->DB_insert_once('recycle', $value . "`body`='" . serialize($delvalue) . "',`ident`='" . $recyclemd5 . "'");
}
}
}
}
-
+
/**
* 自定义SQL执行 便于多表联合、left join等组合查询语句
*/
- function DB_query_all($sql, $type = 'one')
- {
-
+ function DB_query_all($sql, $type = 'one') {
+
$this->db->query("set sql_mode=''");
-
- $query = $this->db->query($sql);
-
+
+ $query = $this->db->query($sql);
+
if ($type == 'all') {
-
+
while ($row = $this->db->fetch_array($query)) {
- $return[] = $row;
+ $return[] = $row;
}
} else {
-
- $return = $this->db->fetch_array($query);
+
+ $return = $this->db->fetch_array($query);
}
return $return;
}
- /**
+
+ /**
* 通用单条查询$tablename,$where = 1, $select="*"
-
*/
- function DB_select_once($tablename, $where = 1, $select = "*",$special='') {
-
- if(!$this->checkTableName($tablename)){
-
- return false;
- }
-
- $cachename=$tablename.$where;
-
- if(!$return=$this->Memcache_set($cachename)){//获取是否存在memcache
- if($this->siteadmindir && $special==''){
- $where = $this->site_fetchsql($where,$tablename);
- }
- $SQL = 'SELECT '.$select.' FROM ' . $this->def . $tablename;
- if($where)
- {
- $SQL .= ' WHERE '.$where;
- }
- $SQL .= ' LIMIT 1';
- $query = $this->db->query($SQL);
- $return=$this->db->fetch_array($query);
- $this->Memcache_set($cachename,$return);//设置memcache
- }
- return $return;
- }
- //新单条查询
- function select_once($tablename, $where = array(), $select = "*",$special='') {
-
- if(!$this->checkTableName($tablename)){
-
- return false;
- }
-
- if($this->siteadmindir && $special==''){
-
- if(in_array($tablename,$this->sitetable)){
- if(is_numeric($this->config['did'])){
- $where['did']=$this->config['did'];
- }
- }
- }
- $whereNew = $this->checkWhere($where);
-
- $cachename=$tablename.$whereNew;
-
- if(!$return=$this->Memcache_set($cachename)){//获取是否存在memcache
- /*if($this->siteadmindir && $special==''){
- $whereNew = $this->site_fetchsql($whereNew,$tablename);
- }*/
- $SQL = 'SELECT '.$select.' FROM ' . $this->def . $tablename . $whereNew;
-
- $SQL .= ' LIMIT 1';
-
- $query = $this->db->query($SQL);
- $return=$this->db->fetch_array($query);
- $this->Memcache_set($cachename,$return);//设置memcache
- }
- return $return;
- }
-
- function member_log($content,$opera='',$type='',$uid=null,$usertype=null){//会员日志
- if(!$uid && !$usertype){
- $uid = intval($_COOKIE['uid']);
- $usertype = intval($_COOKIE['usertype']);
- }
- if($uid && $usertype){
- $value="`uid`='".$uid."',";
- $value.="`usertype`='".$usertype."',";
- $value.="`content`='".$content."',";
- $value.="`opera`='".$opera."',";
- $value.="`type`='".$type."',";
- $value.="`ip`='".fun_ip_get()."',";
- $value.="`ctime`='".time()."'";
- $this->DB_insert_once("member_log",$value);
- }
- }
- function FormatOptions($Options){
- if(!is_array($Options)){return array('field'=>'*','where'=>'');}
- $WhereStr='';
- if($Options['field']){
- $Field=$Options['field'];
- unset($Options['field']);
- }else{
- $Field='*';
+ function DB_select_once($tablename, $where = 1, $select = "*", $special = '') {
+
+ if (!$this->checkTableName($tablename)) {
+
+ return FALSE;
}
- if($Options['special']){
- $special=$Options['special'];
+
+ $cachename = $tablename . $where;
+
+ if (!$return = $this->Memcache_set($cachename)) {//获取是否存在memcache
+ if ($this->siteadmindir && $special == '') {
+ $where = $this->site_fetchsql($where, $tablename);
+ }
+ $SQL = 'SELECT ' . $select . ' FROM ' . $this->def . $tablename;
+ if ($where) {
+ $SQL .= ' WHERE ' . $where;
+ }
+ $SQL .= ' LIMIT 1';
+ $query = $this->db->query($SQL);
+ $return = $this->db->fetch_array($query);
+ $this->Memcache_set($cachename, $return);//设置memcache
+ }
+ return $return;
+ }
+
+ //新单条查询
+ function select_once($tablename, $where = array(), $select = "*", $special = '') {
+
+ if (!$this->checkTableName($tablename)) {
+
+ return FALSE;
+ }
+
+ if ($this->siteadmindir && $special == '') {
+
+ if (in_array($tablename, $this->sitetable)) {
+ if (is_numeric($this->config['did'])) {
+ $where['did'] = $this->config['did'];
+ }
+ }
+ }
+ $whereNew = $this->checkWhere($where);
+
+ $cachename = $tablename . $whereNew;
+
+ if (!$return = $this->Memcache_set($cachename)) {//获取是否存在memcache
+ /*if($this->siteadmindir && $special==''){
+ $whereNew = $this->site_fetchsql($whereNew,$tablename);
+ }*/
+ $SQL = 'SELECT ' . $select . ' FROM ' . $this->def . $tablename . $whereNew;
+
+ $SQL .= ' LIMIT 1';
+
+ $query = $this->db->query($SQL);
+ $return = $this->db->fetch_array($query);
+ $this->Memcache_set($cachename, $return);//设置memcache
+ }
+ return $return;
+ }
+
+ function member_log($content, $opera = '', $type = '', $uid = NULL, $usertype = NULL) {//会员日志
+ if (!$uid && !$usertype) {
+ $uid = intval($_COOKIE['uid']);
+ $usertype = intval($_COOKIE['usertype']);
+ }
+ if ($uid && $usertype) {
+ $value = "`uid`='" . $uid . "',";
+ $value .= "`usertype`='" . $usertype . "',";
+ $value .= "`content`='" . $content . "',";
+ $value .= "`opera`='" . $opera . "',";
+ $value .= "`type`='" . $type . "',";
+ $value .= "`ip`='" . fun_ip_get() . "',";
+ $value .= "`ctime`='" . time() . "'";
+ $this->DB_insert_once("member_log", $value);
+ }
+ }
+
+ function FormatOptions($Options) {
+ if (!is_array($Options)) {
+ return array('field' => '*', 'where' => '');
+ }
+ $WhereStr = '';
+ if ($Options['field']) {
+ $Field = $Options['field'];
+ unset($Options['field']);
+ } else {
+ $Field = '*';
+ }
+ if ($Options['special']) {
+ $special = $Options['special'];
unset($Options['special']);
}
- if($Options['groupby']){
- $WhereStr.=' group by '.$Options['groupby'];
+ if ($Options['groupby']) {
+ $WhereStr .= ' group by ' . $Options['groupby'];
}
- if($Options['orderby']){
- $WhereStr.=' order by '.$Options['orderby'];
+ if ($Options['orderby']) {
+ $WhereStr .= ' order by ' . $Options['orderby'];
}
-
- if($Options['desc']){
- $WhereStr.=" ".$Options['desc'];
+
+ if ($Options['desc']) {
+ $WhereStr .= " " . $Options['desc'];
}
- if($Options['limit']){
- $WhereStr.=' limit '.$Options['limit'];
+ if ($Options['limit']) {
+ $WhereStr .= ' limit ' . $Options['limit'];
}
- return array('field'=>$Field,'order'=>$WhereStr,"special"=>$special);
+ return array('field' => $Field, 'order' => $WhereStr, "special" => $special);
}
- function FormatWhere($Where){
- $WhereStr='1';
- foreach($Where as $k=>$v){
+
+ function FormatWhere($Where) {
+ $WhereStr = '1';
+ foreach ($Where as $k => $v) {
//两种方式:1,'uid'=>1 ; 2,'`uid` in (1,2,3)'
//TODO:检查字段是否存在
- if(is_numeric($k)){
- if((substr(trim($v),0,3)=='and')||(substr(trim($v),0,2)=='or')){
- $WhereStr.=' '.$v;
- }elseif($v){
- $WhereStr.=' and '.$v;
+ if (is_numeric($k)) {
+ if ((substr(trim($v), 0, 3) == 'and') || (substr(trim($v), 0, 2) == 'or')) {
+ $WhereStr .= ' ' . $v;
+ } elseif ($v) {
+ $WhereStr .= ' and ' . $v;
}
- }else{
- /* where允许的格式:
- $where = array('uid' => $this->uid,
- 'name <> ' => '',
- 'age > ' => '18',
- 'height <' => '65'
- );
- */
- if(strpos($k,'<>') > 0){
- $position = strpos($k,'<>');
- $fieldName = trim(substr($k,0,$position));
- $WhereStr .=' and `'.$fieldName.'` <> \''.$v.'\'';
- }
- elseif(strpos($k,'<') > 0){
- $position = strpos($k,'<');
- $fieldName = trim(substr($k,0,$position));
- $WhereStr .=' and `'.$fieldName.'` < \''.$v.'\'';
- }
- elseif(strpos($k,'>') > 0){
- $position = strpos($k,'>');
- $fieldName = trim(substr($k,0,$position));
- $WhereStr .=' and `'.$fieldName.'` > \''.$v.'\'';
- }
- else{
- $WhereStr .=' and `'.$k.'`=\''.$v.'\'';
- }
+ } else {
+ /* where允许的格式:
+ $where = array('uid' => $this->uid,
+ 'name <> ' => '',
+ 'age > ' => '18',
+ 'height <' => '65'
+ );
+ */
+ if (strpos($k, '<>') > 0) {
+ $position = strpos($k, '<>');
+ $fieldName = trim(substr($k, 0, $position));
+ $WhereStr .= ' and `' . $fieldName . '` <> \'' . $v . '\'';
+ } elseif (strpos($k, '<') > 0) {
+ $position = strpos($k, '<');
+ $fieldName = trim(substr($k, 0, $position));
+ $WhereStr .= ' and `' . $fieldName . '` < \'' . $v . '\'';
+ } elseif (strpos($k, '>') > 0) {
+ $position = strpos($k, '>');
+ $fieldName = trim(substr($k, 0, $position));
+ $WhereStr .= ' and `' . $fieldName . '` > \'' . $v . '\'';
+ } else {
+ $WhereStr .= ' and `' . $k . '`=\'' . $v . '\'';
+ }
}
}
return $WhereStr;
}
- function FormatValues($Values){
- $ValuesStr='';
- foreach($Values as $k=>$v){
+
+ function FormatValues($Values) {
+ $ValuesStr = '';
+ foreach ($Values as $k => $v) {
//两种方式:1,'uid'=>1 ; 2,'`uid` in (1,2,3)'
//TODO:检查字段是否存在
- if(preg_match("/^[a-zA-Z0-9_]+$/",$k)){
- if(preg_match('/^[0-9]+$/', $k)){
- $FiledList = @explode(',',$v);
- if(is_array($FiledList)){
- foreach($FiledList as $Fv){
- $FvList = @explode('=',$Fv);
- if($FvList[1]){
- if(strpos($FvList[1],'+') > 0){
- $FiledV = @explode('+',$FvList[1]);
- $ValuesStr.=',`'.str_replace("`",'',$FvList[0]).'`=`'.str_replace("`",'',$FiledV[0]).'`+\''.intval(str_replace("'",'',$FiledV[1])).'\'';
- }
- if(strpos($FvList[1],'-') > 0){
- $FiledV = @explode('-',$FvList[1]);
- $ValuesStr.=',`'.str_replace("`",'',$FvList[0]).'`=`'.str_replace("`",'',$FiledV[0]).'`-\''.intval(str_replace("'",'',$FiledV[1])).'\'';
- }
-
- }
- }
- }
- }else{
- $ValuesStr.=',`'.$k.'`=\''.$v.'\'';
- }
- }
-
+ if (preg_match("/^[a-zA-Z0-9_]+$/", $k)) {
+ if (preg_match('/^[0-9]+$/', $k)) {
+ $FiledList = @explode(',', $v);
+ if (is_array($FiledList)) {
+ foreach ($FiledList as $Fv) {
+ $FvList = @explode('=', $Fv);
+ if ($FvList[1]) {
+ if (strpos($FvList[1], '+') > 0) {
+ $FiledV = @explode('+', $FvList[1]);
+ $ValuesStr .= ',`' . str_replace("`", '', $FvList[0]) . '`=`' . str_replace("`", '', $FiledV[0]) . '`+\'' . intval(str_replace("'", '', $FiledV[1])) . '\'';
+ }
+ if (strpos($FvList[1], '-') > 0) {
+ $FiledV = @explode('-', $FvList[1]);
+ $ValuesStr .= ',`' . str_replace("`", '', $FvList[0]) . '`=`' . str_replace("`", '', $FiledV[0]) . '`-\'' . intval(str_replace("'", '', $FiledV[1])) . '\'';
+ }
+
+ }
+ }
+ }
+ } else {
+ $ValuesStr .= ',`' . $k . '`=\'' . $v . '\'';
+ }
+ }
+
}
- return substr($ValuesStr,1);
+ return substr($ValuesStr, 1);
}
-
- //提醒处理
- function RemindDeal($TableName,$Values=array(),$Where=array()){
- if(!$this->checkTableName($TableName)){
-
- return false;
- }
- $ValuesStr = $this->FormatValues($Values);
- $WhereStr = $this->FormatWhere($Where);
- $this->DB_update_all($TableName,$ValuesStr,$WhereStr);
+
+ //提醒处理
+ function RemindDeal($TableName, $Values = array(), $Where = array()) {
+ if (!$this->checkTableName($TableName)) {
+
+ return FALSE;
+ }
+ $ValuesStr = $this->FormatValues($Values);
+ $WhereStr = $this->FormatWhere($Where);
+ $this->DB_update_all($TableName, $ValuesStr, $WhereStr);
}
- function site_fetchsql($Where,$TableName,$SplitChar=' and '){
- if(!$this->checkTableName($TableName)){
-
- return false;
- }
- if(in_array($TableName,$this->sitetable)){
- if(is_array($Where)&&is_numeric($this->config['did'])){
- $Where['did']=$this->config['did'];
- }else if(is_numeric($this->config['did'])){
- $Where='`did`='.$this->config['did'].$SplitChar.$Where;
+
+ function site_fetchsql($Where, $TableName, $SplitChar = ' and ') {
+ if (!$this->checkTableName($TableName)) {
+
+ return FALSE;
+ }
+ if (in_array($TableName, $this->sitetable)) {
+ if (is_array($Where) && is_numeric($this->config['did'])) {
+ $Where['did'] = $this->config['did'];
+ } else if (is_numeric($this->config['did'])) {
+ $Where = '`did`=' . $this->config['did'] . $SplitChar . $Where;
}
}
return $Where;
}
-
- //调用分页,$table表名,$where条件,$pageurl分页链接,$limit条数,$rowsname模板接收变量,$pagenavname分页模板接收变量
- function get_page($table,$where='',$pageurl='',$limit=20,$field='*',$rowsname='rows'){
- if(!$this->checkTableName($table)){
-
- return false;
- }
- $rows=array();
- $page=$_GET['page']<1?1:$_GET['page'];
- $ststrsql=($page-1)*$limit;
- $num=$this->DB_select_num($table,$where);
- if($num>$limit){
- $pages=ceil($num/$limit);
- $pagenav=Page($page,$num,$limit,$pageurl,$notpl=false,null);
- }
- $rows=$this->DB_select_all($table,$where.' limit '.$ststrsql.','.$limit,$field);
- return array('total'=>$num,'pagenav'=>$pagenav,$rowsname=>$rows);
- }
- function fetch_assoc(){
- return $this->db->fetch_assoc();
- }
- function checkTableName($table){
-
- if (preg_match('/^[_a-z]{2,30}$/i',$table)){
- return true;
- }else {
- return false;
- }
-
- }
-
-
- /*
- * $data : where条件, 字符串value 默认==:$where[id] = '1';
- * 数组 value:$where['id'] = array('>','1','or/and');根据传入的or and 异或查询 默认AND
- * $key : PHPYUNBTW PHPYUNBTWEND 使用()组合优先级组合条件 如 (id>0 AND id<1)
- * $whereNew : 拼接后的SQL条件,默认以AND 连接
- */
- function checkWhere($where){
-
-
- $whereNew = '';
-
- if(!empty($where) && is_array($where)){
-
- $limit = '';
-
- if(!empty($where['limit'])){
-
- if(is_array($where['limit']))
- {
-
- $limit = ' LIMIT '.(int)$where['limit'][0].','.(int)$where['limit'][1];
-
- }else{
-
-
- $limit = ' LIMIT '.(int)$where['limit'];
- }
-
- unset($where['limit']);
-
- }
-
- $orderby = '';
-
- if(!empty($where['orderby'])){
-
- if(is_array($where['orderby']))
- {
-
- $orderby = ' ORDER BY ';
-
- foreach($where['orderby'] as $key=>$value){
+
+ //调用分页,$table表名,$where条件,$pageurl分页链接,$limit条数,$rowsname模板接收变量,$pagenavname分页模板接收变量
+ function get_page($table, $where = '', $pageurl = '', $limit = 20, $field = '*', $rowsname = 'rows') {
+ if (!$this->checkTableName($table)) {
- if($key>0)
- {
- $orderby .= ',';
- }
-
- $orders = @explode(',',$value);
-
- $orderby .= $orders[0].' ';
- $orderby .= strtoupper(trim($orders[1])) == 'ASC' ? 'ASC':'DESC';
-
- $whereFiled[] = $orders[0];
-
-
- }
-
-
-
- } elseif (stripos($where['orderby'], 'CASE WHEN') !== false)
- {
- //CASE THEN END 条件排序
-
- $orderby = ' ORDER BY '.$where['orderby'];
- $whereFiled[] = 'CASE';
-
- }else{
-
- $orders = @explode(',',$where['orderby']);
-
- $orderby = ' ORDER BY '.$orders[0].' ';
- $orderby .= strtoupper(trim($orders[1])) == 'ASC' ? 'ASC':'DESC';
-
- $whereFiled[] = $orders[0];
- }
- unset($where['orderby']);
-
- }
-
- if(!empty($where['orderbyfield'])){
-
- if(is_array($where['orderbyfield']) && count($where['orderbyfield']) == 2){
-
- $orderby = ' ORDER BY field('.$where['orderbyfield'][0].','.$where['orderbyfield'][1].')';
-
- $whereFiled[] = $where['orderbyfield'][0];
-
- }
-
- unset($where['orderbyfield']);
- }
-
- $groupby = $having = '';
-
- if(!empty($where['groupby'])){
+ return FALSE;
+ }
+ $rows = array();
+ $page = $_GET['page'] < 1 ? 1 : $_GET['page'];
+ $ststrsql = ($page - 1) * $limit;
+ $num = $this->DB_select_num($table, $where);
+ if ($num > $limit) {
+ $pages = ceil($num / $limit);
+ $pagenav = Page($page, $num, $limit, $pageurl, $notpl = FALSE, NULL);
+ }
+ $rows = $this->DB_select_all($table, $where . ' limit ' . $ststrsql . ',' . $limit, $field);
+ return array('total' => $num, 'pagenav' => $pagenav, $rowsname => $rows);
+ }
+
+ function fetch_assoc() {
+ return $this->db->fetch_assoc();
+ }
+
+ function checkTableName($table) {
+
+ if (preg_match('/^[_a-z]{2,30}$/i', $table)) {
+ return TRUE;
+ } else {
+ return FALSE;
+ }
+
+ }
+
+
+ /*
+ * $data : where条件, 字符串value 默认==:$where[id] = '1';
+ * 数组 value:$where['id'] = array('>','1','or/and');根据传入的or and 异或查询 默认AND
+ * $key : PHPYUNBTW PHPYUNBTWEND 使用()组合优先级组合条件 如 (id>0 AND id<1)
+ * $whereNew : 拼接后的SQL条件,默认以AND 连接
+ */
+ function checkWhere($where) {
+
+
+ $whereNew = '';
+
+ if (!empty($where) && is_array($where)) {
+
+ $limit = '';
+
+ if (!empty($where['limit'])) {
- // GROUP BY 和 HAVING 联合查询
- // $key : having ; $value : array();
- // 例如 : array('having' => array('distance' => array('<', 20, ''), 'x' => array('<>', 0, 'AND')))
- if (!empty($where['having'])) {
-
- $groupby = ' GROUP BY '.$where['groupby'];
-
- $whereFiled[] = $where['groupby'];
-
- foreach ($where['having'] as $key => $value){
-
- if (is_array($value)) {
-
- // HAVING 多条件查询; $value[2] : 异或查询
- if($value[2] == 'OR' || $value[2] == 'or'){
-
- $btnAndOR = ' OR ';
- }else if($value[2] == 'AND' || $value[2] == 'and'){
-
- $btnAndOR = ' AND ';
- }else{
-
- $btnAndOR = '';
- }
-
- $having = $btnAndOR;
- $having .= $this->spilceWhere($key, $value);
-
- $whereFiled[] = $key;
- }
-
- }
-
- $groupby .= ' HAVING '.$having;
-
- unset($where['having']);
-
- }else{
-
- $groupby = ' GROUP BY '.$where['groupby'];
-
- $whereFiled[] = $where['groupby'];
- }
-
- unset($where['groupby']);
-
- }
-
- foreach($where as $key=>$value){
-
- //PHPYUNBTWSTART_A PHPYUNBTWEND_A PHPYUNBTWSTART_B PHPYUNBTWEND_B 这种可以组成多个()
- // PHPYUNBTWSTART_A_DOUBLE、PHPYUNBTWEND_B_DOUBLE 考虑有需要多重括号的方式,增加此种写法
- //考虑到部分需要使用()执行优先级条件查询判断的情况
- if(strpos($key, 'PHPYUNBTWSTART') !== false){
-
- if($whereNew!='')
- {
- $btwAndOr = ($value=='OR' || $value == 'or') ?' OR ':' AND ';
- }else{
- $btwAndOr = '';
- }
-
- $whereNew .= $btwAndOr.'(';
- // 带_DOUBLE为需要一个多的开始括号情况
- if(strpos($key, '_DOUBLE') !== false){
- $whereNew .= '(';
- }
- //标识符 用于判断是否是()内首项条件 非首项条件 必须使用 AND/OR 连接
- $btwStr = 1;
-
- }elseif(strpos($key, 'PHPYUNBTWEND') !== false){
-
- $whereNew .= ')';
- // 带_DOUBLE为需要一个多的结束括号情况
- if(strpos($key, '_DOUBLE') !== false){
- $whereNew .= ')';
- }
- //取消标识符
- $btwStr = 0;
-
- }else{
-
- //where格式不为纯字符串,则按照操作符函数进行处理
- if(!empty($value) && is_array($value))
- {
-
- //同一个字段 多项条件组合
- if(is_array($value[0])){
-
- foreach($value as $sonv){
-
- if($whereNew!='' && $btwStr != 1)
- {
-
- $whereNew .= ($sonv[2] == 'OR' || $sonv[2] == 'or') ? ' OR ' : ' AND ';
- }
- //根据value[0] 判断SQL操作符 并进行组合SQL语句
-
- $whereNew .= $this->spilceWhere($key,$sonv);
-
- $whereFiled[] = $key;
-
- $btwStr = 0;
-
- }
-
- }else{
- if($whereNew!='' && $btwStr != 1)
- {
- $whereNew .= (isset($value[2]) && ($value[2] == 'OR' || $value[2] == 'or')) ? ' OR ' : ' AND ';
- }
- //根据value[0] 判断SQL操作符 并进行组合SQL语句
-
- $whereNew .= $this->spilceWhere($key,$value);
-
- $whereFiled[] = $key;
- }
-
- }else{
-
- //首项条件 排除AND连接符
-
- if($whereNew!='' && $btwStr != 1)
- {
- $whereNew .=' AND ';
- }
- //纯字符串格式默认为 = 操作符
- $whereNew .= "`".$key."`='".$this->db->escape_string($value)."'";
-
- $whereFiled[] = $key;
- }
- $btwStr = 0;
- }
- }
- }
- // 验证字段
-
- if(!empty($whereFiled)){
- foreach($whereFiled as $value){
-
- if(!preg_match("/^[a-zA-Z0-9_`()]{1,30}$/",$value)){
-
- $noFields = 1;
- break;
- }
- }
- }
-
- if(!isset($noFields)){
-
-
- if($whereNew)
- {
- $whereNew = ' WHERE '.$whereNew;
-
- }
- $whereNew .= $groupby.$orderby.$limit;
- return $whereNew;
- }else{
-
- $this->db->show_error();
- }
-
-
- }
-
- function spilceWhere($daraKey,$dataV){
-
- $Operator = array('=','>','>=','<','<=','<>','in','notin','isnull','notnull','like','findin','between','unixtime','like%','dateformat','in_s','regexp');
-
- if(in_array($dataV[0],$Operator)){
-
- switch($dataV[0]){
-
- case 'notin' : $sqlString = "`$daraKey` not in (".$this->db->escape_string($dataV[1]).")";
- break;
-
- case 'in' : $sqlString = "`$daraKey` in (".$dataV[1].")";
- break;
-
- case 'isnull' : $sqlString = "`$daraKey` is null";
- break;
-
- case 'notnull' : $sqlString = "`$daraKey` is not null";
- break;
-
- case 'like' : $sqlString = "`$daraKey` LIKE ('%".$this->db->escape_string($dataV[1])."%')";
- break;
-
- case 'findin' : $sqlString = "FIND_IN_SET('".$this->db->escape_string($dataV[1])."',`$daraKey`)";
- break;
-
- case 'between' : $betweens = explode(',', $dataV[1]);$sqlString = "$daraKey between $betweens[0] AND $betweens[1]";
- break;
-
- case 'unixtime' : $sqlString = "UNIX_TIMESTAMP(`$daraKey`) ".$this->db->escape_string($dataV[1])." '$dataV[2]'";
- break;
-
- case 'like%' : $sqlString = "`$daraKey` LIKE ('".$this->db->escape_string($dataV[1])."%')";
- break;
-
- case 'dateformat': $sqlString = "date_format(`$daraKey`,'".$dataV[1]."')=date_format(now(),'".$this->db->escape_string($dataV[1])."')";
- break;
- // 字符串型的in
- case 'in_s' : $sqlString = "`$daraKey` in ('".$dataV[1]."')";
- break;
- // 处理值匹配
- case 'regexp' : $sqlString = "(`$daraKey` REGEXP '".$dataV[1]."')=0";
- break;
- default :
- // 传入字段中包含sql函数的,两边不需要加`
- $keystr = !preg_match("/[)]/",$daraKey) ? "`$daraKey` " : "$daraKey ";
- $sqlString = $keystr.$this->db->escape_string($dataV[0])." '$dataV[1]'";
- }
-
- }else{
-
- $this->db->show_error();
- }
-
- return $sqlString;
-
- }
- function uc_open(){
- include APP_PATH.'data/api/uc/config.inc.php';
- include APP_PATH.'/api/uc/include/db_mysql.class.php';
- include APP_PATH.'/api/uc/uc_client/client.php';
-
- return $ucinfo;
- }
+ if (is_array($where['limit'])) {
+
+ $limit = ' LIMIT ' . (int)$where['limit'][0] . ',' . (int)$where['limit'][1];
+
+ } else {
+
+
+ $limit = ' LIMIT ' . (int)$where['limit'];
+ }
+
+ unset($where['limit']);
+
+ }
+
+ $orderby = '';
+
+ if (!empty($where['orderby'])) {
+
+ if (is_array($where['orderby'])) {
+
+ $orderby = ' ORDER BY ';
+
+ foreach ($where['orderby'] as $key => $value) {
+
+ if ($key > 0) {
+ $orderby .= ',';
+ }
+
+ $orders = @explode(',', $value);
+
+ $orderby .= $orders[0] . ' ';
+ $orderby .= strtoupper(trim($orders[1])) == 'ASC' ? 'ASC' : 'DESC';
+
+ $whereFiled[] = $orders[0];
+
+
+ }
+
+
+ } elseif (stripos($where['orderby'], 'CASE WHEN') !== FALSE) {
+ //CASE THEN END 条件排序
+
+ $orderby = ' ORDER BY ' . $where['orderby'];
+ $whereFiled[] = 'CASE';
+
+ } else {
+
+ $orders = @explode(',', $where['orderby']);
+
+ $orderby = ' ORDER BY ' . $orders[0] . ' ';
+ $orderby .= strtoupper(trim($orders[1])) == 'ASC' ? 'ASC' : 'DESC';
+
+ $whereFiled[] = $orders[0];
+ }
+ unset($where['orderby']);
+
+ }
+
+ if (!empty($where['orderbyfield'])) {
+
+ if (is_array($where['orderbyfield']) && count($where['orderbyfield']) == 2) {
+
+ $orderby = ' ORDER BY field(' . $where['orderbyfield'][0] . ',' . $where['orderbyfield'][1] . ')';
+
+ $whereFiled[] = $where['orderbyfield'][0];
+
+ }
+
+ unset($where['orderbyfield']);
+ }
+
+ $groupby = $having = '';
+
+ if (!empty($where['groupby'])) {
+
+ // GROUP BY 和 HAVING 联合查询
+ // $key : having ; $value : array();
+ // 例如 : array('having' => array('distance' => array('<', 20, ''), 'x' => array('<>', 0, 'AND')))
+ if (!empty($where['having'])) {
+
+ $groupby = ' GROUP BY ' . $where['groupby'];
+
+ $whereFiled[] = $where['groupby'];
+
+ foreach ($where['having'] as $key => $value) {
+
+ if (is_array($value)) {
+
+ // HAVING 多条件查询; $value[2] : 异或查询
+ if ($value[2] == 'OR' || $value[2] == 'or') {
+
+ $btnAndOR = ' OR ';
+ } else if ($value[2] == 'AND' || $value[2] == 'and') {
+
+ $btnAndOR = ' AND ';
+ } else {
+
+ $btnAndOR = '';
+ }
+
+ $having = $btnAndOR;
+ $having .= $this->spilceWhere($key, $value);
+
+ $whereFiled[] = $key;
+ }
+
+ }
+
+ $groupby .= ' HAVING ' . $having;
+
+ unset($where['having']);
+
+ } else {
+
+ $groupby = ' GROUP BY ' . $where['groupby'];
+
+ $whereFiled[] = $where['groupby'];
+ }
+
+ unset($where['groupby']);
+
+ }
+
+ foreach ($where as $key => $value) {
+
+ //PHPYUNBTWSTART_A PHPYUNBTWEND_A PHPYUNBTWSTART_B PHPYUNBTWEND_B 这种可以组成多个()
+ // PHPYUNBTWSTART_A_DOUBLE、PHPYUNBTWEND_B_DOUBLE 考虑有需要多重括号的方式,增加此种写法
+ //考虑到部分需要使用()执行优先级条件查询判断的情况
+ if (strpos($key, 'PHPYUNBTWSTART') !== FALSE) {
+
+ if ($whereNew != '') {
+ $btwAndOr = ($value == 'OR' || $value == 'or') ? ' OR ' : ' AND ';
+ } else {
+ $btwAndOr = '';
+ }
+
+ $whereNew .= $btwAndOr . '(';
+ // 带_DOUBLE为需要一个多的开始括号情况
+ if (strpos($key, '_DOUBLE') !== FALSE) {
+ $whereNew .= '(';
+ }
+ //标识符 用于判断是否是()内首项条件 非首项条件 必须使用 AND/OR 连接
+ $btwStr = 1;
+
+ } elseif (strpos($key, 'PHPYUNBTWEND') !== FALSE) {
+
+ $whereNew .= ')';
+ // 带_DOUBLE为需要一个多的结束括号情况
+ if (strpos($key, '_DOUBLE') !== FALSE) {
+ $whereNew .= ')';
+ }
+ //取消标识符
+ $btwStr = 0;
+
+ } else {
+
+ //where格式不为纯字符串,则按照操作符函数进行处理
+ if (!empty($value) && is_array($value)) {
+
+ //同一个字段 多项条件组合
+ if (is_array($value[0])) {
+
+ foreach ($value as $sonv) {
+
+ if ($whereNew != '' && $btwStr != 1) {
+
+ $whereNew .= ($sonv[2] == 'OR' || $sonv[2] == 'or') ? ' OR ' : ' AND ';
+ }
+ //根据value[0] 判断SQL操作符 并进行组合SQL语句
+
+ $whereNew .= $this->spilceWhere($key, $sonv);
+
+ $whereFiled[] = $key;
+
+ $btwStr = 0;
+
+ }
+
+ } else {
+ if ($whereNew != '' && $btwStr != 1) {
+ $whereNew .= (isset($value[2]) && ($value[2] == 'OR' || $value[2] == 'or')) ? ' OR ' : ' AND ';
+ }
+ //根据value[0] 判断SQL操作符 并进行组合SQL语句
+
+ $whereNew .= $this->spilceWhere($key, $value);
+
+ $whereFiled[] = $key;
+ }
+
+ } else {
+
+ //首项条件 排除AND连接符
+
+ if ($whereNew != '' && $btwStr != 1) {
+ $whereNew .= ' AND ';
+ }
+ //纯字符串格式默认为 = 操作符
+ $whereNew .= "`" . $key . "`='" . $this->db->escape_string($value) . "'";
+
+ $whereFiled[] = $key;
+ }
+ $btwStr = 0;
+ }
+ }
+ }
+ // 验证字段
+
+ if (!empty($whereFiled)) {
+ foreach ($whereFiled as $value) {
+
+ if (!preg_match("/^[a-zA-Z0-9_`()]{1,30}$/", $value)) {
+
+ $noFields = 1;
+ break;
+ }
+ }
+ }
+
+ if (!isset($noFields)) {
+
+
+ if ($whereNew) {
+ $whereNew = ' WHERE ' . $whereNew;
+
+ }
+ $whereNew .= $groupby . $orderby . $limit;
+ return $whereNew;
+ } else {
+
+ $this->db->show_error();
+ }
+
+
+ }
+
+ function spilceWhere($daraKey, $dataV) {
+
+ $Operator = array('=', '>', '>=', '<', '<=', '<>', 'in', 'notin', 'isnull', 'notnull', 'like', 'findin', 'between', 'unixtime', 'like%', 'dateformat', 'in_s', 'regexp');
+
+ if (in_array($dataV[0], $Operator)) {
+
+ switch ($dataV[0]) {
+
+ case 'notin' :
+ $sqlString = "`$daraKey` not in (" . $this->db->escape_string($dataV[1]) . ")";
+ break;
+
+ case 'in' :
+ $sqlString = "`$daraKey` in (" . $dataV[1] . ")";
+ break;
+
+ case 'isnull' :
+ $sqlString = "`$daraKey` is null";
+ break;
+
+ case 'notnull' :
+ $sqlString = "`$daraKey` is not null";
+ break;
+
+ case 'like' :
+ $sqlString = "`$daraKey` LIKE ('%" . $this->db->escape_string($dataV[1]) . "%')";
+ break;
+
+ case 'findin' :
+ $sqlString = "FIND_IN_SET('" . $this->db->escape_string($dataV[1]) . "',`$daraKey`)";
+ break;
+
+ case 'between' :
+ $betweens = explode(',', $dataV[1]);
+ $sqlString = "$daraKey between $betweens[0] AND $betweens[1]";
+ break;
+
+ case 'unixtime' :
+ $sqlString = "UNIX_TIMESTAMP(`$daraKey`) " . $this->db->escape_string($dataV[1]) . " '$dataV[2]'";
+ break;
+
+ case 'like%' :
+ $sqlString = "`$daraKey` LIKE ('" . $this->db->escape_string($dataV[1]) . "%')";
+ break;
+
+ case 'dateformat':
+ $sqlString = "date_format(`$daraKey`,'" . $dataV[1] . "')=date_format(now(),'" . $this->db->escape_string($dataV[1]) . "')";
+ break;
+ // 字符串型的in
+ case 'in_s' :
+ $sqlString = "`$daraKey` in ('" . $dataV[1] . "')";
+ break;
+ // 处理值匹配
+ case 'regexp' :
+ $sqlString = "(`$daraKey` REGEXP '" . $dataV[1] . "')=0";
+ break;
+ default :
+ // 传入字段中包含sql函数的,两边不需要加`
+ $keystr = !preg_match("/[)]/", $daraKey) ? "`$daraKey` " : "$daraKey ";
+ $sqlString = $keystr . $this->db->escape_string($dataV[0]) . " '$dataV[1]'";
+ }
+
+ } else {
+
+ $this->db->show_error();
+ }
+
+ return $sqlString;
+
+ }
+
+ function uc_open() {
+ include APP_PATH . 'data/api/uc/config.inc.php';
+ include APP_PATH . '/api/uc/include/db_mysql.class.php';
+ include APP_PATH . '/api/uc/uc_client/client.php';
+
+ return $ucinfo;
+ }
}
+
?>
\ No newline at end of file
diff --git a/data/plus/config.php b/data/plus/config.php
deleted file mode 100644
index 86daf83..0000000
--- a/data/plus/config.php
+++ /dev/null
@@ -1,9 +0,0 @@
-<?php
-$config=array("sy_msguser"=>"","sy_msgpw"=>"","sy_msgapi"=>"smtp.163.com","sy_hotkeyword"=>"维特人才网,维特网络","sy_fkeyword"=>"","sy_linksq"=>"1","sy_chat_name"=>"直聊","sy_chat_day"=>"30","user_enforce_identitycert"=>"0","com_enforce_emailcert"=>"0","com_enforce_mobilecert"=>"0","com_enforce_setposition"=>"0","lt_enforce_emailcert"=>"0","lt_enforce_mobilecert"=>"0","lt_enforce_licensecert"=>"0","sy_apikey"=>"php213yun","sy_webname"=>"维特人才招聘系统","sy_weburl"=>"http://zhaopin","sy_companydomain"=>"","sy_webkeyword"=>"人才网,招聘网,求职,招聘会,","map_rating"=>"15","sy_webmeta"=>"维特人才系统,是专为中文用户设计和开发,程序源代码100%完全开放的一个采用 PHP 和 MySQL 数据库构建的高效的人才与企业求职招、聘解决方案。","map_x"=>"118.82152","map_y"=>"34.114522","sy_webcopyright"=>"Copyright C 2021-2022 All Rights Reserved 技术支持 维特网络","sy_webemail"=>"admin@admin.com","sy_webrecord"=>"浙ICP备88888888号","sy_webtel"=>"XXXX-836XXXXX","sy_freewebtel"=>"18668215192","sy_webadd"=>"","sy_mapkey"=>"{config[sy_mapkey]}","sy_companydir"=>"company","sy_smtpserver"=>"smtp.qq.com","code_width"=>"115","code_height"=>"35","code_strlength"=>"4","code_filetype"=>"jpg","code_kind"=>"1","code_type"=>"1","code_web"=>"注册会员,前台登录,店铺招聘,职场提问","sy_askdoamin"=>"","sy_pxdir"=>"train","sy_frienddomain"=>"","sy_pxdomain"=>"","paytype"=>"1","alipay"=>"0","tenpay"=>"0","bank"=>"0","style"=>"default","integral_resume_top"=>"5","sy_webclose"=>"网站升级中请联系管理员!","sy_web_online"=>"1","sy_istemplate"=>"1","sy_uc_type"=>"","user_number"=>"2","user_sq_number"=>"100","user_fav_number"=>"100","user_pickb"=>"2048","user_jobstatus"=>"1","user_status"=>"0","user_email"=>"1","user_moblie"=>"0","user_job"=>"0","com_pickb"=>"1024","com_jobstatus"=>"0","com_email"=>"1","com_moblie"=>"1","integral_pricename"=>"积分","integral_priceunit"=>"个","com_integral_online"=>"1","integral_resume"=>"20","integral_job"=>"2","integral_jobefresh"=>"1","integral_jobedit"=>"10","integral_interview"=>"5","integral_reg"=>"5","integral_proportion"=>"10","integral_down_resume"=>"5","integral_sons_num"=>"50","sy_bannedip"=>"","sy_fkeyword_all"=>"***","sy_bannedip_alert"=>"您的当前IP,该站已经禁止访问,请联系管理员处理。","sy_qqappid"=>"","sy_qqappkey"=>"","sy_qqlogin"=>"0","sy_email_online"=>"1","sy_email_yqms"=>"2","sy_email_reg"=>"2","sy_email_fkcg"=>"2","sy_email_zzshtg"=>"2","sy_email_sqzw"=>"2","sy_msg_yqms"=>"2","sy_msg_reg"=>"2","sy_msg_fkcg"=>"2","sy_msg_zzshtg"=>"2","sy_msg_sqzw"=>"2","sy_seo_rewrite"=>"0","sy_msg_online"=>"0","sy_email_getpass"=>"2","sy_msg_getpass"=>"2","com_rating"=>"3","sy_logo"=>"data/logo/20170418/14754791367.PNG","sy_member_logo"=>"data/logo/20170418/14787253815.PNG","sy_unit_logo"=>"data/logo/20170418/14705504026.PNG","map_control"=>"1","map_control_type"=>"4","map_control_xb"=>"1","map_control_scale"=>"1","sy_rz_logo"=>"data/logo/20120723/13500058397.GIF","sy_once_icon"=>"data/logo/20170418/15495075889.PNG","sy_email_cert"=>"2","sy_msg_cert"=>"2","sy_msgkey"=>"","map_control_anchor"=>"4","com_login_link"=>"3","com_resume_link"=>"1","com_fast_status"=>"0","com_job_status"=>"1","com_revise_status"=>"1","sy_web_site"=>"0","sy_rand"=>"","sy_email_zzshwtg"=>"2","qqappkey"=>"","qqappsecret"=>"","qqopenid"=>"","qqopenkey"=>"","qqaccess_token"=>"","sinaappkey"=>"","sinaappsecret"=>"","sinaopenid"=>"","sinaopenkey"=>"","sinaaccess_token"=>"","sy_pw_type"=>"","sy_qq"=>"360222653","sy_indexcity"=>"全国","sy_indexdomain"=>"","sy_qqkey"=>"","sy_sinakey"=>"","alipaytype"=>"1","com_status"=>"0","user_imgwidth"=>"80","user_imgheight"=>"100","ismemcache"=>"2","com_uppic"=>"1024","issmartycache"=>"2","memcachehost"=>"127.0.0.1 ","memcacheport"=>"11211","memcachetime"=>"3600","smartycachetime"=>"3600","com_urgent"=>"5","com_message"=>"1","user_report"=>"1","com_report"=>"0","sy_email_lock"=>"2","user_idcard_status"=>"1","com_cert_status"=>"1","sy_email_comcert"=>"2","sy_unit_icon"=>"data/logo/20170418/14906489056.PNG","sy_email_usercert"=>"2","sy_onedomain"=>"","sy_msg_zzshwtg"=>"2","sy_email_usercertq"=>"1","sy_email_jobed"=>"2","lt_job_status"=>"0","user_wjl"=>"1","com_recjob"=>"5","sy_regname"=>"admin","com_vip_type"=>"2","sy_lt_logo"=>"data/logo/20170418/14689253823.PNG","lt_status"=>"0","lt_email"=>"0","lt_moblie"=>"0","integral_lt_jobefresh"=>"2","integral_lt_jobedit"=>"30","integral_lt_downresume"=>"10","integral_lt_job"=>"10","lt_rating"=>"27","lt_cert_status"=>"1","lt_recjob"=>"5","sy_im_online"=>"1","sy_im_user"=>"shyflc","sy_im_type"=>"1","sy_im_usertype"=>"1,2,3,4,5","sy_im_comjob"=>"2","sy_im_keyword"=>"123","sy_im_fkeyword"=>"***","sy_im_ltjob"=>"4","sy_member_icon"=>"data/logo/20210922/16323021198584.png","sy_friend_logo"=>"data/logo/20170418/14689253823.PNG","integral_com_comments"=>"10","fast_status"=>"0","sy_listnum"=>"10","sy_email_userstatus"=>"2","lt_rec_rebates"=>"0","sy_sinalogin"=>"0","sy_sinaappkey"=>"","sy_sinaappid"=>"","sy_member_iconv"=>"data/logo/20210922/16323021192988.png","lt_rebates_name"=>"元","user_wjl_link"=>"0","map_tocity"=>"1","map_key"=>"F9bfbeb26054d97898571a1df965d8af","mapurl"=>"http://api.map.baidu.com/api?v=2.0&ak=F9bfbeb26054d97898571a1df965d8af","sy_email_remind"=>"2","sy_msg_remind"=>"2","sy_msg_type"=>"1","integral_msg_proportion"=>"15","user_email_tx"=>"1","user_msg_tx"=>"1","com_email_dy"=>"1","com_msg_dy"=>"1","user_email_dy"=>"1","user_msg_dy"=>"0","sy_msg_comdy"=>"2","sy_msg_userdy"=>"2","sy_email_userdy"=>"2","sy_email_comdy"=>"2","webcachetime"=>"1000","webcache"=>"2","sy_lt_icon"=>"data/logo/20170418/14346751079.JPG","sy_friend_icon"=>"data/logo/20170418/15008501757.JPG","sy_wzp_icon"=>"data/logo/20170418/14046373798.JPG","wx_token"=>"","wx_appid"=>"","wx_appsecret"=>"","user_trust_number"=>"1","pay_trust_resume"=>"100","user_trust_status"=>"0","user_photo_status"=>"2","crmkey"=>"","crmname"=>"","sy_safekey"=>"YiJA0YuKyY","pytoken"=>"afb5ec433df1","job_auto"=>"5","user_enforce_mobilecert"=>"1","sy_default_userclass"=>"2","sy_default_comclass"=>"2","crmpronid"=>"","user_height_resume"=>"1","sy_com_invoice"=>"1","com_transfer"=>"1","yun_id"=>"2","yun_secret"=>"3f7d6e1e9dcb25b3","sy_def_email"=>"@qq.com|@163.com|@126.com|@gmail.com|@hotmail.com|@sina.com|@sina.com.cn|@sina.cn|@sohu.com|@139.com|@yahoo.com|@aliyun.com|","sy_tiny"=>"10","sy_once"=>"10","integral_zhiwei"=>"0","integral_jianli"=>"100","integral_xinwen"=>"0","integral_product"=>"0","integral_score"=>"100","sy_tongji"=>"","sy_email_notice"=>"2","sy_msg_notice"=>"2","user_finder"=>"2","integral_job_type"=>"2","integral_jobefresh_type"=>"2","integral_jobedit_type"=>"2","integral_down_resume_type"=>"2","integral_interview_type"=>"2","com_urgent_type"=>"2","com_recjob_type"=>"2","integral_com_comments_type"=>"2","job_auto_type"=>"2","sy_adclick"=>"0","sy_wap_jump"=>"1","integral_lt_job_type"=>"2","integral_lt_jobefresh_type"=>"2","integral_lt_jobedit_type"=>"2","integral_lt_downresume_type"=>"2","integral_reg_type"=>"1","integral_login_type"=>"1","integral_login"=>"2","integral_userinfo_type"=>"1","integral_userinfo"=>"2","integral_emailcert_type"=>"1","integral_emailcert"=>"1","integral_mobliecert_type"=>"1","integral_mobliecert"=>"2","integral_avatar_type"=>"1","integral_avatar"=>"2","integral_question_type"=>"1","integral_question"=>"2","integral_answer_type"=>"1","integral_answer"=>"1","integral_answerpl_type"=>"1","integral_answerpl"=>"1","integral_friend_msg_type"=>"1","integral_friend_msg"=>"1","integral_friend_reply_type"=>"1","integral_friend_reply"=>"1","integral_invite_reg_type"=>"1","integral_invite_reg"=>"100","integral_map_type"=>"1","integral_map"=>"30","integral_banner_type"=>"1","integral_banner"=>"1","integral_license_cert_type"=>"1","integral_license_cert"=>"100","integral_ltcert_type"=>"1","integral_ltcert"=>"100","integral_comcert_type"=>"1","integral_comcert"=>"10","integral_add_resume"=>"10","integral_add_resume_type"=>"1","integral_identity"=>"2","integral_identity_type"=>"1","com_finder"=>"3","sy_px_logo"=>"data/logo/20170418/14707254124.PNG","wx_welcom"=>"欢迎关注维特网络。
-维特人才招聘系统全新推出,微信红包营销,H5分享推广,兼职系统,微信支付。。多项强大功能等您体验!
-客服QQ:360222653
-联系电话:18668215192","wx_search"=>"请输入关键字查找工作","wx_logo"=>"14102668417.PNG","wx_rz"=>"0","warning_addjob_type"=>"2","warning_addjob"=>"100","warning_downresume_type"=>"2","warning_downresume"=>"100","warning_addresume_type"=>"2","warning_addresume"=>"100","warning_recharge_type"=>"2","warning_recharge"=>"1000","warning_sendresume_type"=>"2","warning_sendresume"=>"100","sy_news_rewrite"=>"1","sy_wx_logo"=>"data/logo/20170418/14380796029.PNG","wx_author"=>"0","sy_wxappkey"=>"","sy_wxappid"=>"","sy_header_fix"=>"1","sy_wap_web"=>"1","sy_friend_web"=>"1","sy_ask_web"=>"1","sy_lt_web"=>"1","sy_px_web"=>"1","sy_zhp_web"=>"1","sy_wzp_web"=>"1","sy_wjl_web"=>"1","sy_gjx_web"=>"1","sy_wapdomain"=>"","sy_wap_logo"=>"data/logo/20170418/14745698334.PNG","sy_msg_regcode"=>"2","sy_px_icon"=>"data/logo/20170418/14600255653.JPG","sy_wapdir"=>"wap","sy_ltdir"=>"lietou","sy_frienddir"=>"friend","sy_askdir"=>"ask","wx_xxtz"=>"0","sy_ltdomain"=>"","px_cert_status"=>"1","user_resumetop"=>"10","integral_resume_top_type"=>"2","sy_redeem_web"=>"1","reg_fast"=>"1","reg_comaddress"=>"0","reg_comlink"=>"1","reg_passconfirm"=>"1","reg_username"=>"1","reg_useremail"=>"0","reg_usertel"=>"0","reg_comemail"=>"0","reg_comtel"=>"0","reg_comname"=>"1","sy_px_banner"=>"data/logo/20170418/14596745936.JPG","com_enforce_licensecert"=>"0","px_status"=>"0","sy_banner"=>"data/logo/20170418/14586373317.JPG","sy_oncedomain"=>"","sy_zphdomain"=>"","sy_zph_web"=>"1","sy_train_web"=>"1","sy_traindomain"=>"","sy_redeemdomain"=>"","sy_lietoudir"=>"lietou","sy_lietoudomain"=>"","sy_lietou_web"=>"1","sy_hrdomain"=>"","sy_tinydomain"=>"","sy_wxredpack_nick"=>"维特网络","sy_msgsendnum"=>"6","sy_wxredpack_isopen1"=>"0","sy_wxredpack_money1"=>"1","sy_wxredpack_wishing1"=>"感谢您关注维特人才系统","sy_wxredpack_isopen2"=>"0","sy_wxredpack_money2"=>"1","sy_wxredpack_wishing2"=>"感谢您绑定weite账户","sy_wxredpack_isopen3"=>"0","sy_wxredpack_money3"=>"1","sy_wxredpack_wishing3"=>"简历创建成功,开启求职之旅吧","sy_wxredpack_isopen4"=>"0","sy_wxredpack_money4"=>"1","sy_wxredpack_wishing4"=>"祝贺您,信息完善成功","sy_zhanzhang_baidu"=>"1","sy_article_web"=>"1","sy_smtpnickname"=>"维特人才网","sy_evaluate_web"=>"1","sy_map_web"=>"1","moblie_msgnum"=>"10","ip_msgnum"=>"1000","integral_add_kecheng"=>"10","sy_company_web"=>"1","sy_resume_web"=>"1","sy_mapdir"=>"map","sy_mapdomain"=>"","sy_evaluatedomain"=>"","sy_evaluatedir"=>"evaluate","sy_articledir"=>"article","sy_articledomain"=>"","sy_job_web"=>"1","sy_jobdomain"=>"","sy_jobdir"=>"job","sy_resumedomain"=>"","sy_resumedir"=>"resume","sy_webtongji"=>"","sy_wxredpack_ip"=>"127.0.0.1","sy_wxredpack_actname1"=>"关注WEITE","sy_wxredpack_actname2"=>"绑定微信","sy_wxredpack_actname3"=>"创建简历","sy_wxredpack_actname4"=>"完善资料","sy_wxredpack_remark"=>"我是备注","sy_traindir"=>"train","sy_geetestid"=>"","sy_geetestkey"=>"","sy_pxsubject_icon"=>"data/logo/20170418/14988300042.JPG","sy_pxteacher_icon"=>"data/logo/20170418/14915901657.PNG","sy_msg_userstatus"=>"2","com_lietou_job"=>"1","dx_key"=>"785ab8c79ddfc6c4osa2","sy_indexpage"=>"5000","sy_gotocity"=>"0","sy_error_web"=>"1","sy_errordomain"=>"","sy_errordir"=>"error","integral_min_recharge"=>"100","sy_guwen"=>"data/logo/20170418/14937863721.PNG","sy_maturitytime"=>"20170418","subscribe_time"=>"1457508066","autodate"=>"20191011","reg_status"=>"1","sy_wx_sharelogo"=>"data/logo/20170418/14910751336.PNG","make_new_url"=>"../news.html","make_index_url"=>"../index.html","wx_name"=>"","reg_user_stop"=>"1","reg_com_stop"=>"0","reg_lt_stop"=>"0","reg_px_stop"=>"0","sy_msg_yqmshf"=>"2","sy_email_yqmshf"=>"2","sy_msg_getpasss"=>"1","sy_msg_hfdx"=>"1","sy_email_sqzwhf"=>"2","sy_msg_sqzwhf"=>"2","dx_user"=>"phpyun","user_wzp_link"=>"0","com_search"=>"1","sy_androidu_qcode"=>"data/logo/20170418/14705655776.PNG","sy_wx_qcode"=>"data/logo/20170418/14708405239.PNG","sy_wap_qcode"=>"data/logo/20170418/14776120371.PNG","reg_coupon"=>"0","px_subject_pay"=>"100","sy_resume_visitors"=>"0","wx_mbsqzw"=>"","wx_mbzwsh"=>"","wx_mbyqms"=>"","wx_mbjzbm"=>"","wx_mbjzsh"=>"","wx_mbcztx"=>"","sy_reg_interval"=>"0","sy_email_comwdl"=>"2","sy_email_userwdl"=>"2","sy_email_userupdate"=>"1","sy_outlinks"=>"1","sy_email_userup"=>"2","sy_hour_msgnum"=>"100","sy_msg_isopen"=>"2","warning_close_msg"=>"2","sy_msg_birthday"=>"2","integral_add_kecheng_type"=>"2","sy_msg_subjectshtg"=>"2","sy_msg_subjectshwtg"=>"2","sy_email_subjectshtg"=>"2","sy_email_subjectshwtg"=>"2","sy_email_birthday"=>"2","sy_email_birthdaycom"=>"1","sy_email_upjob"=>"2","sy_email_ltwdl"=>"2","sy_email_addjob"=>"2","sy_askdomain"=>"","sy_email_useradd"=>"2","sy_email_zphshtg"=>"2","sy_email_zphshwtg"=>"2","sy_msg_birthdaycom"=>"1","sy_msg_useradd"=>"2","sy_msg_userup"=>"2","sy_msg_addjob"=>"2","sy_msg_upjob"=>"2","sy_androidc_qcode"=>"data/logo/20170418/14715405974.PNG","sy_iosu_qcode"=>"data/logo/20170418/14716905976.PNG","sy_iosc_qcode"=>"data/logo/20170418/14718655977.PNG","sy_shenming"=>"求职过程请勿缴纳费用,谨防诈骗!若信息不实请举报。 ","sy_msg_webbirthday"=>"2","sy_email_webbirthday"=>"2","integral_px_banner_type"=>"1","integral_px_banner"=>"10","sy_web_mobile"=>"","sy_logindir"=>"login","sy_logindomain"=>"","sy_login_web"=>"1","sy_specialdir"=>"special","integral_job_top"=>"5","integral_jobtop_type"=>"2","reg_moblie"=>"0","reg_email"=>"0","sy_special_web"=>"1","sy_specialdomain"=>"","sy_regdomain"=>"","sy_regdir"=>"reg","integral_signin"=>"5","sy_autoref"=>"9","sy_autorefrand"=>"1","sy_ltmember_logo"=>"data/logo/20170418/14885797231.PNG","sy_announcement_web"=>"1","sy_announcementdomain"=>"","sy_announcementdir"=>"announcement","sy_zphdir"=>"zph","sy_once_web"=>"1","sy_oncedir"=>"once","sy_tiny_web"=>"1","sy_tinydir"=>"tiny","sy_hr_web"=>"1","sy_hrdir"=>"hr","sy_redeemdir"=>"redeem","com_xin"=>"3","sy_email_claim"=>"2","sy_maturityday"=>"10","sy_maturityfrequency"=>"10","sy_msg_partapply"=>"2","sy_webmoblie"=>"18668215192","sy_msg_recharge"=>"2","sy_email_recharge"=>"2","sy_iscsrf"=>"1","sy_email_partapply"=>"2","com_resume_partapply"=>"1","integral_partjob"=>"1","integral_partjobefresh"=>"1","integral_partjobedit"=>"10","integral_partjob_type"=>"2","integral_partjobefresh_type"=>"2","integral_partjobedit_type"=>"2","com_partjob_status"=>"1","sy_part_web"=>"1","sy_partdomain"=>"","sy_partdir"=>"part","com_recpartjob_type"=>"2","com_recpartjob"=>"5","sy_email_partshtg"=>"2","sy_email_partshwtg"=>"2","sy_msg_partshtg"=>"2","sy_msg_partshwtg"=>"2","wxpay"=>"0","sy_reg_web"=>"1","sy_email_set"=>"0","sy_reward_web"=>"1","sy_rewarddomain"=>"","sy_rewarddir"=>"reward","ask_check"=>"1","sy_job_hits"=>"","sy_day_ask_num"=>"10","sy_recommend_day_num"=>"5","sy_recommend_interval"=>"3600","sy_msg_login"=>"2","money_min_recharge"=>"0","sy_reward_tel"=>"0","sy_reward_sqnum"=>"5","sy_reward_hour"=>"48","sy_withdraw_minmoney"=>"100","sy_withdraw_money"=>"100","sy_withdraw_num"=>"1","sy_withdraw_pound"=>"1","user_state"=>"1","resume_status"=>"0","user_resume_status"=>"1","user_revise_state"=>"1","user_name"=>"1","user_work_regiser"=>"0","user_edu_regiser"=>"0","user_project_regiser"=>"0","resume_sx"=>"2","user_pic"=>"2","user_sqintegrity"=>"60","resume_create_edu"=>"1","resume_create_exp"=>"1","resume_create_project"=>"0","cachecode"=>"4274","sy_register_web"=>"1","sy_registerdomain"=>"","sy_registerdir"=>"register","sy_school_web"=>"1","sy_schooldomain"=>"","sy_schooldir"=>"school","sy_zphnet_web"=>"1","sy_zphnetdomain"=>"","sy_zphnetdir"=>"zphnet","reg_user"=>"1","reg_real_name_check"=>"0","sy_email_dy"=>"2","sy_email_vipmr"=>"2","sy_msg_dy"=>"2","sy_msg_vipmr"=>"2","sy_msg_claim"=>"2","sy_msg_chat"=>"2","sy_footer_fix"=>"1","sy_pc_jump_wap"=>"0","pic_maxsize"=>"5","file_maxsize"=>"5","pic_type"=>"jpg,png,jpeg,bmp,gif","file_type"=>"rar,zip,doc,docx,xls","is_picself"=>"1","is_picthumb"=>"1","package_data_acc"=>"2","com_vip_done"=>"0","isDayActionAllCheck"=>"0","isDayActionZeroCostCheck"=>"0","com_look"=>"","sy_member_ewm"=>"data/logo/20170418/15430335254.PNG","sy_member_skill"=>"data/logo/20170418/15397609812.JPG","once_pay_price"=>"0","sy_zph_icon"=>"data/logo/20170418/15554505938.png","sy_zphbanner_icon"=>"data/logo/20170418/15539599776.png","sy_cplogo"=>"data/logo/20170418/15559380893.png","paypack_max_recharge"=>"1","packprice_min_recharge"=>"10","sy_reg_invite"=>"5","com_logo_status"=>"2","sy_com_invoice_money"=>"100","lt_logo_status"=>"0","lt_enforce_info"=>"1","com_enforce_info"=>"1","com_free_status"=>"1","com_show_status"=>"0","com_banner_status"=>"0","joblist_top"=>"0","com_link_no"=>"3","user_integrity_eighty"=>"","resume_open_check"=>"2","rshow_photo_status"=>"0","educreate"=>"9,12","expcreate"=>"18","px_enforce_info"=>"1","px_logo_status"=>"0","px_show_status"=>"0","px_banner_status"=>"0","gq_number"=>"10","gq_task_link"=>"0","gq_info_link"=>"0","gq_fast_status"=>"1","gq_task_status"=>"1","gq_pay_price"=>"0","gq_photo_status"=>"0","moblie_codetime"=>"20","gq_refrsh_pay"=>"0","reg_name_num"=>"1","reg_name_zm"=>"1","reg_name_sp"=>"0","reg_name_han"=>"0","sy_reg_namemaxlen"=>"20","sy_reg_nameminlen"=>"6","reg_pw_num"=>"1","reg_pw_zm"=>"1","reg_pw_sp"=>"0","com_gzgzh"=>"0","com_msg_status"=>"1","com_status_search"=>"0","com_yqmb_num"=>"5","sy_couponday"=>"30","joblock"=>"0","integral_down_resume_dayprice"=>"3_20:10_15:30_10","integral_sons_num_type"=>"2","integral_chat_num"=>"5","integral_zphnet"=>"50","sy_jobssl"=>"0","sy_resumessl"=>"0","sy_partssl"=>"0","sy_companyssl"=>"0","sy_wapssl"=>"0","sy_articlessl"=>"0","sy_announcementssl"=>"0","sy_hrssl"=>"0","sy_zphssl"=>"0","sy_askssl"=>"0","sy_trainssl"=>"0","sy_lietoussl"=>"0","sy_schoolssl"=>"0","sy_evaluatessl"=>"0","sy_oncessl"=>"0","sy_tinyssl"=>"0","sy_redeemssl"=>"0","sy_mapssl"=>"0","sy_specialssl"=>"0","sy_loginssl"=>"0","sy_registerssl"=>"0","sy_rewardssl"=>"0","sy_zphnetssl"=>"0","sy_xjhlive_web"=>"1","sy_xjhlivessl"=>"0","sy_xjhlivedomain"=>"","sy_xjhlivedir"=>"xjhlive","sy_spview_web"=>"1","sy_spviewssl"=>"0","sy_spviewdomain"=>"","sy_spviewdir"=>"spview","sy_errorssl"=>"0","sy_user_change"=>"0","sy_logintime"=>"1","sy_user_visit_resume"=>"0","sy_h5_share"=>"0","sy_web_city_one"=>"","sy_web_city_two"=>"","resume_salarytype"=>"1","sy_msg_appkey"=>"","sy_msg_appsecret"=>"","sy_kh_isopen"=>"2","sy_kh_appkey"=>"","sy_kh_appsecret"=>"","sy_kh_city"=>"","sy_tyc_appkey"=>"","sy_tyc_appsecret"=>"","cert_msgtime"=>"1","sy_msg_spmsshtg"=>"2","sy_msg_spmsks"=>"2","sy_msg_yqspms"=>"2","sy_msg_userchange"=>"2","sy_dxappid"=>"","sy_dxappsecret"=>"","sy_vaptcha_vid"=>"","sy_vaptcha_key"=>"","sy_msg_spmsshwtg"=>"2","sy_msg_spmsbg"=>"2","sy_msg_crmlink"=>"2","sy_msg_crmreg"=>"2","sy_msg_crmtlogin"=>"2","sy_msg_crmtvip"=>"2","sy_msg_crmtresume"=>"2","sy_msg_logouted"=>"2","sy_email_spmsshtg"=>"2","sy_email_spmsshwtg"=>"2","sy_email_spmsbg"=>"2","sy_email_yyspms"=>"2","sy_email_logouted"=>"2","sy_chat_logo"=>"data/logo/20170418/16065312607.PNG","sy_worktime"=>"","warning_closemsg_type"=>"2","gq_photo"=>"data/logo/20170418/15741122627.png","integral_spview"=>"50","sy_updates_set"=>"1","sy_job_hb"=>"1,2,3,4,5,6,7,8,9,10,11,12","sy_closeOrder"=>"15","wx_popWin"=>"1","sy_once_totalnum"=>"0","sy_tiny_totalnum"=>"0","sy_ewm_type"=>"wap","sy_wxwap_list"=>"1","sy_admin_wmtype"=>"1","com_comment_status"=>"0","com_link_look"=>"1","com_yqmb_status"=>"0","user_msg_status"=>"0","answer_check"=>"0","answer_review_check"=>"0","sy_haibao_isopen"=>"1","com_job_reserve"=>"0","sy_reserve_refresh_interval"=>"60","sy_reserve_refresh_price"=>"1","sy_reserve_service_id"=>"","sy_msg_resumestate"=>"1","hotcom_top"=>"0","tg_back"=>"0","sy_concheck_open"=>"0","sy_job_lookfx"=>"0","sy_advice_mobilecode"=>"0","sy_login_type"=>"1","sy_shresume_applyjob"=>"0","sy_member_iconv_arr"=>array("0"=>"data/logo/20210922/16323021192988.png","1"=>"data/logo/20210922/16323021193091.png","2"=>"data/logo/20210922/16323021197184.png","3"=>"data/logo/20210922/16323021198868.png","4"=>"data/logo/20210922/16323068256222.png")
-,"sy_member_icon_arr"=>array("0"=>"data/logo/20210922/16323021198584.png","1"=>"data/logo/20210922/16323021192178.png","2"=>"data/logo/20210922/16323021192007.png","3"=>"data/logo/20210922/16323021191018.png","4"=>"data/logo/20210922/16323068259312.png")
-,"sy_rname_num"=>"10","sy_msg_lock"=>"2","sy_datacycle"=>"0","sy_resumeout_day_num"=>"0","sy_resumeout_interval"=>"0","sy_chat_limit"=>"1","sy_chat_rates"=>"3","sy_gongzhao_web"=>"1","sy_gongzhaodir"=>"gongzhao","sy_gongzhaossl"=>"0","sy_gongzhaodomain"=>"","sy_gongzhaologo"=>"data/logo/20211204/16392220947.png","sy_reg_type"=>"1","sy_comprivacy_open"=>"0","sy_privacy_open"=>"0","sy_privacy_type"=>"1","sy_privacy_callrec"=>"2")
-;
-?>
\ No newline at end of file
diff --git a/data/templates_c/0c53cfd9620c77bb7a42c2434fc6334e7ee3fe10.file.admin_comtpl.htm.php b/data/templates_c/0c53cfd9620c77bb7a42c2434fc6334e7ee3fe10.file.admin_comtpl.htm.php
deleted file mode 100644
index 76b5fdb..0000000
--- a/data/templates_c/0c53cfd9620c77bb7a42c2434fc6334e7ee3fe10.file.admin_comtpl.htm.php
+++ /dev/null
@@ -1,118 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-17 18:06:24
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\admin_comtpl.htm" */ ?>
-<?php /*%%SmartyHeaderCode:255016800d2a0dcba50-26287867%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '0c53cfd9620c77bb7a42c2434fc6334e7ee3fe10' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\admin_comtpl.htm',
- 1 => 1634883865,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '255016800d2a0dcba50-26287867',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'list' => 0,
- 'v' => 0,
- 'pytoken' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_6800d2a0df5b05_88606800',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_6800d2a0df5b05_88606800')) {function content_6800d2a0df5b05_88606800($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <link href="images/reset.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/system.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/table_form.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet"
- type="text/css" />
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="js/admin_public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
- <title>后台管理</title>
- </head>
- <body class="body_ifm">
- <div class="infoboxp">
- <div class="tty-tishi_top">
- <div class="admin_new_tip">
- <a href="javascript:;" class="admin_new_tip_close"></a>
- <a href="javascript:;" class="admin_new_tip_open" style="display:none;"></a>
- <div class="admin_new_tit"><i class="admin_new_tit_icon"></i>操作提示</div>
- <div class="admin_new_tip_list_cont">
- <div class="admin_new_tip_list">可以为企业提供个性化模板,管理员自己设计企业模板后上传到企业模板目录即可!可以设置模板价格,提供企业用户自由选择!</div>
- </div>
- </div>
- <div class="clear"></div>
- <div class="admin_new_search_box" style="padding-bottom:10px;">
- <div class="admin_new_select">
- <a href="index.php?m=admin_tpl&c=comtpladd" class="admin_new_cz_tj" style="margin-left:0px;">+ 添加模板</a>
- </div>
- </div>
- <div class="clear"></div>
- </div>
-
- <div class="tty_table-bom">
- <div class="table-list" style="overflow: hidden;">
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
- <div class="" style="float: left; width: 260px;border:1px solid #ddd; text-align: center; padding: 15px; line-height: 180%; margin-top:10px; margin-right:5px; background:#fff">
- <img width="255" height="125" border="1" alt="<?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-" src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['v']->value['pic'];?>
-">
- <br>
- <strong><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-</strong>
- <br>
- 风格目录名称:<?php echo $_smarty_tpl->tpl_vars['v']->value['url'];?>
-
- <br>
- 状态:<?php if ($_smarty_tpl->tpl_vars['v']->value['status']==1) {?>正在使用<?php } else { ?>已停止<?php }?>
- <br>
- <input name="" value="修改" type="submit" class="admin_button" onClick="location.href='index.php?m=admin_tpl&c=comtpladd&id=<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-'">
- <input name="" value="删除" type="submit" class="admin_button" onclick="layer_del('确定要删除?', 'index.php?m=admin_tpl&c=comtpldel&id=<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-');">
- </div>
- <?php } ?>
- </div>
- </div>
- </div>
- <input type="hidden" name="pytoken" id='pytoken' value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- </body>
-</html>
-<?php }} ?>
diff --git a/data/templates_c/11c4a26fe7d1c9b502850cb82316cf562855141e.file.admin_member.htm.php b/data/templates_c/11c4a26fe7d1c9b502850cb82316cf562855141e.file.admin_member.htm.php
deleted file mode 100644
index d02fb32..0000000
--- a/data/templates_c/11c4a26fe7d1c9b502850cb82316cf562855141e.file.admin_member.htm.php
+++ /dev/null
@@ -1,517 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:16:03
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\admin_member.htm" */ ?>
-<?php /*%%SmartyHeaderCode:1327667ff75537614e0-43039503%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '11c4a26fe7d1c9b502850cb82316cf562855141e' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\admin_member.htm',
- 1 => 1635727956,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '1327667ff75537614e0-43039503',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'pytoken' => 0,
- 'total' => 0,
- 'rows' => 0,
- 'key' => 0,
- 'v' => 0,
- 'source' => 0,
- 'Dname' => 0,
- 'pagenum' => 0,
- 'pages' => 0,
- 'pagenav' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff75537beb21_02710820',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff75537beb21_02710820')) {function content_67ff75537beb21_02710820($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date_format')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\modifier.date_format.php';
-?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <link href="images/reset.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/system.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/table_form.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="js/admin_public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
- <link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet">
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <title>后台管理</title>
- </head>
-
- <body class="body_ifm">
- <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['adminstyle']->value)."/member_send_email.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
- <div id="status_div" style="display:none;">
- <div>
- <form class="layui-form" action="index.php?m=admin_member&c=lock" target="supportiframe" method="post" id="lockform">
- <table cellspacing='1' cellpadding='1' class="admin_examine_table">
- <tr>
- <th width="100">锁定操作:</th>
- <td align="left">
- <div class="layui-input-block">
- <div class="admin_examine_right">
- <input name="status" id="status1" value="1" title="正常" type="radio" />
- <input name="status" id="status2" value="2" title="锁定" type="radio" />
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <th class="t_fr">锁定说明:</th>
- <td align="left"> <textarea id="alertcontent" name="lock_info" class="admin_explain_textarea"></textarea> </td>
- </tr>
- <tr>
- <td colspan='2' align="center"><input type="button" value='确认' onClick="lockform();" class="admin_examine_bth">
- <input type="button" onClick="layer.closeAll();" class="admin_examine_bth_qx" value='取消'></td>
- </tr>
- </table>
- <input type="hidden" name="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- <input name="uid" value="0" type="hidden">
- </form>
- </div>
- </div>
- <div id="status_usertype" style="display:none;">
- <div>
- <form class="layui-form" action="index.php?m=admin_member&c=userchange" target="supportiframe" method="post" id="typeform">
- <table cellspacing='1' cellpadding='1' class="admin_examine_table">
- <tr>
- <th width="80">用户名:</th>
- <td align="left">
- <div id="username"></div>
- </td>
- </tr>
- <tr>
- <th width="80">当前会员:</th>
- <td align="left">
- <div id="usertypeid"></div>
- </td>
- </tr>
- <tr>
- <th width="80">转换会员:</th>
- <td align="left">
- <div class="layui-input-block">
- <div class="">
- <input name="applyusertype" id="applyusertype" value="1" title="个人会员" type="radio" />
- <input name="applyusertype" id="applyusertype" value="2" title="企业会员" type="radio" />
- <input name="applyusertype" id="applyusertype" value="3" title="猎头会员" type="radio" />
- <input name="applyusertype" id="applyusertype" value="4" title="培训会员" type="radio" />
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <th class="t_fr">转换说明:</th>
- <td align="left"> <textarea id="statusbody" name="statusbody" class="admin_explain_textarea" style="width: 400px;"></textarea> </td>
- </tr>
- <tr>
- <td colspan='2' align="center"><input type="button" value='确认' onClick="typeform();" class="admin_examine_bth">
- <input type="button" onClick="layer.closeAll();" class="admin_examine_bth_qx" value='取消'></td>
- </tr>
- </table>
- <input type="hidden" name="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- <input name="uid" id="uid" value="0" type="hidden">
- <input name="usertype" id="usertype" value="0" type="hidden">
- </form>
- </div>
- </div>
- <div class="infoboxp">
- <div class="tty-tishi_top">
- <div class="tabs_info">
- <ul>
- <li class="curr"><a href="index.php?m=admin_member">全部会员</a></li>
- <li> <a href="index.php?m=admin_memberlog">会员日志</a></li>
- </ul>
- </div>
-
- <div class="clear"></div>
- <div class="admin_new_search_box">
- <form action="index.php" name="myform" method="get">
- <input name="m" value="admin_member" type="hidden" />
- <div class="admin_new_search_name">搜索类型:</div>
- <div class="admin_Filter_text formselect" did='dkeytype'>
- <input type="button" <?php if ($_GET['type']==''||$_GET['type']=='1') {?> value="用户名" <?php } elseif ($_GET['type']=='2') {?> value="手机号"<?php } elseif ($_GET['type']=='3') {?> value="用户ID"<?php } elseif ($_GET['type']=='4') {?> value="EMAIL" <?php }?> class="admin_Filter_but" id="bkeytype">
-
- <input type="hidden" name="type" id="keytype" <?php if ($_GET['type']==''||$_GET['type']=='1') {?> value="1" <?php } elseif ($_GET['type']=='2') {?> value="2" <?php } elseif ($_GET['type']=='3') {?> value="3" <?php } elseif ($_GET['type']=='4') {?> value="4" <?php }?>/>
- <div class="admin_Filter_text_box" style="display:none" id="dkeytype">
- <ul>
- <li>
- <a href="javascript:void(0)" onClick="formselect('1','keytype','用户名')">用户名</a>
- </li>
- <li>
- <a href="javascript:void(0)" onClick="formselect('2','keytype','手机号')">手机号</a>
- </li>
- <li>
- <a href="javascript:void(0)" onClick="formselect('3','keytype','用户ID')">用户ID</a>
- </li>
- <li>
- <a href="javascript:void(0)" onClick="formselect('4','keytype','EMAIL')">EMAIL</a>
- </li>
- </ul>
- </div>
- </div>
- <input type="text" value="" placeholder="请输入你要搜索的关键字" name='keyword' class="admin_new_text">
- <input type="submit" value="搜索" name='search' class="admin_new_bth">
- <a href="javascript:void(0)" onclick="$('.admin_screenlist_box').toggle();" class="admin_new_search_gj">高级搜索</a>
- </form>
- <?php echo $_smarty_tpl->getSubTemplate ("admin/admin_search.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
- </div>
- <div class="clear"></div>
- </div>
-
- <div class="tty_table-bom">
- <div class="admin_statistics">
- <span class="tty_sjtj_color">数据统计:</span>
- <em class="admin_statistics_s">总数:<a href="index.php?m=admin_member" class="ajaxall">0</a></em>
- <em class="admin_statistics_s">已锁定:<a href="index.php?m=admin_member&status=2" class="StatusNum3">0</a></em>
- 搜索结果:<span><?php echo $_smarty_tpl->tpl_vars['total']->value;?>
-</span>;
- </div>
- <div class="clear"></div>
-
- <div class="table-list">
- <div class="admin_table_border">
- <iframe id="supportiframe" name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
- <form action="index.php?m=admin_member&c=del" target="supportiframe" name="myform" method="post" id='myform'>
- <input type="hidden" name="pytoken" id='pytoken' value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- <table width="100%">
- <thead>
- <tr class="admin_table_top">
- <th style="width:20px;">
- <label for="chkall"><input type="checkbox" id='chkAll' onclick='CheckAll(this.form)' /></label>
- </th>
- <th align="left">
- <?php if ($_GET['t']=="uid"&&$_GET['order']=="asc") {?>
- <a href="index.php?m=admin_member&order=desc&t=uid">用户ID<img src="images/sanj.jpg" /></a>
- <?php } else { ?>
- <a href="index.php?m=admin_member&order=asc&t=uid">用户ID<img src="images/sanj2.jpg" /></a>
- <?php }?>
- </th>
- <th align="left">用户名/账号名称</th>
- <th align="left">当前身份</th>
- <th align="left">手机号/邮箱</th>
- <th align="left">
- <?php if ($_GET['t']=="login_date"&&$_GET['order']=="asc") {?>
- <a href="index.php?m=admin_member&order=desc&t=login_date">登录/注册<img src="images/sanj.jpg" /></a>
- <?php } else { ?>
- <a href="index.php?m=admin_member&order=asc&t=login_date">登录/注册<img src="images/sanj2.jpg" /></a>
- <?php }?>
- </th>
- <th align="left">来源</th>
- <th align="left">站点</th>
- <th>状态</th>
- <th width="150">操作</th>
- </tr>
- </thead>
- <tbody>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['rows']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <tr <?php if (($_smarty_tpl->tpl_vars['key']->value+1)%2=='0') {?>class="admin_com_td_bg" <?php }?> id="list<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-">
- <td width="20" align="center"><input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-" class="check_all" name='del[]' onclick='unselectall()' rel="del_chk" /></td>
- <td align="left" class="td1" style="width:60px;">
- <?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-
- </td>
- <td align="left">
- <?php if ($_smarty_tpl->tpl_vars['v']->value['usertype']) {?>
- <?php if ($_smarty_tpl->tpl_vars['v']->value['usertype']==1) {?>
- <a href="javascript:void(0)" onclick="toMember('index.php?m=user_member&c=Imitate&uid=<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-','<?php echo $_smarty_tpl->tpl_vars['v']->value['usertype'];?>
-')" class="admin_cz_sc"><?php echo $_smarty_tpl->tpl_vars['v']->value['username'];?>
-</a>
- <?php } elseif ($_smarty_tpl->tpl_vars['v']->value['usertype']==2) {?>
- <a href="javascript:void(0)" onclick="toMember('index.php?m=admin_company&c=Imitate&uid=<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-','<?php echo $_smarty_tpl->tpl_vars['v']->value['usertype'];?>
-')" class="admin_cz_sc"><?php echo $_smarty_tpl->tpl_vars['v']->value['username'];?>
-</a>
- <?php } elseif ($_smarty_tpl->tpl_vars['v']->value['usertype']==3) {?>
- <a href="javascript:void(0)" onclick="toMember('index.php?m=admin_lt_member&c=Imitate&uid=<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-','<?php echo $_smarty_tpl->tpl_vars['v']->value['usertype'];?>
-')" class="admin_cz_sc"><?php echo $_smarty_tpl->tpl_vars['v']->value['username'];?>
-</a>
- <?php } elseif ($_smarty_tpl->tpl_vars['v']->value['usertype']==4) {?>
- <a href="javascript:void(0)" onclick="toMember('index.php?m=train_member&c=Imitate&uid=<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-','<?php echo $_smarty_tpl->tpl_vars['v']->value['usertype'];?>
-')" class="admin_cz_sc"><?php echo $_smarty_tpl->tpl_vars['v']->value['username'];?>
-</a>
- <?php }?>
- <?php } else { ?>
- <?php echo $_smarty_tpl->tpl_vars['v']->value['username'];?>
-
- <?php }?>
- <?php if ($_smarty_tpl->tpl_vars['v']->value['pid']) {?>
- <a href="javascript:void(0)" class="job_name_all" v="子账号"><img src="images/bg_wechat_help.png"></a>
- <?php }?>
- <?php if ($_smarty_tpl->tpl_vars['v']->value['countname']) {?>
- <div class="mt5">
- <?php echo $_smarty_tpl->tpl_vars['v']->value['countname'];?>
-
- </div>
- <?php }?>
- </td>
- <td align="left"><?php if ($_smarty_tpl->tpl_vars['v']->value['usertype']) {
-if ($_smarty_tpl->tpl_vars['v']->value['usertype']==1) {?>个人会员<?php } elseif ($_smarty_tpl->tpl_vars['v']->value['usertype']==2) {?>企业会员<?php } elseif ($_smarty_tpl->tpl_vars['v']->value['usertype']==3) {?>猎头会员<?php } elseif ($_smarty_tpl->tpl_vars['v']->value['usertype']==4) {?>培训会员<?php }?>
- <?php if ($_smarty_tpl->tpl_vars['v']->value['pid']<1) {?>
- <div class="mt5">
- <a href="javascript:;" onclick="checkusertype('<?php echo $_smarty_tpl->tpl_vars['v']->value['pid'];?>
-','<?php echo $_smarty_tpl->tpl_vars['v']->value['moblie'];?>
-','<?php echo $_smarty_tpl->tpl_vars['v']->value['username'];?>
-','<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-','<?php echo $_smarty_tpl->tpl_vars['v']->value['usertype'];?>
-');" class="admin_cz_sc">转换身份</a>
- </div>
- <?php }?>
- <?php }?>
- </td>
-
- <td align="left">
- <div>
- <span class="admin_new_sj"><?php echo $_smarty_tpl->tpl_vars['v']->value['moblie'];?>
-</span>
- </div>
- <div>
- <span class="admin_new_yx"><?php echo $_smarty_tpl->tpl_vars['v']->value['email'];?>
-</span>
- </div>
-
- </td>
-
- <td class="td" align="left">
- <div><?php if ($_smarty_tpl->tpl_vars['v']->value['login_date']!='') {
-echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['v']->value['login_date'],"%Y-%m-%d %H:%M");?>
-
- <?php } else { ?><font color="#FF0000">从未登录</font>
- <?php }?></div>
- <div><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['v']->value['reg_date'],"%Y-%m-%d %H:%M");?>
-</div>
- </td>
- <td class="td" align="left"><?php echo $_smarty_tpl->tpl_vars['source']->value[$_smarty_tpl->tpl_vars['v']->value['source']];?>
-</td>
- <td class="td" align="left">
- <div><?php echo $_smarty_tpl->tpl_vars['Dname']->value[$_smarty_tpl->tpl_vars['v']->value['did']];?>
-</div>
- <div class="mt5">
- <a href="javascript:;" onclick="checksite('<?php echo $_smarty_tpl->tpl_vars['v']->value['username'];?>
-','<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-','index.php?m=admin_member&c=checksitedid');" class="admin_cz_sc">重新分配</a>
- </div>
- </td>
- <td align="center"><?php if ($_smarty_tpl->tpl_vars['v']->value['status']=='1') {?><span class="admin_com_Audited">已审核</span><?php } elseif ($_smarty_tpl->tpl_vars['v']->value['status']=='2') {?><span class="admin_com_Lock">已锁定</span><?php if ($_smarty_tpl->tpl_vars['v']->value['lock_info']) {?><a href="javascript:;" pid="<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-" status="<?php echo $_smarty_tpl->tpl_vars['v']->value['status'];?>
-" class="admin_cz_sc status">查看说明</a><?php }
-}?>
- </td>
-
- <td align="center">
- <a href="javascript:;" class="admin_new_c_bth admin_new_c_bthsd status" pid="<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-" status="<?php echo $_smarty_tpl->tpl_vars['v']->value['status'];?>
-">锁定</a>
- <a href="index.php?m=admin_member&c=edit&uid=<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-" class="admin_new_c_bth admin_n_sc mt5">修改</a><br>
- <a href="javascript:void(0);" onClick="resetpw('<?php echo $_smarty_tpl->tpl_vars['v']->value['username'];?>
-','<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-');" class="admin_new_c_bth admin_new_c_mmcz mt5">密码</a>
- <a href="javascript:void(0)" onClick="layer_del('确定要删除?', 'index.php?m=admin_member&c=del&del=<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-');" class="admin_new_c_bth admin_new_c_bth_sc">删除</a>
- </td>
- </tr>
- <?php } ?>
- <tr>
- <td align="center"><label for="chkall2"><input type="checkbox" id='chkAll2' onclick='CheckAll2(this.form)' /></label></td>
- <td colspan="12"><label for="chkAll2">全选</label>
- <input class="admin_button" type="button" name="delsub" value="删除所选" onclick="return really('del[]')" />
- </td>
- </tr>
- <?php if ($_smarty_tpl->tpl_vars['total']->value>$_smarty_tpl->tpl_vars['config']->value['sy_listnum']) {?>
- <tr>
- <?php if ($_smarty_tpl->tpl_vars['pagenum']->value==1) {?>
- <td colspan="3"> 从 1 到 <?php echo $_smarty_tpl->tpl_vars['config']->value['sy_listnum'];?>
- ,总共 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
- 条</td>
- <?php } elseif ($_smarty_tpl->tpl_vars['pagenum']->value>1&&$_smarty_tpl->tpl_vars['pagenum']->value<$_smarty_tpl->tpl_vars['pages']->value) {?>
- <td colspan="3"> 从 <?php echo ($_smarty_tpl->tpl_vars['pagenum']->value-1)*$_smarty_tpl->tpl_vars['config']->value['sy_listnum']+1;?>
- 到 <?php echo $_smarty_tpl->tpl_vars['pagenum']->value*$_smarty_tpl->tpl_vars['config']->value['sy_listnum'];?>
- ,总共 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
- 条</td>
- <?php } elseif ($_smarty_tpl->tpl_vars['pagenum']->value==$_smarty_tpl->tpl_vars['pages']->value) {?>
- <td colspan="3"> 从 <?php echo ($_smarty_tpl->tpl_vars['pagenum']->value-1)*$_smarty_tpl->tpl_vars['config']->value['sy_listnum']+1;?>
- 到 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
- ,总共 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
- 条</td>
- <?php }?>
- <td colspan="10" class="digg"><?php echo $_smarty_tpl->tpl_vars['pagenav']->value;?>
-</td>
- </tr>
- <?php }?>
- </tbody>
- </table>
-
- </form>
- </div>
- </div>
-
-
-
- </div>
- </div>
- <?php echo '<script'; ?>
- type="text/javascript">
- layui.use(['layer', 'form'], function() {
- var layer = layui.layer,
- form = layui.form,
- $ = layui.$;
- });
-
- $(document).ready(function(){
- $(".job_name_all").hover(function(){
- var pid=$(this).attr('v');
- if($.trim(pid)!=''){
- layer.tips(pid, this, {guide: 1, style: ['background-color:#5EA7DC; color:#fff;top:-7px', '#5EA7DC']});
- $(".xubox_layer").addClass("xubox_tips_border");
- }
- },function(){
- layer.closeAll('tips');
- });
- $.get("index.php?m=admin_member&c=memNum", function(data) {
- var datas = eval('(' + data + ')');
- if(datas.memAllNum) {
- $('.ajaxall').html(datas.memAllNum);
- }
- if(datas.memStatusNum3) {
- $('.StatusNum3').html(datas.memStatusNum3);
- }
- });
- $(".status").click(function() {
- $("input[name=pid]").val($(this).attr("pid"));
- var uid = $(this).attr("pid");
- var status = $(this).attr("status");
- $("#status" + status).attr("checked", true);
- layui.use(['form'], function() {
- var form = layui.form;
- form.render();
- });
- $("input[name=uid]").val(uid);
- $.get("index.php?m=admin_member&c=lockinfo&uid=" + uid, function(msg) {
- $("#alertcontent").val($.trim(msg));
- status_div('锁定用户', '380', '240');
- });
- });
- });
- function lockform(){
- loadlayer();
- $('#lockform').submit()
- }
- function typeform(){
- var usertype=$("#usertype").val();
- var applyusertype=$('input[name="applyusertype"]:checked').val();
- if(applyusertype>0){
- if(applyusertype==usertype){
- parent.layer.msg('选择转换类型与当前类型一致,无须转换!', 2, 8);return false;
- }
- }else{
- parent.layer.msg('请选择转换类型!', 2, 8);return false;
- }
- loadlayer();
- $('#typeform').submit()
- }
- function statusform(){
- loadlayer();
- $('#statusform').submit()
- }
-
- function resetpw(uname,uid){
- var pytoken = $('#pytoken').val();
- var pwcf = parent.layer.confirm("确定要重置密码吗?",function(){
- $.get("index.php?m=admin_member&c=reset_pw&uid="+uid+"&pytoken="+pytoken,function(data){
- parent.layer.close(pwcf);
- loadlayer();
- parent.layer.alert("用户:"+uname+" 密码已经重置为123456!", 9);
- parent.layer.closeAll('loading');
-
- });
- });
- }
- function checkusertype(pid,moblie,username,uid,usertype){
- if(pid>0){
- parent.layer.msg('子账号不能转换身份!', 2, 8);return false;
- }else{
- if(usertype==1){
- $("#usertypeid").html('个人会员');
- }else if(usertype==2){
- $("#usertypeid").html('企业会员');
- }else if(usertype==3){
- $("#usertypeid").html('猎头会员');
- }else if(usertype==4){
- $("#usertypeid").html('培训会员');
- }
- $("input[name=uid]").val(uid);
- $("input[name=moblie]").val(moblie);
- $("input[name=usertype]").val(usertype);
- $("#username").html(username);
- $.layer({
- type : 1,
- title :'转换身份',
- closeBtn : [0 , true],
- border : [10 , 0.3 , '#000', true],
- area : ['550px','300px'],
- page : {dom :"#status_usertype"}
- });
-
- }
-
- }
- function toMember(url, usertype) {
- if (usertype && usertype!='0') {
- window.open(url);
- }
- }
-
- <?php echo '</script'; ?>
->
- <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['adminstyle']->value)."/checkdomain.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
- </body>
-
-</html><?php }} ?>
diff --git a/data/templates_c/13a4aad0a34df68d47f0e3bd4cdba4250206e0d0.file.verify_js.htm.php b/data/templates_c/13a4aad0a34df68d47f0e3bd4cdba4250206e0d0.file.verify_js.htm.php
deleted file mode 100644
index fe9052f..0000000
--- a/data/templates_c/13a4aad0a34df68d47f0e3bd4cdba4250206e0d0.file.verify_js.htm.php
+++ /dev/null
@@ -1,63 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:09:55
- compiled from "E:\ishangstudywebs\zhaopin\app\template\default\verify\verify_js.htm" */ ?>
-<?php /*%%SmartyHeaderCode:2091867ff73e3637560-10265332%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '13a4aad0a34df68d47f0e3bd4cdba4250206e0d0' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\default\\verify\\verify_js.htm',
- 1 => 1634883836,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '2091867ff73e3637560-10265332',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff73e363ea27_42396038',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff73e363ea27_42396038')) {function content_67ff73e363ea27_42396038($_smarty_tpl) {?><?php if ($_smarty_tpl->tpl_vars['config']->value['code_kind']==3) {?>
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/geetest/gt.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/geetest/pc.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type="text/javascript"><?php echo '</script'; ?>
->
-<?php } elseif ($_smarty_tpl->tpl_vars['config']->value['code_kind']==4) {?>
-<?php echo '<script'; ?>
- src="https://cdn.dingxiang-inc.com/ctu-group/captcha-ui/index.js"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
->var dxappid = "<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_dxappid'];?>
-";<?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/dingxiang/pc.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type="text/javascript"><?php echo '</script'; ?>
->
-<?php } elseif ($_smarty_tpl->tpl_vars['config']->value['code_kind']==5) {?>
-<?php echo '<script'; ?>
- src="https://v.vaptcha.com/v3.js"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
->var vaptchaid = "<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_vaptcha_vid'];?>
-";<?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/vaptcha/pc.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type="text/javascript"><?php echo '</script'; ?>
->
-<?php }?><?php }} ?>
diff --git a/data/templates_c/1c4998f09b9e4bb1ce0819e8ef1283198b6a149f.file.admin_member_comadd.htm.php b/data/templates_c/1c4998f09b9e4bb1ce0819e8ef1283198b6a149f.file.admin_member_comadd.htm.php
deleted file mode 100644
index ea1cef8..0000000
--- a/data/templates_c/1c4998f09b9e4bb1ce0819e8ef1283198b6a149f.file.admin_member_comadd.htm.php
+++ /dev/null
@@ -1,459 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-17 15:25:34
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\admin_member_comadd.htm" */ ?>
-<?php /*%%SmartyHeaderCode:26386800acee3de5d1-19427020%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '1c4998f09b9e4bb1ce0819e8ef1283198b6a149f' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\admin_member_comadd.htm',
- 1 => 1637140097,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '26386800acee3de5d1-19427020',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'get_info' => 0,
- 'cache' => 0,
- 'v' => 0,
- 'row' => 0,
- 'rating_list' => 0,
- 'pytoken' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_6800acee419874_07611079',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_6800acee419874_07611079')) {function content_6800acee419874_07611079($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <link href="images/reset.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/system.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/table_form.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="js/admin_public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/ueditor/ueditor.config.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/ueditor/ueditor.all.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- language="javascript">
- function CheckMember() {
- var cionly = $.trim($("#cionly").val());
- var username = $("#username").val();
- if(username == '') {
- layer.msg('请输入用户名!', 2, 8);return false;
- }
- if($("input[name='password']").val() == '') {
- layer.msg('请输入密码!', 2, 8);return false;
- }
- if($("input[name='name']").val() == '') {
- layer.msg('请输入企业全称!', 2, 8);return false;
- }
- if($("#hy").val() == '') {
- layer.msg('请选择从事行业!', 2, 8);return false;
- }
- if($("#pr").val() == '') {
- layer.msg('请选择企业性质!', 2, 8);return false;
- }
- if($("#mun").val() == '') {
- layer.msg('请选择企业规模!', 2, 8);return false;
- }
- if(cionly=='1'){
- if($("#provinceid").val()==""){
- layer.msg('请选择所在地!',2,8);return false;
- }
- }else{
- if($("#cityid").val() == '') {
- layer.msg('请选择所在地!', 2, 8);return false;
- }
- }
-
- if($("input[name='address']").val() == '') {
- layer.msg('公司地址不能为空!', 2, 8);return false;
- }
- if($("input[name='linkman']").val() == '') {
- layer.msg('请输入联系人!', 2, 8);return false;
- }
- if($("input[name='moblie']").val() == '') {
- layer.msg('联系手机不能为空!', 2, 8);return false;
- } else {
- var obj = $("input[name='moblie']").val();
- if(isjsMobile(obj) == false) {
- layer.msg('联系手机格式错误!', 2, 8);return false;
- }
- }
- var obj = $("input[name='email']").val();
- var myreg = /^([a-zA-Z0-9\-]+[_|\_|\.]?)*[a-zA-Z0-9\-]+@([a-zA-Z0-9\-]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/;
- if(obj != "" && !myreg.test(obj)) {
- layer.msg('联系邮箱格式错误!', 2, 8);return false;
- }
- if(editor.getContent()==''){
- layer.msg('请输入企业简介!', 2, 8);return false;
- }
- if(!$("input[name='rating_name']:checked ").val()) {
- layer.msg('请选择会员套餐!', 2, 8);return false;
- }
- if($("input[name='sendmsg']:checked ").val()&&$("input[name='moblie']").val() == '') {
- layer.msg('请输入联系手机!', 2, 8);return false;
- }
- if($("input[name='sendemail']:checked ").val()&&$("input[name='email']").val() == '') {
- layer.msg('请输入联系邮箱!', 2, 8);return false;
- }
- loadlayer();
- }
- <?php echo '</script'; ?>
->
- <title>后台管理</title>
- </head>
-
- <body class="body_ifm">
- <div class="infoboxp">
-
- <div class="clear"></div>
-
- <div class="tty-tishi_top">
- <div style="padding:0px 0 20px 0;">
- <iframe id="supportiframe" name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
- <form name="myform" <?php if ($_smarty_tpl->tpl_vars['get_info']->value['type']=='') {?>target="supportiframe" <?php }?> action="index.php?m=admin_company&c=add" onSubmit="return CheckMember();" method="post" class="layui-form" autocomplete="off">
- <div>
- <div class="admin_bold_box">
- <div class="admin_bold">会员信息</div>
- </div>
- </div>
- <div class="admin_add_list">
- <div class="admin_add_list_name">
- 用 户 名
- </div>
- <div class="admin_add_list_right"><input type="text" value="" name="username" class="layui-input t_w480" onblur="check_username();" id="username"> </div>
- </div>
- <div class="admin_add_list">
- <div class="admin_add_list_name">设置密码</div>
- <div class="admin_add_list_right"><input type="password" value="" name="password" class="layui-input t_w480" s>
- <font color="gray"></font>
- </div>
- </div>
- <div style="margin-top: 24px;">
- <div class="admin_bold_box">
- <div class="admin_bold">企业信息</div>
- </div>
- </div>
- <div class="admin_add_list">
- <div class="admin_add_list_name">企业全称</div>
- <div class="admin_add_list_right">
- <input type="text" value="" name="name" onblur="check_company_name();" id="company_name" class="layui-input t_w480">
- <font color="gray"></font>
- </div>
- </div>
- <div class="admin_add_list">
- <div class="admin_add_list_name">简称</div>
- <div class="admin_add_list_right">
- <input type="text" value="" name="shortname" class="layui-input t_w480">
- <font color="gray"></font>
- </div>
- </div>
- <div class="admin_add_list">
- <div class="admin_add_list_name">从事行业</div>
-
- <div class="admin_add_list_right">
- <div class="layui-input-block">
- <div class="layui-input-inline t_w480">
- <select name="hy" id="hy" lay-verify="" >
- <option value=''>请选择</option>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['cache']->value['industry_index']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
-"><?php echo $_smarty_tpl->tpl_vars['cache']->value['industry_name'][$_smarty_tpl->tpl_vars['v']->value];?>
-</option>
- <?php } ?>
- </select>
- </div>
- </div>
- </div>
- </div>
- <div class="admin_add_list">
- <div class="admin_add_list_name">企业性质</div>
-
- <div class="admin_add_list_right">
- <div class="layui-input-block">
- <div class="layui-input-inline t_w480">
- <select name="pr" id="pr" lay-verify="" >
- <option value=''>请选择</option>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['cache']->value['comdata']['job_pr']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
-"><?php echo $_smarty_tpl->tpl_vars['cache']->value['comclass_name'][$_smarty_tpl->tpl_vars['v']->value];?>
-</option>
- <?php } ?>
- </select>
- </div>
- </div>
- </div>
- </div>
- <div class="admin_add_list">
- <div class="admin_add_list_name">企业规模</div>
-
- <div class="admin_add_list_right">
- <div class="layui-input-block">
- <div class="layui-input-inline t_w480">
- <select name="mun" id="mun" lay-verify="" >
- <option value=''>请选择</option>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['cache']->value['comdata']['job_mun']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
-" ><?php echo $_smarty_tpl->tpl_vars['cache']->value['comclass_name'][$_smarty_tpl->tpl_vars['v']->value];?>
- </option>
- <?php } ?>
- </select>
- </div>
- </div>
- </div>
- </div>
- <div class="admin_add_list">
- <div class="admin_add_list_name">所在地</div>
- <input type="hidden" id="cionly" name="cionly" value="<?php if (empty($_smarty_tpl->tpl_vars['cache']->value['city_type'])) {?>1<?php }?>">
- <div class="admin_add_list_right">
- <div class="">
- <div class="layui-input-block">
- <div class="layui-input-inline t_w157">
- <select name="provinceid" id="provinceid" lay-filter="citys">
- <option value="">请选择</option>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['j'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['cache']->value['city_index']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['j']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
-"><?php echo $_smarty_tpl->tpl_vars['cache']->value['city_name'][$_smarty_tpl->tpl_vars['v']->value];?>
-</option>
- <?php } ?>
- </select>
- </div>
-
- <div class="layui-input-inline t_w157">
- <select name="cityid" lay-filter="citys" id="cityid">
- <option value="">请选择</option>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['j'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['cache']->value['city_type'][$_smarty_tpl->tpl_vars['row']->value['provinceid']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['j']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
-"><?php echo $_smarty_tpl->tpl_vars['cache']->value['city_name'][$_smarty_tpl->tpl_vars['v']->value];?>
-</option>
- <?php } ?>
- </select>
- </div>
-
- <div class="layui-input-inline t_w157">
- <select name="three_cityid" lay-filter="three_cityid" id="three_cityid">
- <option value="">请选择</option>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['j'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['cache']->value['city_type'][$_smarty_tpl->tpl_vars['row']->value['cityid']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['j']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
-"><?php echo $_smarty_tpl->tpl_vars['cache']->value['city_name'][$_smarty_tpl->tpl_vars['v']->value];?>
-</option>
- <?php } ?>
- </select>
- </div>
-
- </div>
- </div>
- </div>
- </div>
- <div class="admin_add_list">
- <div class="admin_add_list_name">公司地址</div>
- <div class="admin_add_list_right">
- <input type="text" value="" name="address" class="layui-input t_w480">
- <font color="gray"></font>
- </div>
- </div>
- <div class="admin_add_list">
- <div class="admin_add_list_name">联系人</div>
- <div class="admin_add_list_right">
- <input type="text" value="" name="linkman" class="layui-input t_w480">
- <font color="gray"></font>
- </div>
- </div>
-
- <div class="admin_add_list">
- <div class="admin_add_list_name">联系手机</div>
- <div class="admin_add_list_right">
- <input type="text" value="" name="moblie" class="layui-input t_w480" onkeyup="this.value=this.value.replace(/[^0-9-]/g,'')">
- <font color="gray"></font>
- </div>
- </div>
- <div class="admin_add_list">
- <div class="admin_add_list_name">固定电话</div>
- <div class="admin_add_list_right">
- <div class="layui-input-inline">
- <input type="text" id="areacode" name="areacode" class="tty_input" placeholder="如:0527" maxlength="7" style="width:100px;" />
- <input type="text" placeholder="固定电话" id="telphone" class="tty_input" name='telphone' maxlength="8" style="width:218px;" />
- <input type="text" placeholder="分机号" id="exten" class="tty_input" name='exten' maxlength="4" style="width:100px;" />
- <font color="gray"></font>
- </div>
- </div>
- </div>
- <div class="admin_add_list">
- <div class="admin_add_list_name">邮箱</div>
- <div class="admin_add_list_right"><input type="text" value="" name="email" class="layui-input t_w480">
- <font color="gray"></font>
- </div>
- </div>
- <div class="admin_add_list">
- <div class="admin_add_list_name">企业简介</div>
- <div class="admin_add_list_right"><?php echo '<script'; ?>
- id="myEditor" name="content" type="text/plain" style="width:480px;height:250px;"><?php echo '</script'; ?>
->
- </div>
- </div>
- <div class="admin_add_list">
- <div class="admin_add_list_name"> 消息通知</div>
- <div class="admin_add_list_right" style="padding-top:5px;">
- <div class="layui-input-block">
- <input type="checkbox" name="sendmsg" value="1" title="发送短信" lay-skin="primary">
- <input type="checkbox" name="sendemail" value="1" title="发送邮件" lay-skin="primary">
- </div>
- </div>
- </div>
- <div class="admin_add_list">
- <div class="admin_add_list_name"> <input type="hidden" id="status_1" name="status" value="1">
- </div>
- </div>
-
- <div style="margin-top: 24px;">
- <div class="admin_bold_box">
- <div class="admin_bold"><?php echo $_smarty_tpl->tpl_vars['config']->value['integral_pricename'];?>
-套餐</div>
- </div>
- </div>
- <div class="admin_add_list">
- <div class="admin_add_list_name">赠送<?php echo $_smarty_tpl->tpl_vars['config']->value['integral_pricename'];?>
-数量</div>
- <div class="admin_add_list_right">
- <input type="text" value="" name="integral" class="layui-input t_w480" onkeyup="this.value=this.value.replace(/[^0-9-]/g,'')">
- <font color="gray"></font>
- </div>
- </div>
- <div class="admin_add_list">
- <div class="admin_add_list_name">会员套餐</div>
- <div class="admin_add_list_right">
- <div class="layui-input-block">
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['rating_list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
- <input type="radio" name="rating_name" value="<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" title="<?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-" <?php if ($_smarty_tpl->tpl_vars['config']->value['com_rating']==$_smarty_tpl->tpl_vars['v']->value['id']) {?>checked<?php }?>> <?php } ?>
- </div>
- </div>
- </div>
-
- <div class="admin_add_list">
-
- <input class="tty_sub" type="submit" name="submit" value=" 添 加 " />
- <input class="tty_cz" type="reset" name="reset" value=" 重 置 " />
-
- </div>
-
- <input type="hidden" name="pytoken" id="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- <input type="hidden" name="type" value="<?php echo $_smarty_tpl->tpl_vars['get_info']->value['type'];?>
-">
- </form>
-
- </div>
- </div>
- </div>
-
- <?php echo '<script'; ?>
- language=javascript src='<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/data/plus/city.cache.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-'><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- language=javascript src='<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/city.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-'><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- type="text/javascript">
- var weburl="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-";
- var form ,url = weburl+"/index.php?m=ajax&c=get_city_option";
-
- layui.use(['layer', 'form'], function() {
- var form = layui.form,
- laydate = layui.laydate,
- $ = layui.$;
- });
-
-
- var editor = UE.getEditor('myEditor', {
- toolbars : [ [ 'Bold', 'italic', 'underline', 'removeformat',
- '|', 'justifyleft', 'justifycenter', 'justifyright',
- 'insertorderedlist', 'insertunorderedlist' ] ],
- wordCount : false,
- elementPathEnabled : false,
- initialFrameHeight : 200
- });
- <?php echo '</script'; ?>
->
- </body>
-</html><?php }} ?>
diff --git a/data/templates_c/1da5f3b8d4305ec58657ab7e24ce3078930c687c.file.backtop.htm.php b/data/templates_c/1da5f3b8d4305ec58657ab7e24ce3078930c687c.file.backtop.htm.php
deleted file mode 100644
index cc0649b..0000000
--- a/data/templates_c/1da5f3b8d4305ec58657ab7e24ce3078930c687c.file.backtop.htm.php
+++ /dev/null
@@ -1,75 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:09:55
- compiled from "E:\ishangstudywebs\zhaopin\app\template\default\backtop.htm" */ ?>
-<?php /*%%SmartyHeaderCode:3187067ff73e360b023-76244440%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '1da5f3b8d4305ec58657ab7e24ce3078930c687c' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\default\\backtop.htm',
- 1 => 1634883842,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '3187067ff73e360b023-76244440',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'style' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff73e360cb80_69589343',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff73e360cb80_69589343')) {function content_67ff73e360cb80_69589343($_smarty_tpl) {?><?php echo '<script'; ?>
->
- function goTopEx(){
- var obj=document.getElementById("goTopBtn");
- function getScrollTop(){
- return document.documentElement.scrollTop;
- }
- function setScrollTop(value){
- document.documentElement.scrollTop=value;
- }
- window.onscroll=function(){getScrollTop()>0?obj.style.display="":obj.style.display="none";}
- obj.onclick=function(){
- var goTop=setInterval(scrollMove,10);
- function scrollMove(){
- setScrollTop(getScrollTop()/1.1);
- if(getScrollTop()<1)clearInterval(goTop);
- }
- }
- }
-<?php echo '</script'; ?>
->
-<div class="clear"></div>
-<div id="goTopBtn" class="png none" ><img border=0 src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/images/lanren_top.png" class="png"></div>
-<?php echo '<script'; ?>
- type=text/javascript>goTopEx();<?php echo '</script'; ?>
->
-<style>
-#goTopBtn {
- POSITION: fixed;
- TEXT-ALIGN: center;
- WIDTH: 47px;
- BOTTOM:3px;
- HEIGHT: 78px;
- FONT-SIZE: 12px;
- CURSOR: pointer;
- RIGHT: 40px;
- _position: absolute;
- _right: 40;
- _position:absolute;
- _bottom:auto;
- _top:expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||15)-(parseInt(this.currentStyle.marginBottom,10)||15)));
- _background:url(<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/images/lanren_top.png) no-repeat
-}
-*html{
-background-image:url(about:blank);
-background-attachment:fixed;
-}
-</style><?php }} ?>
diff --git a/data/templates_c/244e9855ebbf46b76c35cc130280718204a203b7.file.search.htm.php b/data/templates_c/244e9855ebbf46b76c35cc130280718204a203b7.file.search.htm.php
deleted file mode 100644
index 744b693..0000000
--- a/data/templates_c/244e9855ebbf46b76c35cc130280718204a203b7.file.search.htm.php
+++ /dev/null
@@ -1,3133 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-17 11:04:44
- compiled from "E:\ishangstudywebs\zhaopin\app\template\default\job\search.htm" */ ?>
-<?php /*%%SmartyHeaderCode:2181468006fcc639809-47382287%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '244e9855ebbf46b76c35cc130280718204a203b7' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\default\\job\\search.htm',
- 1 => 1640333832,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '2181468006fcc639809-47382287',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'title' => 0,
- 'keywords' => 0,
- 'description' => 0,
- 'style' => 0,
- 'config' => 0,
- 'lunbo' => 0,
- 'finder' => 0,
- 'key' => 0,
- 'v' => 0,
- 'uid' => 0,
- 'usertype' => 0,
- 'paras' => 0,
- 'jobkeyword' => 0,
- 'keylist' => 0,
- 'job_index' => 0,
- 'job_name' => 0,
- 'job_type' => 0,
- 'city_name' => 0,
- 'city_type' => 0,
- 'tid' => 0,
- 'city_index' => 0,
- 'pid' => 0,
- 'cid' => 0,
- 'comdata' => 0,
- 'comclass_name' => 0,
- 'com_sex' => 0,
- 'j' => 0,
- 'industry_name' => 0,
- 'industry_index' => 0,
- 'uptime' => 0,
- 'member' => 0,
- 'wxtz_tips' => 0,
- 'zd_list' => 0,
- 'useridjob' => 0,
- 'waflist' => 0,
- 'lookJobIds' => 0,
- 'job_list' => 0,
- 'favjob' => 0,
- 'total' => 0,
- 'pagenav' => 0,
- 'totalshow' => 0,
- 'adlist_7' => 0,
- 'recNum' => 0,
- 'blist' => 0,
- 'hotjoblist' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_68006fcc7ecc56_37562184',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_68006fcc7ecc56_37562184')) {function content_68006fcc7ecc56_37562184($_smarty_tpl) {?><?php if (!is_callable('smarty_function_url')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\function.url.php';
-if (!is_callable('smarty_function_listurl')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\function.listurl.php';
-if (!is_callable('smarty_function_formatpicurl')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\function.formatpicurl.php';
-?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
- <title><?php echo $_smarty_tpl->tpl_vars['title']->value;?>
-</title>
- <meta name="keywords" content="<?php echo $_smarty_tpl->tpl_vars['keywords']->value;?>
-" />
- <meta name="description" content="<?php echo $_smarty_tpl->tpl_vars['description']->value;?>
-" />
- <link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/style/job.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type="text/css" />
- <link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/style/css.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type="text/css" />
- <link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/style/class.public.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type="text/css" />
-</head>
-
-<body class="body_bg">
- <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/header.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
- <div class="yun_jobbody">
- <div class="yun_content">
- <div class="current_Location com_current_Location png none">
- <div class="fl">您当前的位置: <a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-">首页</a> > <span>找工作</span> </div>
- </div>
-
- <div class="clear"></div>
- <!-- 广告位放这-->
- <?php $_smarty_tpl->tpl_vars["lunbo"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["lunbo"]->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
-global $db,$db_config,$config;$AdArr=array();$paramer=array();$attr=array("classid"=>"507","item"=>"\"lunbo\"","key"=>"'key'","random"=>"1","nocache"=>"")
-;
- include(PLUS_PATH.'pimg_cache.php');$add_arr = $ad_label[507];if(is_array($add_arr) && !empty($add_arr)){
- $i=0;$limit = 0;$length = 0;
- foreach($add_arr as $key=>$value){
- if($config['did']){
- if(($value['did']==$config['did']|| $value['did']==-1)&&$value['start']<time()&&$value['end']>time()){
- if($i>0 && $limit==$i){
- break;
- }
- if($length>0){
- $value['name'] = mb_substr($value['name'],0,$length);
- }
- if($paramer['type']!=""){
- if($paramer['type'] == $value['type']){
- $AdArr[] = $value;
- }
- }else{
- $AdArr[] = $value;
- }
- $i++;
- }
-
- }else{
- if(($value['did']==-1 || !$value['did']) && $value['start']<time()&&$value['end']>time()){
- if($i>0 && $limit==$i){
- break;
- }
- if($length>0){
- $value['name'] = mb_substr($value['name'],0,$length);
- }
- if($paramer['type']!=""){
- if($paramer['type'] == $value['type']){
- $AdArr[] = $value;
- }
- }else{
- $AdArr[] = $value;
- }
- $i++;
- }
-
- }
- }
- if (isset($attr['random']) && $attr['random'] && count($AdArr) > $attr['random']) {
- $temp = [];
- $random_keys = array_rand($AdArr, $attr['random']);
-
- if($attr['random'] == 1) {
- $temp[] = $AdArr[$attr['random']];
- } else {
- foreach ($AdArr as $key => $value) {
- if (in_array($key, $random_keys)) {
- $temp[$key] = $value;
- }
- }
- }
- $AdArr = $temp;
- }
- }$AdArr = $AdArr; if (!is_array($AdArr) && !is_object($AdArr)) { settype($AdArr, 'array');}
-foreach ($AdArr as $_smarty_tpl->tpl_vars["lunbo"]->key => $_smarty_tpl->tpl_vars["lunbo"]->value) {
-$_smarty_tpl->tpl_vars["lunbo"]->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars["lunbo"]->key;
-?>
- <div class="yun_jobbanner"><?php echo $_smarty_tpl->tpl_vars['lunbo']->value['html'];?>
-</div>
- <?php } ?>
- <!-- 广告位放这 end-->
- <div class="clear"></div>
- <form action="<?php if (!$_smarty_tpl->tpl_vars['config']->value['sy_jobdir']) {?>index.php<?php } else {
-echo smarty_function_url(array('m'=>'job'),$_smarty_tpl);
-}?>" method="get" id="form" onsubmit="return search_keyword(this,'请输入职位名称或公司,例如:销售');">
- <div class="jobsearch_newbox">
-
- <?php if (!$_smarty_tpl->tpl_vars['config']->value['sy_jobdir']) {?>
- <input type="hidden" name="m" value="job" id="m" />
- <?php }?>
- <input type="hidden" name="c" value="search" />
-
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['finder']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <input type="hidden" name="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
-" value="<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
-" />
- <?php } ?>
-
- <div class="yun_job_search">
-
- <div class="yun_job_search_cont">
-
- <div class="yun_job_search_textcont">
- <input type="text" name="keyword" value="<?php if ($_GET['keyword']) {
-echo $_GET['keyword'];
-}?>" placeholder="请输入职位名称或公司,例如:销售" class="Search_jobs_text " />
- </div>
-
- <input type="submit" value="搜索" class="Search_jobs_submit yun_bg_color" />
-<!--
- <div class="Search_jobs_sub_text_bc">
- <?php if ($_smarty_tpl->tpl_vars['uid']->value&&$_smarty_tpl->tpl_vars['usertype']->value=='1') {?>
- <a href="javascript:void(0)" class="Search_jobs_scq" onclick="addfinder('<?php echo $_smarty_tpl->tpl_vars['paras']->value;?>
-','1','0')">+ 保存为职位搜索器</a>
- <?php } elseif ($_smarty_tpl->tpl_vars['uid']->value&&$_smarty_tpl->tpl_vars['usertype']->value!='1') {?>
- <a href="javascript:void(0)" class="Search_jobs_scq" onclick="layer.msg('只有个人会员才可保存!', 2,8);return false;">+ 保存为职位搜索器</a>
- <?php } else { ?>
- <a href="javascript:void(0)" class="Search_jobs_scq" onclick="showlogin('1');">+ 保存为职位搜索器</a>
- <?php }?>
- </div>-->
- </div>
-
- <?php if ($_smarty_tpl->tpl_vars['jobkeyword']->value) {?>
- <div class="jobs_tag"> 热门搜索:
- <?php $_smarty_tpl->tpl_vars['keylist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['keylist']->_loop = false;
-global $config;$paramer=array("limit"=>"12","recom"=>"1","type"=>"3","item"=>"'keylist'","nocache"=>"")
-;$list=array();
-
- $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
- $paramer = $ParamerArr[arr];
- //是否推荐
- if($paramer[recom]){
- $tuijian = 1;
- }
- //类别
- if($paramer[type]){
- $type = $paramer[type];
- }
- //查询条数
- if($paramer[limit]){
- $limit=$paramer[limit];
- }else{
- $limit=5;
- }
- include PLUS_PATH."/keyword.cache.php";
- if($paramer[iswap]){
- $wap = "/wap";
- }else{
- $index =1;
- }
- if(is_array($keyword)){
- if($paramer[iswap]){
- $i=0;
- foreach($keyword as $k=>$v){
- if($tuijian && $v[tuijian]!=1){
- continue;
- }
- if($type && $v[type]!=$type){
- continue;
- }
-
- $i++;
- if($v[type]=="1"){
- $v[url] = Url("wap",array("c"=>"once","keyword"=>$v['key_name']));
- $v[type_name]='店铺招聘';
- }elseif($v['type']=="13"){
- $v['url'] = Url("wap",array("c"=>"tiny","keyword"=>$v['key_name']));
- $v['type_name']='普工简历';
- }elseif($v[type]=="3"){
- $v[url] = Url("wap",array("c"=>"job","keyword"=>$v['key_name']));
- $v[type_name]='职位';
- }elseif($v['type']=="4"){
- $v['url'] = Url("wap",array("c"=>"company","keyword"=>$v['key_name']));
- $v['type_name']='公司';
- }elseif($v['type']=="5"){
- $v['url'] = Url("wap",array("c"=>"resume","keyword"=>$v['key_name']));
- $v['type_name']='人才';
- }
- $v['key_title']=$v['key_name'];
- if($v['color']){
- $v['key_name']="<font color='".$v['color']."'>".$v['key_name']."</font>";
- }
- $list[] = $v;
- if($i==$limit){
- break;
- }
- }
- }else{
- $i=0;
- foreach($keyword as $k=>$v){
- if($tuijian && $v['tuijian']!=1){
- continue;
- }
- if($type && $v['type']!=$type){
- continue;
- }
- $i++;
- if($v['type']=="1"){
- $v['url'] = Url("once",array("keyword"=>$v['key_name']));
- $v['type_name']='店铺招聘';
- }elseif($v['type']=="2"){
- $v['url'] = Url("part",array("keyword"=>$v['key_name']));
- $v['type_name']='兼职';
- }elseif($v['type']=="13"){
- $v['url'] = Url("tiny",array("keyword"=>$v['key_name']));
- $v['type_name']='普工简历';
- }elseif($v['type']=="3"){
- $v['url'] = Url("job",array("c"=>"search","keyword"=>$v['key_name']));
- $v['type_name']='职位';
- }elseif($v['type']=="4"){
- $v['url'] = Url("company",array("keyword"=>$v['key_name']));
- $v['type_name']='公司';
- }elseif($v['type']=="5"){
- $v['url'] = Url("resume",array("c"=>"search","keyword"=>$v['key_name']));
- $v['type_name']='人才';
- }elseif($v['type']=="6"){
- $v['url'] = Url("lietou",array("c"=>"service","keyword"=>$v['key_name']));
- $v['type_name']='猎头';
- }elseif($v['type']=="7"){
- $v['url'] = Url("lietou",array("c"=>"post","keyword"=>$v['key_name']));
- $v['type_name']='猎头职位';
- }else if($v['type']=="9"){
- $v['url'] = Url("train",array("c"=>"subject","keyword"=>$v['key_name']));
- $v['type_name']='培训课程';
- }else if($v['type']=="10"){
- $v['url'] = Url("train",array("c"=>"agency","keyword"=>$v['key_name']));
- $v['type_name']='培训机构';
- }else if($v['type']=="11"){
- $v['url'] = Url("train",array("c"=>"teacher","keyword"=>$v['key_name']));
- $v['type_name']='培训师';
- }else if($v['type']=="12"){
- $v['url'] = Url("ask",array("c"=>"search","keyword"=>$v['key_name']));
- $v['type_name']='问答';
- }
- $v['key_title']=$v['key_name'];
- if($v['color']){
- $v['key_name']="<font color='".$v['color']."'>".$v['key_name']."</font>";
- }
-
- $list[] = $v;
- if($i==$limit){
- break;
- }
- }
- }
- }$list = $list; if (!is_array($list) && !is_object($list)) { settype($list, 'array');}
-foreach ($list as $_smarty_tpl->tpl_vars['keylist']->key => $_smarty_tpl->tpl_vars['keylist']->value) {
-$_smarty_tpl->tpl_vars['keylist']->_loop = true;
-?>
- <a href="<?php echo smarty_function_listurl(array('type'=>'keyword','v'=>$_smarty_tpl->tpl_vars['keylist']->value['key_title']),$_smarty_tpl);?>
-" class="jos_tag_a" title="<?php echo $_smarty_tpl->tpl_vars['keylist']->value['key_title'];?>
-"><?php echo $_smarty_tpl->tpl_vars['keylist']->value['key_name'];?>
-</a>
- <?php } ?>
- </div>
- <?php }?>
- </div>
- </div>
-
- <div class="clear"></div>
-
- <div class="Search_jobs_box">
-
- <?php if (!$_GET['job1']) {?>
- <div class="Search_jobs_form_list">
- <div class="Search_jobs_name"> 职位:</div>
- <div class="Search_jobs_sub ">
- <div class="Search_jobs_sub_Box ">
- <a href="<?php echo smarty_function_listurl(array('type'=>'job1','v'=>0),$_smarty_tpl);?>
-" class="Search_jobs_sub_a <?php if ($_GET['job1']=='') {?>Search_jobs_sub_cur<?php }?>">全部</a>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['job_index']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('type'=>'job1','v'=>$_smarty_tpl->tpl_vars['v']->value),$_smarty_tpl);?>
-" class="Search_jobs_sub_a <?php if ($_GET['job1']==$_smarty_tpl->tpl_vars['v']->value) {?>Search_jobs_sub_cur<?php } elseif ($_smarty_tpl->tpl_vars['key']->value>6) {?>job1list none<?php }?>"><?php echo $_smarty_tpl->tpl_vars['job_name']->value[$_smarty_tpl->tpl_vars['v']->value];?>
-</a>
- <?php } ?>
- </div>
- </div>
- <div class="zh_more"> <a href="javascript:checkmore('job1list');" id="job1list" rel="nofollow">更多</a> </div>
- </div>
- <?php }?>
-
- <?php if ($_GET['job1']&&!$_GET['job1_son']) {?>
- <div class="Search_jobs_form_list">
- <div class="Search_jobs_name"> 子类:</div>
- <div class="Search_jobs_sub ">
- <a href="<?php echo smarty_function_listurl(array('type'=>'job1_son'),$_smarty_tpl);?>
-" class="Search_jobs_sub_a <?php if ($_GET['job1_son']=='') {?>Search_jobs_sub_cur<?php }?>">全部</a>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['job_type']->value[$_GET['job1']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('type'=>'job1_son','v'=>$_smarty_tpl->tpl_vars['v']->value),$_smarty_tpl);?>
-" class="Search_jobs_sub_a <?php if ($_GET['job1_son']==$_smarty_tpl->tpl_vars['v']->value) {?>Search_jobs_sub_cur<?php }?>"><?php echo $_smarty_tpl->tpl_vars['job_name']->value[$_smarty_tpl->tpl_vars['v']->value];?>
-</a>
- <?php } ?>
- </div>
- </div>
- <?php }?>
-
- <?php if ($_GET['job1_son']&&is_array($_smarty_tpl->tpl_vars['job_type']->value[$_GET['job1_son']])) {?>
- <div class="Search_jobs_form_list">
- <div class="Search_jobs_name"> 类别:</div>
- <div class="Search_jobs_sub ">
- <a href="<?php echo smarty_function_listurl(array('type'=>'job1_son','v'=>$_GET['job1_son']),$_smarty_tpl);?>
-" class="Search_jobs_sub_a <?php if ($_GET['job_post']=='') {?>Search_jobs_sub_cur<?php }?>">全部</a>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['job_type']->value[$_GET['job1_son']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('type'=>'job_post','v'=>$_smarty_tpl->tpl_vars['v']->value),$_smarty_tpl);?>
-" class="Search_jobs_sub_a <?php if ($_GET['job_post']==$_smarty_tpl->tpl_vars['v']->value) {?>Search_jobs_sub_cur<?php }?>"><?php echo $_smarty_tpl->tpl_vars['job_name']->value[$_smarty_tpl->tpl_vars['v']->value];?>
-</a>
- <?php } ?>
- </div>
- </div>
- <?php }?>
-
- <!-- city-->
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_web_site']==1&&$_smarty_tpl->tpl_vars['config']->value['cityname']&&$_smarty_tpl->tpl_vars['config']->value['cityname']!=$_smarty_tpl->tpl_vars['config']->value['sy_indexcity']&&$_GET['provinceid']) {?>
- <div class="Search_citybox">
- <div class="Search_cityboxname"> 地点:</div>
- <div class="Search_citybox_right">
- <div class="Search_cityboxright">
- <div class="search_city_list search_city_listw1100">
- <?php if (!$_GET['cityid']&&$_GET['three_cityid']) {?>
- <a class="city_name city_name_active" style="text-decoration:none;cursor:pointer;"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_GET['three_cityid']];?>
-</a>
- <?php } else { ?>
- <?php if ($_GET['cityid']) {?>
- <?php if (is_array($_smarty_tpl->tpl_vars['city_type']->value[$_GET['cityid']])) {?>
- <a href="<?php echo smarty_function_listurl(array('untype'=>'three_cityid'),$_smarty_tpl);?>
-" class="city_name <?php if (!$_GET['three_cityid']) {?>city_name_active<?php }?>">不限</a>
-
- <?php $_smarty_tpl->tpl_vars['tid'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tid']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['city_type']->value[$_GET['cityid']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['tid']->key => $_smarty_tpl->tpl_vars['tid']->value) {
-$_smarty_tpl->tpl_vars['tid']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['tid']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('type'=>'three_cityid','v'=>$_smarty_tpl->tpl_vars['tid']->value),$_smarty_tpl);?>
-" class="city_name <?php if ($_GET['three_cityid']==$_smarty_tpl->tpl_vars['tid']->value) {?>city_name_active<?php }?>"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_smarty_tpl->tpl_vars['tid']->value];?>
-</a>
- <?php } ?>
-
- <?php } else { ?>
-
- <a class="city_name city_name_active" style="text-decoration:none;cursor:pointer;"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_GET['cityid']];?>
-</a>
- <?php }?>
- <?php } else { ?>
-
- <?php if (is_array($_smarty_tpl->tpl_vars['city_type']->value[$_GET['provinceid']])) {?>
-
- <a href="<?php echo smarty_function_listurl(array('untype'=>'cityid'),$_smarty_tpl);?>
-" class="city_name <?php if (!$_GET['cityid']) {?>city_name_active<?php }?>">不限</a>
-
- <?php $_smarty_tpl->tpl_vars['tid'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tid']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['city_type']->value[$_GET['provinceid']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['tid']->key => $_smarty_tpl->tpl_vars['tid']->value) {
-$_smarty_tpl->tpl_vars['tid']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['tid']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('type'=>'cityid','v'=>$_smarty_tpl->tpl_vars['tid']->value),$_smarty_tpl);?>
-" class="city_name <?php if ($_GET['cityid']==$_smarty_tpl->tpl_vars['tid']->value) {?>city_name_active<?php }?>"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_smarty_tpl->tpl_vars['tid']->value];?>
-</a>
- <?php } ?>
-
- <?php } else { ?>
-
- <a class="city_name city_name_active" style="text-decoration:none;cursor:pointer;"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_GET['provinceid']];?>
-</a>
- <?php }?>
-
- <?php }?>
- <?php }?>
- </div>
- </div>
- </div>
- </div>
- <?php } elseif ($_smarty_tpl->tpl_vars['config']->value['sy_web_city_one']) {?>
- <div class="Search_citybox">
- <div class="Search_cityboxname"> 地点:</div>
- <div class="Search_citybox_right">
- <div class="Search_cityboxright">
- <div class="search_city_list search_city_listw1100">
- <?php if (!$_GET['cityid']&&$_GET['three_cityid']) {?>
- <a class="city_name city_name_active" style="text-decoration:none;cursor:pointer;"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_GET['three_cityid']];?>
-</a>
- <?php } else { ?>
- <?php if ($_GET['cityid']) {?>
- <?php if (is_array($_smarty_tpl->tpl_vars['city_type']->value[$_GET['cityid']])) {?>
- <a href="<?php echo smarty_function_listurl(array('untype'=>'three_cityid'),$_smarty_tpl);?>
-" class="city_name <?php if (!$_GET['three_cityid']) {?>city_name_active<?php }?>">不限</a>
-
- <?php $_smarty_tpl->tpl_vars['tid'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tid']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['city_type']->value[$_GET['cityid']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['tid']->key => $_smarty_tpl->tpl_vars['tid']->value) {
-$_smarty_tpl->tpl_vars['tid']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['tid']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('type'=>'three_cityid','v'=>$_smarty_tpl->tpl_vars['tid']->value),$_smarty_tpl);?>
-" class="city_name <?php if ($_GET['three_cityid']==$_smarty_tpl->tpl_vars['tid']->value) {?>city_name_active<?php }?>"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_smarty_tpl->tpl_vars['tid']->value];?>
-</a>
- <?php } ?>
-
- <?php } else { ?>
-
- <a class="city_name city_name_active" style="text-decoration:none;cursor:pointer;"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_GET['cityid']];?>
-</a>
- <?php }?>
- <?php } else { ?>
-
- <?php if (is_array($_smarty_tpl->tpl_vars['city_type']->value[$_GET['provinceid']])) {?>
-
- <a href="<?php echo smarty_function_listurl(array('untype'=>'cityid'),$_smarty_tpl);?>
-" class="city_name <?php if (!$_GET['cityid']) {?>city_name_active<?php }?>">不限</a>
-
- <?php $_smarty_tpl->tpl_vars['tid'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tid']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['city_type']->value[$_GET['provinceid']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['tid']->key => $_smarty_tpl->tpl_vars['tid']->value) {
-$_smarty_tpl->tpl_vars['tid']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['tid']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('type'=>'cityid','v'=>$_smarty_tpl->tpl_vars['tid']->value),$_smarty_tpl);?>
-" class="city_name <?php if ($_GET['cityid']==$_smarty_tpl->tpl_vars['tid']->value) {?>city_name_active<?php }?>"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_smarty_tpl->tpl_vars['tid']->value];?>
-</a>
- <?php } ?>
-
- <?php } else { ?>
-
- <a class="city_name city_name_active" style="text-decoration:none;cursor:pointer;"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_GET['provinceid']];?>
-</a>
- <?php }?>
-
- <?php }?>
- <?php }?>
- </div>
- </div>
- </div>
- </div>
- <?php } else { ?>
- <div class="Search_citybox">
- <div class="Search_cityboxname"> 地点:</div>
- <div class="Search_citybox_right">
- <div class="Search_cityall none">
- <a href="<?php echo smarty_function_listurl(array('type'=>'provinceid','v'=>0),$_smarty_tpl);?>
-" class="city_name">全部</a>
- <?php $_smarty_tpl->tpl_vars['pid'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['pid']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['city_index']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['pid']->key => $_smarty_tpl->tpl_vars['pid']->value) {
-$_smarty_tpl->tpl_vars['pid']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['pid']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('type'=>'provinceid','v'=>$_smarty_tpl->tpl_vars['pid']->value),$_smarty_tpl);?>
-" class="city_name <?php if ($_GET['provinceid']==$_smarty_tpl->tpl_vars['pid']->value) {?>city_name_active<?php }?>"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_smarty_tpl->tpl_vars['pid']->value];?>
-</a>
- <?php } ?>
- </div>
- <div class="Search_cityboxright">
- <a href="javascript:;" onclick="acityshow('1')" class="search_city_list_cur <?php if ($_GET['provinceid']&&!$_GET['cityid']||!is_array($_smarty_tpl->tpl_vars['city_type']->value[$_GET['cityid']])) {?>search_city_active<?php }?> <?php if (!$_GET['provinceid']) {?>none<?php }?> acity_two" style="text-decoration:none;cursor:pointer;">
- <span class="search_city_p"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_GET['provinceid']];?>
-</span>
- <i class="search_city_p_jt"></i>
- <i class="search_city_list_line"></i>
- </a>
- <a href="javascript:;" <?php if ($_GET['cityid']) {?>onclick="acityshow('2')" <?php }?> class="search_city_list_cur <?php if ($_GET['cityid']&&is_array($_smarty_tpl->tpl_vars['city_type']->value[$_GET['cityid']])) {?>search_city_active<?php }?> <?php if (!$_GET['provinceid']||!$_GET['cityid']||!is_array($_smarty_tpl->tpl_vars['city_type']->value[$_GET['cityid']])) {?>none<?php }?> acity_three" style="text-decoration:none;cursor:pointer;">
- <span class="search_city_p"><?php if (!$_GET['cityid']) {?>不限<?php } else {
-echo $_smarty_tpl->tpl_vars['city_name']->value[$_GET['cityid']];
-}?></span>
- <i class="search_city_list_line"></i>
- </a>
- <a href="<?php echo smarty_function_listurl(array('type'=>'provinceid','v'=>0),$_smarty_tpl);?>
-" class="search_city_list_all <?php if (!$_GET['provinceid']) {?>city_name_active<?php }?>">全部</a>
- <div class="search_city_list">
- <?php $_smarty_tpl->tpl_vars['pid'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['pid']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['city_index']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['pid']->key => $_smarty_tpl->tpl_vars['pid']->value) {
-$_smarty_tpl->tpl_vars['pid']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['pid']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('type'=>'provinceid','v'=>$_smarty_tpl->tpl_vars['pid']->value),$_smarty_tpl);?>
-" class="city_name <?php if ($_GET['provinceid']&&!$_GET['cityid']) {
-if ($_smarty_tpl->tpl_vars['key']->value>13) {?>none<?php }
-} elseif ($_GET['cityid']) {
-if ($_smarty_tpl->tpl_vars['key']->value>12) {?>none<?php }
-} else {
-if ($_smarty_tpl->tpl_vars['key']->value>14) {?>none<?php }
-}?> <?php if ($_GET['provinceid']==$_smarty_tpl->tpl_vars['pid']->value) {?>city_name_active<?php }?>"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_smarty_tpl->tpl_vars['pid']->value];?>
-</a>
- <?php } ?>
- </div>
- <a href="javascript:;" class="search_city_list_more" id="acity">更多</a>
- </div>
-
- <div class="Search_cityboxclose <?php if (!$_GET['provinceid']||($_GET['provinceid']&&$_GET['cityid']&&is_array($_smarty_tpl->tpl_vars['city_type']->value[$_GET['cityid']]))) {?>none<?php }?>" id="acity_two"> <a href="<?php echo smarty_function_listurl(array('untype'=>'cityid'),$_smarty_tpl);?>
-" class="city_name <?php if ($_GET['provinceid']&&!$_GET['cityid']&&!$_GET['three_cityid']) {?>city_name_active<?php }?>">不限</a> <?php $_smarty_tpl->tpl_vars['cid'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['cid']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['city_type']->value[$_GET['provinceid']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['cid']->key => $_smarty_tpl->tpl_vars['cid']->value) {
-$_smarty_tpl->tpl_vars['cid']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['cid']->key;
-?> <a href="<?php echo smarty_function_listurl(array('type'=>'cityid','v'=>$_smarty_tpl->tpl_vars['cid']->value),$_smarty_tpl);?>
-" class="city_name <?php if ($_GET['cityid']==$_smarty_tpl->tpl_vars['cid']->value) {?>city_name_active<?php }?>"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_smarty_tpl->tpl_vars['cid']->value];?>
-</a> <?php } ?> </div>
- <div class="Search_cityboxclose <?php if (!$_GET['cityid']||!is_array($_smarty_tpl->tpl_vars['city_type']->value[$_GET['cityid']])) {?>none<?php }?>" id="acity_three"> <a href="<?php echo smarty_function_listurl(array('untype'=>'three_cityid'),$_smarty_tpl);?>
-" class="city_name <?php if ($_GET['provinceid']&&$_GET['cityid']&&!$_GET['three_cityid']) {?>city_name_active<?php }?>">不限</a> <?php $_smarty_tpl->tpl_vars['tid'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tid']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['city_type']->value[$_GET['cityid']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['tid']->key => $_smarty_tpl->tpl_vars['tid']->value) {
-$_smarty_tpl->tpl_vars['tid']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['tid']->key;
-?> <a href="<?php echo smarty_function_listurl(array('type'=>'three_cityid','v'=>$_smarty_tpl->tpl_vars['tid']->value),$_smarty_tpl);?>
-" class="city_name <?php if ($_GET['three_cityid']==$_smarty_tpl->tpl_vars['tid']->value) {?>city_name_active<?php }?>"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_smarty_tpl->tpl_vars['tid']->value];?>
-</a> <?php } ?> </div>
- </div>
- </div>
- <?php }?>
- <!-- city end-->
-
- <div class="Search_jobs_form_list search_more">
- <div class="Search_jobs_name"> 薪资:</div>
- <div>
- <a href="<?php echo smarty_function_listurl(array('type'=>'salary','v'=>0),$_smarty_tpl);?>
-" class="Search_jobs_sub_a <?php if ($_GET['minsalary']==''&&$_GET['maxsalary']=='') {?>Search_jobs_sub_cur<?php }?>">全部</a>
- <a href="<?php echo smarty_function_listurl(array('type'=>'salary','v'=>'2000_4000'),$_smarty_tpl);?>
-" class="Search_jobs_cxz <?php if ($_GET['minsalary']==2000&&$_GET['maxsalary']==4000) {?>Search_jobs_sub_cur<?php }?>">2000-4000</a>
- <a href="<?php echo smarty_function_listurl(array('type'=>'salary','v'=>'4000_6000'),$_smarty_tpl);?>
-" class="Search_jobs_cxz <?php if ($_GET['minsalary']==4000&&$_GET['maxsalary']==6000) {?>Search_jobs_sub_cur<?php }?>">4000-6000</a>
- <a href="<?php echo smarty_function_listurl(array('type'=>'salary','v'=>'6000_8000'),$_smarty_tpl);?>
-" class="Search_jobs_cxz <?php if ($_GET['minsalary']==6000&&$_GET['maxsalary']==8000) {?>Search_jobs_sub_cur<?php }?>">6000-8000</a>
- <a href="<?php echo smarty_function_listurl(array('type'=>'salary','v'=>'8000_10000'),$_smarty_tpl);?>
-" class="Search_jobs_cxz <?php if ($_GET['minsalary']==8000&&$_GET['maxsalary']==10000) {?>Search_jobs_sub_cur<?php }?>">8000-10000</a>
- <a href="<?php echo smarty_function_listurl(array('type'=>'salary','v'=>'10000'),$_smarty_tpl);?>
-" class="Search_jobs_cxz <?php if ($_GET['minsalary']==10000) {?>Search_jobs_sub_cur<?php }?>">10000以上</a>
- </div>
- <input type="text" name="minsalary" id="min" value="<?php if ($_GET['minsalary']) {
-echo $_GET['minsalary'];
-} else {
-if ($_GET['maxsalary']) {?>0<?php }
-}?>" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" class="job_xz_text" />
- <span class="job_xz_line">-</span>
- <input type="text" name="maxsalary" id="max" value="<?php if ($_GET['maxsalary']) {
-echo $_GET['maxsalary'];
-}?>" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" class="job_xz_text" />
- <input type="submit" value="确定" class="job_xz_bth" />
- </div>
-
- <div class="searchmorelist ">
-
- <!-- <?php if ($_smarty_tpl->tpl_vars['comdata']->value['job_welfare']) {?>
- <div class="Search_jobs_form_list search_more ">
- <div class="Search_jobs_name">福利:</div>
- <div class="Search_jobs_sub">
- <a href="<?php echo smarty_function_listurl(array('type'=>'welfare','v'=>0),$_smarty_tpl);?>
-" class="Search_jobs_sub_a <?php if ($_GET['welfare']=='0'||$_GET['welfare']=='') {?>Search_jobs_sub_cur<?php }?>">全部</a>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['comdata']->value['job_welfare']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('type'=>'welfare','v'=>$_smarty_tpl->tpl_vars['v']->value),$_smarty_tpl);?>
-" class="Search_jobs_sub_a <?php if ($_smarty_tpl->tpl_vars['key']->value>9) {?>none<?php }?> <?php if ($_smarty_tpl->tpl_vars['key']->value>9) {?>welfarelist<?php }?> <?php if ($_GET['welfare']==$_smarty_tpl->tpl_vars['v']->value) {?>Search_jobs_sub_cur<?php }?>"><?php echo $_smarty_tpl->tpl_vars['comclass_name']->value[$_smarty_tpl->tpl_vars['v']->value];?>
-</a>
- <?php } ?>
- </div>
- <?php if (count($_smarty_tpl->tpl_vars['comdata']->value['job_welfare'])>10) {?>
- <div class="zh_more">
- <a href="javascript:checkmore('welfarelist');" id="welfarelist" rel="nofollow">更多</a>
- </div>
- <?php }?>
- </div>
- <?php }?>-->
-
- <div class="Search_jobs_form_list search_more">
- <div class="Search_jobs_name"> 更多:</div>
- <div class="Search_jobs_sub" style="width:1090px;">
- <?php if ($_smarty_tpl->tpl_vars['comdata']->value['job_welfare']) {?>
- <div class="Search_jobs_more_chlose">
- <span class="Search_jobs_more_chlose_s">公司福利</span> <i class=""></i>
- <div class="Search_jobs_more_chlose_list none">
- <ul>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['comdata']->value['job_welfare']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <li> <a href="<?php echo smarty_function_listurl(array('type'=>'welfare','v'=>$_smarty_tpl->tpl_vars['v']->value),$_smarty_tpl);?>
- "><?php echo $_smarty_tpl->tpl_vars['comclass_name']->value[$_smarty_tpl->tpl_vars['v']->value];?>
-</a> </li>
- <?php } ?>
- </ul>
- </div>
- </div>
- <?php }?>
-
-
- <div class="Search_jobs_more_chlose">
- <span class="Search_jobs_more_chlose_s"> <?php if ($_GET['edu']) {
-echo $_smarty_tpl->tpl_vars['comclass_name']->value[$_GET['edu']];
-} else { ?>学历要求<?php }?> </span> <i class=""></i>
- <div class="Search_jobs_more_chlose_list none">
- <ul>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['comdata']->value['job_edu']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <li> <a href="javascript:;" onclick="showurl('<?php echo smarty_function_listurl(array('type'=>'edu','v'=>$_smarty_tpl->tpl_vars['v']->value),$_smarty_tpl);?>
-')"><?php echo $_smarty_tpl->tpl_vars['comclass_name']->value[$_smarty_tpl->tpl_vars['v']->value];?>
-</a> </li>
- <?php } ?>
- </ul>
- </div>
- </div>
-
- <div class="Search_jobs_more_chlose">
- <span class="Search_jobs_more_chlose_s"><?php if ($_GET['exp']) {
-echo $_smarty_tpl->tpl_vars['comclass_name']->value[$_GET['exp']];
-} else { ?>经验要求<?php }?></span><i class=""></i>
- <div class="Search_jobs_more_chlose_list none">
- <ul>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['comdata']->value['job_exp']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <li> <a href="javascript:;" onclick="showurl('<?php echo smarty_function_listurl(array('type'=>'exp','v'=>$_smarty_tpl->tpl_vars['v']->value),$_smarty_tpl);?>
-')"><?php echo $_smarty_tpl->tpl_vars['comclass_name']->value[$_smarty_tpl->tpl_vars['v']->value];?>
-</a> </li>
- <?php } ?>
- </ul>
- </div>
- </div>
-
- <div class="Search_jobs_more_chlose">
- <span class="Search_jobs_more_chlose_s"><?php if ($_GET['sex']) {
-echo $_smarty_tpl->tpl_vars['com_sex']->value[$_GET['sex']];
-} else { ?>性别要求<?php }?></span><i class=""></i>
- <div class="Search_jobs_more_chlose_list none">
- <ul>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['j'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['com_sex']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['j']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <li> <a href="javascript:;" onclick="showurl('<?php echo smarty_function_listurl(array('type'=>'sex','v'=>$_smarty_tpl->tpl_vars['j']->value),$_smarty_tpl);?>
-')"><?php echo $_smarty_tpl->tpl_vars['v']->value;?>
-</a> </li>
- <?php } ?>
- </ul>
- </div>
- </div>
-
- <div class="Search_jobs_more_chlose">
- <span class="Search_jobs_more_chlose_s"><?php if ($_GET['report']) {
-echo $_smarty_tpl->tpl_vars['comclass_name']->value[$_GET['report']];
-} else { ?>到岗时间<?php }?></span><i class=""></i>
- <div class="Search_jobs_more_chlose_list none">
- <ul>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['comdata']->value['job_report']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <li> <a href="javascript:;" onclick="showurl('<?php echo smarty_function_listurl(array('type'=>'report','v'=>$_smarty_tpl->tpl_vars['v']->value),$_smarty_tpl);?>
-')"><?php echo $_smarty_tpl->tpl_vars['comclass_name']->value[$_smarty_tpl->tpl_vars['v']->value];?>
-</a> </li>
- <?php } ?>
- </ul>
- </div>
- </div>
-<div class="Search_jobs_more_chlose">
- <span class="Search_jobs_more_chlose_s"><?php if ($_GET['hy']) {
-echo $_smarty_tpl->tpl_vars['industry_name']->value[$_GET['hy']];
-} else { ?>公司行业<?php }?></span><i class=""></i>
-
- <div class="Search_jobs_more_chlose_hylist none">
- <ul>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['industry_index']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <li> <a href="javascript:;" onclick="showurl('<?php echo smarty_function_listurl(array('type'=>'hy','v'=>$_smarty_tpl->tpl_vars['v']->value),$_smarty_tpl);?>
-')"><?php echo $_smarty_tpl->tpl_vars['industry_name']->value[$_smarty_tpl->tpl_vars['v']->value];?>
-</a> </li>
- <?php } ?>
- </ul>
- </div>
- </div>
- <div class="Search_jobs_more_chlose">
- <span class="Search_jobs_more_chlose_s"><?php if ($_smarty_tpl->tpl_vars['uptime']->value[$_GET['uptime']]) {
-echo $_smarty_tpl->tpl_vars['uptime']->value[$_GET['uptime']];
-} else { ?>更新时间<?php }?></span><i class=""></i>
- <div class="Search_jobs_more_chlose_list none">
- <ul>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['uptime']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <li> <a href="javascript:;" onclick="showurl('<?php echo smarty_function_listurl(array('type'=>'uptime','v'=>$_smarty_tpl->tpl_vars['key']->value),$_smarty_tpl);?>
-')"><?php echo $_smarty_tpl->tpl_vars['v']->value;?>
-</a> </li>
- <?php } ?>
- </ul>
- </div>
- </div>
-
- </div>
- </div>
- </div>
-
- <?php if ($_GET['job1']||$_GET['job1_son']||$_GET['job_post']||($_GET['provinceid']&&!$_smarty_tpl->tpl_vars['config']->value['sy_web_city_one'])||($_GET['cityid']&&!$_smarty_tpl->tpl_vars['config']->value['sy_web_city_two'])||$_GET['three_cityid']||$_GET['hy']||$_GET['edu']||$_GET['exp']||$_GET['sex']||$_GET['report']||$_GET['uptime']||$_GET['minsalary']||$_GET['maxsalary']||$_GET['keyword']||$_GET['cert']||$_GET['welfare']) {?>
- <div class="Search_close_box">
- <div>
- <div class="Search_clear">
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_default_comclass']==1) {?>
- <a href="<?php echo smarty_function_url(array('m'=>'job','c'=>'search'),$_smarty_tpl);?>
-"> 清除所选</a>
- <?php } else { ?>
- <a href="<?php echo smarty_function_url(array('m'=>'job'),$_smarty_tpl);?>
-"> 清除所选</a>
- <?php }?>
- </div>
- <span class="Search_close_box_s">已选条件:</span>
- </div>
-
- <?php if ($_GET['job1']) {?>
- <a href="<?php echo smarty_function_listurl(array('untype'=>'job1'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">职位分类:<?php echo $_smarty_tpl->tpl_vars['job_name']->value[$_GET['job1']];?>
-</a>
- <?php }?>
-
- <?php if ($_GET['job1_son']) {?>
- <a href="<?php echo smarty_function_listurl(array('untype'=>'job1_son'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac"><?php echo $_smarty_tpl->tpl_vars['job_name']->value[$_GET['job1_son']];?>
-</a>
- <?php }?>
-
- <?php if ($_GET['job_post']) {?>
- <a href="<?php echo smarty_function_listurl(array('untype'=>'job_post'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac"><?php echo $_smarty_tpl->tpl_vars['job_name']->value[$_GET['job_post']];?>
-</a>
- <?php }?>
-
- <?php if ($_smarty_tpl->tpl_vars['config']->value['cityid']==''&&$_smarty_tpl->tpl_vars['config']->value['three_cityid']=='') {?>
- <?php if ($_GET['provinceid']&&!$_smarty_tpl->tpl_vars['config']->value['sy_web_city_one']) {?>
- <a href="<?php echo smarty_function_listurl(array('untype'=>'provinceid'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">工作地点:<?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_GET['provinceid']];?>
-</a>
- <?php }?>
-
- <?php if ($_GET['cityid']&&!$_smarty_tpl->tpl_vars['config']->value['sy_web_city_two']) {?>
- <a href="<?php echo smarty_function_listurl(array('untype'=>'cityid'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_GET['cityid']];?>
-</a>
- <?php }?>
- <?php }?>
-
- <?php if ($_GET['three_cityid']) {?>
- <a href="<?php echo smarty_function_listurl(array('untype'=>'three_cityid'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_GET['three_cityid']];?>
-</a>
- <?php }?>
-
- <?php if ($_smarty_tpl->tpl_vars['industry_name']->value[$_GET['hy']]) {?>
- <a href="<?php echo smarty_function_listurl(array('untype'=>'hy'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">行业:<?php echo $_smarty_tpl->tpl_vars['industry_name']->value[$_GET['hy']];?>
-</a>
- <?php }?>
-
- <?php if ($_GET['edu']) {?>
- <a href="<?php echo smarty_function_listurl(array('untype'=>'edu'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">学历:<?php echo $_smarty_tpl->tpl_vars['comclass_name']->value[$_GET['edu']];?>
-</a>
- <?php }?>
-
- <?php if ($_GET['exp']) {?>
- <a href="<?php echo smarty_function_listurl(array('untype'=>'exp'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">工作经验:<?php echo $_smarty_tpl->tpl_vars['comclass_name']->value[$_GET['exp']];?>
-</a>
- <?php }?>
-
- <?php if ($_GET['sex']) {?>
- <a href="<?php echo smarty_function_listurl(array('untype'=>'sex'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">性别:<?php echo $_smarty_tpl->tpl_vars['com_sex']->value[$_GET['sex']];?>
-</a>
- <?php }?>
-
- <?php if ($_GET['report']) {?>
- <a href="<?php echo smarty_function_listurl(array('untype'=>'report'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">到岗时间:<?php echo $_smarty_tpl->tpl_vars['comclass_name']->value[$_GET['report']];?>
-</a>
- <?php }?>
-
- <?php if ($_GET['uptime']) {?>
- <a href="<?php echo smarty_function_listurl(array('untype'=>'uptime'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">更新时间:<?php echo $_smarty_tpl->tpl_vars['uptime']->value[$_GET['uptime']];?>
-</a>
- <?php }?>
-
- <?php if ($_GET['minsalary']&&$_GET['maxsalary']) {?>
- <a href="<?php echo smarty_function_listurl(array('untype'=>'salary'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">薪资:<?php echo $_GET['minsalary'];?>
--<?php echo $_GET['maxsalary'];?>
-</a>
- <?php } elseif ($_GET['minsalary']&&!$_GET['maxsalary']) {?>
- <a href="<?php echo smarty_function_listurl(array('untype'=>'salary'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">薪资:<?php echo $_GET['minsalary'];?>
-及以上</a>
- <?php } elseif (!$_GET['minsalary']&&$_GET['maxsalary']) {?>
- <a href="<?php echo smarty_function_listurl(array('untype'=>'salary'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">薪资:<?php echo $_GET['maxsalary'];?>
-及以下</a>
- <?php }?>
-
- <?php if ($_GET['keyword']) {?>
- <a href="<?php echo smarty_function_listurl(array('untype'=>'keyword'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac"><?php echo $_GET['keyword'];?>
-</a>
- <?php }?>
-
- <?php if ($_GET['cert']) {?>
- <a href="<?php echo smarty_function_listurl(array('untype'=>'cert'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">资质已认证</a>
- <?php }?>
-
- <?php if ($_GET['welfare']) {?>
- <a href="<?php echo smarty_function_listurl(array('untype'=>'welfare'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">福利待遇:<?php echo $_smarty_tpl->tpl_vars['comclass_name']->value[$_GET['welfare']];?>
-</a>
- <?php }?>
- </div>
- <?php }?>
-
- <div class="clear"></div>
-
-
- </div>
- </form>
-
- <div class="search_h1_box">
- <div class="search_h1_box_title">
-
- <ul class="search_h1_box_list">
- <li <?php if ($_GET['urgent']==''&&$_GET['rec']=='') {?>class="search_job_all " <?php }?> class="search_job_all"> <a href="<?php echo smarty_function_listurl(array('type'=>'tp','v'=>0),$_smarty_tpl);?>
-">所有职位</a><i class="search_h1_box_list_icon"></i></li>
- <li <?php if ($_GET['order']=='lastdate') {?>class="search_Filter_current" <?php }?>> <a href="<?php echo smarty_function_listurl(array('type'=>'order','v'=>'lastdate'),$_smarty_tpl);?>
-"><span>更新时间</span><i class="search_Filter_icon"></i></a></li>
- <li <?php if ($_GET['order']=='sdate') {?>class="search_Filter_current" <?php }?>> <a href="<?php echo smarty_function_listurl(array('type'=>'order','v'=>'sdate'),$_smarty_tpl);?>
-"><span>发布时间</span><i class="search_Filter_icon"></i></a></li>
- <li class="<?php if ($_GET['urgent']) {?>search_h1_box_cur<?php }?> job_jp_t"> <a href="<?php if ($_GET['urgent']) {
-echo smarty_function_listurl(array('type'=>'tp','v'=>0),$_smarty_tpl);
-} else {
-echo smarty_function_listurl(array('type'=>'tp','v'=>1),$_smarty_tpl);
-}?>"class="job_zt"> 紧急职位 <i class="job_jp_chk"></i> </a> </li>
- <li class="<?php if ($_GET['rec']) {?>search_h1_box_cur<?php }?> job_tj_t"> <a href="<?php if ($_GET['rec']) {
-echo smarty_function_listurl(array('type'=>'tp','v'=>0),$_smarty_tpl);
-} else {
-echo smarty_function_listurl(array('type'=>'tp','v'=>2),$_smarty_tpl);
-}?>"class="job_zt"> 推荐职位 <i class="job_tj_chk"></i> </a> </li>
- <li class=" <?php if ($_GET['cert']) {?>search_h1_box_cur<?php }?>">
- <a href="<?php if ($_GET['cert']) {
-echo smarty_function_listurl(array('type'=>'cert','v'=>0),$_smarty_tpl);
-} else {
-echo smarty_function_listurl(array('type'=>'cert','v'=>3),$_smarty_tpl);
-}?>" class="job_zt"><i class="job_tj_chk"></i><em>资质认证</em> </a>
- </li></ul>
-<div class="search_mxbox">
- <a href="<?php echo smarty_function_listurl(array('untype'=>'jobtype'),$_smarty_tpl);?>
-" class="search_mx <?php if ($_GET['jobtype']!='1') {?>search_mxcur<?php }?>"><i class="search_mx_a"></i></a> <a href="<?php echo smarty_function_listurl(array('type'=>'jobtype','v'=>1),$_smarty_tpl);?>
-" class="search_mx <?php if ($_GET['jobtype']=='1') {?>search_mxcur<?php }?>"><i class="search_mx_b"></i></a>
- </div>
-
- <div class="search_h1_box_t fr">提升招聘效果,请致电:<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_freewebtel'];?>
-</div>
- </div>
-
- </div>
-
- <div class="left_job_all fl">
-
- <div class="job_left_sidebar">
- <?php if (!empty($_smarty_tpl->tpl_vars['member']->value)&&$_smarty_tpl->tpl_vars['member']->value['usertype']==1&&$_smarty_tpl->tpl_vars['member']->value['unionid']==''&&$_smarty_tpl->tpl_vars['member']->value['wxid']==''&&$_smarty_tpl->tpl_vars['wxtz_tips']->value==0) {?>
- <!-----微信通知---------->
- <div class="wxtz_box" id="wxtz_tips">
- <div class="wxtz_box_c">
- <div class="wxtz_box_name">新职位发布时通知我</div>
- <div class="wxtz_box_p">订阅相关岗位,新岗位上线实时通知,求职快人一步</div>
- <div class="wxtz_box_s">
- <div class="wxtz_box_ewm">
- <img src="<?php if ($_smarty_tpl->tpl_vars['config']->value['sy_wx_qcode']) {
-echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_wx_qcode'];
-}?>" >
- </div>微信扫一扫
- </div>
- </div>
- <a href="javascript:void(0);" onclick="closeWxtzTips()" class="wxtz_box_close"></a>
- </div>
- <?php }?>
-
- <!-----竞价置顶---------->
-
- <?php if ($_GET['page']<2) {?>
- <?php $_smarty_tpl->tpl_vars['zd_list'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['zd_list']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
-global $db,$db_config,$config;
- $time = time();
-
-
- //可以做缓存
- $paramer=array("namelen"=>"30","comlen"=>"30","report"=>"'auto.report'","hy"=>"'auto.hy'","job1"=>"'auto.job1'","welfare"=>"'auto.welfare'","job1_son"=>"'auto.job1_son'","job_post"=>"'auto.job_post'","jobids"=>"'auto.jobids'","pr"=>"'auto.pr'","mun"=>"'auto.mun'","provinceid"=>"'auto.provinceid'","cityid"=>"'auto.cityid'","three_cityid"=>"'auto.three_cityid'","type"=>"'auto.type'","edu"=>"'auto.edu'","exp"=>"'auto.exp'","sex"=>"'auto.sex'","minsalary"=>"'auto.minsalary'","maxsalary"=>"'auto.maxsalary'","keyword"=>"'auto.keyword'","cert"=>"'auto.cert'","urgent"=>"'auto.urgent'","rec"=>"'auto.rec'","bid"=>"1","uptime"=>"'auto.uptime'","key"=>"'key'","item"=>"'zd_list'","name"=>"'zdlist1'","nocache"=>"")
-;
- $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
- $paramer = $ParamerArr[arr];
- $Purl = $ParamerArr[purl];
- global $ModuleName;
- if(!$Purl["m"]){
- $Purl["m"]=$ModuleName;
- }
- include_once PLUS_PATH."/comrating.cache.php";
- include(CONFIG_PATH."db.data.php");
- if($config[sy_web_site]=="1"){
- if($config[province]>0 && $config[province]!=""){
- $paramer[provinceid] = $config[province];
- }
- if($config[cityid]>0 && $config[cityid]!=""){
- $paramer[cityid] = $config[cityid];
- }
- if($config[three_cityid]>0 && $config[three_cityid]!=""){
- $paramer[three_cityid] = $config[three_cityid];
- }
- if($config[hyclass]>0 && $config[hyclass]!=""){
- $paramer[hy]=$config[hyclass];
- }
- }
-
-
- if($paramer[sdate]){
- $where = "`sdate`>".strtotime("-".intval($paramer[sdate])." day",time())." and `state`=1";
- }else{
- $where = "`state`=1";
- }
-
- //按照UID来查询(按公司地址查询可用GET[id]获取当前公司ID)
- if($paramer[uid]){
- $where .= " AND `uid` = '$paramer[uid]'";
- }
- if($paramer[com_id]){
- $where .= " AND `uid` = '$paramer[com_id]'";
- }
-
- //是否推荐职位
- if($paramer[rec]){
-
- $where.=" AND `rec_time`>=".time();
-
- }
- //企业认证条件
- if($paramer['cert']){
- $job_uid=array();
- $company=$db->select_all("company","`yyzz_status`=1","`uid`");
- if(is_array($company)){
- foreach($company as $v){
- $job_uid[]=$v['uid'];
- }
- }
- $where.=" and `uid` in (".@implode(",",$job_uid).")";
- }
- //取不包含当前企业的职位
- if($paramer[nouid]){
- $where.= " and `uid`<>$paramer[nouid]";
- }
- //取不包含当前id的职位
- if($paramer[noid]){
- $where.= " and `id`<>$paramer[noid]";
- }
- //是否被锁定
- if($paramer[r_status]){
- $where.= " and `r_status`=2";
- }else{
- $where.= " and `r_status`=1";
- }
- //是否下架职位
- if($paramer[status]){
- $where.= " and `status`='1'";
- }else{
- $where.= " and `status`='0'";
- }
- //公司体制
- if($paramer[pr]){
- $where .= " AND `pr` =$paramer[pr]";
- }
- //公司行业分类
- if($paramer['hy']){
- $where .= " AND `hy` = $paramer[hy]";
- }
- //职位大类
- if($paramer[job1]){
- $where .= " AND `job1` = $paramer[job1]";
- }
- //职位子类
- if($paramer[job1_son]){
- $where .= " AND `job1_son` = $paramer[job1_son]";
- }
- //职位三级分类
- if($paramer[job_post]){
- $where .= " AND (`job_post` IN ($paramer[job_post]))";
- }
- //您可能感兴趣的职位--个人会员中心
- if($paramer['jobwhere']){
- $where .=" and ".$paramer['jobwhere'];
- }
- //职位分类综合查询
- if($paramer['jobids']){
- $where.= " AND (`job1` = '$paramer[jobids]' OR `job1_son`= '$paramer[jobids]' OR `job_post`='$paramer[jobids]')";
- }
- //职位分类区间,不建议执行该查询
- if($paramer['jobin']){
- $where .= " AND (`job1` IN ($paramer[jobin]) OR `job1_son` IN ($paramer[jobin]) OR `job_post` IN ($paramer[jobin]))";
- }
- //城市大类
- if($paramer[provinceid]){
- $where .= " AND `provinceid` = $paramer[provinceid]";
- }
- //城市子类
- if($paramer['cityid']){
- $where .= " AND (`cityid` IN ($paramer[cityid]))";
- }
- //城市三级子类
- if($paramer['three_cityid']){
- $where .= " AND (`three_cityid` IN ($paramer[three_cityid]))";
- }
- if($paramer['cityin']){
- $where .= " AND `three_cityid` IN ($paramer[cityin])";
- }
- //学历
- if($paramer[edu]){
-
- $eduKey = $db->DB_select_once("comclass", "`variable` = 'job_edu'", "`id`");
- $eduReq = $db->DB_select_once("comclass", "`id` = $paramer[edu]", "`sort`,`name`");
- if($eduReq[name] != "不限"){
-
- $eduArr = $db->select_all("comclass", "`keyid` = $eduKey[id] AND `sort` <= $eduReq[sort]", "`id`");
- $eduIds = array();
- foreach($eduArr as $v){
- $eduIds[] = $v[id];
- }
-
- $where .= " AND `edu` in (".@implode(",",$eduIds).")";
- }
- }
- //工作经验
- if($paramer[exp]){
-
- $expKey = $db->DB_select_once("comclass", "`variable` = 'job_exp'", "`id`");
- $expReq = $db->DB_select_once("comclass", "`id` = $paramer[exp]", "`sort`,`name`");
- if($expReq[name] != "不限"){
-
- $expArr = $db->select_all("comclass", "`keyid` = $expKey[id] AND `sort` <= $expReq[sort]", "`id`");
- $expIds = array();
- foreach($expArr as $v){
- $expIds[] = $v[id];
- }
- $where .= " AND `exp` in (".@implode(",",$expIds).")";
- }
- }
- //到岗时间
- if($paramer[report]){
- $where .= " AND `report` = $paramer[report]";
- }
- //职位性质
- if($paramer[type]){
- $where .= " AND `type` = $paramer[type]";
- }
- //性别
- if($paramer[sex]){
- $where .= " AND `sex` = $paramer[sex]";
- }
- //应届生
- if($paramer[is_graduate]){
- $where .= " AND `is_graduate` = $paramer[is_graduate]";
- }
- //公司规模
- if($paramer[mun]){
- $where .= " AND `mun` = $paramer[mun]";
- }
-
- if($paramer[minsalary] && $paramer[maxsalary]){
- $where.= " AND (`minsalary`>=".intval($paramer[minsalary])." and `minsalary`<=".intval($paramer[maxsalary])." and `maxsalary`<=".intval($paramer[maxsalary]).") ";
-
- }elseif($paramer[minsalary]&&!$paramer[maxsalary]){
- $where.= " AND (`minsalary`>=".intval($paramer[minsalary]).") ";
-
- }elseif(!$paramer[minsalary]&&$paramer[maxsalary]){
- $where.= " AND (`minsalary`<=".intval($paramer[maxsalary])." and `maxsalary`<=".intval($paramer[maxsalary]).") ";
- }
-
- //福利待遇
- $cache_array = $db->cacheget();
- $comclass_name = $cache_array["comclass_name"];
- if($paramer[welfare]){
- $welfarename=$comclass_name[$paramer[welfare]];
- $where .=" AND `welfare` LIKE '%".$welfarename."%' ";
- }
-
- //城市区间,不建议执行该查询
- if($paramer[cityin]){
- $where .= " AND (`provinceid` IN ($paramer[cityin]) OR `cityid` IN ($paramer[cityin]) OR `three_cityid` IN ($paramer[cityin]))";
- }
- //紧急招聘urgent
- if($paramer[urgent]){
- $where.=" AND `urgent_time`>".time();
- }
- //更新时间区间
- if($paramer[uptime]){
- if($paramer[uptime]==1){
- $beginToday=mktime(0,0,0,date('m'),date('d'),date('Y'));
- $where.=" AND lastupdate>$beginToday";
- }else{
- $time=time();
- $uptime = $time-($paramer[uptime]*86400);
- $where.=" AND lastupdate>$uptime";
- }
- }else{
- if($config[sy_datacycle]>0){
- // 后台-页面设置-数据周期
- $uptime = strtotime('-'.$config[sy_datacycle].' day');
- $where.=" AND lastupdate>$uptime";
- }
- }
- //按类似公司名称,不建议进行大数据量操作
- if($paramer[comname]){
- $where.=" AND `com_name` LIKE '%".$paramer[comname]."%'";
- }
- //按公司归属地,只适合查询一级城市分类
- if($paramer[com_pro]){
- $where.=" AND `com_provinceid` ='".$paramer[com_pro]."'";
- }
- //按照职位名称匹配
- if($paramer[keyword]){
- $where1[]="`name` LIKE '%".$paramer[keyword]."%'";
- $where1[]="`com_name` LIKE '%".$paramer[keyword]."%'";
- include PLUS_PATH."/city.cache.php";
- foreach($city_name as $k=>$v){
- if(strpos($v,$paramer[keyword])!==false){
- $cityid[]=$k;
- }
- }
- if(is_array($cityid)){
- foreach($cityid as $value){
- $class[]= "(provinceid = '".$value."' or cityid = '".$value."')";
- }
- $where1[]=@implode(" or ",$class);
- }
- $where.=" AND (".@implode(" or ",$where1).")";
- }
-
- //多选职位
- if($paramer["job"]){
- $where.=" AND `job_post` in ($paramer[job])";
- }
- //置顶招聘
- if($paramer[bid]){
- if($config[joblist_top]!=1){
- $paramer[limit] = 5;
- }
- $where.=" and `xsdate`>'".time()."'";
- }
-
- //自定义查询条件,默认取代上面任何参数直接使用该语句
- if($paramer[where]){
- $where = $paramer[where];
- }
-
- //查询条数
- $limit = '';
- if($paramer[limit]){
-
- $limit = " limit ".$paramer[limit];
- }
- if($paramer[ispage]){
- $limit = PageNav($paramer,$_GET,"company_job",$where,$Purl,"",$paramer[islt]?$paramer[islt]:"6",$_smarty_tpl);
- }
-
- //排序字段默认为更新时间
- //置顶设置为随机5条时,随机查询
- if($paramer[bid] && $paramer[limit]){
- $order = " ORDER BY rand() ";
- }else{
- if($paramer[order] && $paramer[order]!="lastdate"){
- $order = " ORDER BY ".str_replace("'","",$paramer[order])." ";
- }else{
- $order = " ORDER BY `lastupdate` ";
- }
- }
- //排序规则 默认为倒序
- if($paramer[sort]){
- $sort = $paramer[sort];
- }else{
- $sort = " DESC";
- }
- $where.=$order.$sort;
-
- $zd_list = $db->select_all("company_job",$where.$limit);
-
- if(is_array($zd_list) && !empty($zd_list)){
- //处理类别字段
- $cache_array = $db->cacheget();
- $comuid=$jobid=array();
- foreach($zd_list as $key=>$value){
- if(in_array($value['uid'],$comuid)==false){$comuid[] = $value['uid'];}
- if(in_array($value['id'],$jobid)==false){$jobid[] = $value['id'];}
- }
- $comuids = @implode(',',$comuid);
- $jobids = @implode(',',$jobid);
- //减少曝光量统计维度 只有列表才统计
- if($paramer[ispage]){
- $db->update_all("company_job", "`jobexpoure` = `jobexpoure` + 1", "`id` in ($jobids)");
- }
-
-
- if($comuids){
- $r_uids=$db->select_all("company","`uid` IN (".$comuids.")","`uid`,`yyzz_status`,`logo`,`logo_status`,`pr`,`hy`,`mun`,`shortname`,`welfare`,`hotstart`,`hottime`");
- if(is_array($r_uids)){
- foreach($r_uids as $key=>$value){
- if($value[shortname]){
- $value['shortname_n'] = $value[shortname];
- }
- if(!$value['logo'] || $value['logo_status']!=0){
- $value['logo'] = checkpic("",$config['sy_unit_icon']);
- }else{
- $value['logo']= checkpic($value['logo']);
- }
- $value['pr_n'] = $cache_array['comclass_name'][$value[pr]];
- $value['hy_n'] = $cache_array['industry_name'][$value[hy]];
- $value['mun_n'] = $cache_array['comclass_name'][$value[mun]];
- if($value['hotstart']<=time() && $value['hottime']>=time()){
- $value['hotlogo'] = 1;
- }
- $r_uid[$value['uid']] = $value;
- }
- }
- }
-
- if($paramer[bid]){
- $noids=array();
- }
- foreach($zd_list as $key=>$value){
-
- if($paramer[bid]){
- $noids[] = $value[id];
- }
- //筛除重复
- if($paramer[noids]==1 && !empty($noids) && in_array($value['id'],$noids)){
- unset($zd_list[$key]);
- continue;
- }else{
- $zd_list[$key] = $db->array_action($value,$cache_array);
- $zd_list[$key][stime] = date("Y-m-d",$value[sdate]);
- $zd_list[$key][etime] = date("Y-m-d",$value[edate]);
- if($arr_data['sex'][$value['sex']]){
- $zd_list[$key][sex_n]=$arr_data['sex'][$value['sex']];
- }
- $zd_list[$key][lastupdate] =lastupdateStyle($value[lastupdate]);
- if($value[minsalary]&&$value[maxsalary]){
- if($config['resume_salarytype']==1){
- $zd_list[$key][job_salary] =$value[minsalary]."-".$value[maxsalary];
- }else{
- if($value[maxsalary]<1000){
- if($config['resume_salarytype']==2){
- $zd_list[$key][job_salary] = "1千以下";
- }elseif($config['resume_salarytype']==3){
- $zd_list[$key][job_salary] = "1K以下";
- }elseif($config['resume_salarytype']==4){
- $zd_list[$key][job_salary] = "1k以下";
- }
- }else if($value[minsalary]<1000){
- $zd_list[$key][job_salary] =changeSalary($value[maxsalary]);
- }else{
- $zd_list[$key][job_salary] =changeSalary($value[minsalary])."-".changeSalary($value[maxsalary]);
- }
- }
- }elseif($value[minsalary]){
- if($config['resume_salarytype']==1){
- $zd_list[$key][job_salary] =$value[minsalary]."以上";
- }else{
- $zd_list[$key][job_salary] =changeSalary($value[minsalary])."以上";
- }
- }else{
- $zd_list[$key][job_salary] ="面议";
- }
-
- if($r_uid[$value['uid']][shortname]){
- $zd_list[$key][com_name] =$r_uid[$value['uid']][shortname];
- }
- if(!empty($value[zp_minage]) && !empty($value[zp_maxage])){
- if($value[zp_minage]==$value[zp_maxage]){
- $zd_list[$key][job_age] = $value[zp_minage]."周岁以上";
- }else{
- $zd_list[$key][job_age] = $value[zp_minage]."-".$value[zp_maxage]."周岁";
- }
- }else if(!empty($value[zp_minage]) && empty($value[zp_maxage])){
- $zd_list[$key][job_age] = $value[zp_minage]."周岁以上";
- }else{
- $zd_list[$key][job_age] = 0;
- }
- if($value[zp_num]==0){
- $zd_list[$key][job_number] = "";
- }else{
- $zd_list[$key][job_number] = $value[zp_num]." 人";
- }
- $zd_list[$key][yyzz_status] =$r_uid[$value['uid']][yyzz_status];
- $zd_list[$key][logo] =$r_uid[$value['uid']][logo];
- $zd_list[$key][pr_n] =$r_uid[$value['uid']][pr_n];
- $zd_list[$key][hy_n] =$r_uid[$value['uid']][hy_n];
- $zd_list[$key][mun_n] =$r_uid[$value['uid']][mun_n];
- $zd_list[$key][hotlogo] =$r_uid[$value['uid']][hotlogo];
- $time=$value['lastupdate'];
- //今天开始时间戳
- $beginToday=mktime(0,0,0,date('m'),date('d'),date('Y'));
- //昨天开始时间戳
- $beginYesterday=mktime(0,0,0,date('m'),date('d')-1,date('Y'));
-
- if($time>$beginYesterday && $time<$beginToday){
- $zd_list[$key]['time'] ="昨天";
- }elseif($time>$beginToday){
- $zd_list[$key]['time'] = $zd_list[$key]['lastupdate'];
- $zd_list[$key]['redtime'] =1;
- }else{
- $zd_list[$key]['time'] = date("Y-m-d",$value['lastupdate']);
- }
-
- // 前天
- $beforeYesterday=mktime(0,0,0,date('m'),date('d')-2,date('Y'));
-
- if($value['sdate']>$beforeYesterday){
- $zd_list[$key]['newtime'] =1;
- }
- //获得福利待遇名称
- if($value[welfare]){
- $value[welfare] = str_replace(' ', '',$value[welfare]);
- $welfareList = @explode(',',trim($value[welfare]));
-
- if(!empty($welfareList)){
- $zd_list[$key][welfarename] =array_filter($welfareList);
- }
- }
- //截取公司名称
- if($paramer[comlen]){
- if($r_uid[$value['uid']][shortname]){
- $zd_list[$key][com_n] = mb_substr($r_uid[$value['uid']][shortname],0,$paramer[comlen],"utf-8");
- }else{
- $zd_list[$key][com_n] = mb_substr($value['com_name'],0,$paramer[comlen],"utf-8");
- }
- }
- //截取职位名称
- if($paramer[namelen]){
- if($value['rec_time']>time()){
- $zd_list[$key][name_n] = "<font color='red'>".mb_substr($value['name'],0,$paramer[namelen],"utf-8")."</font>";
- }else{
- $zd_list[$key][name_n] = mb_substr($value['name'],0,$paramer[namelen],"utf-8");
- }
- }else{
- if($value['rec_time']>time()){
- $zd_list[$key]['name_n'] = "<font color='red'>".$value['name']."</font>";
- }else{
- $zd_list[$key][name_n] = $value['name'];
- }
- }
- //构建职位伪静态URL
- $zd_list[$key][job_url] = Url("job",array("c"=>"comapply","id"=>$value[id]),"1");
- //构建企业伪静态URL
- $zd_list[$key][com_url] = Url("company",array("c"=>"show","id"=>$value[uid]));
-
- foreach($comrat as $k=>$v){
- if($value[rating]==$v[id]){
- $zd_list[$key][color] = str_replace("#","",$v[com_color]);
- if($v[com_pic]){
- $zd_list[$key][ratlogo] = checkpic($v[com_pic]);
- }
- $zd_list[$key][ratname] = $v[name];
- }
- }
- if($paramer[keyword]){
- $zd_list[$key][name]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$value[name]);
- $zd_list[$key][name_n]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$zd_list[$key][name_n]);
- $zd_list[$key][com_n]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$zd_list[$key][com_n]);
- $zd_list[$key][job_city_one]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$city_name[$value[provinceid]]);
- $zd_list[$key][job_city_two]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$city_name[$value[cityid]]);
- }
- }
- }
- if(is_array($zd_list)){
- if($paramer[keyword]!=""&&!empty($zd_list)){
- addkeywords('3',$paramer[keyword]);
- }
- }
- }$zd_list = $zd_list; if (!is_array($zd_list) && !is_object($zd_list)) { settype($zd_list, 'array');}
-foreach ($zd_list as $_smarty_tpl->tpl_vars['zd_list']->key => $_smarty_tpl->tpl_vars['zd_list']->value) {
-$_smarty_tpl->tpl_vars['zd_list']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['zd_list']->key;
-?>
- <div class="search_job_list <?php if ($_smarty_tpl->tpl_vars['key']->value%2!='0') {
-}?>">
- <?php if ($_smarty_tpl->tpl_vars['zd_list']->value['newtime']==1) {?><i class="yunjoblist_newicon" title="新职位"> </i><?php }?>
- <div class="yunjoblist_new">
- <div class="yunjoblist_newname"> <a href="<?php echo $_smarty_tpl->tpl_vars['zd_list']->value['job_url'];?>
-" class="yunjoblist_newname_a " target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['zd_list']->value['name'];?>
-"><?php echo $_smarty_tpl->tpl_vars['zd_list']->value['name_n'];?>
-</a><?php if ($_smarty_tpl->tpl_vars['zd_list']->value['urgent_time']>time()) {?><img src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/images/jobjp.png" alt="紧急招聘" class="co_zzjp png" /><?php }?> <?php if ($_smarty_tpl->tpl_vars['zd_list']->value['rec_time']>time()) {?><img src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/images/jobtj.png" alt="站长推荐" class="co_zzjp png" /><?php }?> </div>
-
- <div class="yunjoblist_newcomename"><a href="<?php echo $_smarty_tpl->tpl_vars['zd_list']->value['com_url'];?>
-" target="_blank" class="search_job_com_name" title="<?php echo $_smarty_tpl->tpl_vars['zd_list']->value['com_name'];?>
-"><?php echo $_smarty_tpl->tpl_vars['zd_list']->value['com_n'];?>
-</a><?php if ($_smarty_tpl->tpl_vars['zd_list']->value['hotlogo']==1) {?> <img src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/images/firm_icon.png" alt="名企" class="png"><?php }?> <?php if ($_smarty_tpl->tpl_vars['zd_list']->value['ratlogo']!=''&&$_smarty_tpl->tpl_vars['zd_list']->value['ratlogo']!="0") {?><img src="<?php echo $_smarty_tpl->tpl_vars['zd_list']->value['ratlogo'];?>
-" alt="<?php echo $_smarty_tpl->tpl_vars['zd_list']->value['ratname'];?>
-" width="16" /><?php }
-if ($_smarty_tpl->tpl_vars['zd_list']->value['yyzz_status']=='1') {?> <img src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/images/disc_icon10.png" alt="企业资质已审核" class="png" width="16"> <?php }?></div>
- <a href="javascript:;" pid="<?php echo $_smarty_tpl->tpl_vars['zd_list']->value['id'];?>
-" class="yunjoblist_new_icon <?php if ($_GET['jobtype']!='1') {?>yunjoblist_new_icon_cur<?php }?>" title="<?php if ($_GET['jobtype']!='1') {?>收起<?php } else { ?>展开<?php }?>"></a> </div>
- <!-----详细部分---------->
- <div class="jobshow <?php if ($_GET['jobtype']=='1') {?>none<?php }?>" id="jobshow<?php echo $_smarty_tpl->tpl_vars['zd_list']->value['id'];?>
-">
- <div class="search_job_left_siaber">
- <div class="company_det"> <span class="search_job_l_xz"><?php echo $_smarty_tpl->tpl_vars['zd_list']->value['job_salary'];?>
-</span><span class="search_job_list_box_line">|</span><span class="search_job_list_box_s"><em class="com_search_job_em"><?php echo $_smarty_tpl->tpl_vars['zd_list']->value['job_city_one'];?>
--<?php echo $_smarty_tpl->tpl_vars['zd_list']->value['job_city_two'];?>
-</em></span> <?php if ($_smarty_tpl->tpl_vars['zd_list']->value['job_exp']) {?><span class="search_job_list_box_line">|</span><span class="search_job_list_box_s"><em class="com_search_job_em"><?php echo $_smarty_tpl->tpl_vars['zd_list']->value['job_exp'];?>
-经验</em> </span> <span class="search_job_list_box_line">|</span><?php }?>
- <?php if ($_smarty_tpl->tpl_vars['zd_list']->value['job_edu']) {?><span class="search_job_list_box_s"><em class="com_search_job_em"><?php echo $_smarty_tpl->tpl_vars['zd_list']->value['job_edu'];?>
-学历 </em></span> <?php }?> </div>
-
-
- </div>
- <div class="company_det_c_name">
- <div class="company_det_hy">
- <div class=""><?php echo $_smarty_tpl->tpl_vars['zd_list']->value['hy_n'];?>
-<i class="company_det_hy_line">|</i><?php echo $_smarty_tpl->tpl_vars['zd_list']->value['pr_n'];?>
-<i class="company_det_hy_line">|</i><?php echo $_smarty_tpl->tpl_vars['zd_list']->value['mun_n'];?>
-</div>
- </div>
- </div>
- <div class="yun_joblist_ope"> <?php if (in_array($_smarty_tpl->tpl_vars['zd_list']->value['id'],$_smarty_tpl->tpl_vars['useridjob']->value)) {?> <a href="<?php echo smarty_function_url(array('m'=>'job','c'=>'comapply','id'=>'`$zd_list.id`'),$_smarty_tpl);?>
-" target="_blank" class="search_job_Apply_fast_ysq">已申请</a> <?php } else { ?> <a href="<?php echo smarty_function_url(array('m'=>'job','c'=>'comapply','id'=>'`$zd_list.id`'),$_smarty_tpl);?>
-" target="_blank" class="search_job_Apply_fast">申请</a> <?php }?>
-
- </div>
- <div class="job_bottom">
- <div class="job_bottomleft">
- <?php if ($_smarty_tpl->tpl_vars['zd_list']->value['welfarename']) {?>
- <div class="job_welfare_tag"> <?php $_smarty_tpl->tpl_vars['waflist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['waflist']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['zd_list']->value['welfarename']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['waflist']->key => $_smarty_tpl->tpl_vars['waflist']->value) {
-$_smarty_tpl->tpl_vars['waflist']->_loop = true;
-?> <span class="job_welfare_tag_s"><?php echo $_smarty_tpl->tpl_vars['waflist']->value;?>
-</span> <?php } ?> </div>
- <?php } else { ?>
- <div class="job_describe_p"> <?php if ($_smarty_tpl->tpl_vars['zd_list']->value['job_number']) {?><span class="job_describe_p_s">招聘<?php echo $_smarty_tpl->tpl_vars['zd_list']->value['job_number'];?>
-</span><?php }?> <?php if ($_smarty_tpl->tpl_vars['zd_list']->value['job_age']) {?> <span class="job_describe_p_s">年龄<?php echo $_smarty_tpl->tpl_vars['zd_list']->value['job_age'];?>
-</span><?php }?> <?php if ($_smarty_tpl->tpl_vars['zd_list']->value['sex_n']) {?><span class="job_describe_p_s">性别<?php echo $_smarty_tpl->tpl_vars['zd_list']->value['sex_n'];?>
-</span><?php }?> </div>
- <?php }?>
- </div>
- <div class="job_bottomcont">
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_h5_share']==1) {?>
- <a href="javascript:;" purl="<?php echo smarty_function_url(array('m'=>'ajax','c'=>'pubqrcode','toc'=>'job','toa'=>'share','toid'=>$_smarty_tpl->tpl_vars['zd_list']->value['id']),$_smarty_tpl);?>
-" class="yunjoblist_newwxbth">微信扫一扫快速求职</a></div>
- <?php } else { ?>
- <a href="javascript:;" purl="<?php echo smarty_function_url(array('m'=>'ajax','c'=>'pubqrcode','toc'=>'job','toa'=>'view','toid'=>$_smarty_tpl->tpl_vars['zd_list']->value['id']),$_smarty_tpl);?>
-" class="yunjoblist_newwxbth">微信扫一扫快速求职</a></div>
- <?php }?>
-
-
- <span class="yunjoblist_new_time"> <span style="color:#2778f8;">置顶</span> </span>
-
-
- </div>
- </div>
- <!-----详细部分 end---------->
- <?php if (in_array($_smarty_tpl->tpl_vars['zd_list']->value['id'],$_smarty_tpl->tpl_vars['lookJobIds']->value)) {?>
- <div class="lookjob">浏览过</div>
- <?php }?>
- </div>
- <?php } ?>
- <?php }?>
-
- <!-----竞价置顶end---------->
-
- <?php $_smarty_tpl->tpl_vars['job_list'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['job_list']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
-global $db,$db_config,$config;
- $time = time();
-
-
- //可以做缓存
- $paramer=array("namelen"=>"30","comlen"=>"30","noids"=>"1","ispage"=>"1","report"=>"'auto.report'","welfare"=>"'auto.welfare'","rec"=>"'auto.rec'","hy"=>"'auto.hy'","job1"=>"'auto.job1'","job1_son"=>"'auto.job1_son'","job_post"=>"'auto.job_post'","jobids"=>"'auto.jobids'","pr"=>"'auto.pr'","mun"=>"'auto.mun'","provinceid"=>"'auto.provinceid'","cityid"=>"'auto.cityid'","ltype"=>"'auto.ltype'","three_cityid"=>"'auto.three_cityid'","type"=>"'auto.type'","edu"=>"'auto.edu'","exp"=>"'auto.exp'","sex"=>"'auto.sex'","minsalary"=>"'auto.minsalary'","maxsalary"=>"'auto.maxsalary'","keyword"=>"'auto.keyword'","key"=>"'key'","sdate"=>"'auto.sdate'","cert"=>"'auto.cert'","urgent"=>"'auto.urgent'","uptime"=>"'auto.uptime'","order"=>"'auto.order'","limit"=>"20","item"=>"'job_list'","name"=>"'joblist1'","nocache"=>"")
-;
- $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
- $paramer = $ParamerArr[arr];
- $Purl = $ParamerArr[purl];
- global $ModuleName;
- if(!$Purl["m"]){
- $Purl["m"]=$ModuleName;
- }
- include_once PLUS_PATH."/comrating.cache.php";
- include(CONFIG_PATH."db.data.php");
- if($config[sy_web_site]=="1"){
- if($config[province]>0 && $config[province]!=""){
- $paramer[provinceid] = $config[province];
- }
- if($config[cityid]>0 && $config[cityid]!=""){
- $paramer[cityid] = $config[cityid];
- }
- if($config[three_cityid]>0 && $config[three_cityid]!=""){
- $paramer[three_cityid] = $config[three_cityid];
- }
- if($config[hyclass]>0 && $config[hyclass]!=""){
- $paramer[hy]=$config[hyclass];
- }
- }
-
-
- if($paramer[sdate]){
- $where = "`sdate`>".strtotime("-".intval($paramer[sdate])." day",time())." and `state`=1";
- }else{
- $where = "`state`=1";
- }
-
- //按照UID来查询(按公司地址查询可用GET[id]获取当前公司ID)
- if($paramer[uid]){
- $where .= " AND `uid` = '$paramer[uid]'";
- }
- if($paramer[com_id]){
- $where .= " AND `uid` = '$paramer[com_id]'";
- }
-
- //是否推荐职位
- if($paramer[rec]){
-
- $where.=" AND `rec_time`>=".time();
-
- }
- //企业认证条件
- if($paramer['cert']){
- $job_uid=array();
- $company=$db->select_all("company","`yyzz_status`=1","`uid`");
- if(is_array($company)){
- foreach($company as $v){
- $job_uid[]=$v['uid'];
- }
- }
- $where.=" and `uid` in (".@implode(",",$job_uid).")";
- }
- //取不包含当前企业的职位
- if($paramer[nouid]){
- $where.= " and `uid`<>$paramer[nouid]";
- }
- //取不包含当前id的职位
- if($paramer[noid]){
- $where.= " and `id`<>$paramer[noid]";
- }
- //是否被锁定
- if($paramer[r_status]){
- $where.= " and `r_status`=2";
- }else{
- $where.= " and `r_status`=1";
- }
- //是否下架职位
- if($paramer[status]){
- $where.= " and `status`='1'";
- }else{
- $where.= " and `status`='0'";
- }
- //公司体制
- if($paramer[pr]){
- $where .= " AND `pr` =$paramer[pr]";
- }
- //公司行业分类
- if($paramer['hy']){
- $where .= " AND `hy` = $paramer[hy]";
- }
- //职位大类
- if($paramer[job1]){
- $where .= " AND `job1` = $paramer[job1]";
- }
- //职位子类
- if($paramer[job1_son]){
- $where .= " AND `job1_son` = $paramer[job1_son]";
- }
- //职位三级分类
- if($paramer[job_post]){
- $where .= " AND (`job_post` IN ($paramer[job_post]))";
- }
- //您可能感兴趣的职位--个人会员中心
- if($paramer['jobwhere']){
- $where .=" and ".$paramer['jobwhere'];
- }
- //职位分类综合查询
- if($paramer['jobids']){
- $where.= " AND (`job1` = '$paramer[jobids]' OR `job1_son`= '$paramer[jobids]' OR `job_post`='$paramer[jobids]')";
- }
- //职位分类区间,不建议执行该查询
- if($paramer['jobin']){
- $where .= " AND (`job1` IN ($paramer[jobin]) OR `job1_son` IN ($paramer[jobin]) OR `job_post` IN ($paramer[jobin]))";
- }
- //城市大类
- if($paramer[provinceid]){
- $where .= " AND `provinceid` = $paramer[provinceid]";
- }
- //城市子类
- if($paramer['cityid']){
- $where .= " AND (`cityid` IN ($paramer[cityid]))";
- }
- //城市三级子类
- if($paramer['three_cityid']){
- $where .= " AND (`three_cityid` IN ($paramer[three_cityid]))";
- }
- if($paramer['cityin']){
- $where .= " AND `three_cityid` IN ($paramer[cityin])";
- }
- //学历
- if($paramer[edu]){
-
- $eduKey = $db->DB_select_once("comclass", "`variable` = 'job_edu'", "`id`");
- $eduReq = $db->DB_select_once("comclass", "`id` = $paramer[edu]", "`sort`,`name`");
- if($eduReq[name] != "不限"){
-
- $eduArr = $db->select_all("comclass", "`keyid` = $eduKey[id] AND `sort` <= $eduReq[sort]", "`id`");
- $eduIds = array();
- foreach($eduArr as $v){
- $eduIds[] = $v[id];
- }
-
- $where .= " AND `edu` in (".@implode(",",$eduIds).")";
- }
- }
- //工作经验
- if($paramer[exp]){
-
- $expKey = $db->DB_select_once("comclass", "`variable` = 'job_exp'", "`id`");
- $expReq = $db->DB_select_once("comclass", "`id` = $paramer[exp]", "`sort`,`name`");
- if($expReq[name] != "不限"){
-
- $expArr = $db->select_all("comclass", "`keyid` = $expKey[id] AND `sort` <= $expReq[sort]", "`id`");
- $expIds = array();
- foreach($expArr as $v){
- $expIds[] = $v[id];
- }
- $where .= " AND `exp` in (".@implode(",",$expIds).")";
- }
- }
- //到岗时间
- if($paramer[report]){
- $where .= " AND `report` = $paramer[report]";
- }
- //职位性质
- if($paramer[type]){
- $where .= " AND `type` = $paramer[type]";
- }
- //性别
- if($paramer[sex]){
- $where .= " AND `sex` = $paramer[sex]";
- }
- //应届生
- if($paramer[is_graduate]){
- $where .= " AND `is_graduate` = $paramer[is_graduate]";
- }
- //公司规模
- if($paramer[mun]){
- $where .= " AND `mun` = $paramer[mun]";
- }
-
- if($paramer[minsalary] && $paramer[maxsalary]){
- $where.= " AND (`minsalary`>=".intval($paramer[minsalary])." and `minsalary`<=".intval($paramer[maxsalary])." and `maxsalary`<=".intval($paramer[maxsalary]).") ";
-
- }elseif($paramer[minsalary]&&!$paramer[maxsalary]){
- $where.= " AND (`minsalary`>=".intval($paramer[minsalary]).") ";
-
- }elseif(!$paramer[minsalary]&&$paramer[maxsalary]){
- $where.= " AND (`minsalary`<=".intval($paramer[maxsalary])." and `maxsalary`<=".intval($paramer[maxsalary]).") ";
- }
-
- //福利待遇
- $cache_array = $db->cacheget();
- $comclass_name = $cache_array["comclass_name"];
- if($paramer[welfare]){
- $welfarename=$comclass_name[$paramer[welfare]];
- $where .=" AND `welfare` LIKE '%".$welfarename."%' ";
- }
-
- //城市区间,不建议执行该查询
- if($paramer[cityin]){
- $where .= " AND (`provinceid` IN ($paramer[cityin]) OR `cityid` IN ($paramer[cityin]) OR `three_cityid` IN ($paramer[cityin]))";
- }
- //紧急招聘urgent
- if($paramer[urgent]){
- $where.=" AND `urgent_time`>".time();
- }
- //更新时间区间
- if($paramer[uptime]){
- if($paramer[uptime]==1){
- $beginToday=mktime(0,0,0,date('m'),date('d'),date('Y'));
- $where.=" AND lastupdate>$beginToday";
- }else{
- $time=time();
- $uptime = $time-($paramer[uptime]*86400);
- $where.=" AND lastupdate>$uptime";
- }
- }else{
- if($config[sy_datacycle]>0){
- // 后台-页面设置-数据周期
- $uptime = strtotime('-'.$config[sy_datacycle].' day');
- $where.=" AND lastupdate>$uptime";
- }
- }
- //按类似公司名称,不建议进行大数据量操作
- if($paramer[comname]){
- $where.=" AND `com_name` LIKE '%".$paramer[comname]."%'";
- }
- //按公司归属地,只适合查询一级城市分类
- if($paramer[com_pro]){
- $where.=" AND `com_provinceid` ='".$paramer[com_pro]."'";
- }
- //按照职位名称匹配
- if($paramer[keyword]){
- $where1[]="`name` LIKE '%".$paramer[keyword]."%'";
- $where1[]="`com_name` LIKE '%".$paramer[keyword]."%'";
- include PLUS_PATH."/city.cache.php";
- foreach($city_name as $k=>$v){
- if(strpos($v,$paramer[keyword])!==false){
- $cityid[]=$k;
- }
- }
- if(is_array($cityid)){
- foreach($cityid as $value){
- $class[]= "(provinceid = '".$value."' or cityid = '".$value."')";
- }
- $where1[]=@implode(" or ",$class);
- }
- $where.=" AND (".@implode(" or ",$where1).")";
- }
-
- //多选职位
- if($paramer["job"]){
- $where.=" AND `job_post` in ($paramer[job])";
- }
- //置顶招聘
- if($paramer[bid]){
- if($config[joblist_top]!=1){
- $paramer[limit] = 5;
- }
- $where.=" and `xsdate`>'".time()."'";
- }
-
- //自定义查询条件,默认取代上面任何参数直接使用该语句
- if($paramer[where]){
- $where = $paramer[where];
- }
-
- //查询条数
- $limit = '';
- if($paramer[limit]){
-
- $limit = " limit ".$paramer[limit];
- }
- if($paramer[ispage]){
- $limit = PageNav($paramer,$_GET,"company_job",$where,$Purl,"",$paramer[islt]?$paramer[islt]:"6",$_smarty_tpl);
- }
-
- //排序字段默认为更新时间
- //置顶设置为随机5条时,随机查询
- if($paramer[bid] && $paramer[limit]){
- $order = " ORDER BY rand() ";
- }else{
- if($paramer[order] && $paramer[order]!="lastdate"){
- $order = " ORDER BY ".str_replace("'","",$paramer[order])." ";
- }else{
- $order = " ORDER BY `lastupdate` ";
- }
- }
- //排序规则 默认为倒序
- if($paramer[sort]){
- $sort = $paramer[sort];
- }else{
- $sort = " DESC";
- }
- $where.=$order.$sort;
-
- $job_list = $db->select_all("company_job",$where.$limit);
-
- if(is_array($job_list) && !empty($job_list)){
- //处理类别字段
- $cache_array = $db->cacheget();
- $comuid=$jobid=array();
- foreach($job_list as $key=>$value){
- if(in_array($value['uid'],$comuid)==false){$comuid[] = $value['uid'];}
- if(in_array($value['id'],$jobid)==false){$jobid[] = $value['id'];}
- }
- $comuids = @implode(',',$comuid);
- $jobids = @implode(',',$jobid);
- //减少曝光量统计维度 只有列表才统计
- if($paramer[ispage]){
- $db->update_all("company_job", "`jobexpoure` = `jobexpoure` + 1", "`id` in ($jobids)");
- }
-
-
- if($comuids){
- $r_uids=$db->select_all("company","`uid` IN (".$comuids.")","`uid`,`yyzz_status`,`logo`,`logo_status`,`pr`,`hy`,`mun`,`shortname`,`welfare`,`hotstart`,`hottime`");
- if(is_array($r_uids)){
- foreach($r_uids as $key=>$value){
- if($value[shortname]){
- $value['shortname_n'] = $value[shortname];
- }
- if(!$value['logo'] || $value['logo_status']!=0){
- $value['logo'] = checkpic("",$config['sy_unit_icon']);
- }else{
- $value['logo']= checkpic($value['logo']);
- }
- $value['pr_n'] = $cache_array['comclass_name'][$value[pr]];
- $value['hy_n'] = $cache_array['industry_name'][$value[hy]];
- $value['mun_n'] = $cache_array['comclass_name'][$value[mun]];
- if($value['hotstart']<=time() && $value['hottime']>=time()){
- $value['hotlogo'] = 1;
- }
- $r_uid[$value['uid']] = $value;
- }
- }
- }
-
- if($paramer[bid]){
- $noids=array();
- }
- foreach($job_list as $key=>$value){
-
- if($paramer[bid]){
- $noids[] = $value[id];
- }
- //筛除重复
- if($paramer[noids]==1 && !empty($noids) && in_array($value['id'],$noids)){
- unset($job_list[$key]);
- continue;
- }else{
- $job_list[$key] = $db->array_action($value,$cache_array);
- $job_list[$key][stime] = date("Y-m-d",$value[sdate]);
- $job_list[$key][etime] = date("Y-m-d",$value[edate]);
- if($arr_data['sex'][$value['sex']]){
- $job_list[$key][sex_n]=$arr_data['sex'][$value['sex']];
- }
- $job_list[$key][lastupdate] =lastupdateStyle($value[lastupdate]);
- if($value[minsalary]&&$value[maxsalary]){
- if($config['resume_salarytype']==1){
- $job_list[$key][job_salary] =$value[minsalary]."-".$value[maxsalary];
- }else{
- if($value[maxsalary]<1000){
- if($config['resume_salarytype']==2){
- $job_list[$key][job_salary] = "1千以下";
- }elseif($config['resume_salarytype']==3){
- $job_list[$key][job_salary] = "1K以下";
- }elseif($config['resume_salarytype']==4){
- $job_list[$key][job_salary] = "1k以下";
- }
- }else if($value[minsalary]<1000){
- $job_list[$key][job_salary] =changeSalary($value[maxsalary]);
- }else{
- $job_list[$key][job_salary] =changeSalary($value[minsalary])."-".changeSalary($value[maxsalary]);
- }
- }
- }elseif($value[minsalary]){
- if($config['resume_salarytype']==1){
- $job_list[$key][job_salary] =$value[minsalary]."以上";
- }else{
- $job_list[$key][job_salary] =changeSalary($value[minsalary])."以上";
- }
- }else{
- $job_list[$key][job_salary] ="面议";
- }
-
- if($r_uid[$value['uid']][shortname]){
- $job_list[$key][com_name] =$r_uid[$value['uid']][shortname];
- }
- if(!empty($value[zp_minage]) && !empty($value[zp_maxage])){
- if($value[zp_minage]==$value[zp_maxage]){
- $job_list[$key][job_age] = $value[zp_minage]."周岁以上";
- }else{
- $job_list[$key][job_age] = $value[zp_minage]."-".$value[zp_maxage]."周岁";
- }
- }else if(!empty($value[zp_minage]) && empty($value[zp_maxage])){
- $job_list[$key][job_age] = $value[zp_minage]."周岁以上";
- }else{
- $job_list[$key][job_age] = 0;
- }
- if($value[zp_num]==0){
- $job_list[$key][job_number] = "";
- }else{
- $job_list[$key][job_number] = $value[zp_num]." 人";
- }
- $job_list[$key][yyzz_status] =$r_uid[$value['uid']][yyzz_status];
- $job_list[$key][logo] =$r_uid[$value['uid']][logo];
- $job_list[$key][pr_n] =$r_uid[$value['uid']][pr_n];
- $job_list[$key][hy_n] =$r_uid[$value['uid']][hy_n];
- $job_list[$key][mun_n] =$r_uid[$value['uid']][mun_n];
- $job_list[$key][hotlogo] =$r_uid[$value['uid']][hotlogo];
- $time=$value['lastupdate'];
- //今天开始时间戳
- $beginToday=mktime(0,0,0,date('m'),date('d'),date('Y'));
- //昨天开始时间戳
- $beginYesterday=mktime(0,0,0,date('m'),date('d')-1,date('Y'));
-
- if($time>$beginYesterday && $time<$beginToday){
- $job_list[$key]['time'] ="昨天";
- }elseif($time>$beginToday){
- $job_list[$key]['time'] = $job_list[$key]['lastupdate'];
- $job_list[$key]['redtime'] =1;
- }else{
- $job_list[$key]['time'] = date("Y-m-d",$value['lastupdate']);
- }
-
- // 前天
- $beforeYesterday=mktime(0,0,0,date('m'),date('d')-2,date('Y'));
-
- if($value['sdate']>$beforeYesterday){
- $job_list[$key]['newtime'] =1;
- }
- //获得福利待遇名称
- if($value[welfare]){
- $value[welfare] = str_replace(' ', '',$value[welfare]);
- $welfareList = @explode(',',trim($value[welfare]));
-
- if(!empty($welfareList)){
- $job_list[$key][welfarename] =array_filter($welfareList);
- }
- }
- //截取公司名称
- if($paramer[comlen]){
- if($r_uid[$value['uid']][shortname]){
- $job_list[$key][com_n] = mb_substr($r_uid[$value['uid']][shortname],0,$paramer[comlen],"utf-8");
- }else{
- $job_list[$key][com_n] = mb_substr($value['com_name'],0,$paramer[comlen],"utf-8");
- }
- }
- //截取职位名称
- if($paramer[namelen]){
- if($value['rec_time']>time()){
- $job_list[$key][name_n] = "<font color='red'>".mb_substr($value['name'],0,$paramer[namelen],"utf-8")."</font>";
- }else{
- $job_list[$key][name_n] = mb_substr($value['name'],0,$paramer[namelen],"utf-8");
- }
- }else{
- if($value['rec_time']>time()){
- $job_list[$key]['name_n'] = "<font color='red'>".$value['name']."</font>";
- }else{
- $job_list[$key][name_n] = $value['name'];
- }
- }
- //构建职位伪静态URL
- $job_list[$key][job_url] = Url("job",array("c"=>"comapply","id"=>$value[id]),"1");
- //构建企业伪静态URL
- $job_list[$key][com_url] = Url("company",array("c"=>"show","id"=>$value[uid]));
-
- foreach($comrat as $k=>$v){
- if($value[rating]==$v[id]){
- $job_list[$key][color] = str_replace("#","",$v[com_color]);
- if($v[com_pic]){
- $job_list[$key][ratlogo] = checkpic($v[com_pic]);
- }
- $job_list[$key][ratname] = $v[name];
- }
- }
- if($paramer[keyword]){
- $job_list[$key][name]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$value[name]);
- $job_list[$key][name_n]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$job_list[$key][name_n]);
- $job_list[$key][com_n]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$job_list[$key][com_n]);
- $job_list[$key][job_city_one]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$city_name[$value[provinceid]]);
- $job_list[$key][job_city_two]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$city_name[$value[cityid]]);
- }
- }
- }
- if(is_array($job_list)){
- if($paramer[keyword]!=""&&!empty($job_list)){
- addkeywords('3',$paramer[keyword]);
- }
- }
- }$job_list = $job_list; if (!is_array($job_list) && !is_object($job_list)) { settype($job_list, 'array');}
-foreach ($job_list as $_smarty_tpl->tpl_vars['job_list']->key => $_smarty_tpl->tpl_vars['job_list']->value) {
-$_smarty_tpl->tpl_vars['job_list']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['job_list']->key;
-?>
- <div class="search_job_list <?php if ($_smarty_tpl->tpl_vars['key']->value%2!='0') {
-}?>">
- <?php if ($_smarty_tpl->tpl_vars['job_list']->value['newtime']==1) {?><i class="yunjoblist_newicon" title="新职位"> </i><?php }?>
- <div class="yunjoblist_new">
- <div class="yunjoblist_newname"><a href="<?php echo $_smarty_tpl->tpl_vars['job_list']->value['job_url'];?>
-" class="yunjoblist_newname_a" target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['job_list']->value['name'];?>
-"><?php echo $_smarty_tpl->tpl_vars['job_list']->value['name_n'];?>
-</a> <?php if ($_smarty_tpl->tpl_vars['job_list']->value['urgent_time']>time()) {?><img src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/images/jobjp.png" alt="紧急招聘" class="co_zzjp png" /><?php }?> <?php if ($_smarty_tpl->tpl_vars['job_list']->value['rec_time']>time()) {?><img src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/images/jobtj.png" alt="站长推荐" class="co_zzjp png" /><?php }?> </div>
-
- <div class="yunjoblist_newcomename"><a href="<?php echo $_smarty_tpl->tpl_vars['job_list']->value['com_url'];?>
-" target="_blank" class="search_job_com_name" title="<?php echo $_smarty_tpl->tpl_vars['job_list']->value['com_name'];?>
-"><?php echo $_smarty_tpl->tpl_vars['job_list']->value['com_n'];?>
-</a><?php if ($_smarty_tpl->tpl_vars['job_list']->value['hotlogo']==1) {?> <img src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/images/firm_icon.png" alt="名企" class="png"><?php }?> <?php if ($_smarty_tpl->tpl_vars['job_list']->value['ratlogo']!=''&&$_smarty_tpl->tpl_vars['job_list']->value['ratlogo']!="0") {?><img src="<?php echo $_smarty_tpl->tpl_vars['job_list']->value['ratlogo'];?>
-" alt="<?php echo $_smarty_tpl->tpl_vars['job_list']->value['ratname'];?>
-" width="16" /><?php }?> <?php if ($_smarty_tpl->tpl_vars['job_list']->value['yyzz_status']=='1') {?> <img src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/images/disc_icon10.png" alt="企业资质已审核" class="png" width="16"> <?php }?></div>
- <a href="javascript:;" pid="<?php echo $_smarty_tpl->tpl_vars['job_list']->value['id'];?>
-" class="yunjoblist_new_icon <?php if ($_GET['jobtype']!='1') {?>yunjoblist_new_icon_cur<?php }?>" title="<?php if ($_GET['jobtype']!='1') {?>收起<?php } else { ?>展开<?php }?>"></a></div>
- <!-----详细部分---------->
- <div class="jobshow <?php if ($_GET['jobtype']=='1') {?>none<?php }?>" id="jobshow<?php echo $_smarty_tpl->tpl_vars['job_list']->value['id'];?>
-">
- <div class="search_job_left_siaber">
- <div class="company_det"> <span class="search_job_l_xz"><?php echo $_smarty_tpl->tpl_vars['job_list']->value['job_salary'];?>
-</span><span class="search_job_list_box_line">|</span><span class="search_job_list_box_s"><em class="com_search_job_em"><?php echo $_smarty_tpl->tpl_vars['job_list']->value['job_city_one'];?>
--<?php echo $_smarty_tpl->tpl_vars['job_list']->value['job_city_two'];?>
-</em></span><?php if ($_smarty_tpl->tpl_vars['job_list']->value['job_exp']) {?> <span class="search_job_list_box_line">|</span> <span class="search_job_list_box_s"><em class="com_search_job_em"><?php echo $_smarty_tpl->tpl_vars['job_list']->value['job_exp'];?>
-经验</em> </span><span class="search_job_list_box_line">|</span><?php }?>
- <?php if ($_smarty_tpl->tpl_vars['job_list']->value['job_edu']) {?><span class="search_job_list_box_s"><em class="com_search_job_em"><?php echo $_smarty_tpl->tpl_vars['job_list']->value['job_edu'];?>
-学历 </em></span> <?php }?>
- </div>
-
-
- </div>
- <div class="company_det_c_name">
- <div class="company_det_hy">
- <div class=""><?php echo $_smarty_tpl->tpl_vars['job_list']->value['hy_n'];
-if ($_smarty_tpl->tpl_vars['job_list']->value['pr_n']) {?><i class="company_det_hy_line">|</i><?php echo $_smarty_tpl->tpl_vars['job_list']->value['pr_n'];
-}
-if ($_smarty_tpl->tpl_vars['job_list']->value['mun_n']) {?><i class="company_det_hy_line">|</i><?php echo $_smarty_tpl->tpl_vars['job_list']->value['mun_n'];
-}?></div>
- </div>
-
- </div>
- <div class="yun_joblist_ope"> <?php if (in_array($_smarty_tpl->tpl_vars['job_list']->value['id'],$_smarty_tpl->tpl_vars['useridjob']->value)) {?> <a href="<?php echo smarty_function_url(array('m'=>'job','c'=>'comapply','id'=>'`$job_list.id`'),$_smarty_tpl);?>
-" target="_blank" class="search_job_Apply_fast_ysq">已申请</a> <?php } else { ?> <a href="<?php echo smarty_function_url(array('m'=>'job','c'=>'comapply','id'=>'`$job_list.id`'),$_smarty_tpl);?>
-" target="_blank" class="search_job_Apply_fast ">申请</a> <?php }?>
- <!-- <div class="yun_job_operation_d"> <?php if ($_smarty_tpl->tpl_vars['uid']->value) {?>
- <?php if ($_smarty_tpl->tpl_vars['usertype']->value==1) {?>
- <?php if (in_array($_smarty_tpl->tpl_vars['job_list']->value['id'],$_smarty_tpl->tpl_vars['favjob']->value)) {?> <a href="javascript:fav_job('<?php echo $_smarty_tpl->tpl_vars['job_list']->value['id'];?>
-','1');" class="yun_job_operation_ysc">已收藏</a> <?php } else { ?> <a href="javascript:fav_job('<?php echo $_smarty_tpl->tpl_vars['job_list']->value['id'];?>
-','1');" class="yun_job_operation_sc scjobid<?php echo $_smarty_tpl->tpl_vars['job_list']->value['id'];?>
-">收藏</a> <?php }?>
- <?php } else { ?>
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_user_change']==1) {?>
- <a href="javascript:void(0);" onclick="layer.msg('请先申请个人用户才能收藏职位', 2, 8)" class="yun_job_operation_sc" rel="nofollow">收藏</a>
- <?php } else { ?>
- <a href="javascript:void(0);" onclick="layer.msg('只有个人用户才能收藏', 2, 8)" class="yun_job_operation_sc" rel="nofollow">收藏</a>
- <?php }?>
-
- <?php }?>
- <?php } else { ?> <a href="javascript:void(0);" onclick="showlogin('1');" class="yun_job_operation_sc" rel="nofollow">收藏</a> <?php }?>
-
- </div> -->
- </div>
- <?php if (in_array($_smarty_tpl->tpl_vars['job_list']->value['id'],$_smarty_tpl->tpl_vars['lookJobIds']->value)) {?>
- <div class="lookjob">浏览过</div>
- <?php }?>
- <div class="job_bottom">
- <div class="job_bottomleft">
- <?php if ($_smarty_tpl->tpl_vars['job_list']->value['welfarename']) {?>
- <div class="job_welfare_tag"> <?php $_smarty_tpl->tpl_vars['waflist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['waflist']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['job_list']->value['welfarename']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['waflist']->key => $_smarty_tpl->tpl_vars['waflist']->value) {
-$_smarty_tpl->tpl_vars['waflist']->_loop = true;
-?> <span class="job_welfare_tag_s"><?php echo $_smarty_tpl->tpl_vars['waflist']->value;?>
-</span> <?php } ?> </div>
- <?php } else { ?>
-
- <div class="job_welfare_tag">
- <?php if ($_smarty_tpl->tpl_vars['job_list']->value['job_number']) {?><span class="job_welfare_tag_s">招聘<?php echo $_smarty_tpl->tpl_vars['job_list']->value['job_number'];?>
-</span><?php }?> <?php if ($_smarty_tpl->tpl_vars['job_list']->value['job_age']) {?> <span class="job_welfare_tag_s">年龄<?php echo $_smarty_tpl->tpl_vars['job_list']->value['job_age'];?>
-</span><?php }?> <?php if ($_smarty_tpl->tpl_vars['job_list']->value['sex_n']) {?> <span class="job_welfare_tag_s">性别<?php echo $_smarty_tpl->tpl_vars['job_list']->value['sex_n'];?>
-</span><?php }?> </div>
- <?php }?></div>
- <div class="job_bottomcont">
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_h5_share']==1) {?>
- <a href="javascript:;" purl="<?php echo smarty_function_url(array('m'=>'ajax','c'=>'pubqrcode','toc'=>'job','toa'=>'share','toid'=>$_smarty_tpl->tpl_vars['job_list']->value['id']),$_smarty_tpl);?>
-" class="yunjoblist_newwxbth">微信扫一扫快速求职</a>
- <?php } else { ?>
- <a href="javascript:;" purl="<?php echo smarty_function_url(array('m'=>'ajax','c'=>'pubqrcode','toc'=>'job','toa'=>'view','toid'=>$_smarty_tpl->tpl_vars['job_list']->value['id']),$_smarty_tpl);?>
-" class="yunjoblist_newwxbth">微信扫一扫快速求职</a>
- <?php }?>
-
- </div>
- <span class="yunjoblist_new_time"> <?php if ($_smarty_tpl->tpl_vars['job_list']->value['time']=='昨天'||$_smarty_tpl->tpl_vars['job_list']->value['redtime']=='1') {?> <span style="color:red;"><?php echo $_smarty_tpl->tpl_vars['job_list']->value['time'];?>
-</span> <?php } else { ?> <?php echo $_smarty_tpl->tpl_vars['job_list']->value['time'];?>
- <?php }?></span>
-
-
- </div>
-
-
-
- </div>
- <!-----详细部分 end---------->
- </div>
- <?php } ?>
-
- <?php if ($_smarty_tpl->tpl_vars['total']->value!=0||is_array($_smarty_tpl->tpl_vars['zd_list']->value)) {?>
- <div class="clear"></div>
- <div class="search_pages">
- <div class="pages"><?php echo $_smarty_tpl->tpl_vars['pagenav']->value;
-echo $_smarty_tpl->tpl_vars['totalshow']->value;?>
-</div>
- </div>
- <input value='<?php echo $_GET['ltype'];?>
-' type='hidden' id='ltype' />
- <?php } else { ?>
- <!--没搜索到-->
- <div class=" new_notip">
- <div class="new_notip_img"><img src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/images/notip.png" ></div>
- <div class="new_notip_tit">很抱歉,没有找到满足条件的职位</div>
- <div class="new_notip_p">建议您适当减少已选择的条件或适当删减或更改搜索关键字</div>
-
- </div>
- <?php }?> </div>
- </div>
- <div class="yun_job_list_right">
- <div class="yun_job_list_right_banner">
- <?php $_smarty_tpl->tpl_vars['adlist_7'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['adlist_7']->_loop = false;
-global $db,$db_config,$config;$AdArr=array();$paramer=array();$attr=array("classid"=>"7","limit"=>"5","item"=>"'adlist_7'","nocache"=>"")
-;
- include(PLUS_PATH.'pimg_cache.php');$add_arr = $ad_label[7];if(is_array($add_arr) && !empty($add_arr)){
- $i=0;$limit = 5;$length = 0;
- foreach($add_arr as $key=>$value){
- if($config['did']){
- if(($value['did']==$config['did']|| $value['did']==-1)&&$value['start']<time()&&$value['end']>time()){
- if($i>0 && $limit==$i){
- break;
- }
- if($length>0){
- $value['name'] = mb_substr($value['name'],0,$length);
- }
- if($paramer['type']!=""){
- if($paramer['type'] == $value['type']){
- $AdArr[] = $value;
- }
- }else{
- $AdArr[] = $value;
- }
- $i++;
- }
-
- }else{
- if(($value['did']==-1 || !$value['did']) && $value['start']<time()&&$value['end']>time()){
- if($i>0 && $limit==$i){
- break;
- }
- if($length>0){
- $value['name'] = mb_substr($value['name'],0,$length);
- }
- if($paramer['type']!=""){
- if($paramer['type'] == $value['type']){
- $AdArr[] = $value;
- }
- }else{
- $AdArr[] = $value;
- }
- $i++;
- }
-
- }
- }
- if (isset($attr['random']) && $attr['random'] && count($AdArr) > $attr['random']) {
- $temp = [];
- $random_keys = array_rand($AdArr, $attr['random']);
-
- if($attr['random'] == 1) {
- $temp[] = $AdArr[$attr['random']];
- } else {
- foreach ($AdArr as $key => $value) {
- if (in_array($key, $random_keys)) {
- $temp[$key] = $value;
- }
- }
- }
- $AdArr = $temp;
- }
- }$AdArr = $AdArr; if (!is_array($AdArr) && !is_object($AdArr)) { settype($AdArr, 'array');}
-foreach ($AdArr as $_smarty_tpl->tpl_vars['adlist_7']->key => $_smarty_tpl->tpl_vars['adlist_7']->value) {
-$_smarty_tpl->tpl_vars['adlist_7']->_loop = true;
-?>
- <?php echo $_smarty_tpl->tpl_vars['adlist_7']->value['html'];?>
-
- <?php } ?> </div>
- <div class="job_recommendation">
- <div class="job_recommendation_title"><span class="job_recommendation_span"><i class="job_recommendation_span_line"></i>精选职位推荐</span> <?php if ($_smarty_tpl->tpl_vars['recNum']->value>10) {?><a href="javascript:void(0)" onclick="exchange();" class="job_right_box_more png" rel="nofollow">换一组</a><?php }?> </div>
- <ul class="job_recommendation_list">
- <input type="hidden" value='2' id='exchangep' />
- <?php $_smarty_tpl->tpl_vars['blist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['blist']->_loop = false;
-global $db,$db_config,$config;
- $time = time();
-
-
- //可以做缓存
- $paramer=array("namelen"=>"15","comlen"=>"19","rec"=>"1","limit"=>"10","item"=>"'blist'","nocache"=>"")
-;
- $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
- $paramer = $ParamerArr[arr];
- $Purl = $ParamerArr[purl];
- global $ModuleName;
- if(!$Purl["m"]){
- $Purl["m"]=$ModuleName;
- }
- include_once PLUS_PATH."/comrating.cache.php";
- include(CONFIG_PATH."db.data.php");
- if($config[sy_web_site]=="1"){
- if($config[province]>0 && $config[province]!=""){
- $paramer[provinceid] = $config[province];
- }
- if($config[cityid]>0 && $config[cityid]!=""){
- $paramer[cityid] = $config[cityid];
- }
- if($config[three_cityid]>0 && $config[three_cityid]!=""){
- $paramer[three_cityid] = $config[three_cityid];
- }
- if($config[hyclass]>0 && $config[hyclass]!=""){
- $paramer[hy]=$config[hyclass];
- }
- }
-
-
- if($paramer[sdate]){
- $where = "`sdate`>".strtotime("-".intval($paramer[sdate])." day",time())." and `state`=1";
- }else{
- $where = "`state`=1";
- }
-
- //按照UID来查询(按公司地址查询可用GET[id]获取当前公司ID)
- if($paramer[uid]){
- $where .= " AND `uid` = '$paramer[uid]'";
- }
- if($paramer[com_id]){
- $where .= " AND `uid` = '$paramer[com_id]'";
- }
-
- //是否推荐职位
- if($paramer[rec]){
-
- $where.=" AND `rec_time`>=".time();
-
- }
- //企业认证条件
- if($paramer['cert']){
- $job_uid=array();
- $company=$db->select_all("company","`yyzz_status`=1","`uid`");
- if(is_array($company)){
- foreach($company as $v){
- $job_uid[]=$v['uid'];
- }
- }
- $where.=" and `uid` in (".@implode(",",$job_uid).")";
- }
- //取不包含当前企业的职位
- if($paramer[nouid]){
- $where.= " and `uid`<>$paramer[nouid]";
- }
- //取不包含当前id的职位
- if($paramer[noid]){
- $where.= " and `id`<>$paramer[noid]";
- }
- //是否被锁定
- if($paramer[r_status]){
- $where.= " and `r_status`=2";
- }else{
- $where.= " and `r_status`=1";
- }
- //是否下架职位
- if($paramer[status]){
- $where.= " and `status`='1'";
- }else{
- $where.= " and `status`='0'";
- }
- //公司体制
- if($paramer[pr]){
- $where .= " AND `pr` =$paramer[pr]";
- }
- //公司行业分类
- if($paramer['hy']){
- $where .= " AND `hy` = $paramer[hy]";
- }
- //职位大类
- if($paramer[job1]){
- $where .= " AND `job1` = $paramer[job1]";
- }
- //职位子类
- if($paramer[job1_son]){
- $where .= " AND `job1_son` = $paramer[job1_son]";
- }
- //职位三级分类
- if($paramer[job_post]){
- $where .= " AND (`job_post` IN ($paramer[job_post]))";
- }
- //您可能感兴趣的职位--个人会员中心
- if($paramer['jobwhere']){
- $where .=" and ".$paramer['jobwhere'];
- }
- //职位分类综合查询
- if($paramer['jobids']){
- $where.= " AND (`job1` = '$paramer[jobids]' OR `job1_son`= '$paramer[jobids]' OR `job_post`='$paramer[jobids]')";
- }
- //职位分类区间,不建议执行该查询
- if($paramer['jobin']){
- $where .= " AND (`job1` IN ($paramer[jobin]) OR `job1_son` IN ($paramer[jobin]) OR `job_post` IN ($paramer[jobin]))";
- }
- //城市大类
- if($paramer[provinceid]){
- $where .= " AND `provinceid` = $paramer[provinceid]";
- }
- //城市子类
- if($paramer['cityid']){
- $where .= " AND (`cityid` IN ($paramer[cityid]))";
- }
- //城市三级子类
- if($paramer['three_cityid']){
- $where .= " AND (`three_cityid` IN ($paramer[three_cityid]))";
- }
- if($paramer['cityin']){
- $where .= " AND `three_cityid` IN ($paramer[cityin])";
- }
- //学历
- if($paramer[edu]){
-
- $eduKey = $db->DB_select_once("comclass", "`variable` = 'job_edu'", "`id`");
- $eduReq = $db->DB_select_once("comclass", "`id` = $paramer[edu]", "`sort`,`name`");
- if($eduReq[name] != "不限"){
-
- $eduArr = $db->select_all("comclass", "`keyid` = $eduKey[id] AND `sort` <= $eduReq[sort]", "`id`");
- $eduIds = array();
- foreach($eduArr as $v){
- $eduIds[] = $v[id];
- }
-
- $where .= " AND `edu` in (".@implode(",",$eduIds).")";
- }
- }
- //工作经验
- if($paramer[exp]){
-
- $expKey = $db->DB_select_once("comclass", "`variable` = 'job_exp'", "`id`");
- $expReq = $db->DB_select_once("comclass", "`id` = $paramer[exp]", "`sort`,`name`");
- if($expReq[name] != "不限"){
-
- $expArr = $db->select_all("comclass", "`keyid` = $expKey[id] AND `sort` <= $expReq[sort]", "`id`");
- $expIds = array();
- foreach($expArr as $v){
- $expIds[] = $v[id];
- }
- $where .= " AND `exp` in (".@implode(",",$expIds).")";
- }
- }
- //到岗时间
- if($paramer[report]){
- $where .= " AND `report` = $paramer[report]";
- }
- //职位性质
- if($paramer[type]){
- $where .= " AND `type` = $paramer[type]";
- }
- //性别
- if($paramer[sex]){
- $where .= " AND `sex` = $paramer[sex]";
- }
- //应届生
- if($paramer[is_graduate]){
- $where .= " AND `is_graduate` = $paramer[is_graduate]";
- }
- //公司规模
- if($paramer[mun]){
- $where .= " AND `mun` = $paramer[mun]";
- }
-
- if($paramer[minsalary] && $paramer[maxsalary]){
- $where.= " AND (`minsalary`>=".intval($paramer[minsalary])." and `minsalary`<=".intval($paramer[maxsalary])." and `maxsalary`<=".intval($paramer[maxsalary]).") ";
-
- }elseif($paramer[minsalary]&&!$paramer[maxsalary]){
- $where.= " AND (`minsalary`>=".intval($paramer[minsalary]).") ";
-
- }elseif(!$paramer[minsalary]&&$paramer[maxsalary]){
- $where.= " AND (`minsalary`<=".intval($paramer[maxsalary])." and `maxsalary`<=".intval($paramer[maxsalary]).") ";
- }
-
- //福利待遇
- $cache_array = $db->cacheget();
- $comclass_name = $cache_array["comclass_name"];
- if($paramer[welfare]){
- $welfarename=$comclass_name[$paramer[welfare]];
- $where .=" AND `welfare` LIKE '%".$welfarename."%' ";
- }
-
- //城市区间,不建议执行该查询
- if($paramer[cityin]){
- $where .= " AND (`provinceid` IN ($paramer[cityin]) OR `cityid` IN ($paramer[cityin]) OR `three_cityid` IN ($paramer[cityin]))";
- }
- //紧急招聘urgent
- if($paramer[urgent]){
- $where.=" AND `urgent_time`>".time();
- }
- //更新时间区间
- if($paramer[uptime]){
- if($paramer[uptime]==1){
- $beginToday=mktime(0,0,0,date('m'),date('d'),date('Y'));
- $where.=" AND lastupdate>$beginToday";
- }else{
- $time=time();
- $uptime = $time-($paramer[uptime]*86400);
- $where.=" AND lastupdate>$uptime";
- }
- }else{
- if($config[sy_datacycle]>0){
- // 后台-页面设置-数据周期
- $uptime = strtotime('-'.$config[sy_datacycle].' day');
- $where.=" AND lastupdate>$uptime";
- }
- }
- //按类似公司名称,不建议进行大数据量操作
- if($paramer[comname]){
- $where.=" AND `com_name` LIKE '%".$paramer[comname]."%'";
- }
- //按公司归属地,只适合查询一级城市分类
- if($paramer[com_pro]){
- $where.=" AND `com_provinceid` ='".$paramer[com_pro]."'";
- }
- //按照职位名称匹配
- if($paramer[keyword]){
- $where1[]="`name` LIKE '%".$paramer[keyword]."%'";
- $where1[]="`com_name` LIKE '%".$paramer[keyword]."%'";
- include PLUS_PATH."/city.cache.php";
- foreach($city_name as $k=>$v){
- if(strpos($v,$paramer[keyword])!==false){
- $cityid[]=$k;
- }
- }
- if(is_array($cityid)){
- foreach($cityid as $value){
- $class[]= "(provinceid = '".$value."' or cityid = '".$value."')";
- }
- $where1[]=@implode(" or ",$class);
- }
- $where.=" AND (".@implode(" or ",$where1).")";
- }
-
- //多选职位
- if($paramer["job"]){
- $where.=" AND `job_post` in ($paramer[job])";
- }
- //置顶招聘
- if($paramer[bid]){
- if($config[joblist_top]!=1){
- $paramer[limit] = 5;
- }
- $where.=" and `xsdate`>'".time()."'";
- }
-
- //自定义查询条件,默认取代上面任何参数直接使用该语句
- if($paramer[where]){
- $where = $paramer[where];
- }
-
- //查询条数
- $limit = '';
- if($paramer[limit]){
-
- $limit = " limit ".$paramer[limit];
- }
- if($paramer[ispage]){
- $limit = PageNav($paramer,$_GET,"company_job",$where,$Purl,"",$paramer[islt]?$paramer[islt]:"6",$_smarty_tpl);
- }
-
- //排序字段默认为更新时间
- //置顶设置为随机5条时,随机查询
- if($paramer[bid] && $paramer[limit]){
- $order = " ORDER BY rand() ";
- }else{
- if($paramer[order] && $paramer[order]!="lastdate"){
- $order = " ORDER BY ".str_replace("'","",$paramer[order])." ";
- }else{
- $order = " ORDER BY `lastupdate` ";
- }
- }
- //排序规则 默认为倒序
- if($paramer[sort]){
- $sort = $paramer[sort];
- }else{
- $sort = " DESC";
- }
- $where.=$order.$sort;
-
- $blist = $db->select_all("company_job",$where.$limit);
-
- if(is_array($blist) && !empty($blist)){
- //处理类别字段
- $cache_array = $db->cacheget();
- $comuid=$jobid=array();
- foreach($blist as $key=>$value){
- if(in_array($value['uid'],$comuid)==false){$comuid[] = $value['uid'];}
- if(in_array($value['id'],$jobid)==false){$jobid[] = $value['id'];}
- }
- $comuids = @implode(',',$comuid);
- $jobids = @implode(',',$jobid);
- //减少曝光量统计维度 只有列表才统计
- if($paramer[ispage]){
- $db->update_all("company_job", "`jobexpoure` = `jobexpoure` + 1", "`id` in ($jobids)");
- }
-
-
- if($comuids){
- $r_uids=$db->select_all("company","`uid` IN (".$comuids.")","`uid`,`yyzz_status`,`logo`,`logo_status`,`pr`,`hy`,`mun`,`shortname`,`welfare`,`hotstart`,`hottime`");
- if(is_array($r_uids)){
- foreach($r_uids as $key=>$value){
- if($value[shortname]){
- $value['shortname_n'] = $value[shortname];
- }
- if(!$value['logo'] || $value['logo_status']!=0){
- $value['logo'] = checkpic("",$config['sy_unit_icon']);
- }else{
- $value['logo']= checkpic($value['logo']);
- }
- $value['pr_n'] = $cache_array['comclass_name'][$value[pr]];
- $value['hy_n'] = $cache_array['industry_name'][$value[hy]];
- $value['mun_n'] = $cache_array['comclass_name'][$value[mun]];
- if($value['hotstart']<=time() && $value['hottime']>=time()){
- $value['hotlogo'] = 1;
- }
- $r_uid[$value['uid']] = $value;
- }
- }
- }
-
- if($paramer[bid]){
- $noids=array();
- }
- foreach($blist as $key=>$value){
-
- if($paramer[bid]){
- $noids[] = $value[id];
- }
- //筛除重复
- if($paramer[noids]==1 && !empty($noids) && in_array($value['id'],$noids)){
- unset($blist[$key]);
- continue;
- }else{
- $blist[$key] = $db->array_action($value,$cache_array);
- $blist[$key][stime] = date("Y-m-d",$value[sdate]);
- $blist[$key][etime] = date("Y-m-d",$value[edate]);
- if($arr_data['sex'][$value['sex']]){
- $blist[$key][sex_n]=$arr_data['sex'][$value['sex']];
- }
- $blist[$key][lastupdate] =lastupdateStyle($value[lastupdate]);
- if($value[minsalary]&&$value[maxsalary]){
- if($config['resume_salarytype']==1){
- $blist[$key][job_salary] =$value[minsalary]."-".$value[maxsalary];
- }else{
- if($value[maxsalary]<1000){
- if($config['resume_salarytype']==2){
- $blist[$key][job_salary] = "1千以下";
- }elseif($config['resume_salarytype']==3){
- $blist[$key][job_salary] = "1K以下";
- }elseif($config['resume_salarytype']==4){
- $blist[$key][job_salary] = "1k以下";
- }
- }else if($value[minsalary]<1000){
- $blist[$key][job_salary] =changeSalary($value[maxsalary]);
- }else{
- $blist[$key][job_salary] =changeSalary($value[minsalary])."-".changeSalary($value[maxsalary]);
- }
- }
- }elseif($value[minsalary]){
- if($config['resume_salarytype']==1){
- $blist[$key][job_salary] =$value[minsalary]."以上";
- }else{
- $blist[$key][job_salary] =changeSalary($value[minsalary])."以上";
- }
- }else{
- $blist[$key][job_salary] ="面议";
- }
-
- if($r_uid[$value['uid']][shortname]){
- $blist[$key][com_name] =$r_uid[$value['uid']][shortname];
- }
- if(!empty($value[zp_minage]) && !empty($value[zp_maxage])){
- if($value[zp_minage]==$value[zp_maxage]){
- $blist[$key][job_age] = $value[zp_minage]."周岁以上";
- }else{
- $blist[$key][job_age] = $value[zp_minage]."-".$value[zp_maxage]."周岁";
- }
- }else if(!empty($value[zp_minage]) && empty($value[zp_maxage])){
- $blist[$key][job_age] = $value[zp_minage]."周岁以上";
- }else{
- $blist[$key][job_age] = 0;
- }
- if($value[zp_num]==0){
- $blist[$key][job_number] = "";
- }else{
- $blist[$key][job_number] = $value[zp_num]." 人";
- }
- $blist[$key][yyzz_status] =$r_uid[$value['uid']][yyzz_status];
- $blist[$key][logo] =$r_uid[$value['uid']][logo];
- $blist[$key][pr_n] =$r_uid[$value['uid']][pr_n];
- $blist[$key][hy_n] =$r_uid[$value['uid']][hy_n];
- $blist[$key][mun_n] =$r_uid[$value['uid']][mun_n];
- $blist[$key][hotlogo] =$r_uid[$value['uid']][hotlogo];
- $time=$value['lastupdate'];
- //今天开始时间戳
- $beginToday=mktime(0,0,0,date('m'),date('d'),date('Y'));
- //昨天开始时间戳
- $beginYesterday=mktime(0,0,0,date('m'),date('d')-1,date('Y'));
-
- if($time>$beginYesterday && $time<$beginToday){
- $blist[$key]['time'] ="昨天";
- }elseif($time>$beginToday){
- $blist[$key]['time'] = $blist[$key]['lastupdate'];
- $blist[$key]['redtime'] =1;
- }else{
- $blist[$key]['time'] = date("Y-m-d",$value['lastupdate']);
- }
-
- // 前天
- $beforeYesterday=mktime(0,0,0,date('m'),date('d')-2,date('Y'));
-
- if($value['sdate']>$beforeYesterday){
- $blist[$key]['newtime'] =1;
- }
- //获得福利待遇名称
- if($value[welfare]){
- $value[welfare] = str_replace(' ', '',$value[welfare]);
- $welfareList = @explode(',',trim($value[welfare]));
-
- if(!empty($welfareList)){
- $blist[$key][welfarename] =array_filter($welfareList);
- }
- }
- //截取公司名称
- if($paramer[comlen]){
- if($r_uid[$value['uid']][shortname]){
- $blist[$key][com_n] = mb_substr($r_uid[$value['uid']][shortname],0,$paramer[comlen],"utf-8");
- }else{
- $blist[$key][com_n] = mb_substr($value['com_name'],0,$paramer[comlen],"utf-8");
- }
- }
- //截取职位名称
- if($paramer[namelen]){
- if($value['rec_time']>time()){
- $blist[$key][name_n] = "<font color='red'>".mb_substr($value['name'],0,$paramer[namelen],"utf-8")."</font>";
- }else{
- $blist[$key][name_n] = mb_substr($value['name'],0,$paramer[namelen],"utf-8");
- }
- }else{
- if($value['rec_time']>time()){
- $blist[$key]['name_n'] = "<font color='red'>".$value['name']."</font>";
- }else{
- $blist[$key][name_n] = $value['name'];
- }
- }
- //构建职位伪静态URL
- $blist[$key][job_url] = Url("job",array("c"=>"comapply","id"=>$value[id]),"1");
- //构建企业伪静态URL
- $blist[$key][com_url] = Url("company",array("c"=>"show","id"=>$value[uid]));
-
- foreach($comrat as $k=>$v){
- if($value[rating]==$v[id]){
- $blist[$key][color] = str_replace("#","",$v[com_color]);
- if($v[com_pic]){
- $blist[$key][ratlogo] = checkpic($v[com_pic]);
- }
- $blist[$key][ratname] = $v[name];
- }
- }
- if($paramer[keyword]){
- $blist[$key][name]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$value[name]);
- $blist[$key][name_n]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$blist[$key][name_n]);
- $blist[$key][com_n]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$blist[$key][com_n]);
- $blist[$key][job_city_one]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$city_name[$value[provinceid]]);
- $blist[$key][job_city_two]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$city_name[$value[cityid]]);
- }
- }
- }
- if(is_array($blist)){
- if($paramer[keyword]!=""&&!empty($blist)){
- addkeywords('3',$paramer[keyword]);
- }
- }
- }$blist = $blist; if (!is_array($blist) && !is_object($blist)) { settype($blist, 'array');}
-foreach ($blist as $_smarty_tpl->tpl_vars['blist']->key => $_smarty_tpl->tpl_vars['blist']->value) {
-$_smarty_tpl->tpl_vars['blist']->_loop = true;
-?>
- <li> <a href="<?php echo $_smarty_tpl->tpl_vars['blist']->value['job_url'];?>
-" class="job_recommendation_jobname" title="<?php echo $_smarty_tpl->tpl_vars['blist']->value['name'];?>
-"><?php echo $_smarty_tpl->tpl_vars['blist']->value['name_n'];?>
-</a> <a href="<?php echo $_smarty_tpl->tpl_vars['blist']->value['com_url'];?>
-" class="job_recommendation_Comname" title="<?php echo $_smarty_tpl->tpl_vars['blist']->value['com_name'];?>
-"><?php echo $_smarty_tpl->tpl_vars['blist']->value['com_n'];?>
-</a>
- <div class="job_recommendation_msg"> <span class=""><em class="job_right_box_list_c"><?php echo $_smarty_tpl->tpl_vars['blist']->value['job_salary'];?>
- </em></span> </div>
- </li>
- <?php } ?>
- </ul>
- </div>
- <div class="job_recommendation">
- <div class="job_recommendation_title"><span class="job_recommendation_span"><i class="job_recommendation_span_line"></i>推荐企业</span> </div>
- <ul class="job_mq_box">
- <?php $_smarty_tpl->tpl_vars['hotjoblist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['hotjoblist']->_loop = false;
-global $db,$db_config,$config;$paramer=array("item"=>"'hotjoblist'","limit"=>"8","nocache"=>"")
-;$hotjoblist=array();
-
- $time = time();
- //处理传入参数,并且构造分页参数
- $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
- $paramer = $ParamerArr['arr'];
- $Purl = $ParamerArr['purl'];
- global $ModuleName;
- if(!$Purl["m"]){
- $Purl["m"]=$ModuleName;
- }
- //是否属于分站下
- if($config[sy_web_site]=="1"){
- $jobwheres="";
- if($config[province]>0 && $config[province]!=""){
- $jobwheres.=" and `provinceid`='$config[province]'";
- }
- if($config[cityid]>0 && $config[cityid]!=""){
- $jobwheres.=" and `cityid`='$config[cityid]'";
- }
- if($config[three_cityid]>0 && $config[three_cityid]!=""){
- $jobwheres.=" and `three_cityid`='$config[three_cityid]'";
- }
- if($config[hyclass]>0 && $config[hyclass]!=""){
- $jobwheres.=" and `hy`='".$config[hyclass]."'";
- }
- if($jobwheres){
- $comlist=$db->select_all("company","`hottime`>$time ".$jobwheres,"`uid`");
- if(is_array($comlist)){
- foreach($comlist as $v){
- $cuid[]=$v[uid];
- }
- }
- $hotwhere=" and `uid` in (".@implode(",",$cuid).")";
- }
- }
- if($paramer['limit']){
- $limit=" limit ".$paramer['limit'];
- }
- $where = "`time_start`<$time AND `time_end`>$time".$hotwhere;
-
- if($config['hotcom_top'] == 1){
- // 职位更新时间(职位修改时,会更新名企表lastupdate字段)
- $order = " ORDER BY `lastupdate` DESC ";
- }elseif($config['hotcom_top'] == 2){
- // 随机
- $order = " ORDER BY rand() ";
- }else{
- // 后台手动设置
- $order = " ORDER BY `sort` DESC ";
- }$where.=$order;
- $Query = $db->query("SELECT * FROM $db_config[def]hotjob where ".$where.$limit);
- while($rs = $db->fetch_array($Query)){
- $hotjoblist[] = $rs;
- $ListId[] = $rs[uid];
- }
-
- //是否需要查询对应职位
- $ComId = @implode(",",$ListId);
- $comList= $db->select_all("company","`uid` IN ($ComId)","`shortname`,`uid`,`hy`,`mun`,`provinceid`,`cityid`,`three_cityid`, `r_status`");
-
- if($config[sy_datacycle]>0){
-
- $uptime = strtotime('-'.$config[sy_datacycle].' day');
- $JobList= $db->select_all("company_job","`uid` IN ($ComId) and state=1 and r_status=1 and status=0 and lastupdate > $uptime $jobwheres","`id`,`uid`,`name`");
- }else{
-
- $JobList= $db->select_all("company_job","`uid` IN ($ComId) and state=1 and r_status=1 and status=0 $jobwheres","`id`,`uid`,`name`");
- }
-
- $statis=$db->select_all("company_statis","`uid` IN ($ComId)","`uid`,`comtpl`");
- if(is_array($ListId)){
-
- foreach($hotjoblist as $key=>$value){
- foreach($comList as $v){
- if($v['uid'] == $value['uid']){
- if($v['r_status'] != 1){
- unset($hotjoblist[$key]);
- }
- }
- }
- }
- $JobIds = array();
- //处理类别字段
- $cache_array = $db->cacheget();
- foreach($hotjoblist as $key=>$value){
- $hotjoblist[$key]["hot_pic"]=checkpic($value[hot_pic],$config[sy_unit_icon]);
- foreach($comList as $v){
-
- if($value['uid']==$v['uid']){
- if($v['shortname']){
- $hotjoblist[$key]["username"]= $v[shortname];
- }
- $hotjoblist[$key]["hy"]= $cache_array[industry_name][$v[hy]];
- $hotjoblist[$key]["mun_n"]= $cache_array[comclass_name][$v[mun]];
- $hotjoblist[$key]["job_city_one"]= $cache_array[city_name][$v[provinceid]];
- $hotjoblist[$key]["job_city_two"]= $cache_array[city_name][$v[cityid]];
- }
- }
- $i=0;$j=0;
- $hotjoblist[$key]["num"]=0;
- if(is_array($JobList)){
- foreach($JobList as $ke=>$va){
- if($value[uid]==$va[uid]){
- if($j<3){
- $hotjob_url = Url("job",array("c"=>"comapply","id"=>"$va[id]"),"1");
- $curl= Url("company",array("c"=>"show","id"=>$value[uid]));
- $va[name] = mb_substr($va[name],0,8,"utf-8");
- $hotjoblist[$key]["hotjob"].="<div class='index_mq_box_cont_showjoblist'><a href=\"$hotjob_url\">".$va[name]."</a></div>";
- $JobIds[] = $va['id'];
- }else{
- if($j==3){
- $hotjoblist[$key]["hotjob"].="<div class='index_mq_box_cont_showjobmore'><a href=\"$curl\">更多职位</a></div>";
- }
- }
- $j++;
- }
- }
-
-
- $hotjoblist[$key]["job"].="<div class=\"area_left\"> ";
-
- foreach($JobList as $k=>$v){
- if($value[uid]==$v[uid] && $i<5){
- $job_url = Url("job",array("c"=>"comapply","id"=>"$v[id]"),"1");
- $v[name] = mb_substr($v[name],0,10,"utf-8");
- $hotjoblist[$key]["job"].="<a href='".$job_url."'>".$v[name]."</a>";
- $i++;
- }
- if($value[uid]==$v[uid]){
- $hotjoblist[$key]["num"]=$hotjoblist[$key]["num"]+1;
- }
- }
-
- foreach($statis as $v){
- if($value['uid']==$v['uid']){
- if($v['comtpl'] && $v['comtpl']!="default"){
- $jobs_url = Url("company",array("c"=>"show","id"=>$value[uid]))."#job";
- }else{
- $jobs_url = Url("company",array("c"=>"show","id"=>$value[uid]));
- }
- }
- }
- $com_url = Url("company",array("c"=>"show","id"=>$value[uid]));
- $hotjoblist[$key]["job"].="</div><div class=\"area_right\"><a href='".$com_url."'>".$value["username"]."</a></div>";
- $hotjoblist[$key]["url"]=$com_url;
- }
- }
- if(!empty($JobIds)){
- //$db -> update_all("company_job", "`jobexpoure` = `jobexpoure` + 1", "`id` IN (".@implode(',',$JobIds).")");
- }
- }$hotjoblist = $hotjoblist; if (!is_array($hotjoblist) && !is_object($hotjoblist)) { settype($hotjoblist, 'array');}
-foreach ($hotjoblist as $_smarty_tpl->tpl_vars['hotjoblist']->key => $_smarty_tpl->tpl_vars['hotjoblist']->value) {
-$_smarty_tpl->tpl_vars['hotjoblist']->_loop = true;
-?>
- <li> <a href="<?php echo $_smarty_tpl->tpl_vars['hotjoblist']->value['url'];?>
-" target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['hotjoblist']->value['username'];?>
-">
- <div class="co_recom_imgbox"><img src="<?php echo smarty_function_formatpicurl(array('path'=>$_smarty_tpl->tpl_vars['hotjoblist']->value['hot_pic'],'type'=>'comlogo'),$_smarty_tpl);?>
-" onerror="showImgDelay(this,'<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_unit_icon'];?>
-',2);" width="100" height="100" /> </div>
- <p><?php echo mb_substr($_smarty_tpl->tpl_vars['hotjoblist']->value['username'],0,13,'utf-8');?>
-</p>
- </a> </li>
- <?php }
-if (!$_smarty_tpl->tpl_vars['hotjoblist']->_loop) {
-?>
- <div class="pc_notip">暂无推荐企业</div>
- <?php } ?>
- </ul>
- </div>
- </div>
-
- </div>
-</div>
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
-<link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/lazyload.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
->
- var weburl = "<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-",
- integral_pricename = '<?php echo $_smarty_tpl->tpl_vars['config']->value['integral_pricename'];?>
-';
- <?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/class.public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type="text/javascript"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/js/com_index.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/search.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type="text/javascript"><?php echo '</script'; ?>
->
-<!--[if IE 6]>
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/png.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
->
- DD_belatedPNG.fix('.png,.search_job_data,.yun_job_operation_sc');
- <?php echo '</script'; ?>
->
- <![endif]-->
-<?php echo '<script'; ?>
->
- $(document).ready(function() {
- $("#form").submit(function(e) {
- var min = $("#min").val();
- var max = $("#max").val();
- if(min && max && parseInt(max) < parseInt(min)) {
- $("#min").val(max);
- $("#max").val(min);
- }
- });
- $('.yunjoblist_newwxbth').hover(function(){
- var purl=$(this).attr('purl');
- layer.tips("<img src="+purl+" style='max-width:120px'>", this, {
- guide:3,
- time:0,
- style: ['background-color:#5EA7DC;', '#5EA7DC']
- });
- },function() {
- layer.closeAll('tips');
- });
- $('.yunjoblist_new_icon').click(function(){
- var pid=$(this).attr('pid');
- if($(this).attr('title')=='展开'){
- $(this).addClass('yunjoblist_new_icon_cur');
- $(this).attr('title','收起');
- $('#jobshow'+pid).show();
- }else{
- $(this).removeClass('yunjoblist_new_icon_cur');
- $(this).attr('title','展开');
- $('#jobshow'+pid).hide();
- }
- });
- });
-
- function closeWxtzTips(){
- $.post('index.php?c=closeWxtzTips', {}, function (data) {
- $("#wxtz_tips").addClass("none")
- }, 'json')
- }
- <?php echo '</script'; ?>
->
-<?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/public_search/login.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-<?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/public_search/index_search.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-<?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/footer.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-<?php }} ?>
diff --git a/data/templates_c/27a6b2af0295fe23df2ef67e29eaea98bb3be36b.file.admin_user_add.htm.php b/data/templates_c/27a6b2af0295fe23df2ef67e29eaea98bb3be36b.file.admin_user_add.htm.php
deleted file mode 100644
index 3a7c3da..0000000
--- a/data/templates_c/27a6b2af0295fe23df2ef67e29eaea98bb3be36b.file.admin_user_add.htm.php
+++ /dev/null
@@ -1,521 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-17 18:06:58
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\admin_user_add.htm" */ ?>
-<?php /*%%SmartyHeaderCode:219626800d2c2113616-93294741%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '27a6b2af0295fe23df2ef67e29eaea98bb3be36b' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\admin_user_add.htm',
- 1 => 1640333834,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '219626800d2c2113616-93294741',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'adminuser' => 0,
- 'pytoken' => 0,
- 'user_group' => 0,
- 'v' => 0,
- 'week' => 0,
- 'key' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_6800d2c21807e1_87877385',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_6800d2c21807e1_87877385')) {function content_6800d2c21807e1_87877385($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <link href="./images/reset.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css"/>
- <link href="./images/system.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css"/>
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="js/admin_public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
- <link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css"/>
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <link href="./images/table_form.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css"/>
- <title></title>
-</head>
-
-<?php if ($_smarty_tpl->tpl_vars['adminuser']->value['is_crm']!=1) {?>
-<style>
- .duty {
- display: none;
- }
-</style>
-<?php }?>
-
-<body class="body_ifm">
-
-<div class="infoboxp">
- <div class="tty-tishi_top">
- <div class="admin_new_tip">
- <a href="javascript:;" class="admin_new_tip_close"></a>
- <a href="javascript:;" class="admin_new_tip_open" style="display:none;"></a>
- <div class="admin_new_tit"><i class="admin_new_tit_icon"></i>操作提示</div>
- <div class="admin_new_tip_list_cont">
- <div class="admin_new_tip_list">添加管理员功能根据运营需求,超级管理员可以自由添加网站的多个超级管理员、分站管理员、CRM业务员等常规化设置。</div>
- <div class="admin_new_tip_list">真实姓名填写:如果作为招聘顾问展示,建议填写虚拟称呼,如:客服-小王</div>
- <div class="admin_new_tip_list">设置为业务员/招聘顾问后,可对业务员信息进行补充完善</div>
- <div class="admin_new_tip_list duty" style="color: red;"><span style="color: blue;">客户数量:</span>业务员主动领取客户公海客户,限定已拥有客户数量,未达限定值方可领取新客户(CRM排班自动分配客户不受该条件限制)</div>
- </div>
- </div>
-
- <div class="clear"></div>
-
- <div class="common-form">
- <div class="tag_box mt10">
-
- <iframe id="supportiframe" name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
- <form name="myform" action="index.php?m=admin_user&c=save" target="supportiframe" method="post" id="myform" onsubmit="return saveUseradd();" class="layui-form" enctype="multipart/form-data">
-
- <input type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['adminuser']->value['uid'];?>
-" name="uid"/>
- <input type="hidden" name="pytoken" id='pytoken' value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
-
- <table width="100%" class="table_form ">
- <tbody>
- <tr>
- <th>用户名:</th>
- <td>
- <div class="layui-input-block">
- <input type="text" name="username" id="username" lay-verify="required" placeholder="请输入用户名" value="<?php echo $_smarty_tpl->tpl_vars['adminuser']->value['username'];?>
-" size="30" autocomplete="off" class="layui-input t_w200">
- </div>
- </td>
- <th>密码:</th>
- <td>
- <div class="layui-input-inline" style="margin-right:10px;">
- <input type="password" name="password" id="password" lay-verify="required" placeholder="请输入密码" size="30" autocomplete="off" class="layui-input t_w200">
- </div>
- <?php if (is_array($_smarty_tpl->tpl_vars['adminuser']->value)) {?><span class="admin_web_tip">如果密码留空则不修改密码!</span><?php }?>
- </td>
- </tr>
-
-
- <tr>
- <th>真实姓名:</th>
- <td>
- <div class="layui-input-inline" style="margin-right:30px;">
- <input type="text" name="name" id="name" lay-verify="required" placeholder="请输入真实姓名" value="<?php echo $_smarty_tpl->tpl_vars['adminuser']->value['name'];?>
-" size="30" autocomplete="off" class="layui-input t_w200">
- </div>
- </td>
-
- <th>用户组:</th>
- <td>
- <div class="layui-input-inline t_w200">
- <select name="m_id" id="m_id_val">
- <option value="">请选择</option>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['user_group']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" <?php if ($_smarty_tpl->tpl_vars['v']->value['id']==$_smarty_tpl->tpl_vars['adminuser']->value['m_id']) {?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['v']->value['group_name'];?>
-</option>
- <?php } ?>
- </select>
- </div>
- </td>
- </tr>
-
- <tr>
- <th>是否可以登录分站:</th>
- <td>
- <div class="layui-input-block">
- <input name="isdid" value="1" title="可以登录" <?php if ($_smarty_tpl->tpl_vars['adminuser']->value['isdid']=="1") {?>checked<?php }?> type="radio"/>
- <input name="isdid" value="2" title="不可以登录" <?php if ($_smarty_tpl->tpl_vars['adminuser']->value['isdid']=="2") {?>checked<?php }?> type="radio"/>
- </div>
- </td>
-
- <th>业务员/招聘顾问:</th>
- <td>
- <div class="layui-input-block fl">
- <input type="checkbox" name="is_crm" value="1" lay-skin="switch" lay-text="是|否" <?php if ($_smarty_tpl->tpl_vars['adminuser']->value['is_crm']==1) {?> checked="" <?php }?> lay-filter="is_crm">
- </div>
- <span class="admin_web_tip fl ml30">业务轮值安排,可以设轮值时间和区域</span>
- </td>
- </tr>
- <tr>
- <th>企业微信账户:</th>
- <td>
- <div class="layui-input-inline" style="margin-right:30px;">
- <input type="text" name="qy_userid" id="qy_userid" placeholder="请输入企业微信账户" value="<?php echo $_smarty_tpl->tpl_vars['adminuser']->value['qy_userid'];?>
-" autocomplete="off" class="layui-input t_w200">
- </div>
- </td>
- <th>登录控制:</th>
- <td>
- <div class="layui-input-inline" style="margin-right:30px;">
- <input type="text" class="layui-input t_w200" value="<?php echo $_smarty_tpl->tpl_vars['adminuser']->value['control_login'];?>
-" name="control_login" id="control_login" placeholder="">
- </div>
- <span class="admin_web_tip">每天在选择固定时间内才能登录</span>
- </td>
- </tr>
- <tr>
- <th>查看后台首页统计权限:</th>
- <td>
- <div class="layui-input-inline">
- <input name="index_lookstatistc" value="1" title="否" <?php if ($_smarty_tpl->tpl_vars['adminuser']->value['index_lookstatistc']=="1") {?>checked<?php }?> type="radio"/>
- <input name="index_lookstatistc" value="2" title="是" <?php if ($_smarty_tpl->tpl_vars['adminuser']->value['index_lookstatistc']=="2") {?>checked<?php }?> type="radio"/>
- </div>
- </td>
- </tr>
- <tr class="admin_table_trbg duty">
- <th colspan="4" class="admin_bold_box">
- <div class="admin_bold" style="margin-top: 20px;">业务员/招聘顾问信息</div>
- </th>
- </tr>
- <tr class="duty">
- <th>微信号:</th>
- <td>
- <div class="layui-input-block">
- <input type="text" name="weixin" id="weixin" lay-verify="required" placeholder="请输入微信号" value="<?php echo $_smarty_tpl->tpl_vars['adminuser']->value['weixin'];?>
-" size="30" autocomplete="off" class="layui-input t_w200">
- </div>
- </td>
- <th>手机号:</th>
- <td>
- <div class="layui-input-block">
- <input type="text" name="moblie" id="moblie" lay-verify="required" placeholder="请输入手机号" value="<?php echo $_smarty_tpl->tpl_vars['adminuser']->value['moblie'];?>
-" size="30" autocomplete="off" class="layui-input t_w200">
- </div>
- </td>
- </tr>
-
- <tr class="duty">
-
- <th>联系QQ:</th>
- <td>
- <div class="layui-input-block">
- <input type="text" name="qq" id="qq" lay-verify="required" placeholder="请输入联系QQ" value="<?php echo $_smarty_tpl->tpl_vars['adminuser']->value['qq'];?>
-" size="30" autocomplete="off" class="layui-input t_w200" />
- </div>
- </td>
- <th style="color: blue;">客户数量:</th>
- <td>
- <div class="layui-input-block fl">
- <input type="text" name="num" id="num" lay-verify="required" placeholder="请输入领取客户限制数量" value="<?php echo $_smarty_tpl->tpl_vars['adminuser']->value['num'];?>
-" size="30" autocomplete="off" onKeyUp="this.value=this.value.replace(/[^0-9]/g,'')" class="layui-input t_w200" />
- </div>
- <span class="admin_web_tip fl ml30">0或空数量不限</span>
- </td>
- </tr>
-
- <tr class="duty">
- <th>职业形象照:</th>
- <td>
- <button type="button" class="yun_bth_pic noupload" lay-data="{imgid: 'imgphoto'}">上传形象</button>
- <input type="hidden" id="laynoupload" value="1"/>
- <img id="imgphoto" src="<?php echo $_smarty_tpl->tpl_vars['adminuser']->value['photo_n'];?>
-" style="width:36px;height:36px;" <?php if (!$_smarty_tpl->tpl_vars['adminuser']->value['photo']) {?>class="none"<?php }?> />
- </td>
- <th>微信二维码:</th>
- <td>
- <button type="button" class="yun_bth_pic noupload2" lay-data="{imgid: 'imgewm'}">上传二维码</button>
- <img id="imgewm" src="<?php echo $_smarty_tpl->tpl_vars['adminuser']->value['ewm_n'];?>
-" style="width:36px;height:36px;" <?php if (!$_smarty_tpl->tpl_vars['adminuser']->value['ewm']) {?>class="none"<?php }?> />
- </td>
- </tr>
-
- <tr class="duty">
- <th>轮值时间:</th>
- <td colspan='3'>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['week']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <input name="crm_duty[]" title="<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
-" value="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
-" lay-skin="primary" <?php if (in_array($_smarty_tpl->tpl_vars['key']->value,$_smarty_tpl->tpl_vars['adminuser']->value['crm_duty'])) {?>checked="checked"<?php }?> type="checkbox" /><div class="layui-unselect layui-form-checkbox "><span><?php echo $_smarty_tpl->tpl_vars['v']->value;?>
-1</span><i class="layui-icon"></i></div>
- <?php } ?>
- </td>
- </tr>
- <tr class="duty">
- <th>轮值区域:</th>
- <td colspan='3'>
- <div class="layui-input-block">
- <div class="yun_resume_popup_chose_box news_expect_text_new news_expect_text_re9" style="width:500px;">
- <input name='crm_city' id='crm_city' value="<?php echo $_smarty_tpl->tpl_vars['adminuser']->value['crm_city'];?>
-" type='hidden'/>
- <select id="cityclass_search" name="cityclass_search" xm-select-type="cityclass" xm-select="cityclass_search" xm-select-search="" xm-select-max="" xm-select-skin="default" xm-select-direction="down">
- <option value="">输入区域名称搜索选择</option>
- </select>
- </div>
- </div>
- </td>
- </tr>
-
- <tr>
- <th style="border-bottom:none;"> </th>
- <td align="left" style="border-bottom:none;">
- <input class="tty_sub" name="useradd" type="submit" value="提交" id="dosubmit">
- </td>
- </tr>
- </tbody>
- </table>
- </form>
- </div>
- </div>
- </div>
-</div>
-
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/data/plus/city.cache.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type="text/javascript"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/data/plus/cityparent.cache.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type="text/javascript"><?php echo '</script'; ?>
->
-<link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/css/formSelects-v4.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css"/>
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/formSelects-v4.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
-<style type="text/css">
- .layui-laydate-content > .layui-laydate-list {
- padding-bottom: 0px;
- overflow: hidden;
- }
-
- .layui-laydate-content > .layui-laydate-list > li {
- width: 50%
- }
-
- .laydate-time-list ol li {
- padding-left: 54px;
- }
-
- .merge-box .scrollbox .merge-list {
- padding-bottom: 5px;
- }
-</style>
-<?php echo '<script'; ?>
- language="javascript">
- layui.use(['layer', 'form', 'element', 'laydate'], function () {
-
- var layer = layui.layer
- , form = layui.form
- , element = layui.element
- , formSelects = layui.formSelects
- , laydate = layui.laydate
- , $ = layui.$;
-
- form.on('switch(is_crm)', function (data) {
- if (data.elem.checked) {
- $(".duty").show();
- } else {
- $(".duty").hide();
- }
- form.render();
- });
- //时间范围
- laydate.render({
- elem: '#control_login'
- , type: 'time'
- , range: true
- , format: 'HH:mm'
- , btns: ['clear', 'confirm']
- , ready: function (date) {
- var showtime1 = $($(".laydate-main-list-0 .laydate-time-list li ol")[1]).find("li");
- var showtime2 = $($(".laydate-main-list-1 .laydate-time-list li ol")[1]).find("li");
- for (var i = 0; i < showtime1.length; i++) {
- var t00 = showtime1[i].innerText;
- if (t00 != "00" && t00 != "10" && t00 != "20" && t00 != "30" && t00 != "40" && t00 != "50") {
- showtime1[i].remove()
- }
- }
- for (var i = 0; i < showtime2.length; i++) {
- var t00 = showtime2[i].innerText;
- if (t00 != "00" && t00 != "10" && t00 != "20" && t00 != "30" && t00 != "40" && t00 != "50") {
- showtime2[i].remove()
- }
- }
- $($(".laydate-time-list li ol")[2]).find("li").remove(); //清空秒
- }
-
- });
-
- formSelects.btns('cityclass_search', []);
-
- formSelects.on('cityclass_search', function (id, vals, val, isAdd, isDisabled) {
- var cityvalue = [];
- vals.forEach(function (item, index) {
- cityvalue.push(item.value);
- })
- $('#crm_city').val(cityvalue.join(','));
- }, true);
-
-
- });//end layui.use()
-
- '<?php if ($_smarty_tpl->tpl_vars['adminuser']->value['crm_city']) {?>'
-
- var formSelects = layui.formSelects,
- cityclassArr = $("#crm_city").val() != '' ? $("#crm_city").val().split(",") : [],
- carr = [];
- for (var i = 0; i < cityclassArr.length; i++) {
- carr.push({"name": cn[cityclassArr[i]], "value": cityclassArr[i], "selected": 'selected'});
- }
- formSelects.data('cityclass_search', 'local', {
- arr: carr
- });
- '<?php }?>'
-
- function saveUseradd() {
- var control_login = $.trim($("#control_login").val());
- var username = $.trim($("#username").val());
- var password = $.trim($("#password").val());
- var name = $.trim($("#name").val());
- var m_id_val = $.trim($("#m_id_val").val());
- var moblie = $("#moblie").val();
- var isdid = $('input[name="isdid"]:checked').val();
-
-
- if (username == "") {
- parent.layer.msg('请填写用户名!', 2, 8);
- return false;
- }
-
- <?php if (!is_array($_smarty_tpl->tpl_vars['adminuser']->value)) {?>
- if (password == "") {
- parent.layer.msg('请填写密码!', 2, 8);
- return false;
- }
- <?php }?>
-
- if (name == "") {
- parent.layer.msg('请填写真实姓名!', 2, 8);
- return false;
- }
- if (m_id_val == "") {
- parent.layer.msg('请选择用户组类型!', 2, 8);
- return false;
- }
- if (!isdid) {
- parent.layer.msg('请选择是否登录分站!', 2, 8);
- return false;
- }
-
- if (moblie && isjsMobile(moblie) == false) {
- layer.msg('手机号格式错误!', 2, 8);
- return false;
- }
- if (control_login != '') {
- var timeArr = control_login.split(" - ");
- if (timeArr[0] >= timeArr[1]) {
- layer.msg('登录控制的结束时间应该大于开始时间', 2, 8);
- return false;
- }
- }
- }
-<?php echo '</script'; ?>
->
-
-<?php echo '<script'; ?>
- type="text/javascript">
- layui.use('upload', function () {
- var $ = layui.$
- , upload = layui.upload
- , layer = layui.layer
- , device = layui.device();
-
- var laynoupload = $("#laynoupload").val(); //1、选完不上传
- //选完不上传,url暂未用到,只是需要其样式
-
- if (laynoupload == 1) {
- //上传文件类型
- var layaccept = 'images', layexts = 'jpg|png|gif|bmp|jpeg';
-
- upload.render({
- elem: '.noupload'
- , auto: false
- , accept: layaccept
- , exts: layexts
- , field: 'photo'
- , choose: function (obj) {
- if (this.imgid) {
- //预读本地文件示例,不支持ie8/9
- var imgid = null;
- if (this.imgid) {
- imgid = this.imgid;
- }
- obj.preview(function (index, file, result) {
- if (imgid && $('#' + imgid).length > 0) {
- $('#' + imgid).removeClass('none');
- $('#' + imgid).attr('src', result); //图片链接(base64)
- }
- });
- }
- }
- });
- upload.render({
- elem: '.noupload2'
- , auto: false
- , accept: layaccept
- , exts: layexts
- , field: 'ewm'
- , choose: function (obj) {
- if (this.imgid) {
- //预读本地文件示例,不支持ie8/9
- var imgid = null;
- if (this.imgid) {
- imgid = this.imgid;
- }
- obj.preview(function (index, file, result) {
- if (imgid && $('#' + imgid).length > 0) {
- $('#' + imgid).removeClass('none');
- $('#' + imgid).attr('src', result); //图片链接(base64)
- }
- });
- }
- }
- });
- }
- });
-
-<?php echo '</script'; ?>
->
-</body>
-</html><?php }} ?>
diff --git a/data/templates_c/2efa76dce73e456116002b5a79988ad4ded0c1d9.file.admin_description_add.htm.php b/data/templates_c/2efa76dce73e456116002b5a79988ad4ded0c1d9.file.admin_description_add.htm.php
deleted file mode 100644
index be6d786..0000000
--- a/data/templates_c/2efa76dce73e456116002b5a79988ad4ded0c1d9.file.admin_description_add.htm.php
+++ /dev/null
@@ -1,343 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-17 18:06:15
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\admin_description_add.htm" */ ?>
-<?php /*%%SmartyHeaderCode:62096800d29745f4f4-38641965%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '2efa76dce73e456116002b5a79988ad4ded0c1d9' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\admin_description_add.htm',
- 1 => 1634883866,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '62096800d29745f4f4-38641965',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'pytoken' => 0,
- 'descrow' => 0,
- 'class' => 0,
- 'v' => 0,
- 'lasturl' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_6800d2974b2639_59970777',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_6800d2974b2639_59970777')) {function content_6800d2974b2639_59970777($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <link href="images/reset.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/system.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/table_form.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="js/admin_public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
-
- <?php echo '<script'; ?>
- language="javascript">
- function checkform(myform){
- var is_type=myform.is_type.value;
- if (myform.name.value=="") {
- parent.layer.msg('请填写单页面名称!', 2, 8);
- myform.name.focus();
- return (false);
- }
- if (myform.url.value=="") {
- parent.layer.msg('请填写URL链接!', 2, 8);
- myform.url.focus();
- return (false);
- }
- if (myform.title.value=="" && is_type==1) {
- parent.layer.msg('请填写标题!', 2, 8);
- myform.title.focus();
- return (false);
- }
- }
-<?php echo '</script'; ?>
->
-
- <link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet">
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
-
- <title>后台管理</title>
- </head>
- <body class="body_ifm">
- <div class="infoboxp">
- <div class="tty-tishi_top">
- <div class="admin_new_tip">
- <a href="javascript:;" class="admin_new_tip_close"></a>
- <a href="javascript:;" class="admin_new_tip_open" style="display:none;"></a>
- <div class="admin_new_tit"><i class="admin_new_tit_icon"></i>操作提示</div>
- <div class="admin_new_tip_list_cont">
- <div class="admin_new_tip_list">添加单页面,自定义页面的URL为HTML静态页面,外部链接为绝对路径,例:http://www.phpyun.com/index.php</div>
- </div>
- </div>
- <div class="clear"></div>
-
- <iframe id="supportiframe" name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
- <form target="supportiframe" name="myform" action="index.php?m=description&c=save" method="post" onSubmit="return checkform(this);"
- class="layui-form">
- <input type="hidden" name="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- <table width="100%" class="table_form">
- <tr>
- <th>名称:</th>
- <td>
- <input class="tty_input t_w480" type="text" name="name" size="40" value="<?php echo $_smarty_tpl->tpl_vars['descrow']->value['name'];?>
-" />
- </td>
- </tr>
- <tr class="admin_table_trbg">
- <th>类别:</th>
- <td>
- <div class="layui-input-inline t_w480">
- <select name="nid">
- <option value="">请选择</option>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['class']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" <?php if ($_smarty_tpl->tpl_vars['v']->value['id']==$_smarty_tpl->tpl_vars['descrow']->value['nid']) {?> selected <?php }?>><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-
- </option> <?php } ?>
- </select>
- </div>
- </td>
- </tr>
- <tr class="admin_table_trbg">
- <th>类型:</th>
- <td>
- <div class="layui-input-block">
- <input name="is_type" value="1" title="自定义页面" lay-filter="is_type" <?php if ($_smarty_tpl->tpl_vars['descrow']->value['is_type']=="1") {?>
- checked <?php }?> type="radio">
- <input name="is_type" value="0" title="外部链接" lay-filter="is_type" <?php if ($_smarty_tpl->tpl_vars['descrow']->value['is_type']=="0") {?>
- checked <?php }?> type="radio">
- <input name="is_type" value="2" title="站内链接" lay-filter="is_type" <?php if ($_smarty_tpl->tpl_vars['descrow']->value['is_type']=="2") {?>
- checked <?php }?> type="radio">
- </div>
- </td>
- </tr>
- <tr>
- <th class="t_fr">URL链接:</th>
- <td>
- <input class="layui-input t_w480" type="text" name="url" size="40" value="<?php echo $_smarty_tpl->tpl_vars['descrow']->value['url'];?>
-" />
- <span class="admin_web_tip">(可以为多级目录)。例:/about/index.html</span>
- </td>
- </tr>
- <tr class="admin_table_trbg diyweb" <?php if ($_smarty_tpl->tpl_vars['descrow']->value['is_type']!="1") {?>style="display:none;"<?php }?>>
- <th>标题:</th>
- <td><input class="tty_input t_w480" type="text" name="title" size="40" value="<?php echo $_smarty_tpl->tpl_vars['descrow']->value['title'];?>
-" /></td>
- </tr>
- <tr class="diyweb" <?php if ($_smarty_tpl->tpl_vars['descrow']->value['is_type']!="1") {?>style="display:none;"<?php }?>>
- <th class="t_fr">关键词:</th>
- <td>
- <input class="layui-input t_w480" type="text" name="keyword" size="50" value="<?php echo $_smarty_tpl->tpl_vars['descrow']->value['keyword'];?>
-" />
- <span class="admin_web_tip">(多关键字,请用,隔开,请不要为空)</span>
- </td>
- </tr>
- <tr class="admin_table_trbg diyweb" <?php if ($_smarty_tpl->tpl_vars['descrow']->value['is_type']!="1") {?>style="display:none;"<?php }?>>
- <th class="t_fr">描述:</th>
- <td>
- <div class="layui-input-block t_w480">
- <textarea class="layui-textarea" name="description" cols="55" rows="3"><?php echo $_smarty_tpl->tpl_vars['descrow']->value['descs'];?>
-</textarea>
- </div>
- </td>
- </tr>
- <tr class="diyweb" <?php if ($_smarty_tpl->tpl_vars['descrow']->value['is_type']!="1") {?>style="display:none;"<?php }?>>
- <th class="t_fr">头部模板:</th>
- <td>
- <div class="layui-input-inline">
- <select name="top_tpl" lay-filter="top_tpl">
- <option value="1" <?php if ($_smarty_tpl->tpl_vars['descrow']->value['top_tpl']=='1') {?> selected<?php }?>>默认模板 </option>
- <option value="2" <?php if ($_smarty_tpl->tpl_vars['descrow']->value['top_tpl']=='2') {?> selected<?php }?>>空白模板 </option>
- <option value="3" <?php if ($_smarty_tpl->tpl_vars['descrow']->value['top_tpl']=='3') {?> selected<?php }?>>自定义模板 </option>
- </select>
- </div>
- <span id="top_tpl_dir" <?php if ($_smarty_tpl->tpl_vars['descrow']->value['top_tpl']!='3') {?> style="display:none;" <?php }?>>
- <input class="tty_input t_w480" type="text" name="top_tpl_dir" size="40" value="<?php echo $_smarty_tpl->tpl_vars['descrow']->value['top_tpl_dir'];?>
-" />
- <span class="admin_web_tip">例:default/header 注:default为当前风格目录 模板后缀为(.htm)</span>
- </span>
- <span id="top_styletpl" <?php if ($_smarty_tpl->tpl_vars['descrow']->value['top_tpl']&&$_smarty_tpl->tpl_vars['descrow']->value['top_tpl']!='1') {?> style="display:none;" <?php }?>>
- <span class="admin_web_tip ml30">头部默认模板为当前模板风格下的header.htm</span>
- </span>
- </td>
- </tr>
- <tr>
- <th class="t_fr">底部模板:</th>
- <td>
- <div class="layui-input-inline">
- <select name="footer_tpl" lay-filter="footer_tpl">
- <option value="1" <?php if ($_smarty_tpl->tpl_vars['descrow']->value['footer_tpl']=='1') {?> selected<?php }?>>默认模板 </option>
- <option value="2" <?php if ($_smarty_tpl->tpl_vars['descrow']->value['footer_tpl']=='2') {?> selected<?php }?>>空白模板 </option>
- <option value="3" <?php if ($_smarty_tpl->tpl_vars['descrow']->value['footer_tpl']=='3') {?> selected<?php }?>>自定义模板 </option>
- </select>
- </div>
- <span id="footer_tpl_dir" <?php if ($_smarty_tpl->tpl_vars['descrow']->value['footer_tpl']!='3') {?>style="display:none;"<?php }?>>
- <input class="tty_input t_w480" type="text" name="footer_tpl_dir" size="40" value="<?php echo $_smarty_tpl->tpl_vars['descrow']->value['footer_tpl_dir'];?>
-" />
- <span class="admin_web_tip">例:default/footer 注:default为当前风格目录 模板后缀为(.htm)</span>
- </span>
- <span id="footer_styletpl" <?php if ($_smarty_tpl->tpl_vars['descrow']->value['footer_tpl']&&$_smarty_tpl->tpl_vars['descrow']->value['footer_tpl']!='1') {?>style="display:none;"<?php }?>>
- <span class="admin_web_tip ml30">底部默认模板为当前模板风格下的footer.htm</span>
- </span>
- </td>
- </tr>
-
- <tr class="admin_table_trbg diyweb" <?php if ($_smarty_tpl->tpl_vars['descrow']->value['is_type']!="1") {?>style="display:none;"<?php }?>>
- <th class="t_fr">页面内容: </th>
- <td>
- <?php echo '<script'; ?>
- id="content" name="content" type="text/plain" cols="100" rows="8" style="width:700px; height:300px;">
- <?php echo $_smarty_tpl->tpl_vars['descrow']->value['content'];?>
-
- <?php echo '</script'; ?>
->
- </td>
- </tr>
- <tr>
- <th>排序:</th>
- <td><input class="tty_input t_w480" type="text" name="sort" size="20" value="<?php echo $_smarty_tpl->tpl_vars['descrow']->value['sort'];?>
-" /></td>
- </tr>
- <tr class="admin_table_trbg">
- <th>单页面左则导航:</th>
- <td>
- <div class="layui-input-inline">
- <input name="is_nav_switch" lay-skin="switch" lay-text="显示|不显示" lay-filter="is_nav" <?php if ($_smarty_tpl->tpl_vars['descrow']->value['is_nav']=='1') {?> checked <?php }?> type="checkbox" />
- <input name="is_nav" id="is_nav" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['descrow']->value['is_nav'];?>
-" />
- </div>
- </td>
- </tr>
- <tr>
- <td width="160"> </td>
- <td align="left">
- <?php if ($_smarty_tpl->tpl_vars['descrow']->value['id']) {?>
- <input type="hidden" name="id" size="40" value="<?php echo $_smarty_tpl->tpl_vars['descrow']->value['id'];?>
-" />
- <input class="tty_sub" type="submit" name="update_desc" value=" 更 新 " />
- <?php } else { ?>
- <input class="tty_sub" type="submit" name="add_desc" value=" 添 加 " />
- <?php }?>
- <input class="tty_cz" type="reset" name="reset" value=" 重 置 " />
- <input type="hidden" name="lasturl" value="<?php echo $_smarty_tpl->tpl_vars['lasturl']->value;?>
-" />
- </td>
- </tr>
- </table>
- </form>
- </div>
- </div>
- <?php echo '<script'; ?>
- type="text/javascript">
- layui.use(['form'], function() {
- var form = layui.form,
- $ = layui.$;
-
- form.on('radio(is_type)', function(data) {
- var footervalue = data.value;
- if (footervalue == 1) {
- $(".diyweb").show();
- } else {
- $(".diyweb").hide();
- }
- });
-
- form.on('switch(is_nav)', function(data) {
- var v = this.checked ? 1 : 0;
- $("#is_nav").val(v);
- });
-
- form.on('select(top_tpl)', function(data) {
- if (data.value == 1) {
- $("#top_styletpl").show();
- $("#top_tpl_dir").hide();
- } else if (data.value == 2) {
- $("#top_styletpl").hide();
- $("input[name=top_tpl_dir]").val('');
- $("#top_tpl_dir").hide();
- } else if (data.value == 3) {
- $("#top_styletpl").hide();
- $("#top_tpl_dir").show();
- }
- });
-
- form.on('select(footer_tpl)', function(data) {
- if (data.value == 1) {
- $("#footer_styletpl").show();
- $("#footer_tpl_dir").hide();
- } else if (data.value == 2) {
- $("#footer_styletpl").hide();
- $("input[name=footer_tpl_dir]").val('');
- $("#footer_tpl_dir").hide();
- } else if (data.value == 3) {
- $("#footer_styletpl").hide();
- $("#footer_tpl_dir").show();
- }
- });
-
- });
- <?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/ueditor/ueditor.config.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/ueditor/ueditor.all.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- language="javascript">
- var editor = UE.getEditor('content', {
- toolbars: [
- ['Source', '|', 'Undo', 'Redo', 'Bold', 'italic', 'underline', 'fontborder', 'strikethrough', 'fontfamily',
- 'fontsize', 'forecolor', 'backcolor', 'removeformat', 'autotypeset', 'pasteplain', '|', 'insertorderedlist',
- 'insertunorderedlist', 'selectall', 'cleardoc', '|', 'simpleupload', 'attachment', '|', 'link', 'unlink',
- 'indent', '|', 'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify'
- ]
- ],
- wordCount: false,
- elementPathEnabled: false,
- initialFrameHeight: 200
- });
- <?php echo '</script'; ?>
->
- </body>
-</html>
-<?php }} ?>
diff --git a/data/templates_c/36cfde62cc62f78020700c7a43b59208f3639d41.file.admin_makenews.htm.php b/data/templates_c/36cfde62cc62f78020700c7a43b59208f3639d41.file.admin_makenews.htm.php
deleted file mode 100644
index 2b3cf3d..0000000
--- a/data/templates_c/36cfde62cc62f78020700c7a43b59208f3639d41.file.admin_makenews.htm.php
+++ /dev/null
@@ -1,444 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:15:58
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\admin_makenews.htm" */ ?>
-<?php /*%%SmartyHeaderCode:1794867ff754eef7070-49016281%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '36cfde62cc62f78020700c7a43b59208f3639d41' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\admin_makenews.htm',
- 1 => 1634883865,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '1794867ff754eef7070-49016281',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'type' => 0,
- 'rows' => 0,
- 'v' => 0,
- 'pytoken' => 0,
- 'classid' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff754ef28001_70943401',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff754ef28001_70943401')) {function content_67ff754ef28001_70943401($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <link href="images/reset.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/system.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/table_form.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="js/admin_public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
- <title></title>
- <link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet"
- type="text/css" />
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
-
- </head>
- <body class="body_ifm">
-
- <div class="infoboxp">
- <div class="tty-tishi_top">
- <div class="admin_new_tip">
- <a href="javascript:;" class="admin_new_tip_close"></a>
- <a href="javascript:;" class="admin_new_tip_open" style="display:none;"></a>
- <div class="admin_new_tit"><i class="admin_new_tit_icon"></i>操作提示</div>
- <div class="admin_new_tip_list_cont">
- <div class="admin_new_tip_list">生成请确保目录有可写权限,否则无法生成。</div>
- <div class="admin_new_tip_list">添加导航的时候,链接可以填写 <?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/ 保存路径</div>
- </div>
- </div>
- <div class="clear"></div>
-
- <iframe id="supportiframe" name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
- <form target="supportiframe" action="" method="post" class="layui-form">
- <div class="tag_box mt10">
- <?php if ($_smarty_tpl->tpl_vars['type']->value=="once") {?>
- <table width="100%" class="table_form ">
- <tr>
- <th width="28%">选择栏目:</th>
- <td>
- <div class="layui-input-inline t_w480">
- <select name="group" id="once_val">
- <option value="全部">全部</option>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['rows']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-"><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-</option>
- <?php } ?>
- </select>
- </div>
- </td>
- </tr>
- <tr>
- <td class="ud" align="center" colspan="2">
- <input class="layui-btn tty_sub" type="button" id="cache_once" value="更新单页面" />
- </td>
- </tr>
- <input type="hidden" name="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- </table>
- <?php }?>
- <?php if ($_smarty_tpl->tpl_vars['type']->value=="all") {?>
- <table width="100%" class="table_form ">
- <tr>
- <th width="28%">首页保存路径:</th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline t_w480">
- <input type="text" name="make_index_url" lay-verify="required" placeholder="请输入首页保存路径" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['make_index_url'];?>
-"
- size="30" autocomplete="off" class="layui-input">
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <th width="28%">新闻首页保存路径:</th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline t_w480">
- <input type="text" name="make_new_url" lay-verify="required" placeholder="请输入新闻首页保存路径" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['make_new_url'];?>
-"
- size="30" autocomplete="off" class="layui-input">
- </div>
- </div>
- </td>
- </tr>
- <tr class="admin_table_trbg">
- <td class="ud" align="center" colspan="2">
- <input class="layui-btn tty_sub" type="button" id="madeall" value="一键更新" />
- </td>
- </tr>
- <input type="hidden" name="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- </table>
- <?php }?>
-
- <?php if ($_smarty_tpl->tpl_vars['type']->value=="index") {?>
- <table width="100%" class="table_form ">
- <tr>
- <th width="28%">首页保存路径:</th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline t_w480">
- <input type="text" name="make_index_url" lay-verify="required" placeholder="请输入首页保存路径" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['make_index_url'];?>
-"
- size="30" autocomplete="off" class="layui-input">
- </div>
- </div>
- </td>
- </tr>
- <tr class="admin_table_trbg">
- <td class="ud" align="center" colspan="2">
- <input class="layui-btn tty_sub" type="submit" id='madeindex' name="madeall" value="更新首页" />
- </td>
- </tr>
- <input type="hidden" name="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- </table>
- <?php }?>
- <?php if ($_smarty_tpl->tpl_vars['type']->value=="news") {?>
- <table target="supportiframe" width="100%" class="table_form " action="">
- <tr>
- <th width="28%">新闻首页保存路径:</th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline t_w480">
- <input type="text" name="make_new_url" lay-verify="required" placeholder="请输入新闻首页保存路径" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['make_new_url'];?>
-"
- size="30" autocomplete="off" class="layui-input">
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td class="ud" align="center" colspan="2"><input class="layui-btn tty_sub" type="submit" id='madenindex' name="madeall"
- value="更新新闻首页" />
- </td>
- </tr>
- <input type="hidden" name="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- </table>
- <?php }?>
- <?php if ($_smarty_tpl->tpl_vars['type']->value=="newsclass") {?>
- <table width="100%" class="table_form ">
- <input id="classid" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['classid']->value;?>
-">
- <tr>
- <th width="28%">选择栏目:</th>
- <td>
- <div class="layui-input-inline t_w480">
- <select name="group" id="group_val">
- <option value="all">请选择</option>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['rows']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-"><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-</option>
- <?php } ?>
- </select>
- </div>
- </td>
- </tr>
- <tr>
- <td class="ud" align="center" colspan="2">
- <input class="layui-btn tty_sub" type="button" id="newsclass" value="更新内容" />
- </td>
- </tr>
- <input type="hidden" name="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- </table>
- <?php }?>
- <?php if ($_smarty_tpl->tpl_vars['type']->value=="archive") {?>
- <table width="100%" class="table_form ">
- <tr class="admin_table_trbg">
- <th width="120">选择栏目:</th>
- <td>
- <div class="layui-input-inline t_w480">
- <select name="group" id="groupcont_val">
- <option value="0">全部</option>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['rows']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-"><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-</option>
- <?php } ?>
- </select>
- </div>
- </td>
- </tr>
- <tr>
- <th>发布时间:</th>
- <td>
- <div class="layui-input-inline t_w480">
- <input type="text" name="time" id="time" lay-verify="date" autocomplete="off" class="layui-input" size="30">
- </div>
- </td>
- </tr>
- <tr class="admin_table_trbg">
- <th>开始编号:</th>
- <td>
- <div class="layui-input-inline t_w480">
- <input type="text" id="start_id" lay-verify="required" placeholder="0" value="0" size="30" autocomplete="off"
- class="layui-input">
- </div>
- <span class="admin_web_tip"> 0从头开始</span>
- </td>
- </tr>
- <tr>
- <th>结束编号:</th>
- <td>
- <div class="layui-input-inline t_w480">
- <input type="text" id="end_id" lay-verify="required" placeholder="0" value="0" size="30" autocomplete="off"
- class="layui-input">
- </div>
- <span class="admin_web_tip">0到最后一条</span>
- </td>
- </tr>
- <tr class="admin_table_trbg">
- <th>每页生成:</th>
- <td>
- <div class="layui-input-inline t_w480">
- <input type="text" id="limit" lay-verify="required" placeholder="20" value="20" size="30" autocomplete="off"
- class="layui-input">
- </div>
- <span class="admin_web_tip">注:每页生成数不要设置太大</span>
- </td>
- </tr>
- <tr>
- <th></th>
- <td>
- <input class="layui-btn tty_sub" type="button" id="archive" value="更新内容" />
- </td>
- </tr>
- <input type="hidden" name="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- </table>
- <?php }?>
- </div>
- </form>
- </div>
- </div>
- <input type="hidden" id="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- <?php echo '<script'; ?>
- language="javascript">
- layui.use(['layer', 'form', 'element', 'laydate'], function() {
- var layer = layui.layer,
- form = layui.form,
- laydate = layui.laydate,
- element = layui.element,
- $ = layui.$;
- //日期
- laydate.render({
- elem: '#time',
- range: '~'
- });
- }); //end layui.use()
-
- $(document).ready(function() {
- $("#archive").click(function() {
- var times = $.trim($("#time").val()).split('~');
- var stime = times[0];
- var etime = times[1];
- var group = $("#groupcont_val").val();
- var startid = $("#start_id").val();
- var endid = $("#end_id").val();
- var limit = $("#limit").val();
- makearchive(stime, etime, group, startid, endid, limit, "archive", 0, '正在获取新闻总数');
- })
- $("#madeall").click(function() {
- var make_index_url = $("input[name=make_index_url]").val();
- var make_new_url = $("input[name=make_new_url]").val();
- make_all(make_index_url, make_new_url, "cache", 0, '正在生成区域');
- })
- $("#newsclass").click(function() {
- var group = $("#group_val").val();
- makenewsclass(group, "class", 0, '正在获取新闻类别信息');
- });
- $("#madeindex").click(function() {
- var ii = parent.layer.load("正在生成...", 0);
- });
- $("#madenindex").click(function() {
-
- var ii = parent.layer.load("正在生成...", 0);
- });
- $("#cache_once").click(function() {
- var desc = $("#once_val").val();
- var pytoken = $("#pytoken").val();
- var ii = parent.layer.load("正在生成", 0);
- $.post("index.php?m=cache&c=once", {
- desc: desc,
- pytoken: pytoken,
- make: 1
- }, function(data) {
- parent.layer.close(ii);
- if (data == 1) {
- parent.layer.msg("生成成功!", 2, 9);
- }
- })
- })
- })
-
- function make_all(make_index_url, make_new_url, type, value, msg) {
- if (type != "ok") {
- var ii = parent.layer.load(msg, 0);
- var pytoken = $("#pytoken").val();
- $.post("index.php?m=cache&c=all", {
- action: "makeall",
- make_index_url: make_index_url,
- make_new_url: make_new_url,
- type: type,
- value: value,
- pytoken: pytoken
- }, function(data) {
- parent.layer.close(ii);
- var data = eval('(' + data + ')');
- make_all(make_index_url, make_new_url, data.type, data.value, data.msg);
- })
- } else {
- parent.layer.close(ii);
- parent.layer.alert(msg, 9);
- }
- }
-
- function makenewsclass(group, type, value, msg) {
- if (type != "ok") {
- var ii = parent.layer.load(msg, 0);
- var pytoken = $("#pytoken").val();
- $.post("index.php?m=cache&c=newsclass", {
- action: "makeclass",
- group: group,
- type: type,
- value: value,
- pytoken: pytoken
- }, function(data) {
- parent.layer.close(ii);
- var data = eval('(' + data + ')');
- makenewsclass(group, data.type, data.value, data.msg);
- })
- } else {
- parent.layer.close(ii);
- parent.layer.alert(msg, 9);
- }
- }
-
- function makearchive(stime, etime, group, startid, endid, limit, type, value, msg) {
-
- $("#make_l").html(msg);
-
- if (type != "ok") {
- var ii = parent.layer.msg(msg, {
- icon: 16,
- shade: 0.01
- })
- var pytoken = $("#pytoken").val();
- $.post(
- "index.php?m=cache&c=archive", {
- action: "makearchive",
- group: group,
- startid: startid,
- endid: endid,
- limit: limit,
- type: type,
- value: value,
- pytoken: pytoken,
- stime: stime,
- etime: etime
- },
- function(data) {
- parent.layer.close(ii);
- var data = eval('(' + data + ')');
- makearchive(stime, etime, group, startid, endid, limit, data.type, data.value, data.msg);
- })
- } else {
- parent.layer.close(ii);
- parent.layer.alert(msg, 9);
- }
- }
- <?php echo '</script'; ?>
->
- </body>
-</html>
-<?php }} ?>
diff --git a/data/templates_c/4b076adc0d40c26df5e4ec37621fc73116c60a09.file.admin_city.htm.php b/data/templates_c/4b076adc0d40c26df5e4ec37621fc73116c60a09.file.admin_city.htm.php
deleted file mode 100644
index 31ba3d2..0000000
--- a/data/templates_c/4b076adc0d40c26df5e4ec37621fc73116c60a09.file.admin_city.htm.php
+++ /dev/null
@@ -1,493 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-17 18:06:38
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\admin_city.htm" */ ?>
-<?php /*%%SmartyHeaderCode:73596800d2ae9a44a6-29931248%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '4b076adc0d40c26df5e4ec37621fc73116c60a09' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\admin_city.htm',
- 1 => 1634883866,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '73596800d2ae9a44a6-29931248',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'city' => 0,
- 'letter' => 0,
- 'letter4' => 0,
- 'pytoken' => 0,
- 'city_row' => 0,
- 'key' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_6800d2ae9ff7e4_27387280',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_6800d2ae9ff7e4_27387280')) {function content_6800d2ae9ff7e4_27387280($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
-<link href="images/reset.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
-<link href="images/system.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
-<link href="images/table_form.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
-<link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="js/admin_public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
->
-function delsingle(id,type){
- layer.confirm('删除该城市会导致有关数据无法使用,确认删除?', function(){
- loadlayer();
- $.post("index.php?m=admin_city&c=del",{delid:id,type:type,pytoken:$('#pytoken').val()},function(data){
- parent.layer.closeAll('loading');
- if(data=="1"){
- parent.layer.msg("删除成功!",2, 9,function(){location.reload();});return false;
- }else{
- parent.layer.msg("删除失败!",2, 8,function(){location.reload();});return false;
- }
- });
- return true;
- });
-}
-function addcity(id,type,level){
- if($(".parent"+id).attr("style")=="display:none"){
- $(".parent"+id).attr("style","display:");
- $("#img"+id).html("<a href=\"javascript:;\" onClick=\"displaycity('"+id+"','"+type+"','"+level+"');\"><img src=\"images/iconv/jian.png\" /></a> <a href=\"javascript:;\" onclick=\"addson('"+id+"','"+level+"');\"class=\"admin_tj_zl\">+ 添加子类</a>");
- }else{
- $.post("index.php?m=admin_city&c=AddCity",{kid:id,pytoken:$('#pytoken').val()},function(data){
- var data=eval('('+data+')');
- if(data && data.length>0){
- var style='';
- var img='';
- var html='';
- var checked='';
- var option1='';
- var option2='';
- var site1='';
- var site2='';
- var city_ABC = ["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];
- if(type=="2"){
- style="|--------";
- }else{
- style="|----------------";
- }
- for (var i = 0; i < data.length; i++) {
- if(type=='2'){
- img="<b id=\"img"+data[i].id+"\"><a href=\"javascript:;\" onClick=\"addcity('"+data[i].id+"','3','son');\"><img src=\"images/iconv/jia.png\" /></a></b>";
- }
- html+="<tr align=\"left\" class=\"parent"+id+"\" id=\""+data[i].id+"\" style=\"display:;\">";
- html+="<td class=\"ud\"> <input type=\"checkbox\" class=\"checkbox_all\" name=\"checkbox_all\" value=\""+data[i].id+"\" onclick=\"get_comindes_jobid();\"></td>";
- html+="<td class=\"ud\"><input type=\"text\" name=\"citysort_"+data[i].id+"\" id=\"citysort_"+data[i].id+"\" value=\""+data[i].sort+"\" class=\"input-text citysort\" size=\"3\"></td>";
- html+="<td class=\"ud\">"+style+"<input class=\"input-text\" type=\"text\" id=\"cityname_"+data[i].id+"\" name=\"cityname_"+data[i].id+"\" value=\""+data[i].name+"\" /> "+img+"</td>";
- if(!data[i].e_name){
- html+="<td class=\"ud\"><input class=\"input-text\" type=\"text\" id=\"citye_name_"+data[i].id+"\" name=\"citye_name_"+data[i].id+"\" value=\"\" /></td>";
- }else{
- html+="<td class=\"ud\"><input class=\"input-text\" type=\"text\" id=\"citye_name_"+data[i].id+"\" name=\"citye_name_"+data[i].id+"\" value=\""+data[i].e_name+"\" /></td>";
- }
- html+="<td class=\"ud\"><div class=\"layui-input-inline t_w100\"><select id=\"letter_"+data[i].id+"\" name=\"letter_"+data[i].id+"\">";
- for (var j = 0; j <city_ABC.length ; j++) {
- if(data[i].letter==city_ABC[j]){
- checked="selected";
- }else{
- checked="";
- }
- html+="<option "+checked+">"+city_ABC[j]+"</option>";
- }
- if(data[i].display=='1'){
- option1="selected";
- option2="";
- }else{
- option1="";
- option2="selected";
- }
- html+="</select></div></td>";
- html+=" <td class=\"ud\"><div class=\"layui-input-inline t_w100\"><select id=\"display_"+data[i].id+"\" name=\"display_"+data[i].id+"\"><option value=\"1\" "+option1+" >是</option><option value=\"0\" "+option2+">否</option></select></div></td> ";
- html+="<td class=\"ud\"><input class=\"layui-btn layui-btn-normal\" onclick=\"checkedtr('"+data[i].id+"');\" type=\"button\" name=\"update\" value=\"更新\" /> | <a class=\"layui-btn layui-btn-primary\" href=\"javascript:;\" onclick=\"delsingle('"+data[i].id+"','2');\">删除</a></td>";
-
- html+="</tr>";
- }
-
-
-
- $("#"+id).after(html);
- $("#img"+id).html("<a href=\"javascript:;\" onClick=\"displaycity('"+id+"','"+type+"','"+level+"');\"><img src=\"images/iconv/jian.png\" /></a> <a href=\"javascript:;\" onclick=\"addson('"+id+"','"+level+"');\"class=\"admin_tj_zl\">+ 添加子类</a>");
- form.render('select');
- }else{
- $("#img"+id).html("<a href=\"javascript:;\" onClick=\"displaycity('"+id+"','"+type+"','"+level+"');\"><img src=\"images/iconv/jian.png\" /></a> <a href=\"javascript:;\" onclick=\"addson('"+id+"','"+level+"');\"class=\"admin_tj_zl\">+ 添加子类</a>");
- form.render('select');
- }
- });
- }
-
-
-
-}
-function displaycity(id,type,level)
-{
- if(level=="parent"){
- $(".parent"+id).each(function(){
- var sonid = $(this).attr("id");
- $(".parent"+sonid).attr("style","display:none");
- });
- }
- $(".parent"+id).attr("style","display:none");
- $("#img"+id).html("<a href=\"javascript:;\" onClick=\"addcity('"+id+"','"+type+"','"+level+"');\"><img src=\"images/iconv/jia.png\" /></a>");
-}
-function addson(id,level){
- var html="";
- var sel="";
- if(level=="top"){
- var style="";
- }else if(level=="parent")
- {
- var style="|--------";
- }else{
- var style="|----------------";
- }
- html+='<tr align="left" id="<?php echo $_smarty_tpl->tpl_vars['city']->value['id'];?>
-" style="display:" class="parent'+id+'">';
- html+='<td class="ud"> </td>';
- html+='<td class="ud"><a href="javascript:;" onclick="javascript:this.parentNode.parentNode.parentNode.removeChild(this.parentNode.parentNode);"><img src="images/iconv/del_icon2.gif" alt="删除当前"></a></td>';
- html+='<td class="ud">'+style+'<input class="input-text" type="text" name="addcityname_'+id+'[]" value="" /></td>';
- html+='<td class="ud"><input class="input-text" type="text" name="addcitye_name_'+id+'[]" value="" /></td>';
- '<?php $_smarty_tpl->tpl_vars['letter4'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['letter4']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['letter']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['letter4']->key => $_smarty_tpl->tpl_vars['letter4']->value) {
-$_smarty_tpl->tpl_vars['letter4']->_loop = true;
-?>'
- sel+='<option value="<?php echo $_smarty_tpl->tpl_vars['letter4']->value;?>
-"><?php echo $_smarty_tpl->tpl_vars['letter4']->value;?>
-</option>';
- '<?php } ?>'
- html+='<td><select name="addletter_'+id+'[]">'+sel+'</select> </td>';
- html+='<td class="ud"><select name="adddisplay_'+id+'[]"><option value="1">是</option><option value="0">否</option></select></td> ';
- html+='<td class="ud"></td>';
- html+='<td class="ud"></td></tr>';
-
- $("#"+id).after(html);
- $("#"+id).find("input[type='checkbox']").attr("checked", true);
- get_comindes_jobid();
-}
-function checkedtr(id){
- var name = $("#cityname_"+id).val();
- var e_name = $("#citye_name_"+id).val();
- var c_sort = $("#citysort_"+id).val();
- var letter = $("#letter_"+id).val();
- var display = $("#display_"+id).val();
- var sitetype = $("#sitetype_"+id).val();
- if(name == "")
- {
- parent.layer.msg("城市名称不能为空!",2, 8);
- return false;
- }else{
- if(sitetype!="1")
- {
- sitetype="0";
- }
- loadlayer();
- $.post("index.php?m=admin_city&c=Single",{id:id,name:name,e_name:e_name,c_sort:c_sort,letter:letter,display:display,sitetype:sitetype,pytoken:$('#pytoken').val()},function(data){
- parent.layer.closeAll('loading');
- if(data=="2")
- {
- parent.layer.msg("城市名称不能为空!",2, 8);
- }else{
- parent.layer.msg("更新成功!",2, 9);
- }
- });
- }
-}
-function chachong(page,type){
- var pytoken=$("#pytoken").val();
- $.post("index.php?m=admin_city&c=ajaxchachong", {page:page,pytoken:pytoken},function(edata) {
- var edata=eval('('+edata+')');
- var data=edata.list;
- var html='';
- if(data){
- for(var i=0;i<data.length;i++){
- html+='<tr><td class="ud">'+data[i].id+'</td><td align="left" class="imghide">'+data[i].name+'</td><td class="imghide" align="left"><span onClick="checkename(\''+data[i].id+'\');" id="ename'+data[i].id+'" style="cursor:pointer;">'+data[i].e_name+'</span><input class="input-text hidden cityename" type="text" id="inputename'+data[i].id+'" size="10" value="'+data[i].e_name+'" onBlur="subename(\''+data[i].id+'\',\'index.php?m=admin_city&c=ajax\');"><input type="hidden" id="inputname'+data[i].id+'" value="'+data[i].name+'"></tr>';
- }
- html+='<tr><td colspan="3" style="text-align:center"><input class="admin_button" type="button" name="add" onClick="chachong(\''+edata.page+'\',\'1\')" value="换一批" /></td></tr>';
- $('#chachong').html(html);
- if(type!='1'){
- $.layer({
- type : 1,
- title : '拼音重复类别',
- closeBtn : [0 , true],
- border : [10 , 0.3 , '#000', true],
- area : ['650px','auto'],
- page : {dom :"#chongfu_div"}
- });
- }
- }
- });
-}
-function clearPinYin(){
- var pytoken=$("#pytoken").val();
-
- parent.layer.confirm('清空所有城市对应拼音?',function(){
- $.post('index.php?m=admin_city&c=clearpinyin',{pytoken:pytoken},function(data){
- parent.layer.msg("拼音已清空!",2, 9,function(){location.reload();});
- })
- });
-
-}
-function pinyin(msg,status,page,pagesize){
- var pytoken=$("#pytoken").val();
- if(status=='2'){
- parent.layer.confirm(msg,function(){
- $.post('index.php?m=admin_city&c=ajaxpinyin',{page:page,pagesize:pagesize,pytoken:pytoken},function(data){
- var data=eval('('+data+')');
- pinyin(data.msg,data.errcode,data.page,data.pagesize);
- })
- });
- }else if(status=='8'){
- var ii = parent.layer.msg(msg,5000,{icon:16,shade:0.01});
- $.post('index.php?m=admin_city&c=ajaxpinyin',{page:page,pagesize:pagesize,pytoken:pytoken},function(data){
- parent.layer.close(ii);
- var data=eval('('+data+')');
- pinyin(data.msg,data.errcode,data.page,data.pagesize);
- })
- }else{
- parent.layer.close(ii);
- parent.layer.alert(msg,9);
- location.reload();
- }
-}
-<?php echo '</script'; ?>
->
-<title>后台管理</title>
-</head>
-
-<body class="body_ifm">
-
- <span id="temp"></span>
-
- <div class="infoboxp">
- <div class="tty-tishi_top">
- <div class="admin_new_tip">
- <a href="javascript:;" class="admin_new_tip_close"></a>
- <a href="javascript:;" class="admin_new_tip_open" style="display:none;"></a>
- <div class="admin_new_tit"><i class="admin_new_tit_icon"></i>操作提示</div>
- <div class="admin_new_tip_list_cont">
- <div class="admin_new_tip_list">多城市显示只支持二级城市,增加子类需勾选父级城市!</div>
- </div>
- </div>
-
- <div class="admin_new_search_box">
- <a href="javascript:;" onclick="pinyin('未设置拼音的相关分类将根据中文名称自动生成拼音?','2','0','100');" class="admin_new_cz_tj" style="margin-left:0px;">生成拼音</a>
- <a href="javascript:;" onclick="chachong('0','')" class="admin_new_cz_tj" style="margin-left:0px;">一键查重</a>
-
- <a href="javascript:;" onclick="clearPinYin();" class="admin_new_cz_tj" style="margin-left:0px;">清空拼音</a>
- </div>
-
- <div class="clear"></div>
- </div>
-
- <div class="tty_table-bom">
-
- <div class="table-list">
- <div class="admin_table_border">
-
- <iframe id="supportiframe" name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
- <form action="index.php?m=admin_city&c=upp" method="post" target="supportiframe" id='myform' class="layui-form">
- <input type="hidden" id="pytoken" name="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- <table width="100%">
-
- <thead>
- <tr class="admin_table_top">
- <th width="60" align="center">选择</th>
- <th width="160" align="left">城市排序</th>
- <th align="left">城市名称</th>
- <th align="left">英文名称/拼音</th>
- <th align="left">关联字母</th>
- <th align="left">前台显示</th>
- <th width="180" align="left" class="admin_table_th_bg">操作</th>
- </tr>
- </thead>
-
- <tbody>
- <?php $_smarty_tpl->tpl_vars['city_row'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['city_row']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['city']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['city_row']->key => $_smarty_tpl->tpl_vars['city_row']->value) {
-$_smarty_tpl->tpl_vars['city_row']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['city_row']->key;
-?>
- <tr align="left" id="<?php echo $_smarty_tpl->tpl_vars['city_row']->value['id'];?>
-" style="display:" <?php if (($_smarty_tpl->tpl_vars['key']->value+1)%2=='0') {?>class="admin_com_td_bg"<?php }?>>
- <td class="ud" align="center">
- <input lay-ignore type="checkbox" class="checkbox_all" name="checkbox_all" value="<?php echo $_smarty_tpl->tpl_vars['city_row']->value['id'];?>
-">
- </td>
- <td class="ud">
- <input type="text" name="citysort_<?php echo $_smarty_tpl->tpl_vars['city_row']->value['id'];?>
-" id="citysort_<?php echo $_smarty_tpl->tpl_vars['city_row']->value['id'];?>
-" value="<?php echo $_smarty_tpl->tpl_vars['city_row']->value['sort'];?>
-" class="input-text citysort">
- </td>
- <td class="ud">
- <input class="input-text" type="text" id="cityname_<?php echo $_smarty_tpl->tpl_vars['city_row']->value['id'];?>
-" name="cityname_<?php echo $_smarty_tpl->tpl_vars['city_row']->value['id'];?>
-" value="<?php echo $_smarty_tpl->tpl_vars['city_row']->value['name'];?>
-" />
- <b id="img<?php echo $_smarty_tpl->tpl_vars['city_row']->value['id'];?>
-">
- <a href="javascript:;" onClick="addcity('<?php echo $_smarty_tpl->tpl_vars['city_row']->value['id'];?>
-','2','parent');">
- <img src="images/iconv/jia.png" />
- </a>
- </b>
- </td>
- <td class="ud">
- <input class="input-text" type="text" id="citye_name_<?php echo $_smarty_tpl->tpl_vars['city_row']->value['id'];?>
-" name="citye_name_<?php echo $_smarty_tpl->tpl_vars['city_row']->value['id'];?>
-" value="<?php echo $_smarty_tpl->tpl_vars['city_row']->value['e_name'];?>
-" />
- </td>
- <td class="ud">
- <div class="layui-input-inline t_w100">
- <select id="letter_<?php echo $_smarty_tpl->tpl_vars['city_row']->value['id'];?>
-" name="letter_<?php echo $_smarty_tpl->tpl_vars['city_row']->value['id'];?>
-">
- <?php $_smarty_tpl->tpl_vars['letter4'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['letter4']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['letter']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['letter4']->key => $_smarty_tpl->tpl_vars['letter4']->value) {
-$_smarty_tpl->tpl_vars['letter4']->_loop = true;
-?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['letter4']->value;?>
-"<?php if ($_smarty_tpl->tpl_vars['letter4']->value==$_smarty_tpl->tpl_vars['city_row']->value['letter']) {?> selected=selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['letter4']->value;?>
-</option>
- <?php } ?>
- </select>
- </div>
- </td>
- <td class="ud">
- <div class="layui-input-inline t_w100">
- <select id="display_<?php echo $_smarty_tpl->tpl_vars['city_row']->value['id'];?>
-" name="display_<?php echo $_smarty_tpl->tpl_vars['city_row']->value['id'];?>
-">
- <option value="1" <?php if ($_smarty_tpl->tpl_vars['city_row']->value['display']=='1') {?>selected=selected<?php }?>>是</option>
- <option value="0" <?php if ($_smarty_tpl->tpl_vars['city_row']->value['display']=='0') {?>selected=selected<?php }?>>否</option>
- </select>
- </div>
- </td>
- <td class="ud">
- <input class="layui-btn layui-btn-normal" type="button" name="update" value="更新" onClick="checkedtr('<?php echo $_smarty_tpl->tpl_vars['city_row']->value['id'];?>
-');"/>
- <a class="layui-btn layui-btn-primary" href="javascript:;" onClick="delsingle('<?php echo $_smarty_tpl->tpl_vars['city_row']->value['id'];?>
-','1')">删除</a>
- </td>
- </tr>
- <?php } ?>
- <tr align="left" id="0">
- <td colspan="7"></td>
- </tr>
- <thead>
- <tr>
- <td width="70" colspan="1">
- <input type="checkbox" lay-ignore id="checkbox_all" name="checkbox_all" value="" class="">
- <label for="checkbox_all">全选</label>
- <input type="hidden" name="id" id="hiddid_id" value="">
- </td>
- <td width="60" colspan="6"><input class="admin_button" type="button" name="delall" onClick="return really('checkbox_all')" value="删除选中" />
- <input class="admin_button" type="submit" name="updateall" value="保存操作" /><a href="javascript:;" onClick="addson('0','top');" class="admin_button" style=" display:inline-block; margin-left:10px; line-height:35px;">添加分类</a>
- </td>
- </tr>
- </thead>
- </tbody>
- </table>
- </form>
- </div>
- </div>
- </div>
- </div>
-
- <div id="trid" style="display:none">
- <select name="letter">
- <?php $_smarty_tpl->tpl_vars['letter4'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['letter4']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['letter']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['letter4']->key => $_smarty_tpl->tpl_vars['letter4']->value) {
-$_smarty_tpl->tpl_vars['letter4']->_loop = true;
-?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['letter4']->value;?>
-"><?php echo $_smarty_tpl->tpl_vars['letter4']->value;?>
-</option>
- <?php } ?>
- </select>
- </div>
-
- <div id="chongfu_div" style="display:none;" class="job_box_div">
- <div class="table-list table-tc">
- <table class=" " style="width:100%">
- <thead>
- <tr class="admin_table_top">
- <th width="110" style="padding-left: 40px;" align="left">ID</th>
- <th width="150" align="left">类别名称</th>
- <th width="300" align="left">英文/拼音<span class="clickup">(点击修改)</span></th>
- </tr>
- </thead>
- <tbody id="chachong"></tbody>
- </table>
- </div>
- </div>
- <?php echo '<script'; ?>
->
- layui.use('form', function(){
- form = layui.form
- ,layer = layui.layer
- });
-
-
- $(document).ready(function(){
- $(".checkbox_all").click(function(){
- get_comindes_jobid();
- })
- $("#checkbox_all").click(function(){
- var checka=$("#checkbox_all").attr("checked");
- if(checka!="checked"){
- checka=false;
- }
- $(".checkbox_all").attr("checked",checka);
- get_comindes_jobid();
- })
- })
- function get_comindes_jobid(){
- var codewebarr="";
- $(".checkbox_all:checked").each(function(){ //由于复选框一般选中的是多个,所以可以循环输出
- if(codewebarr==""){codewebarr=$(this).val();}else{codewebarr=codewebarr+","+$(this).val();}
- });
- $("#hiddid_id").val(codewebarr);
- }
- <?php echo '</script'; ?>
->
-</body>
-</html><?php }} ?>
diff --git a/data/templates_c/55fb59665d037e88b25461324b7b6415877bf6bd.file.index.htm.php b/data/templates_c/55fb59665d037e88b25461324b7b6415877bf6bd.file.index.htm.php
deleted file mode 100644
index 4fded99..0000000
--- a/data/templates_c/55fb59665d037e88b25461324b7b6415877bf6bd.file.index.htm.php
+++ /dev/null
@@ -1,6028 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:09:55
- compiled from "E:\ishangstudywebs\zhaopin\app\template\default\index\index.htm" */ ?>
-<?php /*%%SmartyHeaderCode:2884867ff73e33fb260-82020014%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '55fb59665d037e88b25461324b7b6415877bf6bd' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\default\\index\\index.htm',
- 1 => 1642672635,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '2884867ff73e33fb260-82020014',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'title' => 0,
- 'keywords' => 0,
- 'description' => 0,
- 'style' => 0,
- 'config' => 0,
- 'wap_style' => 0,
- 'ishtml' => 0,
- 'bannerFlag' => 0,
- 'lunbo' => 0,
- 'adlist_73' => 0,
- 'adlist_72' => 0,
- 'job_index' => 0,
- 'j' => 0,
- 'v' => 0,
- 'job_name' => 0,
- 'job_type' => 0,
- 'jobclassurl' => 0,
- 'vv' => 0,
- 'vvv' => 0,
- 'urgent_list' => 0,
- 'announcementlist' => 0,
- 'adlist_13' => 0,
- 'adlist_14' => 0,
- 'adlist_15' => 0,
- 'rlist' => 0,
- 'hotjoblist' => 0,
- 'job_list' => 0,
- 'adlist_92' => 0,
- 'ulist_rec' => 0,
- 'uid' => 0,
- 'usertype' => 0,
- 'eid' => 0,
- 'ulist' => 0,
- 'plist' => 0,
- 'nlist' => 0,
- 'key' => 0,
- 'alist' => 0,
- 'linklist' => 0,
- 'linklist2' => 0,
- 'footer_ad' => 0,
- 'left_ad' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff73e34eb570_79076426',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff73e34eb570_79076426')) {function content_67ff73e34eb570_79076426($_smarty_tpl) {?><?php if (!is_callable('smarty_function_url')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\function.url.php';
-if (!is_callable('smarty_function_listurl')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\function.listurl.php';
-if (!is_callable('smarty_function_webspecial')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\function.webspecial.php';
-?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
-
- <title><?php echo $_smarty_tpl->tpl_vars['title']->value;?>
-</title>
-
- <meta name="keywords" content="<?php echo $_smarty_tpl->tpl_vars['keywords']->value;?>
-"/>
- <meta name="description" content="<?php echo $_smarty_tpl->tpl_vars['description']->value;?>
-"/>
-
- <link href="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/style/index.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css"/>
- <link href="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/style/css.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css"/>
- <link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css"/>
- <link href="<?php echo $_smarty_tpl->tpl_vars['wap_style']->value;?>
-/js/swiper/swiper.min.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet"/>
-
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['wap_style']->value;?>
-/js/swiper/swiper.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
-
- <?php if ($_smarty_tpl->tpl_vars['ishtml']->value) {?>
- <?php echo '<script'; ?>
- src="<?php echo smarty_function_url(array('m'=>'ajax','c'=>'wjump'),$_smarty_tpl);?>
-" language="javascript"><?php echo '</script'; ?>
->
- <?php }?>
-</head>
-<body class="body_bg">
-<!-- 首页弹出广告 start-->
-<style type="text/css">
- .yhq_tip {
- display: none;
- }
- .header_fixed {
- z-index: 999;
- }
- .tcbanner {
- width: 100%;
- text-align: center;
- position: fixed;
- z-index: 1002;
- height: 100vh;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .tcbanner_gb {
- padding-top: 20px;
- text-align: center;
- color: #fff;
- background: rgba(0, 0, 0, 0.5);
- padding: 3px 10px;
- border-radius: 20px;
- position: fixed;
- top: 100px;
- right: 50px;
- display: inline-block;
- z-index: 1002;
- cursor: pointer;
- }
- .yhq_tip_bg{background:rgba(0%,0%,0%,0.5);bottom:0;display:none;left:0;position:absolute;right:0;top 0;width:100%;height:100%;z-index:1001;}
-</style>
-
-<?php if (!$_smarty_tpl->tpl_vars['bannerFlag']->value) {?>
-<div id="yhq_tip" class="yhq_tip">
- <?php $_smarty_tpl->tpl_vars["lunbo"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["lunbo"]->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
-global $db,$db_config,$config;$AdArr=array();$paramer=array();$attr=array("classid"=>"506","item"=>"\"lunbo\"","key"=>"'key'","random"=>"1","nocache"=>"")
-;
- include(PLUS_PATH.'pimg_cache.php');$add_arr = $ad_label[506];if(is_array($add_arr) && !empty($add_arr)){
- $i=0;$limit = 0;$length = 0;
- foreach($add_arr as $key=>$value){
- if($config['did']){
- if(($value['did']==$config['did']|| $value['did']==-1)&&$value['start']<time()&&$value['end']>time()){
- if($i>0 && $limit==$i){
- break;
- }
- if($length>0){
- $value['name'] = mb_substr($value['name'],0,$length);
- }
- if($paramer['type']!=""){
- if($paramer['type'] == $value['type']){
- $AdArr[] = $value;
- }
- }else{
- $AdArr[] = $value;
- }
- $i++;
- }
-
- }else{
- if(($value['did']==-1 || !$value['did']) && $value['start']<time()&&$value['end']>time()){
- if($i>0 && $limit==$i){
- break;
- }
- if($length>0){
- $value['name'] = mb_substr($value['name'],0,$length);
- }
- if($paramer['type']!=""){
- if($paramer['type'] == $value['type']){
- $AdArr[] = $value;
- }
- }else{
- $AdArr[] = $value;
- }
- $i++;
- }
-
- }
- }
- if (isset($attr['random']) && $attr['random'] && count($AdArr) > $attr['random']) {
- $temp = [];
- $random_keys = array_rand($AdArr, $attr['random']);
-
- if($attr['random'] == 1) {
- $temp[] = $AdArr[$attr['random']];
- } else {
- foreach ($AdArr as $key => $value) {
- if (in_array($key, $random_keys)) {
- $temp[$key] = $value;
- }
- }
- }
- $AdArr = $temp;
- }
- }$AdArr = $AdArr; if (!is_array($AdArr) && !is_object($AdArr)) { settype($AdArr, 'array');}
-foreach ($AdArr as $_smarty_tpl->tpl_vars["lunbo"]->key => $_smarty_tpl->tpl_vars["lunbo"]->value) {
-$_smarty_tpl->tpl_vars["lunbo"]->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars["lunbo"]->key;
-?>
- <div class="tcbanner" id="adContent"><?php echo $_smarty_tpl->tpl_vars['lunbo']->value['html'];?>
-</div>
- <?php } ?>
- <span id="yhq_tip_close" class="tcbanner_gb">关闭</span>
- <div id="yhq_tip_bg" class="yhq_tip_bg" style="display: block;"></div>
-</div>
-<?php }?>
-<!-- 首页弹出广告 end-->
-<div class="index_zs_banner index_zs_banner2 none" id="js_ads_banner_top">
- <?php $_smarty_tpl->tpl_vars['adlist_73'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['adlist_73']->_loop = false;
-global $db,$db_config,$config;$AdArr=array();$paramer=array();$attr=array("classid"=>"73","limit"=>"1","item"=>"'adlist_73'","nocache"=>"")
-;
- include(PLUS_PATH.'pimg_cache.php');$add_arr = $ad_label[73];if(is_array($add_arr) && !empty($add_arr)){
- $i=0;$limit = 1;$length = 0;
- foreach($add_arr as $key=>$value){
- if($config['did']){
- if(($value['did']==$config['did']|| $value['did']==-1)&&$value['start']<time()&&$value['end']>time()){
- if($i>0 && $limit==$i){
- break;
- }
- if($length>0){
- $value['name'] = mb_substr($value['name'],0,$length);
- }
- if($paramer['type']!=""){
- if($paramer['type'] == $value['type']){
- $AdArr[] = $value;
- }
- }else{
- $AdArr[] = $value;
- }
- $i++;
- }
-
- }else{
- if(($value['did']==-1 || !$value['did']) && $value['start']<time()&&$value['end']>time()){
- if($i>0 && $limit==$i){
- break;
- }
- if($length>0){
- $value['name'] = mb_substr($value['name'],0,$length);
- }
- if($paramer['type']!=""){
- if($paramer['type'] == $value['type']){
- $AdArr[] = $value;
- }
- }else{
- $AdArr[] = $value;
- }
- $i++;
- }
-
- }
- }
- if (isset($attr['random']) && $attr['random'] && count($AdArr) > $attr['random']) {
- $temp = [];
- $random_keys = array_rand($AdArr, $attr['random']);
-
- if($attr['random'] == 1) {
- $temp[] = $AdArr[$attr['random']];
- } else {
- foreach ($AdArr as $key => $value) {
- if (in_array($key, $random_keys)) {
- $temp[$key] = $value;
- }
- }
- }
- $AdArr = $temp;
- }
- }$AdArr = $AdArr; if (!is_array($AdArr) && !is_object($AdArr)) { settype($AdArr, 'array');}
-foreach ($AdArr as $_smarty_tpl->tpl_vars['adlist_73']->key => $_smarty_tpl->tpl_vars['adlist_73']->value) {
-$_smarty_tpl->tpl_vars['adlist_73']->_loop = true;
-?> <?php echo $_smarty_tpl->tpl_vars['adlist_73']->value['html'];?>
- <?php } ?>
-</div>
-
-<div class="index_zs_banner index_zs_banner1" id="js_ads_banner_top_slide">
- <?php $_smarty_tpl->tpl_vars['adlist_72'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['adlist_72']->_loop = false;
-global $db,$db_config,$config;$AdArr=array();$paramer=array();$attr=array("classid"=>"72","limit"=>"1","item"=>"'adlist_72'","nocache"=>"")
-;
- include(PLUS_PATH.'pimg_cache.php');$add_arr = $ad_label[72];if(is_array($add_arr) && !empty($add_arr)){
- $i=0;$limit = 1;$length = 0;
- foreach($add_arr as $key=>$value){
- if($config['did']){
- if(($value['did']==$config['did']|| $value['did']==-1)&&$value['start']<time()&&$value['end']>time()){
- if($i>0 && $limit==$i){
- break;
- }
- if($length>0){
- $value['name'] = mb_substr($value['name'],0,$length);
- }
- if($paramer['type']!=""){
- if($paramer['type'] == $value['type']){
- $AdArr[] = $value;
- }
- }else{
- $AdArr[] = $value;
- }
- $i++;
- }
-
- }else{
- if(($value['did']==-1 || !$value['did']) && $value['start']<time()&&$value['end']>time()){
- if($i>0 && $limit==$i){
- break;
- }
- if($length>0){
- $value['name'] = mb_substr($value['name'],0,$length);
- }
- if($paramer['type']!=""){
- if($paramer['type'] == $value['type']){
- $AdArr[] = $value;
- }
- }else{
- $AdArr[] = $value;
- }
- $i++;
- }
-
- }
- }
- if (isset($attr['random']) && $attr['random'] && count($AdArr) > $attr['random']) {
- $temp = [];
- $random_keys = array_rand($AdArr, $attr['random']);
-
- if($attr['random'] == 1) {
- $temp[] = $AdArr[$attr['random']];
- } else {
- foreach ($AdArr as $key => $value) {
- if (in_array($key, $random_keys)) {
- $temp[$key] = $value;
- }
- }
- }
- $AdArr = $temp;
- }
- }$AdArr = $AdArr; if (!is_array($AdArr) && !is_object($AdArr)) { settype($AdArr, 'array');}
-foreach ($AdArr as $_smarty_tpl->tpl_vars['adlist_72']->key => $_smarty_tpl->tpl_vars['adlist_72']->value) {
-$_smarty_tpl->tpl_vars['adlist_72']->_loop = true;
-?> <?php echo $_smarty_tpl->tpl_vars['adlist_72']->value['html'];?>
- <?php } ?>
-</div>
-
-<?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/index_header.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-
-<div class="clear"></div>
-
-<div class="w1200">
- <div class="first_floor ">
- <div class="first_floor_top">
- <!-- 职位类别-->
- <div class="yunheader_60zwlb">
- <div class="leftNav ">
- <div id="menuLst" class="menuLst">
- <ul>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['j'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['job_index']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['j']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <?php if ($_smarty_tpl->tpl_vars['j']->value<11) {?>
- <li class="lst<?php echo $_smarty_tpl->tpl_vars['j']->value;?>
- " onmouseover="show_job(<?php echo $_smarty_tpl->tpl_vars['j']->value;?>
-,'1');" onmouseout="hide_job(<?php echo $_smarty_tpl->tpl_vars['j']->value;?>
-);"><b></b>
- <a class="link" href="<?php echo smarty_function_url(array('m'=>'job','c'=>'search','job1'=>$_smarty_tpl->tpl_vars['v']->value),$_smarty_tpl);?>
-" title="<?php echo $_smarty_tpl->tpl_vars['job_name']->value[$_smarty_tpl->tpl_vars['v']->value];?>
-"><?php echo $_smarty_tpl->tpl_vars['job_name']->value[$_smarty_tpl->tpl_vars['v']->value];?>
-</a><i></i>
- <div class="lstCon">
- <div class="lstConClass">
- <?php $_smarty_tpl->tpl_vars['vv'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['vv']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['job_type']->value[$_smarty_tpl->tpl_vars['v']->value]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['vv']->key => $_smarty_tpl->tpl_vars['vv']->value) {
-$_smarty_tpl->tpl_vars['vv']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['vv']->key;
-?>
- <dl>
- <dt>
- <a href="<?php echo $_smarty_tpl->tpl_vars['jobclassurl']->value;?>
-job1=<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
-&job1_son=<?php echo $_smarty_tpl->tpl_vars['vv']->value;?>
-"><?php echo $_smarty_tpl->tpl_vars['job_name']->value[$_smarty_tpl->tpl_vars['vv']->value];?>
-</a>
- </dt>
- <dd>
- <?php $_smarty_tpl->tpl_vars['vvv'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['vvv']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['job_type']->value[$_smarty_tpl->tpl_vars['vv']->value]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['vvv']->key => $_smarty_tpl->tpl_vars['vvv']->value) {
-$_smarty_tpl->tpl_vars['vvv']->_loop = true;
-?>
- <a href="<?php echo $_smarty_tpl->tpl_vars['jobclassurl']->value;?>
-job1=<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
-&job1_son=<?php echo $_smarty_tpl->tpl_vars['vv']->value;?>
-&job_post=<?php echo $_smarty_tpl->tpl_vars['vvv']->value;?>
-"><?php echo $_smarty_tpl->tpl_vars['job_name']->value[$_smarty_tpl->tpl_vars['vvv']->value];?>
-</a>
- <?php } ?>
- </dd>
- <dd style="display:block;clear:both;float:inherit;width:100%;font-size:0;line-height:0;"></dd>
- </dl>
- <?php } ?>
- </div>
- </div>
- </li>
- <?php }?>
- <?php } ?>
- </ul>
- </div>
- </div>
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/js/pop_up.js" language="javascript"><?php echo '</script'; ?>
->
- <!--悬浮结束-->
- </div>
-
- <!-- 幻灯 公告-->
- <div class="index_frist_box">
- <div class="index_huandeng" id="ban">
- <div class="layui-carousel" id="test1" lay-filter="test1">
- <div carousel-item="">
- <?php $_smarty_tpl->tpl_vars["lunbo"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["lunbo"]->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
-global $db,$db_config,$config;$AdArr=array();$paramer=array();$attr=array("classid"=>"3","item"=>"\"lunbo\"","key"=>"'key'","nocache"=>"")
-;
- include(PLUS_PATH.'pimg_cache.php');$add_arr = $ad_label[3];if(is_array($add_arr) && !empty($add_arr)){
- $i=0;$limit = 0;$length = 0;
- foreach($add_arr as $key=>$value){
- if($config['did']){
- if(($value['did']==$config['did']|| $value['did']==-1)&&$value['start']<time()&&$value['end']>time()){
- if($i>0 && $limit==$i){
- break;
- }
- if($length>0){
- $value['name'] = mb_substr($value['name'],0,$length);
- }
- if($paramer['type']!=""){
- if($paramer['type'] == $value['type']){
- $AdArr[] = $value;
- }
- }else{
- $AdArr[] = $value;
- }
- $i++;
- }
-
- }else{
- if(($value['did']==-1 || !$value['did']) && $value['start']<time()&&$value['end']>time()){
- if($i>0 && $limit==$i){
- break;
- }
- if($length>0){
- $value['name'] = mb_substr($value['name'],0,$length);
- }
- if($paramer['type']!=""){
- if($paramer['type'] == $value['type']){
- $AdArr[] = $value;
- }
- }else{
- $AdArr[] = $value;
- }
- $i++;
- }
-
- }
- }
- if (isset($attr['random']) && $attr['random'] && count($AdArr) > $attr['random']) {
- $temp = [];
- $random_keys = array_rand($AdArr, $attr['random']);
-
- if($attr['random'] == 1) {
- $temp[] = $AdArr[$attr['random']];
- } else {
- foreach ($AdArr as $key => $value) {
- if (in_array($key, $random_keys)) {
- $temp[$key] = $value;
- }
- }
- }
- $AdArr = $temp;
- }
- }$AdArr = $AdArr; if (!is_array($AdArr) && !is_object($AdArr)) { settype($AdArr, 'array');}
-foreach ($AdArr as $_smarty_tpl->tpl_vars["lunbo"]->key => $_smarty_tpl->tpl_vars["lunbo"]->value) {
-$_smarty_tpl->tpl_vars["lunbo"]->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars["lunbo"]->key;
-?>
- <?php echo $_smarty_tpl->tpl_vars['lunbo']->value['lay_html'];?>
-
- <?php } ?>
- </div>
- </div>
- </div>
- <!-- 新急聘 -->
- <div id="newurgentCtrl" class="yunheader_60jpbox swiper-container">
- <div class="swiper-wrapper">
- <?php $_smarty_tpl->tpl_vars['urgent_list'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['urgent_list']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
-global $db,$db_config,$config;
- $time = time();
-
-
- //可以做缓存
- $paramer=array("namelen"=>"30","comlen"=>"30","urgent"=>"'1'","limit"=>"32","key"=>"'key'","item"=>"'urgent_list'","name"=>"'urgent_list1'","nocache"=>"")
-;
- $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
- $paramer = $ParamerArr[arr];
- $Purl = $ParamerArr[purl];
- global $ModuleName;
- if(!$Purl["m"]){
- $Purl["m"]=$ModuleName;
- }
- include_once PLUS_PATH."/comrating.cache.php";
- include(CONFIG_PATH."db.data.php");
- if($config[sy_web_site]=="1"){
- if($config[province]>0 && $config[province]!=""){
- $paramer[provinceid] = $config[province];
- }
- if($config[cityid]>0 && $config[cityid]!=""){
- $paramer[cityid] = $config[cityid];
- }
- if($config[three_cityid]>0 && $config[three_cityid]!=""){
- $paramer[three_cityid] = $config[three_cityid];
- }
- if($config[hyclass]>0 && $config[hyclass]!=""){
- $paramer[hy]=$config[hyclass];
- }
- }
-
-
- if($paramer[sdate]){
- $where = "`sdate`>".strtotime("-".intval($paramer[sdate])." day",time())." and `state`=1";
- }else{
- $where = "`state`=1";
- }
-
- //按照UID来查询(按公司地址查询可用GET[id]获取当前公司ID)
- if($paramer[uid]){
- $where .= " AND `uid` = '$paramer[uid]'";
- }
- if($paramer[com_id]){
- $where .= " AND `uid` = '$paramer[com_id]'";
- }
-
- //是否推荐职位
- if($paramer[rec]){
-
- $where.=" AND `rec_time`>=".time();
-
- }
- //企业认证条件
- if($paramer['cert']){
- $job_uid=array();
- $company=$db->select_all("company","`yyzz_status`=1","`uid`");
- if(is_array($company)){
- foreach($company as $v){
- $job_uid[]=$v['uid'];
- }
- }
- $where.=" and `uid` in (".@implode(",",$job_uid).")";
- }
- //取不包含当前企业的职位
- if($paramer[nouid]){
- $where.= " and `uid`<>$paramer[nouid]";
- }
- //取不包含当前id的职位
- if($paramer[noid]){
- $where.= " and `id`<>$paramer[noid]";
- }
- //是否被锁定
- if($paramer[r_status]){
- $where.= " and `r_status`=2";
- }else{
- $where.= " and `r_status`=1";
- }
- //是否下架职位
- if($paramer[status]){
- $where.= " and `status`='1'";
- }else{
- $where.= " and `status`='0'";
- }
- //公司体制
- if($paramer[pr]){
- $where .= " AND `pr` =$paramer[pr]";
- }
- //公司行业分类
- if($paramer['hy']){
- $where .= " AND `hy` = $paramer[hy]";
- }
- //职位大类
- if($paramer[job1]){
- $where .= " AND `job1` = $paramer[job1]";
- }
- //职位子类
- if($paramer[job1_son]){
- $where .= " AND `job1_son` = $paramer[job1_son]";
- }
- //职位三级分类
- if($paramer[job_post]){
- $where .= " AND (`job_post` IN ($paramer[job_post]))";
- }
- //您可能感兴趣的职位--个人会员中心
- if($paramer['jobwhere']){
- $where .=" and ".$paramer['jobwhere'];
- }
- //职位分类综合查询
- if($paramer['jobids']){
- $where.= " AND (`job1` = '$paramer[jobids]' OR `job1_son`= '$paramer[jobids]' OR `job_post`='$paramer[jobids]')";
- }
- //职位分类区间,不建议执行该查询
- if($paramer['jobin']){
- $where .= " AND (`job1` IN ($paramer[jobin]) OR `job1_son` IN ($paramer[jobin]) OR `job_post` IN ($paramer[jobin]))";
- }
- //城市大类
- if($paramer[provinceid]){
- $where .= " AND `provinceid` = $paramer[provinceid]";
- }
- //城市子类
- if($paramer['cityid']){
- $where .= " AND (`cityid` IN ($paramer[cityid]))";
- }
- //城市三级子类
- if($paramer['three_cityid']){
- $where .= " AND (`three_cityid` IN ($paramer[three_cityid]))";
- }
- if($paramer['cityin']){
- $where .= " AND `three_cityid` IN ($paramer[cityin])";
- }
- //学历
- if($paramer[edu]){
-
- $eduKey = $db->DB_select_once("comclass", "`variable` = 'job_edu'", "`id`");
- $eduReq = $db->DB_select_once("comclass", "`id` = $paramer[edu]", "`sort`,`name`");
- if($eduReq[name] != "不限"){
-
- $eduArr = $db->select_all("comclass", "`keyid` = $eduKey[id] AND `sort` <= $eduReq[sort]", "`id`");
- $eduIds = array();
- foreach($eduArr as $v){
- $eduIds[] = $v[id];
- }
-
- $where .= " AND `edu` in (".@implode(",",$eduIds).")";
- }
- }
- //工作经验
- if($paramer[exp]){
-
- $expKey = $db->DB_select_once("comclass", "`variable` = 'job_exp'", "`id`");
- $expReq = $db->DB_select_once("comclass", "`id` = $paramer[exp]", "`sort`,`name`");
- if($expReq[name] != "不限"){
-
- $expArr = $db->select_all("comclass", "`keyid` = $expKey[id] AND `sort` <= $expReq[sort]", "`id`");
- $expIds = array();
- foreach($expArr as $v){
- $expIds[] = $v[id];
- }
- $where .= " AND `exp` in (".@implode(",",$expIds).")";
- }
- }
- //到岗时间
- if($paramer[report]){
- $where .= " AND `report` = $paramer[report]";
- }
- //职位性质
- if($paramer[type]){
- $where .= " AND `type` = $paramer[type]";
- }
- //性别
- if($paramer[sex]){
- $where .= " AND `sex` = $paramer[sex]";
- }
- //应届生
- if($paramer[is_graduate]){
- $where .= " AND `is_graduate` = $paramer[is_graduate]";
- }
- //公司规模
- if($paramer[mun]){
- $where .= " AND `mun` = $paramer[mun]";
- }
-
- if($paramer[minsalary] && $paramer[maxsalary]){
- $where.= " AND (`minsalary`>=".intval($paramer[minsalary])." and `minsalary`<=".intval($paramer[maxsalary])." and `maxsalary`<=".intval($paramer[maxsalary]).") ";
-
- }elseif($paramer[minsalary]&&!$paramer[maxsalary]){
- $where.= " AND (`minsalary`>=".intval($paramer[minsalary]).") ";
-
- }elseif(!$paramer[minsalary]&&$paramer[maxsalary]){
- $where.= " AND (`minsalary`<=".intval($paramer[maxsalary])." and `maxsalary`<=".intval($paramer[maxsalary]).") ";
- }
-
- //福利待遇
- $cache_array = $db->cacheget();
- $comclass_name = $cache_array["comclass_name"];
- if($paramer[welfare]){
- $welfarename=$comclass_name[$paramer[welfare]];
- $where .=" AND `welfare` LIKE '%".$welfarename."%' ";
- }
-
- //城市区间,不建议执行该查询
- if($paramer[cityin]){
- $where .= " AND (`provinceid` IN ($paramer[cityin]) OR `cityid` IN ($paramer[cityin]) OR `three_cityid` IN ($paramer[cityin]))";
- }
- //紧急招聘urgent
- if($paramer[urgent]){
- $where.=" AND `urgent_time`>".time();
- }
- //更新时间区间
- if($paramer[uptime]){
- if($paramer[uptime]==1){
- $beginToday=mktime(0,0,0,date('m'),date('d'),date('Y'));
- $where.=" AND lastupdate>$beginToday";
- }else{
- $time=time();
- $uptime = $time-($paramer[uptime]*86400);
- $where.=" AND lastupdate>$uptime";
- }
- }else{
- if($config[sy_datacycle]>0){
- // 后台-页面设置-数据周期
- $uptime = strtotime('-'.$config[sy_datacycle].' day');
- $where.=" AND lastupdate>$uptime";
- }
- }
- //按类似公司名称,不建议进行大数据量操作
- if($paramer[comname]){
- $where.=" AND `com_name` LIKE '%".$paramer[comname]."%'";
- }
- //按公司归属地,只适合查询一级城市分类
- if($paramer[com_pro]){
- $where.=" AND `com_provinceid` ='".$paramer[com_pro]."'";
- }
- //按照职位名称匹配
- if($paramer[keyword]){
- $where1[]="`name` LIKE '%".$paramer[keyword]."%'";
- $where1[]="`com_name` LIKE '%".$paramer[keyword]."%'";
- include PLUS_PATH."/city.cache.php";
- foreach($city_name as $k=>$v){
- if(strpos($v,$paramer[keyword])!==false){
- $cityid[]=$k;
- }
- }
- if(is_array($cityid)){
- foreach($cityid as $value){
- $class[]= "(provinceid = '".$value."' or cityid = '".$value."')";
- }
- $where1[]=@implode(" or ",$class);
- }
- $where.=" AND (".@implode(" or ",$where1).")";
- }
-
- //多选职位
- if($paramer["job"]){
- $where.=" AND `job_post` in ($paramer[job])";
- }
- //置顶招聘
- if($paramer[bid]){
- if($config[joblist_top]!=1){
- $paramer[limit] = 5;
- }
- $where.=" and `xsdate`>'".time()."'";
- }
-
- //自定义查询条件,默认取代上面任何参数直接使用该语句
- if($paramer[where]){
- $where = $paramer[where];
- }
-
- //查询条数
- $limit = '';
- if($paramer[limit]){
-
- $limit = " limit ".$paramer[limit];
- }
- if($paramer[ispage]){
- $limit = PageNav($paramer,$_GET,"company_job",$where,$Purl,"",$paramer[islt]?$paramer[islt]:"6",$_smarty_tpl);
- }
-
- //排序字段默认为更新时间
- //置顶设置为随机5条时,随机查询
- if($paramer[bid] && $paramer[limit]){
- $order = " ORDER BY rand() ";
- }else{
- if($paramer[order] && $paramer[order]!="lastdate"){
- $order = " ORDER BY ".str_replace("'","",$paramer[order])." ";
- }else{
- $order = " ORDER BY `lastupdate` ";
- }
- }
- //排序规则 默认为倒序
- if($paramer[sort]){
- $sort = $paramer[sort];
- }else{
- $sort = " DESC";
- }
- $where.=$order.$sort;
-
- $urgent_list = $db->select_all("company_job",$where.$limit);
-
- if(is_array($urgent_list) && !empty($urgent_list)){
- //处理类别字段
- $cache_array = $db->cacheget();
- $comuid=$jobid=array();
- foreach($urgent_list as $key=>$value){
- if(in_array($value['uid'],$comuid)==false){$comuid[] = $value['uid'];}
- if(in_array($value['id'],$jobid)==false){$jobid[] = $value['id'];}
- }
- $comuids = @implode(',',$comuid);
- $jobids = @implode(',',$jobid);
- //减少曝光量统计维度 只有列表才统计
- if($paramer[ispage]){
- $db->update_all("company_job", "`jobexpoure` = `jobexpoure` + 1", "`id` in ($jobids)");
- }
-
-
- if($comuids){
- $r_uids=$db->select_all("company","`uid` IN (".$comuids.")","`uid`,`yyzz_status`,`logo`,`logo_status`,`pr`,`hy`,`mun`,`shortname`,`welfare`,`hotstart`,`hottime`");
- if(is_array($r_uids)){
- foreach($r_uids as $key=>$value){
- if($value[shortname]){
- $value['shortname_n'] = $value[shortname];
- }
- if(!$value['logo'] || $value['logo_status']!=0){
- $value['logo'] = checkpic("",$config['sy_unit_icon']);
- }else{
- $value['logo']= checkpic($value['logo']);
- }
- $value['pr_n'] = $cache_array['comclass_name'][$value[pr]];
- $value['hy_n'] = $cache_array['industry_name'][$value[hy]];
- $value['mun_n'] = $cache_array['comclass_name'][$value[mun]];
- if($value['hotstart']<=time() && $value['hottime']>=time()){
- $value['hotlogo'] = 1;
- }
- $r_uid[$value['uid']] = $value;
- }
- }
- }
-
- if($paramer[bid]){
- $noids=array();
- }
- foreach($urgent_list as $key=>$value){
-
- if($paramer[bid]){
- $noids[] = $value[id];
- }
- //筛除重复
- if($paramer[noids]==1 && !empty($noids) && in_array($value['id'],$noids)){
- unset($urgent_list[$key]);
- continue;
- }else{
- $urgent_list[$key] = $db->array_action($value,$cache_array);
- $urgent_list[$key][stime] = date("Y-m-d",$value[sdate]);
- $urgent_list[$key][etime] = date("Y-m-d",$value[edate]);
- if($arr_data['sex'][$value['sex']]){
- $urgent_list[$key][sex_n]=$arr_data['sex'][$value['sex']];
- }
- $urgent_list[$key][lastupdate] =lastupdateStyle($value[lastupdate]);
- if($value[minsalary]&&$value[maxsalary]){
- if($config['resume_salarytype']==1){
- $urgent_list[$key][job_salary] =$value[minsalary]."-".$value[maxsalary];
- }else{
- if($value[maxsalary]<1000){
- if($config['resume_salarytype']==2){
- $urgent_list[$key][job_salary] = "1千以下";
- }elseif($config['resume_salarytype']==3){
- $urgent_list[$key][job_salary] = "1K以下";
- }elseif($config['resume_salarytype']==4){
- $urgent_list[$key][job_salary] = "1k以下";
- }
- }else if($value[minsalary]<1000){
- $urgent_list[$key][job_salary] =changeSalary($value[maxsalary]);
- }else{
- $urgent_list[$key][job_salary] =changeSalary($value[minsalary])."-".changeSalary($value[maxsalary]);
- }
- }
- }elseif($value[minsalary]){
- if($config['resume_salarytype']==1){
- $urgent_list[$key][job_salary] =$value[minsalary]."以上";
- }else{
- $urgent_list[$key][job_salary] =changeSalary($value[minsalary])."以上";
- }
- }else{
- $urgent_list[$key][job_salary] ="面议";
- }
-
- if($r_uid[$value['uid']][shortname]){
- $urgent_list[$key][com_name] =$r_uid[$value['uid']][shortname];
- }
- if(!empty($value[zp_minage]) && !empty($value[zp_maxage])){
- if($value[zp_minage]==$value[zp_maxage]){
- $urgent_list[$key][job_age] = $value[zp_minage]."周岁以上";
- }else{
- $urgent_list[$key][job_age] = $value[zp_minage]."-".$value[zp_maxage]."周岁";
- }
- }else if(!empty($value[zp_minage]) && empty($value[zp_maxage])){
- $urgent_list[$key][job_age] = $value[zp_minage]."周岁以上";
- }else{
- $urgent_list[$key][job_age] = 0;
- }
- if($value[zp_num]==0){
- $urgent_list[$key][job_number] = "";
- }else{
- $urgent_list[$key][job_number] = $value[zp_num]." 人";
- }
- $urgent_list[$key][yyzz_status] =$r_uid[$value['uid']][yyzz_status];
- $urgent_list[$key][logo] =$r_uid[$value['uid']][logo];
- $urgent_list[$key][pr_n] =$r_uid[$value['uid']][pr_n];
- $urgent_list[$key][hy_n] =$r_uid[$value['uid']][hy_n];
- $urgent_list[$key][mun_n] =$r_uid[$value['uid']][mun_n];
- $urgent_list[$key][hotlogo] =$r_uid[$value['uid']][hotlogo];
- $time=$value['lastupdate'];
- //今天开始时间戳
- $beginToday=mktime(0,0,0,date('m'),date('d'),date('Y'));
- //昨天开始时间戳
- $beginYesterday=mktime(0,0,0,date('m'),date('d')-1,date('Y'));
-
- if($time>$beginYesterday && $time<$beginToday){
- $urgent_list[$key]['time'] ="昨天";
- }elseif($time>$beginToday){
- $urgent_list[$key]['time'] = $urgent_list[$key]['lastupdate'];
- $urgent_list[$key]['redtime'] =1;
- }else{
- $urgent_list[$key]['time'] = date("Y-m-d",$value['lastupdate']);
- }
-
- // 前天
- $beforeYesterday=mktime(0,0,0,date('m'),date('d')-2,date('Y'));
-
- if($value['sdate']>$beforeYesterday){
- $urgent_list[$key]['newtime'] =1;
- }
- //获得福利待遇名称
- if($value[welfare]){
- $value[welfare] = str_replace(' ', '',$value[welfare]);
- $welfareList = @explode(',',trim($value[welfare]));
-
- if(!empty($welfareList)){
- $urgent_list[$key][welfarename] =array_filter($welfareList);
- }
- }
- //截取公司名称
- if($paramer[comlen]){
- if($r_uid[$value['uid']][shortname]){
- $urgent_list[$key][com_n] = mb_substr($r_uid[$value['uid']][shortname],0,$paramer[comlen],"utf-8");
- }else{
- $urgent_list[$key][com_n] = mb_substr($value['com_name'],0,$paramer[comlen],"utf-8");
- }
- }
- //截取职位名称
- if($paramer[namelen]){
- if($value['rec_time']>time()){
- $urgent_list[$key][name_n] = "<font color='red'>".mb_substr($value['name'],0,$paramer[namelen],"utf-8")."</font>";
- }else{
- $urgent_list[$key][name_n] = mb_substr($value['name'],0,$paramer[namelen],"utf-8");
- }
- }else{
- if($value['rec_time']>time()){
- $urgent_list[$key]['name_n'] = "<font color='red'>".$value['name']."</font>";
- }else{
- $urgent_list[$key][name_n] = $value['name'];
- }
- }
- //构建职位伪静态URL
- $urgent_list[$key][job_url] = Url("job",array("c"=>"comapply","id"=>$value[id]),"1");
- //构建企业伪静态URL
- $urgent_list[$key][com_url] = Url("company",array("c"=>"show","id"=>$value[uid]));
-
- foreach($comrat as $k=>$v){
- if($value[rating]==$v[id]){
- $urgent_list[$key][color] = str_replace("#","",$v[com_color]);
- if($v[com_pic]){
- $urgent_list[$key][ratlogo] = checkpic($v[com_pic]);
- }
- $urgent_list[$key][ratname] = $v[name];
- }
- }
- if($paramer[keyword]){
- $urgent_list[$key][name]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$value[name]);
- $urgent_list[$key][name_n]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$urgent_list[$key][name_n]);
- $urgent_list[$key][com_n]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$urgent_list[$key][com_n]);
- $urgent_list[$key][job_city_one]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$city_name[$value[provinceid]]);
- $urgent_list[$key][job_city_two]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$city_name[$value[cityid]]);
- }
- }
- }
- if(is_array($urgent_list)){
- if($paramer[keyword]!=""&&!empty($urgent_list)){
- addkeywords('3',$paramer[keyword]);
- }
- }
- }$urgent_list = $urgent_list; if (!is_array($urgent_list) && !is_object($urgent_list)) { settype($urgent_list, 'array');}
-foreach ($urgent_list as $_smarty_tpl->tpl_vars['urgent_list']->key => $_smarty_tpl->tpl_vars['urgent_list']->value) {
-$_smarty_tpl->tpl_vars['urgent_list']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['urgent_list']->key;
-?>
- <div class="swiper-slide">
- <div class="js_new">
- <a href="<?php echo $_smarty_tpl->tpl_vars['urgent_list']->value['job_url'];?>
-" target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['urgent_list']->value['name'];?>
-" class="yunheader_60jp">
- <i class="yunheader_60jpicon"></i>
- <div class="yunheader_60jplogo">
- <img src="<?php echo $_smarty_tpl->tpl_vars['urgent_list']->value['logo'];?>
-">
- </div>
- <div class="yunheader_60jpbane"><?php echo $_smarty_tpl->tpl_vars['urgent_list']->value['name'];?>
-</div>
- <div class="yunheader_60jpxz">
- <?php if ($_smarty_tpl->tpl_vars['urgent_list']->value['job_salary']!='面议') {
-}
-echo $_smarty_tpl->tpl_vars['urgent_list']->value['job_salary'];?>
-
- </div>
- </a>
- <div class="yunheader_60jpcom">
- <?php echo mb_substr(preg_replace('!<[^>]*?>!', ' ', $_smarty_tpl->tpl_vars['urgent_list']->value['com_name']),0,14,'utf-8');?>
-
- </div>
- </div>
- </div>
- <?php } ?>
- </div>
- </div>
- <!-- 新急聘 -->
- </div>
-
- <!-- 登录-->
- <div class="fastloginbox ">
- <div class="hp_login"></div>
- <div class="new_gg fl">
- <div class="new_gg_tit">网站公告<a href="<?php echo smarty_function_url(array('m'=>'announcement'),$_smarty_tpl);?>
-" class="new_gg_titmore">更多</a></div>
- <ul>
- <?php $_smarty_tpl->tpl_vars['announcementlist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['announcementlist']->_loop = false;
-$announcementlist=array();$time=time();$paramer=array("limit"=>"4","item"=>"'announcementlist'","t_len"=>"30","nocache"=>"")
-;
- global $db,$db_config,$config;
- $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
- $paramer = $ParamerArr[arr];
- $Purl = $ParamerArr[purl];
- global $ModuleName;
- if(!$Purl["m"]){
- $Purl["m"]=$ModuleName;
- }
- $where = 1;
- //分站
- if($config['did']){
- $where.=" and (`did`='".$config['did']."' or `did`=-1)";
- }else{
- $where.=" and (`did`=-1 OR `did`=0 OR did='')";
- }
- $where.=" and (`startime`<=".time()." or `startime`=0 or `startime` is null)";
- $where.=" and (`endtime`>".time()." or `endtime`=0 or `endtime` is null)";
- if($paramer[limit]){
- $limit=" LIMIT ".$paramer[limit];
- }else{
- $limit=" LIMIT 20";
- }
- if($paramer[ispage]){
- $limit = PageNav($paramer,$_GET,"admin_announcement",$where,$Purl,"",0,$_smarty_tpl);
- }
- //排序字段 默认按照xuanshang排序
- if($paramer[order]){
- $where.=" ORDER BY `".$paramer[order]."`";
- }else{
- $where.=" ORDER BY `startime`";
- }
- //排序方式默认倒序
- if($paramer[sort]){
- $where.=" ".$paramer[sort];
- }else{
- $where.=" DESC";
- }
-
- $announcementlist=$db->select_all("admin_announcement",$where.$limit);
- if(is_array($announcementlist)){
- foreach($announcementlist as $key=>$value){
- //截取标题
- if($paramer[t_len]){
- $announcementlist[$key][title_n] = mb_substr($value['title'],0,$paramer[t_len],"utf-8");
- }
- $announcementlist[$key][time]=date("Y-m-d",$value[startime]);
- $announcementlist[$key][url] = Url("announcement",array("id"=>$value[id]),"1");
- }
- }$announcementlist = $announcementlist; if (!is_array($announcementlist) && !is_object($announcementlist)) { settype($announcementlist, 'array');}
-foreach ($announcementlist as $_smarty_tpl->tpl_vars['announcementlist']->key => $_smarty_tpl->tpl_vars['announcementlist']->value) {
-$_smarty_tpl->tpl_vars['announcementlist']->_loop = true;
-?>
- <li><a href="<?php echo $_smarty_tpl->tpl_vars['announcementlist']->value['url'];?>
-" title="<?php echo $_smarty_tpl->tpl_vars['announcementlist']->value['title_n'];?>
-"><?php echo $_smarty_tpl->tpl_vars['announcementlist']->value['title_n'];?>
-</a></li>
- <?php } ?>
- </ul>
- </div>
- </div>
- </div>
- </div>
- <!-- 首页banner 区域-->
- <div class="index_banner fl">
- <div class="index_banner_1250 fl">
- <?php $_smarty_tpl->tpl_vars['adlist_13'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['adlist_13']->_loop = false;
-global $db,$db_config,$config;$AdArr=array();$paramer=array();$attr=array("classid"=>"13","item"=>"'adlist_13'","nocache"=>"")
-;
- include(PLUS_PATH.'pimg_cache.php');$add_arr = $ad_label[13];if(is_array($add_arr) && !empty($add_arr)){
- $i=0;$limit = 0;$length = 0;
- foreach($add_arr as $key=>$value){
- if($config['did']){
- if(($value['did']==$config['did']|| $value['did']==-1)&&$value['start']<time()&&$value['end']>time()){
- if($i>0 && $limit==$i){
- break;
- }
- if($length>0){
- $value['name'] = mb_substr($value['name'],0,$length);
- }
- if($paramer['type']!=""){
- if($paramer['type'] == $value['type']){
- $AdArr[] = $value;
- }
- }else{
- $AdArr[] = $value;
- }
- $i++;
- }
-
- }else{
- if(($value['did']==-1 || !$value['did']) && $value['start']<time()&&$value['end']>time()){
- if($i>0 && $limit==$i){
- break;
- }
- if($length>0){
- $value['name'] = mb_substr($value['name'],0,$length);
- }
- if($paramer['type']!=""){
- if($paramer['type'] == $value['type']){
- $AdArr[] = $value;
- }
- }else{
- $AdArr[] = $value;
- }
- $i++;
- }
-
- }
- }
- if (isset($attr['random']) && $attr['random'] && count($AdArr) > $attr['random']) {
- $temp = [];
- $random_keys = array_rand($AdArr, $attr['random']);
-
- if($attr['random'] == 1) {
- $temp[] = $AdArr[$attr['random']];
- } else {
- foreach ($AdArr as $key => $value) {
- if (in_array($key, $random_keys)) {
- $temp[$key] = $value;
- }
- }
- }
- $AdArr = $temp;
- }
- }$AdArr = $AdArr; if (!is_array($AdArr) && !is_object($AdArr)) { settype($AdArr, 'array');}
-foreach ($AdArr as $_smarty_tpl->tpl_vars['adlist_13']->key => $_smarty_tpl->tpl_vars['adlist_13']->value) {
-$_smarty_tpl->tpl_vars['adlist_13']->_loop = true;
-?>
- <div class="b_w1200 b_tip"><?php echo $_smarty_tpl->tpl_vars['adlist_13']->value['lay_html'];?>
-</div>
- <?php } ?>
- <?php $_smarty_tpl->tpl_vars['adlist_14'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['adlist_14']->_loop = false;
-global $db,$db_config,$config;$AdArr=array();$paramer=array();$attr=array("classid"=>"14","item"=>"'adlist_14'","nocache"=>"")
-;
- include(PLUS_PATH.'pimg_cache.php');$add_arr = $ad_label[14];if(is_array($add_arr) && !empty($add_arr)){
- $i=0;$limit = 0;$length = 0;
- foreach($add_arr as $key=>$value){
- if($config['did']){
- if(($value['did']==$config['did']|| $value['did']==-1)&&$value['start']<time()&&$value['end']>time()){
- if($i>0 && $limit==$i){
- break;
- }
- if($length>0){
- $value['name'] = mb_substr($value['name'],0,$length);
- }
- if($paramer['type']!=""){
- if($paramer['type'] == $value['type']){
- $AdArr[] = $value;
- }
- }else{
- $AdArr[] = $value;
- }
- $i++;
- }
-
- }else{
- if(($value['did']==-1 || !$value['did']) && $value['start']<time()&&$value['end']>time()){
- if($i>0 && $limit==$i){
- break;
- }
- if($length>0){
- $value['name'] = mb_substr($value['name'],0,$length);
- }
- if($paramer['type']!=""){
- if($paramer['type'] == $value['type']){
- $AdArr[] = $value;
- }
- }else{
- $AdArr[] = $value;
- }
- $i++;
- }
-
- }
- }
- if (isset($attr['random']) && $attr['random'] && count($AdArr) > $attr['random']) {
- $temp = [];
- $random_keys = array_rand($AdArr, $attr['random']);
-
- if($attr['random'] == 1) {
- $temp[] = $AdArr[$attr['random']];
- } else {
- foreach ($AdArr as $key => $value) {
- if (in_array($key, $random_keys)) {
- $temp[$key] = $value;
- }
- }
- }
- $AdArr = $temp;
- }
- }$AdArr = $AdArr; if (!is_array($AdArr) && !is_object($AdArr)) { settype($AdArr, 'array');}
-foreach ($AdArr as $_smarty_tpl->tpl_vars['adlist_14']->key => $_smarty_tpl->tpl_vars['adlist_14']->value) {
-$_smarty_tpl->tpl_vars['adlist_14']->_loop = true;
-?>
- <div class="b_w289 b_tip"><?php echo $_smarty_tpl->tpl_vars['adlist_14']->value['lay_html'];?>
-</div>
- <?php } ?>
- <?php $_smarty_tpl->tpl_vars['adlist_15'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['adlist_15']->_loop = false;
-global $db,$db_config,$config;$AdArr=array();$paramer=array();$attr=array("classid"=>"15","item"=>"'adlist_15'","nocache"=>"")
-;
- include(PLUS_PATH.'pimg_cache.php');$add_arr = $ad_label[15];if(is_array($add_arr) && !empty($add_arr)){
- $i=0;$limit = 0;$length = 0;
- foreach($add_arr as $key=>$value){
- if($config['did']){
- if(($value['did']==$config['did']|| $value['did']==-1)&&$value['start']<time()&&$value['end']>time()){
- if($i>0 && $limit==$i){
- break;
- }
- if($length>0){
- $value['name'] = mb_substr($value['name'],0,$length);
- }
- if($paramer['type']!=""){
- if($paramer['type'] == $value['type']){
- $AdArr[] = $value;
- }
- }else{
- $AdArr[] = $value;
- }
- $i++;
- }
-
- }else{
- if(($value['did']==-1 || !$value['did']) && $value['start']<time()&&$value['end']>time()){
- if($i>0 && $limit==$i){
- break;
- }
- if($length>0){
- $value['name'] = mb_substr($value['name'],0,$length);
- }
- if($paramer['type']!=""){
- if($paramer['type'] == $value['type']){
- $AdArr[] = $value;
- }
- }else{
- $AdArr[] = $value;
- }
- $i++;
- }
-
- }
- }
- if (isset($attr['random']) && $attr['random'] && count($AdArr) > $attr['random']) {
- $temp = [];
- $random_keys = array_rand($AdArr, $attr['random']);
-
- if($attr['random'] == 1) {
- $temp[] = $AdArr[$attr['random']];
- } else {
- foreach ($AdArr as $key => $value) {
- if (in_array($key, $random_keys)) {
- $temp[$key] = $value;
- }
- }
- }
- $AdArr = $temp;
- }
- }$AdArr = $AdArr; if (!is_array($AdArr) && !is_object($AdArr)) { settype($AdArr, 'array');}
-foreach ($AdArr as $_smarty_tpl->tpl_vars['adlist_15']->key => $_smarty_tpl->tpl_vars['adlist_15']->value) {
-$_smarty_tpl->tpl_vars['adlist_15']->_loop = true;
-?>
- <div class="b_w143 b_tip"><?php echo $_smarty_tpl->tpl_vars['adlist_15']->value['lay_html'];?>
-</div>
- <?php } ?>
- </div>
- </div>
-
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_reward_web']=='1') {?>
- <!-- 赏金推荐职位-->
- <div class="money_reward_job">
- <div class="yunheader_60_tit"><a href="<?php echo smarty_function_url(array('m'=>'reward'),$_smarty_tpl);?>
-" target="_blank" class="yunheader_60_tit_a"><i class="yunheader_60_tit_line"></i>赏金职位<i class="yunheader_60_tit_rline"></i></a></div>
- <div class="yunheader_60_tit_p" data-no='1'>找了好工作 , 还能领红包!</div>
- <div class="money_reward_job_cont">
- <ul>
- <?php $_smarty_tpl->tpl_vars['rlist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['rlist']->_loop = false;
-global $db,$db_config,$config;
- $time = time();
-
-
- //可以做缓存
- $paramer=array("limit"=>"6","reward"=>"1","item"=>"'rlist'","nocache"=>"")
-;
- $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
- $paramer = $ParamerArr[arr];
- $Purl = $ParamerArr[purl];
- global $ModuleName;
- if(!$Purl["m"]){
- $Purl["m"]=$ModuleName;
- }
- include_once PLUS_PATH."/comrating.cache.php";
- include(CONFIG_PATH."db.data.php");
-
- if($config[sy_web_site]=="1"){
- if($config[province]>0 && $config[province]!=""){
- $paramer[provinceid] = $config[province];
- }
- if($config[cityid]>0 && $config[cityid]!=""){
- $paramer[cityid] = $config[cityid];
- }
- if($config[three_cityid]>0 && $config[three_cityid]!=""){
- $paramer[three_cityid] = $config[three_cityid];
- }
- if($config[hyclass]>0 && $config[hyclass]!=""){
- $paramer[hy]=$config[hyclass];
- }
- }
-
- if($paramer[reward]=='1'){
- $where="`rewardpack`='1'";
-
- }elseif($paramer[share]=='1'){
-
- $where="`sharepack`='1'";
- }
- //城市大类
- if($paramer[provinceid]){
- $where .= " AND `provinceid` = $paramer[provinceid]";
- }
- //城市子类
- if($paramer['cityid']){
- $where .= " AND (`cityid` IN ($paramer[cityid]))";
- }
- //城市三级子类
- if($paramer['three_cityid']){
- $where .= " AND (`three_cityid` IN ($paramer[three_cityid]))";
- }
-
-
- $where .= " AND `r_status`='1' AND `state`=1 and `status`='0' ";
-
-
- //按照职位名称匹配
- if($paramer[keyword]){
- $where1[]="`name` LIKE '%".$paramer[keyword]."%'";
- $where1[]="`com_name` LIKE '%".$paramer[keyword]."%'";
-
- $where.=" AND (".@implode(" or ",$where1).")";
- }
-
- //筛除重复
- if($paramer[noids]==1 && !empty($noids)){
- $where.=" AND `id` NOT IN (".@implode(',',$noids).")";
- }
-
-
- //查询条数
- if($paramer[limit]){
- $limit = " limit ".$paramer[limit];
- }
-
- if($paramer[ispage]){
- $limit = PageNav($paramer,$_GET,"company_job",$where,$Purl,"",$paramer[islt]?$paramer[islt]:"6",$_smarty_tpl);
-
- }
- //排序字段默认为更新时间
- if($paramer[order] && $paramer[order]!="lastdate"){
- $order = " ORDER BY ".str_replace("'","",$paramer[order])." ";
- }else{
- $order = " ORDER BY `lastupdate` ";
- }
- //排序规则 默认为倒序
- if($paramer[sort]){
- $sort = $paramer[sort];
- }else{
- $sort = " DESC";
- }
- $where.=$order.$sort;
-
- $rlist = $db->select_all("company_job",$where.$limit);
- if(is_array($rlist)){
- //处理类别字段
- $cache_array = $db->cacheget();
- $comuid=$jobid=array();
- foreach($rlist as $key=>$value){
- $comuid[] = $value['uid'];
- $jobid[] = $value['id'];
- }
- $comuids = @implode(',',$comuid);
- $jobids = @implode(',',$jobid);
- $r_uid = array();
-
- if($comuids){
- $r_uids=$db->select_all("company","`uid` IN (".$comuids.")","`name`,`uid`,`shortname`,`yyzz_status`,`logo`,`pr`,`hy`,`mun`");
- if(is_array($r_uids)){
- foreach($r_uids as $key=>$value){
- if($value['shortname']){
- $value['name'] =$value['shortname'];
- }
- $value['logo']= checkpic($value['logo'],$config['sy_unit_icon']);
- $value['pr_n'] = $cache_array['comclass_name'][$value[pr]];
- $value['hy_n'] = $cache_array['industry_name'][$value[hy]];
- $value['mun_n'] = $cache_array['comclass_name'][$value[mun]];
- $r_uid[$value['uid']] = $value;
- }
- }
- }
-
- if($jobids){
-
- //$db -> update_all("company_job", "`jobexpoure` = `jobexpoure` + 1", "`id` IN ($jobids)");
-
- if($paramer[reward]=='1'){
-
- $rewardList=$db->select_all("company_job_reward","`jobid` IN (".$jobids.")");
-
- }elseif($paramer[share]=='1'){
-
- $rewardList=$db->select_all("company_job_share","`jobid` IN (".$jobids.")","`jobid`,`packmoney`,`packprice`,`packnum`");
-
- }
- if(is_array($rewardList)){
- foreach($rewardList as $key=>$value){
-
- $rewadArr[$value['jobid']] = $value;
- }
- }
- }
-
-
- $noids=array();
- foreach($rlist as $key=>$value){
- if($paramer[bid]){
- $noids[] = $value[id];
- }
- $rlist[$key] = $db->array_action($value,$cache_array);
- $rlist[$key][stime] = date("Y-m-d",$value[sdate]);
- $rlist[$key][etime] = date("Y-m-d",$value[edate]);
- if($arr_data['sex'][$value['sex']]){
- $rlist[$key][sex_n]=$arr_data['sex'][$value['sex']];
- }
- $rlist[$key][lastupdate] = date("Y-m-d",$value[lastupdate]);
-
- if($value[minsalary] && $value[maxsalary]){
- if($config['resume_salarytype']==1){
- $rlist[$key][job_salary] =$value[minsalary]."~".$value[maxsalary]."元";
- }else{
- if($value[maxsalary]<1000){
- if($config['resume_salarytype']==2){
- $rlist[$key][job_salary] = "1千以下";
- }elseif($config['resume_salarytype']==3){
- $rlist[$key][job_salary] = "1K以下";
- }elseif($config['resume_salarytype']==4){
- $rlist[$key][job_salary] = "1k以下";
- }
-
- }else{
- $rlist[$key][job_salary] =changeSalary($value[minsalary])."~".changeSalary($value[maxsalary]);
- }
- }
- }elseif($value[minsalary]){
- if($config['resume_salarytype']==1){
- $rlist[$key][job_salary] =$value[minsalary];
- }else{
- $rlist[$key][job_salary] =changeSalary($value[minsalary]);
- }
- }else{
- $rlist[$key][job_salary] ="面议";
- }
- //if($r_uid[$value['uid']][shortname]){
- $rlist[$key][com_name] =$r_uid[$value['uid']][name];
- //}
- $rlist[$key][yyzz_status] =$r_uid[$value['com_id']][yyzz_status];
- $rlist[$key][logo] =$r_uid[$value['uid']][logo];
- $rlist[$key][pr_n] =$r_uid[$value['uid']][pr_n];
- $rlist[$key][hy_n] =$r_uid[$value['uid']][hy_n];
- $rlist[$key][mun_n] =$r_uid[$value['uid']][mun_n];
-
- if($paramer[reward]=='1'){
- $rlist[$key][sqmoney] =floatval( $rewadArr[$value['id']][sqmoney]);
- $rlist[$key][invitemoney] =floatval( $rewadArr[$value['id']][invitemoney]);
- $rlist[$key][offermoney] =floatval( $rewadArr[$value['id']][offermoney]);
- $rlist[$key][money] =floatval( $rewadArr[$value['id']][money]);
- $rlist[$key][r_exp] = $rewadArr[$value['id']][exp];
- $rlist[$key][r_edu] = $rewadArr[$value['id']][edu];
- $rlist[$key][r_project] = $rewadArr[$value['id']][project];
- $rlist[$key][r_skill] = $rewadArr[$value['id']][skill];
- }
-
- if($paramer[share]=='1'){
- $rlist[$key][packmoney] = $rewadArr[$value['id']][packmoney];
- $rlist[$key][packnum] = $rewadArr[$value['id']][packnum];
- $rlist[$key][packprice] = $rewadArr[$value['id']][packprice];
-
- }
-
-
- $time=$value['lastupdate'];
- //今天开始时间戳
- $beginToday=time(0,0,0,date('m'),date('d'),date('Y'));
- //昨天开始时间戳
- $beginYesterday=time(0,0,0,date('m'),date('d')-1,date('Y'));
- if($time>$beginYesterday && $time<$beginToday){
- $rlist[$key]['time'] ="昨天";
- }elseif($time>$beginToday){
- $rlist[$key]['time'] = date("H:i",$value['lastupdate']);
- $rlist[$key]['redtime'] =1;
- }else{
- $rlist[$key]['time'] = date("Y-m-d",$value['lastupdate']);
- }
- //获得福利待遇名称
- if(is_array($rlist[$key]['welfare'])&&$rlist[$key]['welfare']){
- foreach($rlist[$key]['welfare'] as $val){
- //$rlist[$key]['welfarename'][]=$cache_array['comclass_name'][$val];
- $rlist[$key]['welfarename'][]=$val;
- }
-
- }
- //截取公司名称
- if($paramer[comlen]){
- if($r_uid[$value['com_id']][shortname]){
- $rlist[$key][com_n] = mb_substr($r_uid[$value['com_id']][shortname],0,$paramer[comlen],"utf-8");
- }else{
- $rlist[$key][com_n] = mb_substr($value['com_name'],0,$paramer[comlen],"utf-8");
- }
-
- }
- //截取职位名称
- if($paramer[namelen]){
- if($value['rec_time']>time()){
- $rlist[$key][name_n] = "<font color='red'>".mb_substr($value['name'],0,$paramer[namelen],"utf-8")."</font>";
- }else{
- $rlist[$key][name_n] = mb_substr($value['name'],0,$paramer[namelen],"utf-8");
- }
- }else{
- if($value['rec_time']>time()){
- $rlist[$key]['name_n'] = "<font color='red'>".$value['name']."</font>";
- }else{
- $rlist[$key]['name_n'] = $value['name'];
- }
- }
- //构建职位伪静态URL
- $rlist[$key][job_url] = Url("job",array("c"=>"comapply","id"=>$value[id]),"1");
- $rlist[$key][job_wapurl] = Url("wap",array("c"=>"job","a"=>"comapply","id"=>$value[id]),"1");
- //构建企业伪静态URL
- $rlist[$key][com_url] = Url("company",array("c"=>"show","id"=>$value[uid]));
- foreach($comrat as $k=>$v){
- if($value[rating]==$v[id]){
- $rlist[$key][color] = str_replace("#","",$v[com_color]);
- $rlist[$key][ratlogo] = $v[com_pic];
- $rlist[$key][ratname] = $v[name];
- }
- }
- if($paramer[keyword]){
- $rlist[$key][name]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$value[name]);
- $rlist[$key][com_name]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$value[com_name]);
- $rlist[$key][name_n]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$rlist[$key][name_n]);
- $rlist[$key][com_n]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$rlist[$key][com_n]);
- }
- }
-
- if(is_array($rlist)){
- if($paramer[keyword]!=""&&!empty($rlist)){
- addkeywords('3',$paramer[keyword]);
- }
- }
- }$rlist = $rlist; if (!is_array($rlist) && !is_object($rlist)) { settype($rlist, 'array');}
-foreach ($rlist as $_smarty_tpl->tpl_vars['rlist']->key => $_smarty_tpl->tpl_vars['rlist']->value) {
-$_smarty_tpl->tpl_vars['rlist']->_loop = true;
-?>
- <li>
- <div class="money_reward_job_jobname"><a href="<?php echo $_smarty_tpl->tpl_vars['rlist']->value['job_url'];?>
-" title="<?php echo $_smarty_tpl->tpl_vars['rlist']->value['name'];?>
-"><?php echo $_smarty_tpl->tpl_vars['rlist']->value['name'];?>
-</a></div>
- <div class="money_reward_job_comname"><a href="<?php echo $_smarty_tpl->tpl_vars['rlist']->value['com_url'];?>
-" title="<?php echo $_smarty_tpl->tpl_vars['rlist']->value['com_name'];?>
-"><?php echo $_smarty_tpl->tpl_vars['rlist']->value['com_name'];?>
-</a></div>
- <span class="money_reward_job_xz"><?php echo $_smarty_tpl->tpl_vars['rlist']->value['job_salary'];?>
-</span>
- <span class="money_reward_job_city"><?php echo mb_substr($_smarty_tpl->tpl_vars['rlist']->value['job_city_two'],0,4,"utf-8");?>
- <?php echo mb_substr($_smarty_tpl->tpl_vars['rlist']->value['job_city_three'],0,4,"utf-8");?>
-</span>
- <div class="money_reward_job_box">
- <div class="money_reward_job_all">
- <span class="money_reward_job_all_n">¥<?php echo $_smarty_tpl->tpl_vars['rlist']->value['money'];?>
-</span>
- <em class="money_reward_job_all_rz">入职赏金</em>
- </div>
- <div class="money_reward_job_mx">
- <div class="money_reward_job_mx_n">¥<?php echo $_smarty_tpl->tpl_vars['rlist']->value['sqmoney'];?>
-</div>投递
- </div>
- <div class="money_reward_job_mx">
- <div class="money_reward_job_mx_n">¥<?php echo $_smarty_tpl->tpl_vars['rlist']->value['invitemoney'];?>
-</div>面试
- </div>
- <div class="money_reward_job_mx">
- <div class="money_reward_job_mx_n">¥<?php echo $_smarty_tpl->tpl_vars['rlist']->value['offermoney'];?>
-</div>入职
- </div>
- </div>
- </li>
- <?php } ?>
- </ul>
- </div>
- <div class="yunheader_60lookmore"><a href="<?php echo smarty_function_url(array('m'=>'reward'),$_smarty_tpl);?>
-">查看更多</a></div>
- </div>
- <?php }?>
-
- <div class="index_frame_right">
- <div class="yunheader_60_tit"><a href="<?php echo smarty_function_listurl(array('m'=>'company','rec'=>1),$_smarty_tpl);?>
-" target="_blank" class="yunheader_60_tit_a"><i class="yunheader_60_tit_line"></i>名企招聘<i class="yunheader_60_tit_rline"></i></a></div>
- <div class="index_mq_box">
- <div class="index_mq_box_cont">
- <?php $_smarty_tpl->tpl_vars['hotjoblist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['hotjoblist']->_loop = false;
-global $db,$db_config,$config;$paramer=array("item"=>"'hotjoblist'","limit"=>"12","nocache"=>"")
-;$hotjoblist=array();
-
- $time = time();
- //处理传入参数,并且构造分页参数
- $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
- $paramer = $ParamerArr['arr'];
- $Purl = $ParamerArr['purl'];
- global $ModuleName;
- if(!$Purl["m"]){
- $Purl["m"]=$ModuleName;
- }
- //是否属于分站下
- if($config[sy_web_site]=="1"){
- $jobwheres="";
- if($config[province]>0 && $config[province]!=""){
- $jobwheres.=" and `provinceid`='$config[province]'";
- }
- if($config[cityid]>0 && $config[cityid]!=""){
- $jobwheres.=" and `cityid`='$config[cityid]'";
- }
- if($config[three_cityid]>0 && $config[three_cityid]!=""){
- $jobwheres.=" and `three_cityid`='$config[three_cityid]'";
- }
- if($config[hyclass]>0 && $config[hyclass]!=""){
- $jobwheres.=" and `hy`='".$config[hyclass]."'";
- }
- if($jobwheres){
- $comlist=$db->select_all("company","`hottime`>$time ".$jobwheres,"`uid`");
- if(is_array($comlist)){
- foreach($comlist as $v){
- $cuid[]=$v[uid];
- }
- }
- $hotwhere=" and `uid` in (".@implode(",",$cuid).")";
- }
- }
- if($paramer['limit']){
- $limit=" limit ".$paramer['limit'];
- }
- $where = "`time_start`<$time AND `time_end`>$time".$hotwhere;
-
- if($config['hotcom_top'] == 1){
- // 职位更新时间(职位修改时,会更新名企表lastupdate字段)
- $order = " ORDER BY `lastupdate` DESC ";
- }elseif($config['hotcom_top'] == 2){
- // 随机
- $order = " ORDER BY rand() ";
- }else{
- // 后台手动设置
- $order = " ORDER BY `sort` DESC ";
- }$where.=$order;
- $Query = $db->query("SELECT * FROM $db_config[def]hotjob where ".$where.$limit);
- while($rs = $db->fetch_array($Query)){
- $hotjoblist[] = $rs;
- $ListId[] = $rs[uid];
- }
-
- //是否需要查询对应职位
- $ComId = @implode(",",$ListId);
- $comList= $db->select_all("company","`uid` IN ($ComId)","`shortname`,`uid`,`hy`,`mun`,`provinceid`,`cityid`,`three_cityid`, `r_status`");
-
- if($config[sy_datacycle]>0){
-
- $uptime = strtotime('-'.$config[sy_datacycle].' day');
- $JobList= $db->select_all("company_job","`uid` IN ($ComId) and state=1 and r_status=1 and status=0 and lastupdate > $uptime $jobwheres","`id`,`uid`,`name`");
- }else{
-
- $JobList= $db->select_all("company_job","`uid` IN ($ComId) and state=1 and r_status=1 and status=0 $jobwheres","`id`,`uid`,`name`");
- }
-
- $statis=$db->select_all("company_statis","`uid` IN ($ComId)","`uid`,`comtpl`");
- if(is_array($ListId)){
-
- foreach($hotjoblist as $key=>$value){
- foreach($comList as $v){
- if($v['uid'] == $value['uid']){
- if($v['r_status'] != 1){
- unset($hotjoblist[$key]);
- }
- }
- }
- }
- $JobIds = array();
- //处理类别字段
- $cache_array = $db->cacheget();
- foreach($hotjoblist as $key=>$value){
- $hotjoblist[$key]["hot_pic"]=checkpic($value[hot_pic],$config[sy_unit_icon]);
- foreach($comList as $v){
-
- if($value['uid']==$v['uid']){
- if($v['shortname']){
- $hotjoblist[$key]["username"]= $v[shortname];
- }
- $hotjoblist[$key]["hy"]= $cache_array[industry_name][$v[hy]];
- $hotjoblist[$key]["mun_n"]= $cache_array[comclass_name][$v[mun]];
- $hotjoblist[$key]["job_city_one"]= $cache_array[city_name][$v[provinceid]];
- $hotjoblist[$key]["job_city_two"]= $cache_array[city_name][$v[cityid]];
- }
- }
- $i=0;$j=0;
- $hotjoblist[$key]["num"]=0;
- if(is_array($JobList)){
- foreach($JobList as $ke=>$va){
- if($value[uid]==$va[uid]){
- if($j<3){
- $hotjob_url = Url("job",array("c"=>"comapply","id"=>"$va[id]"),"1");
- $curl= Url("company",array("c"=>"show","id"=>$value[uid]));
- $va[name] = mb_substr($va[name],0,8,"utf-8");
- $hotjoblist[$key]["hotjob"].="<div class='index_mq_box_cont_showjoblist'><a href=\"$hotjob_url\">".$va[name]."</a></div>";
- $JobIds[] = $va['id'];
- }else{
- if($j==3){
- $hotjoblist[$key]["hotjob"].="<div class='index_mq_box_cont_showjobmore'><a href=\"$curl\">更多职位</a></div>";
- }
- }
- $j++;
- }
- }
-
-
- $hotjoblist[$key]["job"].="<div class=\"area_left\"> ";
-
- foreach($JobList as $k=>$v){
- if($value[uid]==$v[uid] && $i<5){
- $job_url = Url("job",array("c"=>"comapply","id"=>"$v[id]"),"1");
- $v[name] = mb_substr($v[name],0,10,"utf-8");
- $hotjoblist[$key]["job"].="<a href='".$job_url."'>".$v[name]."</a>";
- $i++;
- }
- if($value[uid]==$v[uid]){
- $hotjoblist[$key]["num"]=$hotjoblist[$key]["num"]+1;
- }
- }
-
- foreach($statis as $v){
- if($value['uid']==$v['uid']){
- if($v['comtpl'] && $v['comtpl']!="default"){
- $jobs_url = Url("company",array("c"=>"show","id"=>$value[uid]))."#job";
- }else{
- $jobs_url = Url("company",array("c"=>"show","id"=>$value[uid]));
- }
- }
- }
- $com_url = Url("company",array("c"=>"show","id"=>$value[uid]));
- $hotjoblist[$key]["job"].="</div><div class=\"area_right\"><a href='".$com_url."'>".$value["username"]."</a></div>";
- $hotjoblist[$key]["url"]=$com_url;
- }
- }
- if(!empty($JobIds)){
- //$db -> update_all("company_job", "`jobexpoure` = `jobexpoure` + 1", "`id` IN (".@implode(',',$JobIds).")");
- }
- }$hotjoblist = $hotjoblist; if (!is_array($hotjoblist) && !is_object($hotjoblist)) { settype($hotjoblist, 'array');}
-foreach ($hotjoblist as $_smarty_tpl->tpl_vars['hotjoblist']->key => $_smarty_tpl->tpl_vars['hotjoblist']->value) {
-$_smarty_tpl->tpl_vars['hotjoblist']->_loop = true;
-?>
- <div class="tlogo">
- <ul>
- <li onmouseover="showDiv2(this)" onmouseout="showDiv2(this)">
- <div class="index_mq_box_pic">
- <a href="<?php echo $_smarty_tpl->tpl_vars['hotjoblist']->value['url'];?>
-" target="_blank" class="tlogo_p_a" title="<?php echo $_smarty_tpl->tpl_vars['hotjoblist']->value['username'];?>
-">
- <img class="on lazy" src='<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/images/lay-loding.png' lay-src="<?php echo $_smarty_tpl->tpl_vars['hotjoblist']->value['hot_pic'];?>
-" alt="<?php echo $_smarty_tpl->tpl_vars['hotjoblist']->value['username'];?>
-"/>
- </a>
- </div>
- <div class="index_mq_box_name nowrap"><?php echo $_smarty_tpl->tpl_vars['hotjoblist']->value['username'];?>
-</div>
- <div class="index_mq_box_info"><?php echo $_smarty_tpl->tpl_vars['hotjoblist']->value['mun_n'];?>
-<i class="index_newjob_info_line">|</i><?php echo $_smarty_tpl->tpl_vars['hotjoblist']->value['hy'];?>
-</div>
- <div class="index_mq_box_hot"><span class="index_mq_box_hot_n"><?php echo $_smarty_tpl->tpl_vars['hotjoblist']->value['num'];?>
-</span>个热招职位</div>
- <div class="index_mq_box_cont_showall">
- <div class="index_mq_box_cont_showall_c">
- <div class="index_mq_box_cont_bg"></div>
- <div class="index_mq_box_cont_showjob">
- <div class="index_mq_box_cont_showjob_c">
- <div class="index_mq_box_cont_showcomname">
- <a href="<?php echo $_smarty_tpl->tpl_vars['hotjoblist']->value['url'];?>
-" target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['hotjoblist']->value['username'];?>
-"><?php echo $_smarty_tpl->tpl_vars['hotjoblist']->value['username'];?>
-</a>
- </div>
- <div class="index_mq_box_cont_showcomname_linebox">
- <i class="index_mq_box_cont_showcomname_line"></i>
- </div>
- <?php if ($_smarty_tpl->tpl_vars['hotjoblist']->value['num']>0) {?>
- <?php echo $_smarty_tpl->tpl_vars['hotjoblist']->value['hotjob'];?>
-
- <?php } else { ?>
- <div class="index_mq_box_cont_showjobmore"><a>暂无招聘职位</a></div>
- <?php }?>
- </div>
- </div>
- </div>
- </div>
- </li>
- </ul>
- </div>
- <?php } ?>
- </div>
- </div>
- <div class="yunheader_60lookmore"><a href="<?php echo smarty_function_listurl(array('m'=>'company','rec'=>1),$_smarty_tpl);?>
-">查看更多</a></div>
- </div>
-
- <div class="index_zl_box">
- <div class="yunheader_60_tit"><a href="<?php echo smarty_function_url(array('m'=>'job','c'=>'search'),$_smarty_tpl);?>
-" target="_blank" class="yunheader_60_tit_a"><i class="yunheader_60_tit_line"></i>推荐职位<i class="yunheader_60_tit_rline"></i></a></div>
- <!-- 推荐职位 -->
- <div class="index_newjobbox index_zw_item">
- <ul>
- <?php $_smarty_tpl->tpl_vars['job_list'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['job_list']->_loop = false;
-global $db,$db_config,$config;
- $time = time();
-
-
- //可以做缓存
- $paramer=array("namelen"=>"9","rec"=>"1","comlen"=>"18","limit"=>"32","item"=>"'job_list'","name"=>"'job_list1'","nocache"=>"")
-;
- $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
- $paramer = $ParamerArr[arr];
- $Purl = $ParamerArr[purl];
- global $ModuleName;
- if(!$Purl["m"]){
- $Purl["m"]=$ModuleName;
- }
- include_once PLUS_PATH."/comrating.cache.php";
- include(CONFIG_PATH."db.data.php");
- if($config[sy_web_site]=="1"){
- if($config[province]>0 && $config[province]!=""){
- $paramer[provinceid] = $config[province];
- }
- if($config[cityid]>0 && $config[cityid]!=""){
- $paramer[cityid] = $config[cityid];
- }
- if($config[three_cityid]>0 && $config[three_cityid]!=""){
- $paramer[three_cityid] = $config[three_cityid];
- }
- if($config[hyclass]>0 && $config[hyclass]!=""){
- $paramer[hy]=$config[hyclass];
- }
- }
-
-
- if($paramer[sdate]){
- $where = "`sdate`>".strtotime("-".intval($paramer[sdate])." day",time())." and `state`=1";
- }else{
- $where = "`state`=1";
- }
-
- //按照UID来查询(按公司地址查询可用GET[id]获取当前公司ID)
- if($paramer[uid]){
- $where .= " AND `uid` = '$paramer[uid]'";
- }
- if($paramer[com_id]){
- $where .= " AND `uid` = '$paramer[com_id]'";
- }
-
- //是否推荐职位
- if($paramer[rec]){
-
- $where.=" AND `rec_time`>=".time();
-
- }
- //企业认证条件
- if($paramer['cert']){
- $job_uid=array();
- $company=$db->select_all("company","`yyzz_status`=1","`uid`");
- if(is_array($company)){
- foreach($company as $v){
- $job_uid[]=$v['uid'];
- }
- }
- $where.=" and `uid` in (".@implode(",",$job_uid).")";
- }
- //取不包含当前企业的职位
- if($paramer[nouid]){
- $where.= " and `uid`<>$paramer[nouid]";
- }
- //取不包含当前id的职位
- if($paramer[noid]){
- $where.= " and `id`<>$paramer[noid]";
- }
- //是否被锁定
- if($paramer[r_status]){
- $where.= " and `r_status`=2";
- }else{
- $where.= " and `r_status`=1";
- }
- //是否下架职位
- if($paramer[status]){
- $where.= " and `status`='1'";
- }else{
- $where.= " and `status`='0'";
- }
- //公司体制
- if($paramer[pr]){
- $where .= " AND `pr` =$paramer[pr]";
- }
- //公司行业分类
- if($paramer['hy']){
- $where .= " AND `hy` = $paramer[hy]";
- }
- //职位大类
- if($paramer[job1]){
- $where .= " AND `job1` = $paramer[job1]";
- }
- //职位子类
- if($paramer[job1_son]){
- $where .= " AND `job1_son` = $paramer[job1_son]";
- }
- //职位三级分类
- if($paramer[job_post]){
- $where .= " AND (`job_post` IN ($paramer[job_post]))";
- }
- //您可能感兴趣的职位--个人会员中心
- if($paramer['jobwhere']){
- $where .=" and ".$paramer['jobwhere'];
- }
- //职位分类综合查询
- if($paramer['jobids']){
- $where.= " AND (`job1` = '$paramer[jobids]' OR `job1_son`= '$paramer[jobids]' OR `job_post`='$paramer[jobids]')";
- }
- //职位分类区间,不建议执行该查询
- if($paramer['jobin']){
- $where .= " AND (`job1` IN ($paramer[jobin]) OR `job1_son` IN ($paramer[jobin]) OR `job_post` IN ($paramer[jobin]))";
- }
- //城市大类
- if($paramer[provinceid]){
- $where .= " AND `provinceid` = $paramer[provinceid]";
- }
- //城市子类
- if($paramer['cityid']){
- $where .= " AND (`cityid` IN ($paramer[cityid]))";
- }
- //城市三级子类
- if($paramer['three_cityid']){
- $where .= " AND (`three_cityid` IN ($paramer[three_cityid]))";
- }
- if($paramer['cityin']){
- $where .= " AND `three_cityid` IN ($paramer[cityin])";
- }
- //学历
- if($paramer[edu]){
-
- $eduKey = $db->DB_select_once("comclass", "`variable` = 'job_edu'", "`id`");
- $eduReq = $db->DB_select_once("comclass", "`id` = $paramer[edu]", "`sort`,`name`");
- if($eduReq[name] != "不限"){
-
- $eduArr = $db->select_all("comclass", "`keyid` = $eduKey[id] AND `sort` <= $eduReq[sort]", "`id`");
- $eduIds = array();
- foreach($eduArr as $v){
- $eduIds[] = $v[id];
- }
-
- $where .= " AND `edu` in (".@implode(",",$eduIds).")";
- }
- }
- //工作经验
- if($paramer[exp]){
-
- $expKey = $db->DB_select_once("comclass", "`variable` = 'job_exp'", "`id`");
- $expReq = $db->DB_select_once("comclass", "`id` = $paramer[exp]", "`sort`,`name`");
- if($expReq[name] != "不限"){
-
- $expArr = $db->select_all("comclass", "`keyid` = $expKey[id] AND `sort` <= $expReq[sort]", "`id`");
- $expIds = array();
- foreach($expArr as $v){
- $expIds[] = $v[id];
- }
- $where .= " AND `exp` in (".@implode(",",$expIds).")";
- }
- }
- //到岗时间
- if($paramer[report]){
- $where .= " AND `report` = $paramer[report]";
- }
- //职位性质
- if($paramer[type]){
- $where .= " AND `type` = $paramer[type]";
- }
- //性别
- if($paramer[sex]){
- $where .= " AND `sex` = $paramer[sex]";
- }
- //应届生
- if($paramer[is_graduate]){
- $where .= " AND `is_graduate` = $paramer[is_graduate]";
- }
- //公司规模
- if($paramer[mun]){
- $where .= " AND `mun` = $paramer[mun]";
- }
-
- if($paramer[minsalary] && $paramer[maxsalary]){
- $where.= " AND (`minsalary`>=".intval($paramer[minsalary])." and `minsalary`<=".intval($paramer[maxsalary])." and `maxsalary`<=".intval($paramer[maxsalary]).") ";
-
- }elseif($paramer[minsalary]&&!$paramer[maxsalary]){
- $where.= " AND (`minsalary`>=".intval($paramer[minsalary]).") ";
-
- }elseif(!$paramer[minsalary]&&$paramer[maxsalary]){
- $where.= " AND (`minsalary`<=".intval($paramer[maxsalary])." and `maxsalary`<=".intval($paramer[maxsalary]).") ";
- }
-
- //福利待遇
- $cache_array = $db->cacheget();
- $comclass_name = $cache_array["comclass_name"];
- if($paramer[welfare]){
- $welfarename=$comclass_name[$paramer[welfare]];
- $where .=" AND `welfare` LIKE '%".$welfarename."%' ";
- }
-
- //城市区间,不建议执行该查询
- if($paramer[cityin]){
- $where .= " AND (`provinceid` IN ($paramer[cityin]) OR `cityid` IN ($paramer[cityin]) OR `three_cityid` IN ($paramer[cityin]))";
- }
- //紧急招聘urgent
- if($paramer[urgent]){
- $where.=" AND `urgent_time`>".time();
- }
- //更新时间区间
- if($paramer[uptime]){
- if($paramer[uptime]==1){
- $beginToday=mktime(0,0,0,date('m'),date('d'),date('Y'));
- $where.=" AND lastupdate>$beginToday";
- }else{
- $time=time();
- $uptime = $time-($paramer[uptime]*86400);
- $where.=" AND lastupdate>$uptime";
- }
- }else{
- if($config[sy_datacycle]>0){
- // 后台-页面设置-数据周期
- $uptime = strtotime('-'.$config[sy_datacycle].' day');
- $where.=" AND lastupdate>$uptime";
- }
- }
- //按类似公司名称,不建议进行大数据量操作
- if($paramer[comname]){
- $where.=" AND `com_name` LIKE '%".$paramer[comname]."%'";
- }
- //按公司归属地,只适合查询一级城市分类
- if($paramer[com_pro]){
- $where.=" AND `com_provinceid` ='".$paramer[com_pro]."'";
- }
- //按照职位名称匹配
- if($paramer[keyword]){
- $where1[]="`name` LIKE '%".$paramer[keyword]."%'";
- $where1[]="`com_name` LIKE '%".$paramer[keyword]."%'";
- include PLUS_PATH."/city.cache.php";
- foreach($city_name as $k=>$v){
- if(strpos($v,$paramer[keyword])!==false){
- $cityid[]=$k;
- }
- }
- if(is_array($cityid)){
- foreach($cityid as $value){
- $class[]= "(provinceid = '".$value."' or cityid = '".$value."')";
- }
- $where1[]=@implode(" or ",$class);
- }
- $where.=" AND (".@implode(" or ",$where1).")";
- }
-
- //多选职位
- if($paramer["job"]){
- $where.=" AND `job_post` in ($paramer[job])";
- }
- //置顶招聘
- if($paramer[bid]){
- if($config[joblist_top]!=1){
- $paramer[limit] = 5;
- }
- $where.=" and `xsdate`>'".time()."'";
- }
-
- //自定义查询条件,默认取代上面任何参数直接使用该语句
- if($paramer[where]){
- $where = $paramer[where];
- }
-
- //查询条数
- $limit = '';
- if($paramer[limit]){
-
- $limit = " limit ".$paramer[limit];
- }
- if($paramer[ispage]){
- $limit = PageNav($paramer,$_GET,"company_job",$where,$Purl,"",$paramer[islt]?$paramer[islt]:"6",$_smarty_tpl);
- }
-
- //排序字段默认为更新时间
- //置顶设置为随机5条时,随机查询
- if($paramer[bid] && $paramer[limit]){
- $order = " ORDER BY rand() ";
- }else{
- if($paramer[order] && $paramer[order]!="lastdate"){
- $order = " ORDER BY ".str_replace("'","",$paramer[order])." ";
- }else{
- $order = " ORDER BY `lastupdate` ";
- }
- }
- //排序规则 默认为倒序
- if($paramer[sort]){
- $sort = $paramer[sort];
- }else{
- $sort = " DESC";
- }
- $where.=$order.$sort;
-
- $job_list = $db->select_all("company_job",$where.$limit);
-
- if(is_array($job_list) && !empty($job_list)){
- //处理类别字段
- $cache_array = $db->cacheget();
- $comuid=$jobid=array();
- foreach($job_list as $key=>$value){
- if(in_array($value['uid'],$comuid)==false){$comuid[] = $value['uid'];}
- if(in_array($value['id'],$jobid)==false){$jobid[] = $value['id'];}
- }
- $comuids = @implode(',',$comuid);
- $jobids = @implode(',',$jobid);
- //减少曝光量统计维度 只有列表才统计
- if($paramer[ispage]){
- $db->update_all("company_job", "`jobexpoure` = `jobexpoure` + 1", "`id` in ($jobids)");
- }
-
-
- if($comuids){
- $r_uids=$db->select_all("company","`uid` IN (".$comuids.")","`uid`,`yyzz_status`,`logo`,`logo_status`,`pr`,`hy`,`mun`,`shortname`,`welfare`,`hotstart`,`hottime`");
- if(is_array($r_uids)){
- foreach($r_uids as $key=>$value){
- if($value[shortname]){
- $value['shortname_n'] = $value[shortname];
- }
- if(!$value['logo'] || $value['logo_status']!=0){
- $value['logo'] = checkpic("",$config['sy_unit_icon']);
- }else{
- $value['logo']= checkpic($value['logo']);
- }
- $value['pr_n'] = $cache_array['comclass_name'][$value[pr]];
- $value['hy_n'] = $cache_array['industry_name'][$value[hy]];
- $value['mun_n'] = $cache_array['comclass_name'][$value[mun]];
- if($value['hotstart']<=time() && $value['hottime']>=time()){
- $value['hotlogo'] = 1;
- }
- $r_uid[$value['uid']] = $value;
- }
- }
- }
-
- if($paramer[bid]){
- $noids=array();
- }
- foreach($job_list as $key=>$value){
-
- if($paramer[bid]){
- $noids[] = $value[id];
- }
- //筛除重复
- if($paramer[noids]==1 && !empty($noids) && in_array($value['id'],$noids)){
- unset($job_list[$key]);
- continue;
- }else{
- $job_list[$key] = $db->array_action($value,$cache_array);
- $job_list[$key][stime] = date("Y-m-d",$value[sdate]);
- $job_list[$key][etime] = date("Y-m-d",$value[edate]);
- if($arr_data['sex'][$value['sex']]){
- $job_list[$key][sex_n]=$arr_data['sex'][$value['sex']];
- }
- $job_list[$key][lastupdate] =lastupdateStyle($value[lastupdate]);
- if($value[minsalary]&&$value[maxsalary]){
- if($config['resume_salarytype']==1){
- $job_list[$key][job_salary] =$value[minsalary]."-".$value[maxsalary];
- }else{
- if($value[maxsalary]<1000){
- if($config['resume_salarytype']==2){
- $job_list[$key][job_salary] = "1千以下";
- }elseif($config['resume_salarytype']==3){
- $job_list[$key][job_salary] = "1K以下";
- }elseif($config['resume_salarytype']==4){
- $job_list[$key][job_salary] = "1k以下";
- }
- }else if($value[minsalary]<1000){
- $job_list[$key][job_salary] =changeSalary($value[maxsalary]);
- }else{
- $job_list[$key][job_salary] =changeSalary($value[minsalary])."-".changeSalary($value[maxsalary]);
- }
- }
- }elseif($value[minsalary]){
- if($config['resume_salarytype']==1){
- $job_list[$key][job_salary] =$value[minsalary]."以上";
- }else{
- $job_list[$key][job_salary] =changeSalary($value[minsalary])."以上";
- }
- }else{
- $job_list[$key][job_salary] ="面议";
- }
-
- if($r_uid[$value['uid']][shortname]){
- $job_list[$key][com_name] =$r_uid[$value['uid']][shortname];
- }
- if(!empty($value[zp_minage]) && !empty($value[zp_maxage])){
- if($value[zp_minage]==$value[zp_maxage]){
- $job_list[$key][job_age] = $value[zp_minage]."周岁以上";
- }else{
- $job_list[$key][job_age] = $value[zp_minage]."-".$value[zp_maxage]."周岁";
- }
- }else if(!empty($value[zp_minage]) && empty($value[zp_maxage])){
- $job_list[$key][job_age] = $value[zp_minage]."周岁以上";
- }else{
- $job_list[$key][job_age] = 0;
- }
- if($value[zp_num]==0){
- $job_list[$key][job_number] = "";
- }else{
- $job_list[$key][job_number] = $value[zp_num]." 人";
- }
- $job_list[$key][yyzz_status] =$r_uid[$value['uid']][yyzz_status];
- $job_list[$key][logo] =$r_uid[$value['uid']][logo];
- $job_list[$key][pr_n] =$r_uid[$value['uid']][pr_n];
- $job_list[$key][hy_n] =$r_uid[$value['uid']][hy_n];
- $job_list[$key][mun_n] =$r_uid[$value['uid']][mun_n];
- $job_list[$key][hotlogo] =$r_uid[$value['uid']][hotlogo];
- $time=$value['lastupdate'];
- //今天开始时间戳
- $beginToday=mktime(0,0,0,date('m'),date('d'),date('Y'));
- //昨天开始时间戳
- $beginYesterday=mktime(0,0,0,date('m'),date('d')-1,date('Y'));
-
- if($time>$beginYesterday && $time<$beginToday){
- $job_list[$key]['time'] ="昨天";
- }elseif($time>$beginToday){
- $job_list[$key]['time'] = $job_list[$key]['lastupdate'];
- $job_list[$key]['redtime'] =1;
- }else{
- $job_list[$key]['time'] = date("Y-m-d",$value['lastupdate']);
- }
-
- // 前天
- $beforeYesterday=mktime(0,0,0,date('m'),date('d')-2,date('Y'));
-
- if($value['sdate']>$beforeYesterday){
- $job_list[$key]['newtime'] =1;
- }
- //获得福利待遇名称
- if($value[welfare]){
- $value[welfare] = str_replace(' ', '',$value[welfare]);
- $welfareList = @explode(',',trim($value[welfare]));
-
- if(!empty($welfareList)){
- $job_list[$key][welfarename] =array_filter($welfareList);
- }
- }
- //截取公司名称
- if($paramer[comlen]){
- if($r_uid[$value['uid']][shortname]){
- $job_list[$key][com_n] = mb_substr($r_uid[$value['uid']][shortname],0,$paramer[comlen],"utf-8");
- }else{
- $job_list[$key][com_n] = mb_substr($value['com_name'],0,$paramer[comlen],"utf-8");
- }
- }
- //截取职位名称
- if($paramer[namelen]){
- if($value['rec_time']>time()){
- $job_list[$key][name_n] = "<font color='red'>".mb_substr($value['name'],0,$paramer[namelen],"utf-8")."</font>";
- }else{
- $job_list[$key][name_n] = mb_substr($value['name'],0,$paramer[namelen],"utf-8");
- }
- }else{
- if($value['rec_time']>time()){
- $job_list[$key]['name_n'] = "<font color='red'>".$value['name']."</font>";
- }else{
- $job_list[$key][name_n] = $value['name'];
- }
- }
- //构建职位伪静态URL
- $job_list[$key][job_url] = Url("job",array("c"=>"comapply","id"=>$value[id]),"1");
- //构建企业伪静态URL
- $job_list[$key][com_url] = Url("company",array("c"=>"show","id"=>$value[uid]));
-
- foreach($comrat as $k=>$v){
- if($value[rating]==$v[id]){
- $job_list[$key][color] = str_replace("#","",$v[com_color]);
- if($v[com_pic]){
- $job_list[$key][ratlogo] = checkpic($v[com_pic]);
- }
- $job_list[$key][ratname] = $v[name];
- }
- }
- if($paramer[keyword]){
- $job_list[$key][name]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$value[name]);
- $job_list[$key][name_n]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$job_list[$key][name_n]);
- $job_list[$key][com_n]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$job_list[$key][com_n]);
- $job_list[$key][job_city_one]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$city_name[$value[provinceid]]);
- $job_list[$key][job_city_two]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$city_name[$value[cityid]]);
- }
- }
- }
- if(is_array($job_list)){
- if($paramer[keyword]!=""&&!empty($job_list)){
- addkeywords('3',$paramer[keyword]);
- }
- }
- }$job_list = $job_list; if (!is_array($job_list) && !is_object($job_list)) { settype($job_list, 'array');}
-foreach ($job_list as $_smarty_tpl->tpl_vars['job_list']->key => $_smarty_tpl->tpl_vars['job_list']->value) {
-$_smarty_tpl->tpl_vars['job_list']->_loop = true;
-?>
- <li>
- <div class="index_newjobname">
- <a href="<?php echo $_smarty_tpl->tpl_vars['job_list']->value['job_url'];?>
-" title="<?php echo $_smarty_tpl->tpl_vars['job_list']->value['name'];?>
-"><?php echo $_smarty_tpl->tpl_vars['job_list']->value['name_n'];?>
-</a>
- <span class="index_newjob_info_xz"><?php if ($_smarty_tpl->tpl_vars['job_list']->value['job_salary']!='面议') {
-}
-echo $_smarty_tpl->tpl_vars['job_list']->value['job_salary'];?>
-</span>
- </div>
-
- <div class="index_newjob_info nowrap">
- <?php echo $_smarty_tpl->tpl_vars['job_list']->value['job_city_two'];?>
-
- <?php if ($_smarty_tpl->tpl_vars['job_list']->value['job_exp']) {?>
- <i class="index_newjob_info_line">|</i><?php echo $_smarty_tpl->tpl_vars['job_list']->value['job_exp'];?>
-经验
- <?php }?>
- <?php if ($_smarty_tpl->tpl_vars['job_list']->value['job_edu']) {?>
- <i class="index_newjob_info_line">|</i> <?php echo $_smarty_tpl->tpl_vars['job_list']->value['job_edu'];?>
-学历
- <?php }?>
- </div>
- <div class="index_newjob_com nowrap">
- <img src='<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/images/lay-loding.png' lay-src="<?php echo $_smarty_tpl->tpl_vars['job_list']->value['logo'];?>
-" class="index_newjob_com_tx"/>
- <div class="index_newjob_comname">
- <a href="<?php echo $_smarty_tpl->tpl_vars['job_list']->value['com_url'];?>
-" title="<?php echo $_smarty_tpl->tpl_vars['job_list']->value['com_n'];?>
-"><?php echo $_smarty_tpl->tpl_vars['job_list']->value['com_n'];?>
-</a>
- <?php if ($_smarty_tpl->tpl_vars['job_list']->value['ratlogo']) {?>
- <img src="<?php echo $_smarty_tpl->tpl_vars['job_list']->value['ratlogo'];?>
-" alt="<?php echo $_smarty_tpl->tpl_vars['job_list']->value['ratname'];?>
-" width="14" height="14"/>
- <?php }?>
- <?php if ($_smarty_tpl->tpl_vars['job_list']->value['yyzz_status']==1) {?>
- <img src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/images/disc_icon10.png" alt="认证企业" width="14" height="14"/>
- <?php }?>
- </div>
- <div class="index_newjob_cominfo"><?php echo $_smarty_tpl->tpl_vars['job_list']->value['hy_n'];?>
-<i class="index_newjob_info_line">|</i> <?php echo $_smarty_tpl->tpl_vars['job_list']->value['mun_n'];?>
-</div>
- </div>
- </li>
- <?php } ?>
- </ul>
- </div>
- <div class="yunheader_60lookmore"><a href="<?php echo smarty_function_url(array('m'=>'job','c'=>'search'),$_smarty_tpl);?>
-">查看更多</a></div>
- <div class="yunheader_60_tit"><a href="<?php echo smarty_function_url(array('m'=>'job','c'=>'search'),$_smarty_tpl);?>
-" target="_blank" class="yunheader_60_tit_a"><i class="yunheader_60_tit_line"></i>最新职位<i class="yunheader_60_tit_rline"></i></a></div>
-
- <!-- 最新职位 -->
- <div class="index_newjobbox index_zw_item">
- <ul>
- <?php $_smarty_tpl->tpl_vars['job_list'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['job_list']->_loop = false;
-global $db,$db_config,$config;
- $time = time();
-
-
- //可以做缓存
- $paramer=array("namelen"=>"9","comlen"=>"18","limit"=>"32","item"=>"'job_list'","name"=>"'job_list1'","nocache"=>"")
-;
- $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
- $paramer = $ParamerArr[arr];
- $Purl = $ParamerArr[purl];
- global $ModuleName;
- if(!$Purl["m"]){
- $Purl["m"]=$ModuleName;
- }
- include_once PLUS_PATH."/comrating.cache.php";
- include(CONFIG_PATH."db.data.php");
- if($config[sy_web_site]=="1"){
- if($config[province]>0 && $config[province]!=""){
- $paramer[provinceid] = $config[province];
- }
- if($config[cityid]>0 && $config[cityid]!=""){
- $paramer[cityid] = $config[cityid];
- }
- if($config[three_cityid]>0 && $config[three_cityid]!=""){
- $paramer[three_cityid] = $config[three_cityid];
- }
- if($config[hyclass]>0 && $config[hyclass]!=""){
- $paramer[hy]=$config[hyclass];
- }
- }
-
-
- if($paramer[sdate]){
- $where = "`sdate`>".strtotime("-".intval($paramer[sdate])." day",time())." and `state`=1";
- }else{
- $where = "`state`=1";
- }
-
- //按照UID来查询(按公司地址查询可用GET[id]获取当前公司ID)
- if($paramer[uid]){
- $where .= " AND `uid` = '$paramer[uid]'";
- }
- if($paramer[com_id]){
- $where .= " AND `uid` = '$paramer[com_id]'";
- }
-
- //是否推荐职位
- if($paramer[rec]){
-
- $where.=" AND `rec_time`>=".time();
-
- }
- //企业认证条件
- if($paramer['cert']){
- $job_uid=array();
- $company=$db->select_all("company","`yyzz_status`=1","`uid`");
- if(is_array($company)){
- foreach($company as $v){
- $job_uid[]=$v['uid'];
- }
- }
- $where.=" and `uid` in (".@implode(",",$job_uid).")";
- }
- //取不包含当前企业的职位
- if($paramer[nouid]){
- $where.= " and `uid`<>$paramer[nouid]";
- }
- //取不包含当前id的职位
- if($paramer[noid]){
- $where.= " and `id`<>$paramer[noid]";
- }
- //是否被锁定
- if($paramer[r_status]){
- $where.= " and `r_status`=2";
- }else{
- $where.= " and `r_status`=1";
- }
- //是否下架职位
- if($paramer[status]){
- $where.= " and `status`='1'";
- }else{
- $where.= " and `status`='0'";
- }
- //公司体制
- if($paramer[pr]){
- $where .= " AND `pr` =$paramer[pr]";
- }
- //公司行业分类
- if($paramer['hy']){
- $where .= " AND `hy` = $paramer[hy]";
- }
- //职位大类
- if($paramer[job1]){
- $where .= " AND `job1` = $paramer[job1]";
- }
- //职位子类
- if($paramer[job1_son]){
- $where .= " AND `job1_son` = $paramer[job1_son]";
- }
- //职位三级分类
- if($paramer[job_post]){
- $where .= " AND (`job_post` IN ($paramer[job_post]))";
- }
- //您可能感兴趣的职位--个人会员中心
- if($paramer['jobwhere']){
- $where .=" and ".$paramer['jobwhere'];
- }
- //职位分类综合查询
- if($paramer['jobids']){
- $where.= " AND (`job1` = '$paramer[jobids]' OR `job1_son`= '$paramer[jobids]' OR `job_post`='$paramer[jobids]')";
- }
- //职位分类区间,不建议执行该查询
- if($paramer['jobin']){
- $where .= " AND (`job1` IN ($paramer[jobin]) OR `job1_son` IN ($paramer[jobin]) OR `job_post` IN ($paramer[jobin]))";
- }
- //城市大类
- if($paramer[provinceid]){
- $where .= " AND `provinceid` = $paramer[provinceid]";
- }
- //城市子类
- if($paramer['cityid']){
- $where .= " AND (`cityid` IN ($paramer[cityid]))";
- }
- //城市三级子类
- if($paramer['three_cityid']){
- $where .= " AND (`three_cityid` IN ($paramer[three_cityid]))";
- }
- if($paramer['cityin']){
- $where .= " AND `three_cityid` IN ($paramer[cityin])";
- }
- //学历
- if($paramer[edu]){
-
- $eduKey = $db->DB_select_once("comclass", "`variable` = 'job_edu'", "`id`");
- $eduReq = $db->DB_select_once("comclass", "`id` = $paramer[edu]", "`sort`,`name`");
- if($eduReq[name] != "不限"){
-
- $eduArr = $db->select_all("comclass", "`keyid` = $eduKey[id] AND `sort` <= $eduReq[sort]", "`id`");
- $eduIds = array();
- foreach($eduArr as $v){
- $eduIds[] = $v[id];
- }
-
- $where .= " AND `edu` in (".@implode(",",$eduIds).")";
- }
- }
- //工作经验
- if($paramer[exp]){
-
- $expKey = $db->DB_select_once("comclass", "`variable` = 'job_exp'", "`id`");
- $expReq = $db->DB_select_once("comclass", "`id` = $paramer[exp]", "`sort`,`name`");
- if($expReq[name] != "不限"){
-
- $expArr = $db->select_all("comclass", "`keyid` = $expKey[id] AND `sort` <= $expReq[sort]", "`id`");
- $expIds = array();
- foreach($expArr as $v){
- $expIds[] = $v[id];
- }
- $where .= " AND `exp` in (".@implode(",",$expIds).")";
- }
- }
- //到岗时间
- if($paramer[report]){
- $where .= " AND `report` = $paramer[report]";
- }
- //职位性质
- if($paramer[type]){
- $where .= " AND `type` = $paramer[type]";
- }
- //性别
- if($paramer[sex]){
- $where .= " AND `sex` = $paramer[sex]";
- }
- //应届生
- if($paramer[is_graduate]){
- $where .= " AND `is_graduate` = $paramer[is_graduate]";
- }
- //公司规模
- if($paramer[mun]){
- $where .= " AND `mun` = $paramer[mun]";
- }
-
- if($paramer[minsalary] && $paramer[maxsalary]){
- $where.= " AND (`minsalary`>=".intval($paramer[minsalary])." and `minsalary`<=".intval($paramer[maxsalary])." and `maxsalary`<=".intval($paramer[maxsalary]).") ";
-
- }elseif($paramer[minsalary]&&!$paramer[maxsalary]){
- $where.= " AND (`minsalary`>=".intval($paramer[minsalary]).") ";
-
- }elseif(!$paramer[minsalary]&&$paramer[maxsalary]){
- $where.= " AND (`minsalary`<=".intval($paramer[maxsalary])." and `maxsalary`<=".intval($paramer[maxsalary]).") ";
- }
-
- //福利待遇
- $cache_array = $db->cacheget();
- $comclass_name = $cache_array["comclass_name"];
- if($paramer[welfare]){
- $welfarename=$comclass_name[$paramer[welfare]];
- $where .=" AND `welfare` LIKE '%".$welfarename."%' ";
- }
-
- //城市区间,不建议执行该查询
- if($paramer[cityin]){
- $where .= " AND (`provinceid` IN ($paramer[cityin]) OR `cityid` IN ($paramer[cityin]) OR `three_cityid` IN ($paramer[cityin]))";
- }
- //紧急招聘urgent
- if($paramer[urgent]){
- $where.=" AND `urgent_time`>".time();
- }
- //更新时间区间
- if($paramer[uptime]){
- if($paramer[uptime]==1){
- $beginToday=mktime(0,0,0,date('m'),date('d'),date('Y'));
- $where.=" AND lastupdate>$beginToday";
- }else{
- $time=time();
- $uptime = $time-($paramer[uptime]*86400);
- $where.=" AND lastupdate>$uptime";
- }
- }else{
- if($config[sy_datacycle]>0){
- // 后台-页面设置-数据周期
- $uptime = strtotime('-'.$config[sy_datacycle].' day');
- $where.=" AND lastupdate>$uptime";
- }
- }
- //按类似公司名称,不建议进行大数据量操作
- if($paramer[comname]){
- $where.=" AND `com_name` LIKE '%".$paramer[comname]."%'";
- }
- //按公司归属地,只适合查询一级城市分类
- if($paramer[com_pro]){
- $where.=" AND `com_provinceid` ='".$paramer[com_pro]."'";
- }
- //按照职位名称匹配
- if($paramer[keyword]){
- $where1[]="`name` LIKE '%".$paramer[keyword]."%'";
- $where1[]="`com_name` LIKE '%".$paramer[keyword]."%'";
- include PLUS_PATH."/city.cache.php";
- foreach($city_name as $k=>$v){
- if(strpos($v,$paramer[keyword])!==false){
- $cityid[]=$k;
- }
- }
- if(is_array($cityid)){
- foreach($cityid as $value){
- $class[]= "(provinceid = '".$value."' or cityid = '".$value."')";
- }
- $where1[]=@implode(" or ",$class);
- }
- $where.=" AND (".@implode(" or ",$where1).")";
- }
-
- //多选职位
- if($paramer["job"]){
- $where.=" AND `job_post` in ($paramer[job])";
- }
- //置顶招聘
- if($paramer[bid]){
- if($config[joblist_top]!=1){
- $paramer[limit] = 5;
- }
- $where.=" and `xsdate`>'".time()."'";
- }
-
- //自定义查询条件,默认取代上面任何参数直接使用该语句
- if($paramer[where]){
- $where = $paramer[where];
- }
-
- //查询条数
- $limit = '';
- if($paramer[limit]){
-
- $limit = " limit ".$paramer[limit];
- }
- if($paramer[ispage]){
- $limit = PageNav($paramer,$_GET,"company_job",$where,$Purl,"",$paramer[islt]?$paramer[islt]:"6",$_smarty_tpl);
- }
-
- //排序字段默认为更新时间
- //置顶设置为随机5条时,随机查询
- if($paramer[bid] && $paramer[limit]){
- $order = " ORDER BY rand() ";
- }else{
- if($paramer[order] && $paramer[order]!="lastdate"){
- $order = " ORDER BY ".str_replace("'","",$paramer[order])." ";
- }else{
- $order = " ORDER BY `lastupdate` ";
- }
- }
- //排序规则 默认为倒序
- if($paramer[sort]){
- $sort = $paramer[sort];
- }else{
- $sort = " DESC";
- }
- $where.=$order.$sort;
-
- $job_list = $db->select_all("company_job",$where.$limit);
-
- if(is_array($job_list) && !empty($job_list)){
- //处理类别字段
- $cache_array = $db->cacheget();
- $comuid=$jobid=array();
- foreach($job_list as $key=>$value){
- if(in_array($value['uid'],$comuid)==false){$comuid[] = $value['uid'];}
- if(in_array($value['id'],$jobid)==false){$jobid[] = $value['id'];}
- }
- $comuids = @implode(',',$comuid);
- $jobids = @implode(',',$jobid);
- //减少曝光量统计维度 只有列表才统计
- if($paramer[ispage]){
- $db->update_all("company_job", "`jobexpoure` = `jobexpoure` + 1", "`id` in ($jobids)");
- }
-
-
- if($comuids){
- $r_uids=$db->select_all("company","`uid` IN (".$comuids.")","`uid`,`yyzz_status`,`logo`,`logo_status`,`pr`,`hy`,`mun`,`shortname`,`welfare`,`hotstart`,`hottime`");
- if(is_array($r_uids)){
- foreach($r_uids as $key=>$value){
- if($value[shortname]){
- $value['shortname_n'] = $value[shortname];
- }
- if(!$value['logo'] || $value['logo_status']!=0){
- $value['logo'] = checkpic("",$config['sy_unit_icon']);
- }else{
- $value['logo']= checkpic($value['logo']);
- }
- $value['pr_n'] = $cache_array['comclass_name'][$value[pr]];
- $value['hy_n'] = $cache_array['industry_name'][$value[hy]];
- $value['mun_n'] = $cache_array['comclass_name'][$value[mun]];
- if($value['hotstart']<=time() && $value['hottime']>=time()){
- $value['hotlogo'] = 1;
- }
- $r_uid[$value['uid']] = $value;
- }
- }
- }
-
- if($paramer[bid]){
- $noids=array();
- }
- foreach($job_list as $key=>$value){
-
- if($paramer[bid]){
- $noids[] = $value[id];
- }
- //筛除重复
- if($paramer[noids]==1 && !empty($noids) && in_array($value['id'],$noids)){
- unset($job_list[$key]);
- continue;
- }else{
- $job_list[$key] = $db->array_action($value,$cache_array);
- $job_list[$key][stime] = date("Y-m-d",$value[sdate]);
- $job_list[$key][etime] = date("Y-m-d",$value[edate]);
- if($arr_data['sex'][$value['sex']]){
- $job_list[$key][sex_n]=$arr_data['sex'][$value['sex']];
- }
- $job_list[$key][lastupdate] =lastupdateStyle($value[lastupdate]);
- if($value[minsalary]&&$value[maxsalary]){
- if($config['resume_salarytype']==1){
- $job_list[$key][job_salary] =$value[minsalary]."-".$value[maxsalary];
- }else{
- if($value[maxsalary]<1000){
- if($config['resume_salarytype']==2){
- $job_list[$key][job_salary] = "1千以下";
- }elseif($config['resume_salarytype']==3){
- $job_list[$key][job_salary] = "1K以下";
- }elseif($config['resume_salarytype']==4){
- $job_list[$key][job_salary] = "1k以下";
- }
- }else if($value[minsalary]<1000){
- $job_list[$key][job_salary] =changeSalary($value[maxsalary]);
- }else{
- $job_list[$key][job_salary] =changeSalary($value[minsalary])."-".changeSalary($value[maxsalary]);
- }
- }
- }elseif($value[minsalary]){
- if($config['resume_salarytype']==1){
- $job_list[$key][job_salary] =$value[minsalary]."以上";
- }else{
- $job_list[$key][job_salary] =changeSalary($value[minsalary])."以上";
- }
- }else{
- $job_list[$key][job_salary] ="面议";
- }
-
- if($r_uid[$value['uid']][shortname]){
- $job_list[$key][com_name] =$r_uid[$value['uid']][shortname];
- }
- if(!empty($value[zp_minage]) && !empty($value[zp_maxage])){
- if($value[zp_minage]==$value[zp_maxage]){
- $job_list[$key][job_age] = $value[zp_minage]."周岁以上";
- }else{
- $job_list[$key][job_age] = $value[zp_minage]."-".$value[zp_maxage]."周岁";
- }
- }else if(!empty($value[zp_minage]) && empty($value[zp_maxage])){
- $job_list[$key][job_age] = $value[zp_minage]."周岁以上";
- }else{
- $job_list[$key][job_age] = 0;
- }
- if($value[zp_num]==0){
- $job_list[$key][job_number] = "";
- }else{
- $job_list[$key][job_number] = $value[zp_num]." 人";
- }
- $job_list[$key][yyzz_status] =$r_uid[$value['uid']][yyzz_status];
- $job_list[$key][logo] =$r_uid[$value['uid']][logo];
- $job_list[$key][pr_n] =$r_uid[$value['uid']][pr_n];
- $job_list[$key][hy_n] =$r_uid[$value['uid']][hy_n];
- $job_list[$key][mun_n] =$r_uid[$value['uid']][mun_n];
- $job_list[$key][hotlogo] =$r_uid[$value['uid']][hotlogo];
- $time=$value['lastupdate'];
- //今天开始时间戳
- $beginToday=mktime(0,0,0,date('m'),date('d'),date('Y'));
- //昨天开始时间戳
- $beginYesterday=mktime(0,0,0,date('m'),date('d')-1,date('Y'));
-
- if($time>$beginYesterday && $time<$beginToday){
- $job_list[$key]['time'] ="昨天";
- }elseif($time>$beginToday){
- $job_list[$key]['time'] = $job_list[$key]['lastupdate'];
- $job_list[$key]['redtime'] =1;
- }else{
- $job_list[$key]['time'] = date("Y-m-d",$value['lastupdate']);
- }
-
- // 前天
- $beforeYesterday=mktime(0,0,0,date('m'),date('d')-2,date('Y'));
-
- if($value['sdate']>$beforeYesterday){
- $job_list[$key]['newtime'] =1;
- }
- //获得福利待遇名称
- if($value[welfare]){
- $value[welfare] = str_replace(' ', '',$value[welfare]);
- $welfareList = @explode(',',trim($value[welfare]));
-
- if(!empty($welfareList)){
- $job_list[$key][welfarename] =array_filter($welfareList);
- }
- }
- //截取公司名称
- if($paramer[comlen]){
- if($r_uid[$value['uid']][shortname]){
- $job_list[$key][com_n] = mb_substr($r_uid[$value['uid']][shortname],0,$paramer[comlen],"utf-8");
- }else{
- $job_list[$key][com_n] = mb_substr($value['com_name'],0,$paramer[comlen],"utf-8");
- }
- }
- //截取职位名称
- if($paramer[namelen]){
- if($value['rec_time']>time()){
- $job_list[$key][name_n] = "<font color='red'>".mb_substr($value['name'],0,$paramer[namelen],"utf-8")."</font>";
- }else{
- $job_list[$key][name_n] = mb_substr($value['name'],0,$paramer[namelen],"utf-8");
- }
- }else{
- if($value['rec_time']>time()){
- $job_list[$key]['name_n'] = "<font color='red'>".$value['name']."</font>";
- }else{
- $job_list[$key][name_n] = $value['name'];
- }
- }
- //构建职位伪静态URL
- $job_list[$key][job_url] = Url("job",array("c"=>"comapply","id"=>$value[id]),"1");
- //构建企业伪静态URL
- $job_list[$key][com_url] = Url("company",array("c"=>"show","id"=>$value[uid]));
-
- foreach($comrat as $k=>$v){
- if($value[rating]==$v[id]){
- $job_list[$key][color] = str_replace("#","",$v[com_color]);
- if($v[com_pic]){
- $job_list[$key][ratlogo] = checkpic($v[com_pic]);
- }
- $job_list[$key][ratname] = $v[name];
- }
- }
- if($paramer[keyword]){
- $job_list[$key][name]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$value[name]);
- $job_list[$key][name_n]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$job_list[$key][name_n]);
- $job_list[$key][com_n]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$job_list[$key][com_n]);
- $job_list[$key][job_city_one]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$city_name[$value[provinceid]]);
- $job_list[$key][job_city_two]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$city_name[$value[cityid]]);
- }
- }
- }
- if(is_array($job_list)){
- if($paramer[keyword]!=""&&!empty($job_list)){
- addkeywords('3',$paramer[keyword]);
- }
- }
- }$job_list = $job_list; if (!is_array($job_list) && !is_object($job_list)) { settype($job_list, 'array');}
-foreach ($job_list as $_smarty_tpl->tpl_vars['job_list']->key => $_smarty_tpl->tpl_vars['job_list']->value) {
-$_smarty_tpl->tpl_vars['job_list']->_loop = true;
-?>
- <li>
- <div class="index_newjobname">
- <a href="<?php echo $_smarty_tpl->tpl_vars['job_list']->value['job_url'];?>
-" title="<?php echo $_smarty_tpl->tpl_vars['job_list']->value['name'];?>
-"><?php echo $_smarty_tpl->tpl_vars['job_list']->value['name_n'];?>
-</a>
- <span class="index_newjob_info_xz"><?php if ($_smarty_tpl->tpl_vars['job_list']->value['job_salary']!='面议') {
-}
-echo $_smarty_tpl->tpl_vars['job_list']->value['job_salary'];?>
-</span>
- </div>
- <div class="index_newjob_info nowrap">
- <?php echo $_smarty_tpl->tpl_vars['job_list']->value['job_city_two'];?>
-
- <?php if ($_smarty_tpl->tpl_vars['job_list']->value['job_exp']) {?>
- <i class="index_newjob_info_line">|</i><?php echo $_smarty_tpl->tpl_vars['job_list']->value['job_exp'];?>
-经验
- <?php }?>
- <?php if ($_smarty_tpl->tpl_vars['job_list']->value['job_edu']) {?>
- <i class="index_newjob_info_line">|</i> <?php echo $_smarty_tpl->tpl_vars['job_list']->value['job_edu'];?>
-学历
- <?php }?>
- </div>
- <div class="index_newjob_com nowrap">
- <img src='<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/images/lay-loding.png' lay-src="<?php echo $_smarty_tpl->tpl_vars['job_list']->value['logo'];?>
-" class="index_newjob_com_tx"/>
- <div class="index_newjob_comname"><a href="<?php echo $_smarty_tpl->tpl_vars['job_list']->value['com_url'];?>
-" title="<?php echo $_smarty_tpl->tpl_vars['job_list']->value['com_n'];?>
-"><?php echo $_smarty_tpl->tpl_vars['job_list']->value['com_n'];?>
-</a>
- <?php if ($_smarty_tpl->tpl_vars['job_list']->value['ratlogo']) {?>
- <img src="<?php echo $_smarty_tpl->tpl_vars['job_list']->value['ratlogo'];?>
-" alt="<?php echo $_smarty_tpl->tpl_vars['job_list']->value['ratname'];?>
-" width="14" height="14"/>
- <?php }?>
- <?php if ($_smarty_tpl->tpl_vars['job_list']->value['yyzz_status']==1) {?>
- <img src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/images/disc_icon10.png" alt="认证企业" width="14" height="14"/>
- <?php }?>
- </div>
- <div class="index_newjob_cominfo"><?php echo $_smarty_tpl->tpl_vars['job_list']->value['hy_n'];?>
-<i class="index_newjob_info_line">|</i> <?php echo $_smarty_tpl->tpl_vars['job_list']->value['mun_n'];?>
-</div>
- </div>
- </li>
- <?php } ?>
- </ul>
- </div>
- <div class="yunheader_60lookmore"><a href="<?php echo smarty_function_url(array('m'=>'job','c'=>'search'),$_smarty_tpl);?>
-">查看更多</a></div>
- </div>
-
- <!-- 热招人才 banner 区域-->
- <div class="index_banner fl">
- <div class="index_banner_1250 fl">
- <?php $_smarty_tpl->tpl_vars['adlist_92'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['adlist_92']->_loop = false;
-global $db,$db_config,$config;$AdArr=array();$paramer=array();$attr=array("classid"=>"92","limit"=>"5","item"=>"'adlist_92'","nocache"=>"")
-;
- include(PLUS_PATH.'pimg_cache.php');$add_arr = $ad_label[92];if(is_array($add_arr) && !empty($add_arr)){
- $i=0;$limit = 5;$length = 0;
- foreach($add_arr as $key=>$value){
- if($config['did']){
- if(($value['did']==$config['did']|| $value['did']==-1)&&$value['start']<time()&&$value['end']>time()){
- if($i>0 && $limit==$i){
- break;
- }
- if($length>0){
- $value['name'] = mb_substr($value['name'],0,$length);
- }
- if($paramer['type']!=""){
- if($paramer['type'] == $value['type']){
- $AdArr[] = $value;
- }
- }else{
- $AdArr[] = $value;
- }
- $i++;
- }
-
- }else{
- if(($value['did']==-1 || !$value['did']) && $value['start']<time()&&$value['end']>time()){
- if($i>0 && $limit==$i){
- break;
- }
- if($length>0){
- $value['name'] = mb_substr($value['name'],0,$length);
- }
- if($paramer['type']!=""){
- if($paramer['type'] == $value['type']){
- $AdArr[] = $value;
- }
- }else{
- $AdArr[] = $value;
- }
- $i++;
- }
-
- }
- }
- if (isset($attr['random']) && $attr['random'] && count($AdArr) > $attr['random']) {
- $temp = [];
- $random_keys = array_rand($AdArr, $attr['random']);
-
- if($attr['random'] == 1) {
- $temp[] = $AdArr[$attr['random']];
- } else {
- foreach ($AdArr as $key => $value) {
- if (in_array($key, $random_keys)) {
- $temp[$key] = $value;
- }
- }
- }
- $AdArr = $temp;
- }
- }$AdArr = $AdArr; if (!is_array($AdArr) && !is_object($AdArr)) { settype($AdArr, 'array');}
-foreach ($AdArr as $_smarty_tpl->tpl_vars['adlist_92']->key => $_smarty_tpl->tpl_vars['adlist_92']->value) {
-$_smarty_tpl->tpl_vars['adlist_92']->_loop = true;
-?>
- <div class="b_w1200 b_tip"><?php echo $_smarty_tpl->tpl_vars['adlist_92']->value['lay_html'];?>
-</div>
- <?php } ?>
- </div>
- </div>
-
- <!-- 最新简历 -->
- <div class="index_zl_box">
- <div class="yunheader_60_tit"><a href="<?php echo smarty_function_url(array('m'=>'resume','c'=>'search'),$_smarty_tpl);?>
-" target="_blank" class="yunheader_60_tit_a"><i class="yunheader_60_tit_line"></i>推荐人才<i class="yunheader_60_tit_rline"></i></a></div>
- <!-- 推荐人才 -->
- <div class="tjuser_list">
- <ul>
- <?php $_smarty_tpl->tpl_vars['ulist_rec'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['ulist_rec']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
-$ulist_rec=array();global $db,$db_config,$config;
- if(is_array($_GET)){
- foreach($_GET as $key=>$value){
- if($value=='0'){
- unset($_GET[$key]);
- }
- }
- }
- $paramer=array("item"=>"'ulist_rec'","post_len"=>"10","limit"=>"8","rec_resume"=>"1","key"=>"'key'","name"=>"'userlist2'","nocache"=>"")
-;
- $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
- $paramer = $ParamerArr[arr];
- $Purl = $ParamerArr[purl];
- global $ModuleName;
- if(!$Purl["m"]){
- $Purl["m"]=$ModuleName;
- }
-
- //处理类别字段
- include(CONFIG_PATH."db.data.php");
- $cache_array = $db->cacheget();
- $fscache_array = $db->fscacheget();
- $userclass_name = $cache_array["user_classname"];
- $city_name = $cache_array["city_name"];
- $city_index = $cache_array["city_index"];
- $job_name = $cache_array["job_name"];
- $job_index = $cache_array["job_index"];
- $job_type = $cache_array["job_type"];
- $industry_name = $cache_array["industry_name"];
- $city_parent = $fscache_array["city_parent"];
- $job_parent = $fscache_array["job_parent"];
-
- //是否属于分站下
- if($config['sy_web_site']=="1"){
- if($config[province]>0 && $config[province]!=""){
- $paramer[provinceid] = $config[province];
- }
- if($config['cityid']>0 && $config['cityid']!=""){
- $paramer['cityid']=$config['cityid'];
- }
- if($config['three_cityid']>0 && $config['three_cityid']!=""){
- $paramer['three_cityid']=$config['three_cityid'];
- }
- if($config['hyclass']>0 && $config['hyclass']!=""){
- $paramer['hy']=$config['hyclass'];
- }
- }
-
-
- $where = "a.`defaults`=1 and a.`state`=1 and a.`r_status`=1 AND a.`status`=1";
-
- //关注我公司的人才--条件
- if($paramer[where_uid]){
- $where .=" AND a.`uid` in (".$paramer['where_uid'].")";
- }
- //黑名单不能查看已拉黑的个人用户简历
- if($_COOKIE['uid']&&$_COOKIE['usertype']=="2"){
- $blacklist=$db->select_all("blacklist","`p_uid`='".$_COOKIE['uid']."'","c_uid");
- if(is_array($blacklist)&&$blacklist){
- foreach($blacklist as $v){
- $buid[]=$v['c_uid'];
- }
- $where .=" AND a.`uid` NOT IN (".@implode(",",$buid).")";
- }
- }
-
- //置顶
- if($paramer[topdate]){
- $where .=" AND a.`top`=1 AND a.`topdate`>'".time()."'";
- }
- if($paramer[top]){
- $where .=" AND a.`top`=1 AND a.`topdate`>'".time()."'";
- }
- //身份认证
- if($paramer[idcard]){
- $where .=" AND a.`idcard_status`=1";
- }
- //优质人才
- if($paramer[height_status]){
- $where .=" AND a.`height_status`=".$paramer[height_status];
- }
- //优质人才推荐
- if($paramer[rec]){
- $where .=" AND a.`rec`=1";
- }
- //普通推荐
- if($paramer[rec_resume]){
- $where .=" AND a.`rec_resume`=1";
- }
- //作品
- if($paramer[work]){
- $show=$db->select_all("resume_show","1 group by eid","`eid`");
- if(is_array($show)){
- foreach($show as $v){
- $eid[]=$v['eid'];
- }
- }
- $where .=" AND a.`id` in (".@implode(",",$eid).")";
- }
- //标签
- if($paramer[tag]){
- $tagname=$userclass_name[$paramer[tag]];
- $tag=$db->select_all("resume","`def_job`>0 and `r_status`=1 and `status`=1 and FIND_IN_SET('".$tagname."',`tag`)","`def_job`");
- if(is_array($tag)){
- foreach($tag as $v){
- $tagid[]=$v['def_job'];
- }
- }
- $where .=" AND a.`id` in (".@implode(",",$tagid).")";
- }
- //更新时间区间
- if($paramer[uptime]){
- if($paramer[uptime]==1){
- $beginToday=mktime(0,0,0,date('m'),date('d'),date('Y'));
- $where.=" AND a.`lastupdate`>$beginToday";
- }else{
- $time=time();
- $uptime = $time-($paramer[uptime]*86400);
- $where.=" AND a.`lastupdate`>$uptime";
- }
- }else{
- if($config[sy_datacycle]>0){
- // 后台-页面设置-数据周期
- $uptime = strtotime('-'.$config[sy_datacycle].' day');
- $where.=" AND a.`lastupdate`>$uptime";
- }
- }
- //添加时间区间,即审核时间
- if($paramer[adtime]){
- $time=time();
- $adtime = $time-($paramer[adtime]*86400);
- $where.=" AND a.`status_time`>$adtime";
- }
- //是否有照片
- if($paramer[pic]=="1"){
- $where .=" AND a.`photo`<>'' AND a.`phototype`!=1 AND a.`defphoto` = 1";
- }
- //行业
- if($paramer['hy']!=""){
- $where .= " AND a.`hy` IN (".$paramer['hy'].")";
- }
-
-
- $job_col = $city_col = "";
- $cjwhere = "";
- if($paramer[three_cityid]){
- $city_col = "three_cityid";
- $cjwhere .= " AND cj.`$city_col`= $paramer[three_cityid]";
- }elseif($paramer[cityid]){
- $city_col = "cityid";
- $cjwhere .= " AND cj.`$city_col`= $paramer[cityid]";
- }elseif($paramer[provinceid]){
- $city_col = "provinceid";
- $cjwhere .= " AND cj.`$city_col`= $paramer[provinceid]";
- }
- //城市区间,不建议执行该查询
- if($paramer[cityin]){
- if($city_parent[$paramer[cityin]]=='0'){
- $city_col = "provinceid";
- $cjwhere .= " AND cj.`$city_col` = $paramer[cityin]";
- }elseif(in_array($city_parent[$paramer[cityin]],$city_index)){
- $city_col = "cityid";
- $cjwhere .= " AND cj.`$city_col` = $paramer[cityin]";
- }elseif($city_parent[$paramer[cityin]]>0){
- $city_col = "three_cityid";
- $cjwhere .= " AND cj.`$city_col` = $paramer[cityin]";
- }
- }
- if($paramer[job_post]){
- $job_col = "job_post";
- $cjwhere .= " AND cj.`$job_col`= $paramer[job_post]";
- }elseif($paramer[job1_son]){
- $job_col = "job1_son";
- $cjwhere .= " AND cj.`$job_col`= $paramer[job1_son]";
- }elseif($paramer[job1]){
- $job_col = "job1";
- $cjwhere .= " AND cj.`$job_col`= $paramer[job1]";
- }
- //职位区间,不建议执行该查询
- if($paramer[jobin]){
- if($job_parent[$paramer[jobin]]=='0'){
- $job_col = "job1";
- $cjwhere .=" AND cj.`$job_col`= $paramer[jobin]";
- }elseif(in_array($job_parent[$paramer[jobin]],$job_index)){
- $job_col = "job1_son";
- $cjwhere .=" AND cj.`$job_col`= $paramer[jobin]";
- }elseif($job_parent[$paramer[jobin]]>0){
- $job_col = "job_post";
- $cjwhere .=" AND cj.`$job_col`= $paramer[jobin]";
- }
- }
- // 拼接唯一标识字段
- if($city_col || $job_col){
- if($city_col && $job_col){
- $cjwhere .= " AND cj.`{$city_col}_{$job_col}_num`= 1";
- }elseif($city_col){
- $cjwhere .= " AND cj.`{$city_col}_num`= 1";
- }elseif($job_col){
- $cjwhere .= " AND cj.`{$job_col}_num`= 1";
- }
- }
-
- //工作经验
- if($paramer[exp]){
-
- $expKey = $db->DB_select_once("userclass", "`variable` = 'user_word'", "`id`");
- $expReq = $db->DB_select_once("userclass", "`id` = $paramer[exp]", "`sort`,`name`");
- if($expReq[name] != "不限"){
-
- $expArr = $db->select_all("userclass", "`keyid` = $expKey[id] AND `sort` >= $expReq[sort]", "`id`");
- $expIds = array();
- foreach($expArr as $v){
- $expIds[] = $v[id];
- }
- $where .= " AND a.`exp` in (".@implode(",",$expIds).")";
- }
- }
- //学历
- if($paramer[edu]){
-
- $eduKey = $db->DB_select_once("userclass", "`variable` = 'user_edu'", "`id`");
- $eduReq = $db->DB_select_once("userclass", "`id` = $paramer[edu]", "`sort`,`name`");
- if($eduReq[name] != "不限"){
-
- $eduArr = $db->select_all("userclass", "`keyid` = $eduKey[id] AND `sort` >= $eduReq[sort]", "`id`");
- $eduIds = array();
- foreach($eduArr as $v){
- $eduIds[] = $v[id];
- }
-
- $where .= " AND a.`edu` in (".@implode(",",$eduIds).")";
- }
- }
- //性别
- if($paramer[sex]){
- $where .=" AND a.`sex`=$paramer[sex]";
- }
- //到岗时间
- if($paramer[report]){
- $where .=" AND a.`report`=$paramer[report]";
- }
- //工作性质
- if($paramer[type]){
- $where .= " AND a.`type`=$paramer[type]";
- }
- if($paramer[notid]){
- $where.= " and `id`<>$paramer[notid]";
- }
- //简历完整度
-
-
- if($paramer[integrity]){
- $integrityR = $arr_data["integrity_val"];
-
- $where.= " AND a.`integrity`>='".$integrityR[$paramer[integrity]]."'";
-
- }
-
- //关键字
- if($paramer[keyword]){
- $where1 = array();
- $where1[]="a.`name` LIKE '%$paramer[keyword]%'";
- $where1[]="a.`uname` LIKE '%$paramer[keyword]%'";
-
- //搜索工作经历
- $workList = $db->select_all('resume_work',"`title` LIKE '%$paramer[keyword]%' OR `content` LIKE '%$paramer[keyword]%' ORDER BY id DESC limit 500","`eid`");
- if(!empty($workList)){
- $workId = array();
- foreach($workList as $value){
- $workId[] = $value['eid'];
- }
- $where1[] = "a.id IN (".implode(',',$workId).")";
- }
-
- $where.=" AND (".@implode(" or ",$where1).")";
- }
- //薪资待遇
- if($paramer[minsalary]&&$paramer[maxsalary]){
- $where.= " AND ((a.`minsalary`<=".intval($paramer[minsalary])." and a.`maxsalary`>=".intval($paramer[minsalary]).")
- or (a.`minsalary`<=".intval($paramer[maxsalary])." and a.`maxsalary`>=".intval($paramer[maxsalary])."))";
- }elseif($paramer[minsalary]&&!$paramer[maxsalary]){
- $where.= " AND ((a.`minsalary`<=".intval($paramer[minsalary])." and a.`maxsalary`>=".intval($paramer[minsalary]).")
- or (a.`minsalary`>=".intval($paramer[minsalary])." and a.`maxsalary`>=".intval($paramer[minsalary]).")
- or (a.`minsalary`!=0 and a.`maxsalary`=0))";
- }elseif(!$paramer[minsalary]&&$paramer[maxsalary]){
- $where.= " AND ((a.`minsalary`<=".intval($paramer[maxsalary])." and a.`maxsalary`>=".intval($paramer[maxsalary]).")
- or (a.`minsalary`<=".intval($paramer[maxsalary])." and a.`maxsalary`<=".intval($paramer[maxsalary]).")
- or (a.`minsalary`<=".intval($paramer[maxsalary])." and a.`maxsalary`=0)
- or (a.`minsalary`=0 and a.`maxsalary`!=0)
- )";
- }
- //年龄
- if($paramer[minage]&&$paramer[maxage]){
- $mintime=date("Y-m-d",strtotime("-".$paramer[minage]." year"));
- $maxtime=date("Y-m-d",strtotime("-".$paramer[maxage]." year"));
- $where.= " AND a.`birthday`>= '".$maxtime."' and a.`birthday`<='".$mintime."'";
- }elseif($paramer[minage]&&!$paramer[maxage]){
- $mintime=date("Y-m-d",strtotime("-".$paramer[minage]." year"));
- $where.= " AND a.`birthday`<='".$mintime."'";
- }elseif(!$paramer[minage]&&$paramer[maxage]){
- $maxtime=date("Y-m-d",strtotime("-".$paramer[maxage]." year"));
- $where.= " AND a.`birthday`>='".$maxtime."'";
- }
- //排序字段默认为更新时间
- if($paramer[order] && $paramer[order]!="lastdate"){
- if($paramer[order]=='topdate'){
- $nowtime=time();
- $order = " ORDER BY if(a.`topdate`>$nowtime,a.`topdate`,a.`lastupdate`) ";
- }else{
- $order = " ORDER BY a.`".$paramer[order]."` ";
- }
- }else{
- $order = " ORDER BY a.`lastupdate` ";
- }
- //排序规则 默认为倒序
- $sort = $paramer[sort]?$paramer[sort]:"DESC";
- //查询条数
- if($paramer[limit]){
- $limit=" LIMIT ".$paramer[limit];
- }
- //自定义查询条件,默认取代上面任何参数直接使用该语句
- if($paramer[where]){
- $where = $paramer[where];
- }
- $pagewhere = "";$joinwhere = "";
- if($cjwhere){
- $pagewhere.=" ,`".$db_config[def]."resume_city_job_class` cj ";
- $joinwhere .= " a.`id`=cj.`eid` " . $cjwhere;
- }
-
- if($paramer[ispage]){
- // 查询分页
- if($paramer["height_status"]){
- $limit = PageNav($paramer,$_GET,"resume_expect",$where,$Purl,"",$paramer[islt]?$paramer[islt]:"3",$_smarty_tpl,$pagewhere,$joinwhere);
- }else{
- $limit = PageNav($paramer,$_GET,"resume_expect",$where,$Purl,"","0",$_smarty_tpl,$pagewhere,$joinwhere);
- }
- }
-
- if($paramer[topdate] && $_GET[page]>1){
- $ulist_rec = array();
- }else{
-
- $select="a.`id`,a.`uid`,a.`name`,a.`hy`,a.`job_classid`,a.`city_classid`,a.`jobstatus`,a.`type`,a.`report`,a.`lastupdate`,a.`rec`,a.`top`,a.`topdate`,a.`rec_resume`,a.`ctime`,a.`uname`,a.`idcard_status`,a.`minsalary`,a.`maxsalary`";
- if($pagewhere!=""){
-
- $sql = "select ".$select." from `".$db_config[def]."resume_expect` a ".$pagewhere." where ".$joinwhere." and ".$where.$order.$sort.$limit;
-
- $ulist_rec=$db->DB_query_all($sql,"all");
-
- }else{
- $sql = "select ".$select." from `".$db_config[def]."resume_expect` a where ".$where.$order.$sort.$limit;
-
- $ulist_rec=$db->DB_query_all($sql,"all");
- }
- }
-
- if(!empty($ulist_rec) && is_array($ulist_rec)){
-
- //如果存在top,则说明请求来自排行榜页面
- if($paramer['top']){
- $uids=$m_name=array();
- foreach($ulist_rec as $k=>$v){
- $uids[]=$v[uid];
- }
-
- $member=$db->select_all($db_config[def]."member","`uid` in(".@implode(',',$uids).")","uid,username");
- foreach($member as $val){
- $m_name[$val[uid]]=$val['username'];
- }
- }
- $uid = $eid = array();
- foreach($ulist_rec as $key=>$value){
-
- $uid[] = $value['uid'];
- $eid[] = $value['id'];
- }
- $eids = @implode(',',$eid);
- $uids = @implode(',',$uid);
- $resume=$db->select_all("resume","`uid` in(".$uids.")","uid,name,nametype,tag,sex,moblie_status,edu,exp,defphoto,photo,phototype,photo_status,birthday");
- foreach($resume as $v){
- $ruids[] = $v['uid'];
- }
- foreach($ulist_rec as $k=>$v){
- if(!in_array($v['uid'],$ruids)){
- unset($ulist_rec[$k]);
- continue;
- }
- }
- if($paramer[topdate]){
- $noids=array();
- }
-
- if($paramer[workexp] == 1){
- $eduList = $db -> select_all("resume_edu","`eid` in(".$eids.")");
- if(!empty($eduList)){
- foreach($eduList as $key=>$value){
- $eduListNew[$value['eid']][] = $value;
- }
- foreach($eduListNew as $k=>$eduv){
- $edumin = 0;
- $edumax = 0;
- $edutitle = array();
- $education = array();
- foreach($eduv as $v){
- if($v['sdate']>0 && $edumin==0){
- $edumin = $v['sdate'];
- }elseif($edumin>$v['sdate']){
- $edumin = $v['sdate'];
- }
- if($v['edate']==0 ){
- $edumax = 0;
- }elseif($edumax<$v['edate']){
- $edumax = $v['edate'];
- }
-
- $education[] = $userclass_name[$v['education']];
-
- $edutitle[] = $v['specialty'];
- }
- $return =array();
- $return['edumin'] = date('Y-m',$edumin);
- $return['edumax'] = $edumax == 0 ? '至今': date('Y',$edumax);
- $return['education'] = @implode(',',$education);
- $return['eduspecialty'] = @implode('、',$edutitle);
-
- $return['edu_time'] = $return['edumin']."-".$return['edumax'];
-
- if($return['eduspecialty']){
- $workexpList[$k]['edu_content'] = $return['education'].'学历 ▪ '.$return['eduspecialty'].' ▪ 毕业于'.$return['edumax'].'年';
- }else{
- $workexpList[$k]['edu_content'] = $return['education'].'学历 ▪ 毕业于'.$return['edumax'].'年';
- }
- }
-
- }
-
- $workList = $db -> select_all("resume_work","`eid` in(".$eids.")");
- if(!empty($workList)){
- foreach($workList as $key=>$value){
- $workListNew[$value['eid']][] = $value;
- }
- foreach($workListNew as $k=>$workv){
-
- $whour = 0;
- $hour = array();
- $time = time();
- $workmin = 0;
- $workmax = 0;
- $worknum = count($workv);
- $wtitle = array();
- foreach($workv as $v){
- /* 计算每份工作时长(按月) */
-
- if($v['sdate']>0 && $workmin==0){
- $workmin = $v['sdate'];
- }elseif($workmin>$v['sdate']){
- $workmin = $v['sdate'];
- }
-
- if($v['edate']==0 ){
- $workmax = 0;
- }elseif($workmax<$v['edate']){
- $workmax = $v['edate'];
- }
-
- $wtitle[] = $v['title'];
-
- $hour[] = $workTime;
- $whour += $workTime;
- }
-
- $workavg = ceil($whour/count($hour));
- $return = array();
- $return['worknum'] = $worknum > 0 ? $worknum:0;
- $return['workavg'] = $workavg > 0 ? $workavg:0;
- $return['workmin'] = date('Y-m',$workmin);
- $return['workmax'] = $workmax == 0 ? '至今': date('Y-m',$workmax);
- $return['worktit'] = @implode(',',$wtitle);
-
- $return['work_time'] = $return['workmin'].'-'.$return['workmax'];
-
- if($return['worktit']!=''){
- $workexpList[$k]['work_content'] = ' 参加过'.$return['worknum'].'份工作 ▪ 涉及'.$return['worktit'].'等岗位';
- }else{
- $workexpList[$k]['work_content'] = ' 参加过'.$return['worknum'].'份工作';
- }
- }
- }
- }
- foreach($ulist_rec as $k=>$v){
- if($paramer[topdate]){
- $noids[] = $v[id];
- }
- //筛除重复
- if($paramer[noid]=='1' && !empty($noids) && in_array($v['id'],$noids)){
- unset($ulist_rec[$k]);
- continue;
- }
- foreach($resume as $val){
- if($v['uid']==$val['uid']){
- $ulist_rec[$k]['edu_n']=$userclass_name[$val['edu']];
- $ulist_rec[$k]['exp_n']=$userclass_name[$val['exp']];
- if($val['birthday']){
- $year = date("Y",strtotime($val['birthday']));
- $ulist_rec[$k]['age'] =date("Y")-$year;
- }
- if($val['sex']==152){
- $val['sex']='1';
- }elseif ($val['sex']==153){
- $val['sex']='2';
- }
- $ulist_rec[$k]['sex'] =$arr_data[sex][$val['sex']];
- $ulist_rec[$k]['phototype']=$val[phototype];
- $photo=$icon="";
- if($val['defphoto']==2){
- $photo=$val['photo'];
- }else{
- if($config['user_pic']==1 || empty($config['user_pic'])){
- if($val['photo'] && $val['photo_status']==0 && $val['phototype']!=1){
- $photo=$val['photo'];
- }else{
- if($val['sex']==1){
- $icon=$config['sy_member_icon'];
- }else{
- $icon=$config['sy_member_iconv'];
- }
- }
-
- }elseif($config['user_pic']==2){
- if($val['photo']&& $val['photo_status']==0){
- $photo=$val['photo'];
- }else{
- if($val['sex']==1){
- $icon=$config['sy_member_icon'];
- }else{
- $icon=$config['sy_member_iconv'];
- }
- }
- }elseif($config['user_pic']==3){
- if($val['sex']==1){
- $icon=$config['sy_member_icon'];
- }else{
- $icon=$config['sy_member_iconv'];
- }
- }
- }
- $ulist_rec[$k]['photo']=checkpic($photo,$icon);
- if($val['tag']){
- $ulist_rec[$k]['tag']=explode(',',$val['tag']);
- }
- $ulist_rec[$k]['nametype']=$val[nametype];
- $ulist_rec[$k]['moblie_status']=$val[moblie_status];
- //名称显示处理
- if($config['user_name']==1 || !$config['user_name']){
- if($val['nametype']==3){
- if($val['sex']==1){
- $ulist_rec[$k]['username_n'] = mb_substr($val['name'],0,1,'utf-8')."先生";
- }else{
- $ulist_rec[$k]['username_n'] = mb_substr($val['name'],0,1,'utf-8')."女士";
- }
- }elseif($val['nametype']==2){
- $ulist_rec[$k]['username_n'] = "NO.".$v['id'];
- }else{
- $ulist_rec[$k]['username_n'] = $val['name'];
- }
- }elseif($config['user_name']==3){
- if($val['sex']==1){
- $ulist_rec[$k]['username_n'] = mb_substr($val['name'],0,1,'utf-8')."先生";
- }else{
- $ulist_rec[$k]['username_n'] = mb_substr($val['name'],0,1,'utf-8')."女士";
- }
- }elseif($config['user_name']==2){
- $ulist_rec[$k]['username_n'] = "NO.".$v['id'];
- }elseif($config['user_name']==4){
- $ulist_rec[$k]['username_n'] = $val['name'];
- }
- }
- }
- //更新时间显示方式
- $time=$v['lastupdate'];
- //今天开始时间戳
- $beginToday=mktime(0,0,0,date('m'),date('d'),date('Y'));
- //昨天开始时间戳
- $beginYesterday=mktime(0,0,0,date('m'),date('d')-1,date('Y'));
- if($time>$beginYesterday && $time<$beginToday){
- $ulist_rec[$k]['time'] = "昨天";
- }elseif($time>$beginToday){
- $ulist_rec[$k]['time'] = lastupdateStyle($v['lastupdate']);
- $ulist_rec[$k]['redtime'] =1;
- }else{
- $ulist_rec[$k]['time'] = date("Y-m-d",$v['lastupdate']);
- }
-
- // 前天
- $beforeYesterday=mktime(0,0,0,date('m'),date('d')-2,date('Y'));
-
- if($v['ctime']>$beforeYesterday){
- $ulist_rec[$k]['newtime'] =1;
- }
- $ulist_rec[$k]['user_jobstatus_n']=$userclass_name[$v['jobstatus']];
-// $ulist_rec[$k]['job_city_one']=$city_name[$v['provinceid']];
-// $ulist_rec[$k]['job_city_two']=$city_name[$v['cityid']];
-// $ulist_rec[$k]['job_city_three']=$city_name[$v['three_cityid']];
- if($v['minsalary']&&$v['maxsalary']){
- if($config['resume_salarytype']==1){
- $ulist_rec[$k]["salary_n"] = $v['minsalary']."-".$v['maxsalary'];
- }else{
- if($v[maxsalary]<1000){
- if($config['resume_salarytype']==2){
- $ulist_rec[$k]["salary_n"] = "1千以下";
- }elseif($config['resume_salarytype']==3){
- $ulist_rec[$k]["salary_n"] = "1K以下";
- }elseif($config['resume_salarytype']==4){
- $ulist_rec[$k]["salary_n"] = "1k以下";
- }
- }else{
- $ulist_rec[$k]["salary_n"] = changeSalary($v['minsalary'])."-".changeSalary($v['maxsalary']);
- }
- }
- }else if($v['minsalary']){
- if($config['resume_salarytype']==1){
- $ulist_rec[$k]["salary_n"] = $v['minsalary'];
- }else{
- $ulist_rec[$k]["salary_n"] = changeSalary($v['minsalary']);
- }
- }else{
- $ulist_rec[$k]["salary_n"] = "面议";
- }
- $ulist_rec[$k]['report_n']=$userclass_name[$v['report']];
- $ulist_rec[$k]['type_n']=$userclass_name[$v['type']];
- $ulist_rec[$k]['lastupdate']=date("Y-m-d",$v['lastupdate']);
-
- $ulist_rec[$k]['user_url']=Url("resume",array("c"=>"show","id"=>$v['id']),"1");
- $ulist_rec[$k]["hy_info"]=$industry_name[$v['hy']];
- if($paramer['top']){
- $ulist_rec[$k]['m_name']=$m_name[$v['uid']];
- $ulist_rec[$k]['user_url']=Url("ask",array("c"=>"friend","a"=>"myquestion","uid"=>$v['uid']));
- }
- $ulist_rec[$k]['work_content']=$workexpList[$v['id']]['work_content'];
- $ulist_rec[$k]['edu_content']=$workexpList[$v['id']]['edu_content'];
-
- $kjob_classid=@explode(",",$v['job_classid']);
- $kjob_classid=array_unique($kjob_classid);
- $jobname=array();
- if(is_array($kjob_classid)){
- foreach($kjob_classid as $val){
- if($val!=''){
- if($paramer['keyword']){
- $jobname[]=str_replace($paramer['keyword'],"<font color=#FF6600 >".$paramer['keyword']."</font>",$job_name[$val]);
- }else{
- $jobname[]=$job_name[$val];
- }
- }
- }
- }
- //$ulist_rec[$k]['job_post']=@implode(",",$jobname);
- $ulist_rec[$k]['expectjob']=$jobname;
- $kcity_classid=@explode(",",$v['city_classid']);
- $kcity_classid=array_unique($kcity_classid);
- $cityname=array();
- if(is_array($kcity_classid)){
- foreach($kcity_classid as $val){
- if($val!=''){
-
- $cityname[]=$city_name[$val];
-
- }
- }
- }
- //$ulist_rec[$k]['citylist']=@implode("/",$cityname);
- $ulist_rec[$k]['expectcity']=$cityname;
- //截取标题
- if($paramer['post_len']){
- $postname[$k]=@implode(",",$jobname);
- $ulist_rec[$k]['job_post_n']=mb_substr($postname[$k],0,$paramer[post_len],"utf-8");
- }
- if($paramer['city_len']){
- $scityname[$k]=@implode("/",$cityname);
- $ulist_rec[$k]['city_name_n']=mb_substr($scityname[$k],0,$paramer[city_len],"utf-8");
- }
- }
- foreach($ulist_rec as $k=>$v){
- if($paramer['keyword']){
- $ulist_rec[$k]['username_n']=str_replace($paramer['keyword'],"<font color=#FF6600 >".$paramer['keyword']."</font>",$v['username_n']);
- $ulist_rec[$k]['job_post']=str_replace($paramer['keyword'],"<font color=#FF6600 >".$paramer['keyword']."</font>",$ulist_rec[$k]['job_post']);
- $ulist_rec[$k]['job_post_n']=str_replace($paramer['keyword'],"<font color=#FF6600 >".$paramer['keyword']."</font>",$ulist_rec[$k]['job_post_n']);
- $ulist_rec[$k]['city_name_n']=str_replace($paramer['keyword'],"<font color=#FF6600 >".$paramer['keyword']."</font>",$ulist_rec[$k]['city_name_n']);
- }
- }
-
-
- if($paramer['keyword']!=""&&!empty($ulist_rec)){
- addkeywords('5',$paramer['keyword']);
- }
- }$ulist_rec = $ulist_rec; if (!is_array($ulist_rec) && !is_object($ulist_rec)) { settype($ulist_rec, 'array');}
-foreach ($ulist_rec as $_smarty_tpl->tpl_vars['ulist_rec']->key => $_smarty_tpl->tpl_vars['ulist_rec']->value) {
-$_smarty_tpl->tpl_vars['ulist_rec']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['ulist_rec']->key;
-?>
- <li>
- <div class="tjuser_photo"><img src='<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/images/lay-loding.png' lay-src="<?php echo $_smarty_tpl->tpl_vars['ulist_rec']->value['photo'];?>
-" width="80" height="80"></div>
- <div class="tjuser_name">
- <a <?php if ($_smarty_tpl->tpl_vars['config']->value['com_search']==1&&!$_smarty_tpl->tpl_vars['uid']->value) {?> href="javascript:showlogin(2);" <?php } elseif ($_smarty_tpl->tpl_vars['usertype']->value==1) {
-if ($_smarty_tpl->tpl_vars['config']->value['sy_user_change']==1) {?>onclick="layer.msg('请先申请企业用户', 2, 8)" <?php } else { ?>onclick="layer.msg('只有企业用户才能查看', 2, 8)"<?php }?> <?php } else { ?>href="<?php echo $_smarty_tpl->tpl_vars['ulist_rec']->value['user_url'];?>
-" target="_blank" <?php }?>>
- <?php if (in_array($_smarty_tpl->tpl_vars['ulist_rec']->value['id'],$_smarty_tpl->tpl_vars['eid']->value)) {?> <?php echo $_smarty_tpl->tpl_vars['ulist_rec']->value['uname'];?>
- <?php } else { ?> <?php echo mb_substr($_smarty_tpl->tpl_vars['ulist_rec']->value['username_n'],0,10,"utf-8");?>
- <?php }?>
- </a>
- </div>
- <div class="index_tjresume_user"></div>
- <div class="tjuser_nameinfo">
- <?php echo $_smarty_tpl->tpl_vars['ulist_rec']->value['age'];?>
-岁<i class="index_resume_userinfo_line">|</i><?php echo $_smarty_tpl->tpl_vars['ulist_rec']->value['exp_n'];?>
-经验<i class="index_resume_userinfo_line">|</i><?php echo $_smarty_tpl->tpl_vars['ulist_rec']->value['edu_n'];?>
-学历
- </div>
- <div class="tjuser_yx">
- 意向:<span class="index_resume_useryx_n"><?php echo $_smarty_tpl->tpl_vars['ulist_rec']->value['job_post_n'];?>
-</span>
- </div>
- </li>
- <?php } ?>
- </ul>
- </div>
-
- <!-- 最新人才 -->
- <div class="index_resume_user_list index_zw_item">
- <ul>
- <?php $_smarty_tpl->tpl_vars['ulist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['ulist']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
-$ulist=array();global $db,$db_config,$config;
- if(is_array($_GET)){
- foreach($_GET as $key=>$value){
- if($value=='0'){
- unset($_GET[$key]);
- }
- }
- }
- $paramer=array("item"=>"'ulist'","post_len"=>"10","limit"=>"16","key"=>"'key'","name"=>"'userlist1'","nocache"=>"")
-;
- $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
- $paramer = $ParamerArr[arr];
- $Purl = $ParamerArr[purl];
- global $ModuleName;
- if(!$Purl["m"]){
- $Purl["m"]=$ModuleName;
- }
-
- //处理类别字段
- include(CONFIG_PATH."db.data.php");
- $cache_array = $db->cacheget();
- $fscache_array = $db->fscacheget();
- $userclass_name = $cache_array["user_classname"];
- $city_name = $cache_array["city_name"];
- $city_index = $cache_array["city_index"];
- $job_name = $cache_array["job_name"];
- $job_index = $cache_array["job_index"];
- $job_type = $cache_array["job_type"];
- $industry_name = $cache_array["industry_name"];
- $city_parent = $fscache_array["city_parent"];
- $job_parent = $fscache_array["job_parent"];
-
- //是否属于分站下
- if($config['sy_web_site']=="1"){
- if($config[province]>0 && $config[province]!=""){
- $paramer[provinceid] = $config[province];
- }
- if($config['cityid']>0 && $config['cityid']!=""){
- $paramer['cityid']=$config['cityid'];
- }
- if($config['three_cityid']>0 && $config['three_cityid']!=""){
- $paramer['three_cityid']=$config['three_cityid'];
- }
- if($config['hyclass']>0 && $config['hyclass']!=""){
- $paramer['hy']=$config['hyclass'];
- }
- }
-
-
- $where = "a.`defaults`=1 and a.`state`=1 and a.`r_status`=1 AND a.`status`=1";
-
- //关注我公司的人才--条件
- if($paramer[where_uid]){
- $where .=" AND a.`uid` in (".$paramer['where_uid'].")";
- }
- //黑名单不能查看已拉黑的个人用户简历
- if($_COOKIE['uid']&&$_COOKIE['usertype']=="2"){
- $blacklist=$db->select_all("blacklist","`p_uid`='".$_COOKIE['uid']."'","c_uid");
- if(is_array($blacklist)&&$blacklist){
- foreach($blacklist as $v){
- $buid[]=$v['c_uid'];
- }
- $where .=" AND a.`uid` NOT IN (".@implode(",",$buid).")";
- }
- }
-
- //置顶
- if($paramer[topdate]){
- $where .=" AND a.`top`=1 AND a.`topdate`>'".time()."'";
- }
- if($paramer[top]){
- $where .=" AND a.`top`=1 AND a.`topdate`>'".time()."'";
- }
- //身份认证
- if($paramer[idcard]){
- $where .=" AND a.`idcard_status`=1";
- }
- //优质人才
- if($paramer[height_status]){
- $where .=" AND a.`height_status`=".$paramer[height_status];
- }
- //优质人才推荐
- if($paramer[rec]){
- $where .=" AND a.`rec`=1";
- }
- //普通推荐
- if($paramer[rec_resume]){
- $where .=" AND a.`rec_resume`=1";
- }
- //作品
- if($paramer[work]){
- $show=$db->select_all("resume_show","1 group by eid","`eid`");
- if(is_array($show)){
- foreach($show as $v){
- $eid[]=$v['eid'];
- }
- }
- $where .=" AND a.`id` in (".@implode(",",$eid).")";
- }
- //标签
- if($paramer[tag]){
- $tagname=$userclass_name[$paramer[tag]];
- $tag=$db->select_all("resume","`def_job`>0 and `r_status`=1 and `status`=1 and FIND_IN_SET('".$tagname."',`tag`)","`def_job`");
- if(is_array($tag)){
- foreach($tag as $v){
- $tagid[]=$v['def_job'];
- }
- }
- $where .=" AND a.`id` in (".@implode(",",$tagid).")";
- }
- //更新时间区间
- if($paramer[uptime]){
- if($paramer[uptime]==1){
- $beginToday=mktime(0,0,0,date('m'),date('d'),date('Y'));
- $where.=" AND a.`lastupdate`>$beginToday";
- }else{
- $time=time();
- $uptime = $time-($paramer[uptime]*86400);
- $where.=" AND a.`lastupdate`>$uptime";
- }
- }else{
- if($config[sy_datacycle]>0){
- // 后台-页面设置-数据周期
- $uptime = strtotime('-'.$config[sy_datacycle].' day');
- $where.=" AND a.`lastupdate`>$uptime";
- }
- }
- //添加时间区间,即审核时间
- if($paramer[adtime]){
- $time=time();
- $adtime = $time-($paramer[adtime]*86400);
- $where.=" AND a.`status_time`>$adtime";
- }
- //是否有照片
- if($paramer[pic]=="1"){
- $where .=" AND a.`photo`<>'' AND a.`phototype`!=1 AND a.`defphoto` = 1";
- }
- //行业
- if($paramer['hy']!=""){
- $where .= " AND a.`hy` IN (".$paramer['hy'].")";
- }
-
-
- $job_col = $city_col = "";
- $cjwhere = "";
- if($paramer[three_cityid]){
- $city_col = "three_cityid";
- $cjwhere .= " AND cj.`$city_col`= $paramer[three_cityid]";
- }elseif($paramer[cityid]){
- $city_col = "cityid";
- $cjwhere .= " AND cj.`$city_col`= $paramer[cityid]";
- }elseif($paramer[provinceid]){
- $city_col = "provinceid";
- $cjwhere .= " AND cj.`$city_col`= $paramer[provinceid]";
- }
- //城市区间,不建议执行该查询
- if($paramer[cityin]){
- if($city_parent[$paramer[cityin]]=='0'){
- $city_col = "provinceid";
- $cjwhere .= " AND cj.`$city_col` = $paramer[cityin]";
- }elseif(in_array($city_parent[$paramer[cityin]],$city_index)){
- $city_col = "cityid";
- $cjwhere .= " AND cj.`$city_col` = $paramer[cityin]";
- }elseif($city_parent[$paramer[cityin]]>0){
- $city_col = "three_cityid";
- $cjwhere .= " AND cj.`$city_col` = $paramer[cityin]";
- }
- }
- if($paramer[job_post]){
- $job_col = "job_post";
- $cjwhere .= " AND cj.`$job_col`= $paramer[job_post]";
- }elseif($paramer[job1_son]){
- $job_col = "job1_son";
- $cjwhere .= " AND cj.`$job_col`= $paramer[job1_son]";
- }elseif($paramer[job1]){
- $job_col = "job1";
- $cjwhere .= " AND cj.`$job_col`= $paramer[job1]";
- }
- //职位区间,不建议执行该查询
- if($paramer[jobin]){
- if($job_parent[$paramer[jobin]]=='0'){
- $job_col = "job1";
- $cjwhere .=" AND cj.`$job_col`= $paramer[jobin]";
- }elseif(in_array($job_parent[$paramer[jobin]],$job_index)){
- $job_col = "job1_son";
- $cjwhere .=" AND cj.`$job_col`= $paramer[jobin]";
- }elseif($job_parent[$paramer[jobin]]>0){
- $job_col = "job_post";
- $cjwhere .=" AND cj.`$job_col`= $paramer[jobin]";
- }
- }
- // 拼接唯一标识字段
- if($city_col || $job_col){
- if($city_col && $job_col){
- $cjwhere .= " AND cj.`{$city_col}_{$job_col}_num`= 1";
- }elseif($city_col){
- $cjwhere .= " AND cj.`{$city_col}_num`= 1";
- }elseif($job_col){
- $cjwhere .= " AND cj.`{$job_col}_num`= 1";
- }
- }
-
- //工作经验
- if($paramer[exp]){
-
- $expKey = $db->DB_select_once("userclass", "`variable` = 'user_word'", "`id`");
- $expReq = $db->DB_select_once("userclass", "`id` = $paramer[exp]", "`sort`,`name`");
- if($expReq[name] != "不限"){
-
- $expArr = $db->select_all("userclass", "`keyid` = $expKey[id] AND `sort` >= $expReq[sort]", "`id`");
- $expIds = array();
- foreach($expArr as $v){
- $expIds[] = $v[id];
- }
- $where .= " AND a.`exp` in (".@implode(",",$expIds).")";
- }
- }
- //学历
- if($paramer[edu]){
-
- $eduKey = $db->DB_select_once("userclass", "`variable` = 'user_edu'", "`id`");
- $eduReq = $db->DB_select_once("userclass", "`id` = $paramer[edu]", "`sort`,`name`");
- if($eduReq[name] != "不限"){
-
- $eduArr = $db->select_all("userclass", "`keyid` = $eduKey[id] AND `sort` >= $eduReq[sort]", "`id`");
- $eduIds = array();
- foreach($eduArr as $v){
- $eduIds[] = $v[id];
- }
-
- $where .= " AND a.`edu` in (".@implode(",",$eduIds).")";
- }
- }
- //性别
- if($paramer[sex]){
- $where .=" AND a.`sex`=$paramer[sex]";
- }
- //到岗时间
- if($paramer[report]){
- $where .=" AND a.`report`=$paramer[report]";
- }
- //工作性质
- if($paramer[type]){
- $where .= " AND a.`type`=$paramer[type]";
- }
- if($paramer[notid]){
- $where.= " and `id`<>$paramer[notid]";
- }
- //简历完整度
-
-
- if($paramer[integrity]){
- $integrityR = $arr_data["integrity_val"];
-
- $where.= " AND a.`integrity`>='".$integrityR[$paramer[integrity]]."'";
-
- }
-
- //关键字
- if($paramer[keyword]){
- $where1 = array();
- $where1[]="a.`name` LIKE '%$paramer[keyword]%'";
- $where1[]="a.`uname` LIKE '%$paramer[keyword]%'";
-
- //搜索工作经历
- $workList = $db->select_all('resume_work',"`title` LIKE '%$paramer[keyword]%' OR `content` LIKE '%$paramer[keyword]%' ORDER BY id DESC limit 500","`eid`");
- if(!empty($workList)){
- $workId = array();
- foreach($workList as $value){
- $workId[] = $value['eid'];
- }
- $where1[] = "a.id IN (".implode(',',$workId).")";
- }
-
- $where.=" AND (".@implode(" or ",$where1).")";
- }
- //薪资待遇
- if($paramer[minsalary]&&$paramer[maxsalary]){
- $where.= " AND ((a.`minsalary`<=".intval($paramer[minsalary])." and a.`maxsalary`>=".intval($paramer[minsalary]).")
- or (a.`minsalary`<=".intval($paramer[maxsalary])." and a.`maxsalary`>=".intval($paramer[maxsalary])."))";
- }elseif($paramer[minsalary]&&!$paramer[maxsalary]){
- $where.= " AND ((a.`minsalary`<=".intval($paramer[minsalary])." and a.`maxsalary`>=".intval($paramer[minsalary]).")
- or (a.`minsalary`>=".intval($paramer[minsalary])." and a.`maxsalary`>=".intval($paramer[minsalary]).")
- or (a.`minsalary`!=0 and a.`maxsalary`=0))";
- }elseif(!$paramer[minsalary]&&$paramer[maxsalary]){
- $where.= " AND ((a.`minsalary`<=".intval($paramer[maxsalary])." and a.`maxsalary`>=".intval($paramer[maxsalary]).")
- or (a.`minsalary`<=".intval($paramer[maxsalary])." and a.`maxsalary`<=".intval($paramer[maxsalary]).")
- or (a.`minsalary`<=".intval($paramer[maxsalary])." and a.`maxsalary`=0)
- or (a.`minsalary`=0 and a.`maxsalary`!=0)
- )";
- }
- //年龄
- if($paramer[minage]&&$paramer[maxage]){
- $mintime=date("Y-m-d",strtotime("-".$paramer[minage]." year"));
- $maxtime=date("Y-m-d",strtotime("-".$paramer[maxage]." year"));
- $where.= " AND a.`birthday`>= '".$maxtime."' and a.`birthday`<='".$mintime."'";
- }elseif($paramer[minage]&&!$paramer[maxage]){
- $mintime=date("Y-m-d",strtotime("-".$paramer[minage]." year"));
- $where.= " AND a.`birthday`<='".$mintime."'";
- }elseif(!$paramer[minage]&&$paramer[maxage]){
- $maxtime=date("Y-m-d",strtotime("-".$paramer[maxage]." year"));
- $where.= " AND a.`birthday`>='".$maxtime."'";
- }
- //排序字段默认为更新时间
- if($paramer[order] && $paramer[order]!="lastdate"){
- if($paramer[order]=='topdate'){
- $nowtime=time();
- $order = " ORDER BY if(a.`topdate`>$nowtime,a.`topdate`,a.`lastupdate`) ";
- }else{
- $order = " ORDER BY a.`".$paramer[order]."` ";
- }
- }else{
- $order = " ORDER BY a.`lastupdate` ";
- }
- //排序规则 默认为倒序
- $sort = $paramer[sort]?$paramer[sort]:"DESC";
- //查询条数
- if($paramer[limit]){
- $limit=" LIMIT ".$paramer[limit];
- }
- //自定义查询条件,默认取代上面任何参数直接使用该语句
- if($paramer[where]){
- $where = $paramer[where];
- }
- $pagewhere = "";$joinwhere = "";
- if($cjwhere){
- $pagewhere.=" ,`".$db_config[def]."resume_city_job_class` cj ";
- $joinwhere .= " a.`id`=cj.`eid` " . $cjwhere;
- }
-
- if($paramer[ispage]){
- // 查询分页
- if($paramer["height_status"]){
- $limit = PageNav($paramer,$_GET,"resume_expect",$where,$Purl,"",$paramer[islt]?$paramer[islt]:"3",$_smarty_tpl,$pagewhere,$joinwhere);
- }else{
- $limit = PageNav($paramer,$_GET,"resume_expect",$where,$Purl,"","0",$_smarty_tpl,$pagewhere,$joinwhere);
- }
- }
-
- if($paramer[topdate] && $_GET[page]>1){
- $ulist = array();
- }else{
-
- $select="a.`id`,a.`uid`,a.`name`,a.`hy`,a.`job_classid`,a.`city_classid`,a.`jobstatus`,a.`type`,a.`report`,a.`lastupdate`,a.`rec`,a.`top`,a.`topdate`,a.`rec_resume`,a.`ctime`,a.`uname`,a.`idcard_status`,a.`minsalary`,a.`maxsalary`";
- if($pagewhere!=""){
-
- $sql = "select ".$select." from `".$db_config[def]."resume_expect` a ".$pagewhere." where ".$joinwhere." and ".$where.$order.$sort.$limit;
-
- $ulist=$db->DB_query_all($sql,"all");
-
- }else{
- $sql = "select ".$select." from `".$db_config[def]."resume_expect` a where ".$where.$order.$sort.$limit;
-
- $ulist=$db->DB_query_all($sql,"all");
- }
- }
-
- if(!empty($ulist) && is_array($ulist)){
-
- //如果存在top,则说明请求来自排行榜页面
- if($paramer['top']){
- $uids=$m_name=array();
- foreach($ulist as $k=>$v){
- $uids[]=$v[uid];
- }
-
- $member=$db->select_all($db_config[def]."member","`uid` in(".@implode(',',$uids).")","uid,username");
- foreach($member as $val){
- $m_name[$val[uid]]=$val['username'];
- }
- }
- $uid = $eid = array();
- foreach($ulist as $key=>$value){
-
- $uid[] = $value['uid'];
- $eid[] = $value['id'];
- }
- $eids = @implode(',',$eid);
- $uids = @implode(',',$uid);
- $resume=$db->select_all("resume","`uid` in(".$uids.")","uid,name,nametype,tag,sex,moblie_status,edu,exp,defphoto,photo,phototype,photo_status,birthday");
- foreach($resume as $v){
- $ruids[] = $v['uid'];
- }
- foreach($ulist as $k=>$v){
- if(!in_array($v['uid'],$ruids)){
- unset($ulist[$k]);
- continue;
- }
- }
- if($paramer[topdate]){
- $noids=array();
- }
-
- if($paramer[workexp] == 1){
- $eduList = $db -> select_all("resume_edu","`eid` in(".$eids.")");
- if(!empty($eduList)){
- foreach($eduList as $key=>$value){
- $eduListNew[$value['eid']][] = $value;
- }
- foreach($eduListNew as $k=>$eduv){
- $edumin = 0;
- $edumax = 0;
- $edutitle = array();
- $education = array();
- foreach($eduv as $v){
- if($v['sdate']>0 && $edumin==0){
- $edumin = $v['sdate'];
- }elseif($edumin>$v['sdate']){
- $edumin = $v['sdate'];
- }
- if($v['edate']==0 ){
- $edumax = 0;
- }elseif($edumax<$v['edate']){
- $edumax = $v['edate'];
- }
-
- $education[] = $userclass_name[$v['education']];
-
- $edutitle[] = $v['specialty'];
- }
- $return =array();
- $return['edumin'] = date('Y-m',$edumin);
- $return['edumax'] = $edumax == 0 ? '至今': date('Y',$edumax);
- $return['education'] = @implode(',',$education);
- $return['eduspecialty'] = @implode('、',$edutitle);
-
- $return['edu_time'] = $return['edumin']."-".$return['edumax'];
-
- if($return['eduspecialty']){
- $workexpList[$k]['edu_content'] = $return['education'].'学历 ▪ '.$return['eduspecialty'].' ▪ 毕业于'.$return['edumax'].'年';
- }else{
- $workexpList[$k]['edu_content'] = $return['education'].'学历 ▪ 毕业于'.$return['edumax'].'年';
- }
- }
-
- }
-
- $workList = $db -> select_all("resume_work","`eid` in(".$eids.")");
- if(!empty($workList)){
- foreach($workList as $key=>$value){
- $workListNew[$value['eid']][] = $value;
- }
- foreach($workListNew as $k=>$workv){
-
- $whour = 0;
- $hour = array();
- $time = time();
- $workmin = 0;
- $workmax = 0;
- $worknum = count($workv);
- $wtitle = array();
- foreach($workv as $v){
- /* 计算每份工作时长(按月) */
-
- if($v['sdate']>0 && $workmin==0){
- $workmin = $v['sdate'];
- }elseif($workmin>$v['sdate']){
- $workmin = $v['sdate'];
- }
-
- if($v['edate']==0 ){
- $workmax = 0;
- }elseif($workmax<$v['edate']){
- $workmax = $v['edate'];
- }
-
- $wtitle[] = $v['title'];
-
- $hour[] = $workTime;
- $whour += $workTime;
- }
-
- $workavg = ceil($whour/count($hour));
- $return = array();
- $return['worknum'] = $worknum > 0 ? $worknum:0;
- $return['workavg'] = $workavg > 0 ? $workavg:0;
- $return['workmin'] = date('Y-m',$workmin);
- $return['workmax'] = $workmax == 0 ? '至今': date('Y-m',$workmax);
- $return['worktit'] = @implode(',',$wtitle);
-
- $return['work_time'] = $return['workmin'].'-'.$return['workmax'];
-
- if($return['worktit']!=''){
- $workexpList[$k]['work_content'] = ' 参加过'.$return['worknum'].'份工作 ▪ 涉及'.$return['worktit'].'等岗位';
- }else{
- $workexpList[$k]['work_content'] = ' 参加过'.$return['worknum'].'份工作';
- }
- }
- }
- }
- foreach($ulist as $k=>$v){
- if($paramer[topdate]){
- $noids[] = $v[id];
- }
- //筛除重复
- if($paramer[noid]=='1' && !empty($noids) && in_array($v['id'],$noids)){
- unset($ulist[$k]);
- continue;
- }
- foreach($resume as $val){
- if($v['uid']==$val['uid']){
- $ulist[$k]['edu_n']=$userclass_name[$val['edu']];
- $ulist[$k]['exp_n']=$userclass_name[$val['exp']];
- if($val['birthday']){
- $year = date("Y",strtotime($val['birthday']));
- $ulist[$k]['age'] =date("Y")-$year;
- }
- if($val['sex']==152){
- $val['sex']='1';
- }elseif ($val['sex']==153){
- $val['sex']='2';
- }
- $ulist[$k]['sex'] =$arr_data[sex][$val['sex']];
- $ulist[$k]['phototype']=$val[phototype];
- $photo=$icon="";
- if($val['defphoto']==2){
- $photo=$val['photo'];
- }else{
- if($config['user_pic']==1 || empty($config['user_pic'])){
- if($val['photo'] && $val['photo_status']==0 && $val['phototype']!=1){
- $photo=$val['photo'];
- }else{
- if($val['sex']==1){
- $icon=$config['sy_member_icon'];
- }else{
- $icon=$config['sy_member_iconv'];
- }
- }
-
- }elseif($config['user_pic']==2){
- if($val['photo']&& $val['photo_status']==0){
- $photo=$val['photo'];
- }else{
- if($val['sex']==1){
- $icon=$config['sy_member_icon'];
- }else{
- $icon=$config['sy_member_iconv'];
- }
- }
- }elseif($config['user_pic']==3){
- if($val['sex']==1){
- $icon=$config['sy_member_icon'];
- }else{
- $icon=$config['sy_member_iconv'];
- }
- }
- }
- $ulist[$k]['photo']=checkpic($photo,$icon);
- if($val['tag']){
- $ulist[$k]['tag']=explode(',',$val['tag']);
- }
- $ulist[$k]['nametype']=$val[nametype];
- $ulist[$k]['moblie_status']=$val[moblie_status];
- //名称显示处理
- if($config['user_name']==1 || !$config['user_name']){
- if($val['nametype']==3){
- if($val['sex']==1){
- $ulist[$k]['username_n'] = mb_substr($val['name'],0,1,'utf-8')."先生";
- }else{
- $ulist[$k]['username_n'] = mb_substr($val['name'],0,1,'utf-8')."女士";
- }
- }elseif($val['nametype']==2){
- $ulist[$k]['username_n'] = "NO.".$v['id'];
- }else{
- $ulist[$k]['username_n'] = $val['name'];
- }
- }elseif($config['user_name']==3){
- if($val['sex']==1){
- $ulist[$k]['username_n'] = mb_substr($val['name'],0,1,'utf-8')."先生";
- }else{
- $ulist[$k]['username_n'] = mb_substr($val['name'],0,1,'utf-8')."女士";
- }
- }elseif($config['user_name']==2){
- $ulist[$k]['username_n'] = "NO.".$v['id'];
- }elseif($config['user_name']==4){
- $ulist[$k]['username_n'] = $val['name'];
- }
- }
- }
- //更新时间显示方式
- $time=$v['lastupdate'];
- //今天开始时间戳
- $beginToday=mktime(0,0,0,date('m'),date('d'),date('Y'));
- //昨天开始时间戳
- $beginYesterday=mktime(0,0,0,date('m'),date('d')-1,date('Y'));
- if($time>$beginYesterday && $time<$beginToday){
- $ulist[$k]['time'] = "昨天";
- }elseif($time>$beginToday){
- $ulist[$k]['time'] = lastupdateStyle($v['lastupdate']);
- $ulist[$k]['redtime'] =1;
- }else{
- $ulist[$k]['time'] = date("Y-m-d",$v['lastupdate']);
- }
-
- // 前天
- $beforeYesterday=mktime(0,0,0,date('m'),date('d')-2,date('Y'));
-
- if($v['ctime']>$beforeYesterday){
- $ulist[$k]['newtime'] =1;
- }
- $ulist[$k]['user_jobstatus_n']=$userclass_name[$v['jobstatus']];
-// $ulist[$k]['job_city_one']=$city_name[$v['provinceid']];
-// $ulist[$k]['job_city_two']=$city_name[$v['cityid']];
-// $ulist[$k]['job_city_three']=$city_name[$v['three_cityid']];
- if($v['minsalary']&&$v['maxsalary']){
- if($config['resume_salarytype']==1){
- $ulist[$k]["salary_n"] = $v['minsalary']."-".$v['maxsalary'];
- }else{
- if($v[maxsalary]<1000){
- if($config['resume_salarytype']==2){
- $ulist[$k]["salary_n"] = "1千以下";
- }elseif($config['resume_salarytype']==3){
- $ulist[$k]["salary_n"] = "1K以下";
- }elseif($config['resume_salarytype']==4){
- $ulist[$k]["salary_n"] = "1k以下";
- }
- }else{
- $ulist[$k]["salary_n"] = changeSalary($v['minsalary'])."-".changeSalary($v['maxsalary']);
- }
- }
- }else if($v['minsalary']){
- if($config['resume_salarytype']==1){
- $ulist[$k]["salary_n"] = $v['minsalary'];
- }else{
- $ulist[$k]["salary_n"] = changeSalary($v['minsalary']);
- }
- }else{
- $ulist[$k]["salary_n"] = "面议";
- }
- $ulist[$k]['report_n']=$userclass_name[$v['report']];
- $ulist[$k]['type_n']=$userclass_name[$v['type']];
- $ulist[$k]['lastupdate']=date("Y-m-d",$v['lastupdate']);
-
- $ulist[$k]['user_url']=Url("resume",array("c"=>"show","id"=>$v['id']),"1");
- $ulist[$k]["hy_info"]=$industry_name[$v['hy']];
- if($paramer['top']){
- $ulist[$k]['m_name']=$m_name[$v['uid']];
- $ulist[$k]['user_url']=Url("ask",array("c"=>"friend","a"=>"myquestion","uid"=>$v['uid']));
- }
- $ulist[$k]['work_content']=$workexpList[$v['id']]['work_content'];
- $ulist[$k]['edu_content']=$workexpList[$v['id']]['edu_content'];
-
- $kjob_classid=@explode(",",$v['job_classid']);
- $kjob_classid=array_unique($kjob_classid);
- $jobname=array();
- if(is_array($kjob_classid)){
- foreach($kjob_classid as $val){
- if($val!=''){
- if($paramer['keyword']){
- $jobname[]=str_replace($paramer['keyword'],"<font color=#FF6600 >".$paramer['keyword']."</font>",$job_name[$val]);
- }else{
- $jobname[]=$job_name[$val];
- }
- }
- }
- }
- //$ulist[$k]['job_post']=@implode(",",$jobname);
- $ulist[$k]['expectjob']=$jobname;
- $kcity_classid=@explode(",",$v['city_classid']);
- $kcity_classid=array_unique($kcity_classid);
- $cityname=array();
- if(is_array($kcity_classid)){
- foreach($kcity_classid as $val){
- if($val!=''){
-
- $cityname[]=$city_name[$val];
-
- }
- }
- }
- //$ulist[$k]['citylist']=@implode("/",$cityname);
- $ulist[$k]['expectcity']=$cityname;
- //截取标题
- if($paramer['post_len']){
- $postname[$k]=@implode(",",$jobname);
- $ulist[$k]['job_post_n']=mb_substr($postname[$k],0,$paramer[post_len],"utf-8");
- }
- if($paramer['city_len']){
- $scityname[$k]=@implode("/",$cityname);
- $ulist[$k]['city_name_n']=mb_substr($scityname[$k],0,$paramer[city_len],"utf-8");
- }
- }
- foreach($ulist as $k=>$v){
- if($paramer['keyword']){
- $ulist[$k]['username_n']=str_replace($paramer['keyword'],"<font color=#FF6600 >".$paramer['keyword']."</font>",$v['username_n']);
- $ulist[$k]['job_post']=str_replace($paramer['keyword'],"<font color=#FF6600 >".$paramer['keyword']."</font>",$ulist[$k]['job_post']);
- $ulist[$k]['job_post_n']=str_replace($paramer['keyword'],"<font color=#FF6600 >".$paramer['keyword']."</font>",$ulist[$k]['job_post_n']);
- $ulist[$k]['city_name_n']=str_replace($paramer['keyword'],"<font color=#FF6600 >".$paramer['keyword']."</font>",$ulist[$k]['city_name_n']);
- }
- }
-
-
- if($paramer['keyword']!=""&&!empty($ulist)){
- addkeywords('5',$paramer['keyword']);
- }
- }$ulist = $ulist; if (!is_array($ulist) && !is_object($ulist)) { settype($ulist, 'array');}
-foreach ($ulist as $_smarty_tpl->tpl_vars['ulist']->key => $_smarty_tpl->tpl_vars['ulist']->value) {
-$_smarty_tpl->tpl_vars['ulist']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['ulist']->key;
-?>
- <li>
- <div class="index_resume_user">
- <a <?php if ($_smarty_tpl->tpl_vars['config']->value['com_search']==1&&!$_smarty_tpl->tpl_vars['uid']->value) {?> href="javascript:showlogin(2);" <?php } elseif ($_smarty_tpl->tpl_vars['usertype']->value==1) {
-if ($_smarty_tpl->tpl_vars['config']->value['sy_user_change']==1) {?>onclick="layer.msg('请先申请企业用户', 2, 8)" <?php } else { ?>onclick="layer.msg('只有企业用户才能查看', 2, 8)"<?php }?> <?php } else { ?>href="<?php echo $_smarty_tpl->tpl_vars['ulist']->value['user_url'];?>
-" target="_blank" <?php }?> class="index_resume_username">
- <img src='<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/images/lay-loding.png' lay-src="<?php echo $_smarty_tpl->tpl_vars['ulist']->value['photo'];?>
-" width="30" height="30">
- <?php if (in_array($_smarty_tpl->tpl_vars['ulist']->value['id'],$_smarty_tpl->tpl_vars['eid']->value)) {?> <?php echo $_smarty_tpl->tpl_vars['ulist']->value['uname'];?>
- <?php } else { ?> <?php echo mb_substr($_smarty_tpl->tpl_vars['ulist']->value['username_n'],0,10,"utf-8");?>
- <?php }?>
- </a>
- </div>
- <div class="index_resume_userinfo">
- <?php echo $_smarty_tpl->tpl_vars['ulist']->value['sex'];?>
-<i class="index_resume_userinfo_line">|</i><?php echo $_smarty_tpl->tpl_vars['ulist']->value['age'];?>
-岁<i class="index_resume_userinfo_line">|</i><?php echo $_smarty_tpl->tpl_vars['ulist']->value['exp_n'];?>
-经验<i class="index_resume_userinfo_line">|</i><?php echo $_smarty_tpl->tpl_vars['ulist']->value['edu_n'];?>
-学历
- </div>
- <div class="index_resume_useryx">
- 意向:<span class="index_resume_useryx_n"><?php echo $_smarty_tpl->tpl_vars['ulist']->value['job_post_n'];?>
-</span>
- </div>
- </li>
- <?php } ?>
- </ul>
- </div>
- <div class="yunheader_60lookmore"><a href="<?php echo smarty_function_url(array('m'=>'resume','c'=>'search'),$_smarty_tpl);?>
-">查看更多</a></div>
- </div>
-
- <div class="index_zl_box">
- <div class="yunheader_60_tit"><a href="<?php echo smarty_function_url(array('m'=>'article'),$_smarty_tpl);?>
-" target="_blank" class="yunheader_60_tit_a"><i class="yunheader_60_tit_line"></i>职场资讯<i class="yunheader_60_tit_rline"></i></a></div>
- <div class="yunheader_60_tit_p" data-no='1'>您关心的职场头条</div>
- <div class="index_news_box60">
- <div class="index_news_box">
- <!--图文循环-->
- <?php $_smarty_tpl->tpl_vars['plist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['plist']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
-
- global $db,$db_config,$config;
- include PLUS_PATH.'/group.cache.php';$plist= array();
- $rs = null;
- $nids = null;
-
- $paramer = array("item"=>"'plist'","type"=>"'t'","pic"=>"1","urlstatic"=>"1","t_len"=>"20","limit"=>"2","key"=>"'key'","name"=>"'newlistpic'","nocache"=>"")
-;
-
- $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
-
- $paramer = $ParamerArr['arr'];
-
- $Purl = $ParamerArr['purl'];
-
- if($paramer[cache]){
-
- $Purl = "{{page}}.html";
- }
-
- global $ModuleName;
-
- if(!$Purl["m"]){
- $Purl["m"]=$ModuleName;
- }
-
- $where=1;
-
- $where .=" and (`starttime`<=".time()." or `starttime`=0 or `starttime` is null)";
-
- $where .=" and (`endtime`>".time()." or `endtime`=0 or `endtime` is null)";
-
- if($config['did']){
-
- $where .= " and (`did`='".$config['did']."' or `did`=-1)";
- }else{
-
- $where .= " and (`did`=-1 OR `did`=0 OR did='')";
- }
-
- include PLUS_PATH."/group.cache.php";
- if($paramer['nid']){
- $nid_s = @explode(',',$paramer[nid]);
- foreach($nid_s as $v){
- if($group_type[$v]){
- $paramer[nid] = $paramer[nid].",".@implode(',',$group_type[$v]);
- }
- }
- }
-
- if($paramer['nid']!="" && $paramer['nid']!=0){
- $where .=" AND `nid` in ($paramer[nid])";
- $nids = @explode(',',$paramer['nid']);
- $paramer['nid']=$paramer['nid'];
- }else if($paramer['rec']!=""){
- $nids=array();
- if(is_array($group_rec)){
- foreach($group_rec as $key=>$value){
- if($key<=2){
- $nids[]=$value;
- }
- }
- $paramer[nid]=@implode(',',$nids);
- }
- }
-
- if($paramer['type']){
- $type = str_replace("\"","",$paramer[type]);
- $type_arr = @explode(",",$type);
- if(is_array($type_arr) && !empty($type_arr)){
- foreach($type_arr as $key=>$value){
- $where .=" AND FIND_IN_SET('".$value."',`describe`)";
- if(count($nids)>0){
- $picwhere .=" AND FIND_IN_SET('".$value."',`describe`)";
- }
- }
- }
- }
-
- //拼接补充SQL条件
- if($paramer['pic']!=""){
- $where .=" AND `newsphoto`<>''";
- }
-
- //新闻搜索
- if($paramer['keyword']!=""){
- $where .=" AND `title` LIKE '%".$paramer[keyword]."%'";
- }
-
- //拼接查询条数
- if(intval($paramer['limit'])>0){
- $limit = intval($paramer['limit']);
- $limit = " limit ".$limit;
- }
-
- if($paramer['ispage']){
- if($Purl["m"]=="wap"){
- $limit = PageNav($paramer,$_GET,"news_base",$where,$Purl,"","6",$_smarty_tpl);
- }else{
- $limit = PageNav($paramer,$_GET,"news_base",$where,$Purl,"","5",$_smarty_tpl);
- }
- }
-
- //拼接字段排序
- if($paramer['order']!=""){
- $where .=" ORDER BY $paramer[order]";
- }else{
- $where .=" ORDER BY `starttime`";
- }
-
- //排序方式默认倒序
- if($paramer['sort']){
- $where.=" ".$paramer[sort];
- }else{
- $where.=" DESC";
- }
-
- //多类别新闻查找
- if(!intval($paramer['ispage']) && count($nids)>0){
-
- $nidArr = @explode(',',$paramer[nid]);
- $rsnids = array();
- if(is_array($group_type)){
- foreach($group_type as $key=>$value){
- if(in_array($key,$nidArr)){
- if(is_array($value)){
- foreach($value as $v){
- $rsnids[$v] = $key;
- $nidArr[] = $v;
- }
- }
- }
- }
- }
-
- $where = " `nid` IN (".@implode(',',$nidArr).")";
-
- if($config['did']){
- $where.=" and `did`='".$config['did']."'";
- }
-
- //查询带图新闻
- if($paramer['pic']){
- if(!$paramer['piclimit']){
- $piclimit = 1;
- }else{
- $piclimit = $paramer['piclimit'];
- }
-
- $db->query("set @f=0,@n=0");
-
- $query = $db->query("select * from (select id,title,color,datetime,starttime,description,newsphoto,@n:=if(@f=nid,@n:=@n+1,1) as aid,@f:=nid as nid from $db_config[def]news_base WHERE ".$where." AND `newsphoto` <>'' order by nid asc,starttime desc) a where aid <=".$piclimit);
-
- $conque = $db->select_all("news_content","1 order by nbid desc".$limit);
-
- foreach($conque as $cv){
- $newcon[$cv[nbid]]=$cv;
- }
- while($rs = $db->fetch_array($query)){
-
- if($rsnids[$rs['nid']]){
- $rs['nid'] = $rsnids[$rs['nid']];
- }
-
- //处理标题长度
- if(intval($paramer[t_len])>0){
- $len = intval($paramer[t_len]);
- $rs[title_n] = $rs[title];
- $rs[title] = mb_substr($rs[title],0,$len,"utf-8");
- }
-
- if($rs[color]){
- $rs[title] = "<font color='".$rs[color]."'>".$rs[title]."</font>";
- }
-
- //处理描述内容长度
- if(intval($paramer[d_len])>0){
- $len = intval($paramer[d_len]);
- $rs[description] = mb_substr($rs[description],0,$len,"utf-8");
- }
-
- $rs['name'] = $group_name[$rs['nid']];
-
- //构建资讯静态链接
- if($config[sy_news_rewrite]=="2"){
- $rs["url"]=$config['sy_weburl']."/news/".date("Ymd",$rs["datetime"])."/".$rs[id].".html";
- }else{
- $rs["url"] = Url("article",array("c"=>"show","id"=>$rs[id]),"1");
- }
-
- if(mb_substr($rs[newsphoto],0,4)=="http"){
- $rs["picurl"]=$rs[newsphoto];
- }else{
- if($rs['newsphoto']==""){
- $content=str_replace(array('"',"'"),array("",""),$newcon[$rs[id]]["content"]);
- preg_match_all("/<img[^>]+src=(.*?)\s[^>]+>/im",$content,$res);
- $str=str_replace("\\","",$res[1][0]);
- if($str){
- $rs[newsphoto]=".".$str;
- }
- }
- $nopic=$config[sy_weburl]."/app/template/".$config[style]."/images/nopic.gif";
-
- $rs["picurl"] = checkpic($rs['newsphoto'],$nopic);
-
- }
-
- $rs[time]=date("Y-m-d",$rs[starttime]);
- $rs['starttime']=date("m-d",$rs[starttime]);
- if(count($plist[$rs['nid']]['pic'])<$piclimit){
- $plist[$rs['nid']]['pic'][] = $rs;
- }
- }//end while
- }
-
- $db->query("set @f=0,@n=0");
- $query = $db->query("select * from (select id,title,datetime,starttime,color,description,newsphoto,@n:=if(@f=nid,@n:=@n+1,1) as aid,@f:=nid as nid from $db_config[def]news_base WHERE ".$where." order by nid asc,starttime desc) a where aid <=$paramer[limit]");
-
- while($rs = $db->fetch_array($query)){
- if($rsnids[$rs['nid']]){
- $rs['nid'] = $rsnids[$rs['nid']];
- }
-
- //处理标题长度
- if(intval($paramer[t_len])>0){
- $len = intval($paramer[t_len]);
- $rs[title_n] = $rs[title];
- $rs[title] = mb_substr($rs[title],0,$len,"utf-8");
- }
-
- if($rs[color]){
- $rs[title] = "<font color='".$rs[color]."'>".$rs[title]."</font>";
- }
-
- //处理描述内容长度
- if(intval($paramer[d_len])>0){
- $len = intval($paramer[d_len]);
- $rs[description] = mb_substr($rs[description],0,$len,"utf-8");
- }
-
- //获取所属类别名称
- $rs['name'] = $group_name[$rs['nid']];
-
- //构建资讯静态链接
- if($config[sy_news_rewrite]=="2"){
- $rs["url"]=$config['sy_weburl']."/news/".date("Ymd",$rs["datetime"])."/".$rs[id].".html";
- }else{
- $rs["url"] = Url("article",array("c"=>"show","id"=>$rs[id]),"1");
- }
-
- if(mb_substr($rs[newsphoto],0,4)=="http"){
- $rs["picurl"]=$rs[newsphoto];
- }else{
- if($rs['newsphoto']==""){
- $rs["picurl"] = $config[sy_weburl]."/app/template/".$config[style]."/images/nopic.gif";
- }else{
- $rs["picurl"] = checkpic($rs['newsphoto']);
- }
- }
-
- $rs[time]=date("Y-m-d",$rs[starttime]);
- $rs[starttime]=date("m-d",$rs[starttime]);
- if(count($plist[$rs['nid']]['arclist'])<$paramer[limit]){
- $plist[$rs['nid']]['arclist'][] = $rs;
- }
- }//end while
-
- }//end if(!intval($paramer['ispage']) && count($nids)>0)
- else{
- $query = $db->query("SELECT * FROM `$db_config[def]news_base` WHERE ".$where.$limit);
-
- while($rs = $db->fetch_array($query)){
- //处理标题长度
- if(intval($paramer[t_len])>0){
- $len = intval($paramer[t_len]);
- $rs[title_n] = $rs[title];
- $rs[title] = mb_substr($rs[title],0,$len,"utf-8");
- }
-
- if($rs[color]){
- $rs[title] = "<font color='".$rs[color]."'>".$rs[title]."</font>";
- }
-
- //处理描述内容长度
- if(intval($paramer[d_len])>0){
- $len = intval($paramer[d_len]);
- $rs[description] = mb_substr($rs[description],0,$len,"utf-8");
- }
-
- //获取所属类别名称
- $rs['name'] = $group_name[$rs['nid']];
-
- //构建资讯静态链接
- if($config[sy_news_rewrite]=="2"){
- $rs["url"]=$config['sy_weburl']."/news/".date("Ymd",$rs["datetime"])."/".$rs[id].".html";
- }else{
- $rs["url"] = Url("article",array("c"=>"show","id"=>$rs[id]),"1");
- }
-
- if(mb_substr($rs[newsphoto],0,4)=="http"){
- $rs["picurl"]=$rs[newsphoto];
- }else{
- if($rs['newsphoto']==""){
- $rs["picurl"] = $config[sy_weburl]."/app/template/".$config[style]."/images/nopic.gif";
- }else{
- $rs["picurl"] = checkpic($rs['newsphoto']);
- }
- }
-
- $rs[time]=date("Y-m-d",$rs[starttime]);
- $rs[starttime]=date("m-d",$rs[starttime]);
- $plist[] = $rs;
- }//end while
- }$plist = $plist; if (!is_array($plist) && !is_object($plist)) { settype($plist, 'array');}
-foreach ($plist as $_smarty_tpl->tpl_vars['plist']->key => $_smarty_tpl->tpl_vars['plist']->value) {
-$_smarty_tpl->tpl_vars['plist']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['plist']->key;
-?>
- <div class="index_news_list">
- <div class="index_news_list_img">
- <img src='<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/images/lay-loding.png' lay-src="<?php echo $_smarty_tpl->tpl_vars['plist']->value['picurl'];?>
-" width="190" height="120" alt="<?php echo $_smarty_tpl->tpl_vars['plist']->value['title_n'];?>
-">
- </div>
- <div class="index_news_list_info">
- <div class="index_news_list_name">
- <a href="<?php echo $_smarty_tpl->tpl_vars['plist']->value['url'];?>
-" title="<?php echo $_smarty_tpl->tpl_vars['plist']->value['title_n'];?>
-"><?php echo $_smarty_tpl->tpl_vars['plist']->value['title'];?>
-</a>
- </div>
- <div class="index_news_list_lb"><?php echo $_smarty_tpl->tpl_vars['plist']->value['name'];?>
-</div>
- <div class="index_news_list_time"><?php echo $_smarty_tpl->tpl_vars['plist']->value['time'];?>
-</div>
- </div>
- </div>
- <?php } ?>
- <!--列表循环-->
- <ul class="index_news_list_list">
- <?php $_smarty_tpl->tpl_vars['nlist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['nlist']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
-
- global $db,$db_config,$config;
- include PLUS_PATH.'/group.cache.php';$nlist= array();
- $rs = null;
- $nids = null;
-
- $paramer = array("item"=>"'nlist'","t_len"=>"20","limit"=>"14","key"=>"'key'","name"=>"'newlist'","nocache"=>"")
-;
-
- $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
-
- $paramer = $ParamerArr['arr'];
-
- $Purl = $ParamerArr['purl'];
-
- if($paramer[cache]){
-
- $Purl = "{{page}}.html";
- }
-
- global $ModuleName;
-
- if(!$Purl["m"]){
- $Purl["m"]=$ModuleName;
- }
-
- $where=1;
-
- $where .=" and (`starttime`<=".time()." or `starttime`=0 or `starttime` is null)";
-
- $where .=" and (`endtime`>".time()." or `endtime`=0 or `endtime` is null)";
-
- if($config['did']){
-
- $where .= " and (`did`='".$config['did']."' or `did`=-1)";
- }else{
-
- $where .= " and (`did`=-1 OR `did`=0 OR did='')";
- }
-
- include PLUS_PATH."/group.cache.php";
- if($paramer['nid']){
- $nid_s = @explode(',',$paramer[nid]);
- foreach($nid_s as $v){
- if($group_type[$v]){
- $paramer[nid] = $paramer[nid].",".@implode(',',$group_type[$v]);
- }
- }
- }
-
- if($paramer['nid']!="" && $paramer['nid']!=0){
- $where .=" AND `nid` in ($paramer[nid])";
- $nids = @explode(',',$paramer['nid']);
- $paramer['nid']=$paramer['nid'];
- }else if($paramer['rec']!=""){
- $nids=array();
- if(is_array($group_rec)){
- foreach($group_rec as $key=>$value){
- if($key<=2){
- $nids[]=$value;
- }
- }
- $paramer[nid]=@implode(',',$nids);
- }
- }
-
- if($paramer['type']){
- $type = str_replace("\"","",$paramer[type]);
- $type_arr = @explode(",",$type);
- if(is_array($type_arr) && !empty($type_arr)){
- foreach($type_arr as $key=>$value){
- $where .=" AND FIND_IN_SET('".$value."',`describe`)";
- if(count($nids)>0){
- $picwhere .=" AND FIND_IN_SET('".$value."',`describe`)";
- }
- }
- }
- }
-
- //拼接补充SQL条件
- if($paramer['pic']!=""){
- $where .=" AND `newsphoto`<>''";
- }
-
- //新闻搜索
- if($paramer['keyword']!=""){
- $where .=" AND `title` LIKE '%".$paramer[keyword]."%'";
- }
-
- //拼接查询条数
- if(intval($paramer['limit'])>0){
- $limit = intval($paramer['limit']);
- $limit = " limit ".$limit;
- }
-
- if($paramer['ispage']){
- if($Purl["m"]=="wap"){
- $limit = PageNav($paramer,$_GET,"news_base",$where,$Purl,"","6",$_smarty_tpl);
- }else{
- $limit = PageNav($paramer,$_GET,"news_base",$where,$Purl,"","5",$_smarty_tpl);
- }
- }
-
- //拼接字段排序
- if($paramer['order']!=""){
- $where .=" ORDER BY $paramer[order]";
- }else{
- $where .=" ORDER BY `starttime`";
- }
-
- //排序方式默认倒序
- if($paramer['sort']){
- $where.=" ".$paramer[sort];
- }else{
- $where.=" DESC";
- }
-
- //多类别新闻查找
- if(!intval($paramer['ispage']) && count($nids)>0){
-
- $nidArr = @explode(',',$paramer[nid]);
- $rsnids = array();
- if(is_array($group_type)){
- foreach($group_type as $key=>$value){
- if(in_array($key,$nidArr)){
- if(is_array($value)){
- foreach($value as $v){
- $rsnids[$v] = $key;
- $nidArr[] = $v;
- }
- }
- }
- }
- }
-
- $where = " `nid` IN (".@implode(',',$nidArr).")";
-
- if($config['did']){
- $where.=" and `did`='".$config['did']."'";
- }
-
- //查询带图新闻
- if($paramer['pic']){
- if(!$paramer['piclimit']){
- $piclimit = 1;
- }else{
- $piclimit = $paramer['piclimit'];
- }
-
- $db->query("set @f=0,@n=0");
-
- $query = $db->query("select * from (select id,title,color,datetime,starttime,description,newsphoto,@n:=if(@f=nid,@n:=@n+1,1) as aid,@f:=nid as nid from $db_config[def]news_base WHERE ".$where." AND `newsphoto` <>'' order by nid asc,starttime desc) a where aid <=".$piclimit);
-
- $conque = $db->select_all("news_content","1 order by nbid desc".$limit);
-
- foreach($conque as $cv){
- $newcon[$cv[nbid]]=$cv;
- }
- while($rs = $db->fetch_array($query)){
-
- if($rsnids[$rs['nid']]){
- $rs['nid'] = $rsnids[$rs['nid']];
- }
-
- //处理标题长度
- if(intval($paramer[t_len])>0){
- $len = intval($paramer[t_len]);
- $rs[title_n] = $rs[title];
- $rs[title] = mb_substr($rs[title],0,$len,"utf-8");
- }
-
- if($rs[color]){
- $rs[title] = "<font color='".$rs[color]."'>".$rs[title]."</font>";
- }
-
- //处理描述内容长度
- if(intval($paramer[d_len])>0){
- $len = intval($paramer[d_len]);
- $rs[description] = mb_substr($rs[description],0,$len,"utf-8");
- }
-
- $rs['name'] = $group_name[$rs['nid']];
-
- //构建资讯静态链接
- if($config[sy_news_rewrite]=="2"){
- $rs["url"]=$config['sy_weburl']."/news/".date("Ymd",$rs["datetime"])."/".$rs[id].".html";
- }else{
- $rs["url"] = Url("article",array("c"=>"show","id"=>$rs[id]),"1");
- }
-
- if(mb_substr($rs[newsphoto],0,4)=="http"){
- $rs["picurl"]=$rs[newsphoto];
- }else{
- if($rs['newsphoto']==""){
- $content=str_replace(array('"',"'"),array("",""),$newcon[$rs[id]]["content"]);
- preg_match_all("/<img[^>]+src=(.*?)\s[^>]+>/im",$content,$res);
- $str=str_replace("\\","",$res[1][0]);
- if($str){
- $rs[newsphoto]=".".$str;
- }
- }
- $nopic=$config[sy_weburl]."/app/template/".$config[style]."/images/nopic.gif";
-
- $rs["picurl"] = checkpic($rs['newsphoto'],$nopic);
-
- }
-
- $rs[time]=date("Y-m-d",$rs[starttime]);
- $rs['starttime']=date("m-d",$rs[starttime]);
- if(count($nlist[$rs['nid']]['pic'])<$piclimit){
- $nlist[$rs['nid']]['pic'][] = $rs;
- }
- }//end while
- }
-
- $db->query("set @f=0,@n=0");
- $query = $db->query("select * from (select id,title,datetime,starttime,color,description,newsphoto,@n:=if(@f=nid,@n:=@n+1,1) as aid,@f:=nid as nid from $db_config[def]news_base WHERE ".$where." order by nid asc,starttime desc) a where aid <=$paramer[limit]");
-
- while($rs = $db->fetch_array($query)){
- if($rsnids[$rs['nid']]){
- $rs['nid'] = $rsnids[$rs['nid']];
- }
-
- //处理标题长度
- if(intval($paramer[t_len])>0){
- $len = intval($paramer[t_len]);
- $rs[title_n] = $rs[title];
- $rs[title] = mb_substr($rs[title],0,$len,"utf-8");
- }
-
- if($rs[color]){
- $rs[title] = "<font color='".$rs[color]."'>".$rs[title]."</font>";
- }
-
- //处理描述内容长度
- if(intval($paramer[d_len])>0){
- $len = intval($paramer[d_len]);
- $rs[description] = mb_substr($rs[description],0,$len,"utf-8");
- }
-
- //获取所属类别名称
- $rs['name'] = $group_name[$rs['nid']];
-
- //构建资讯静态链接
- if($config[sy_news_rewrite]=="2"){
- $rs["url"]=$config['sy_weburl']."/news/".date("Ymd",$rs["datetime"])."/".$rs[id].".html";
- }else{
- $rs["url"] = Url("article",array("c"=>"show","id"=>$rs[id]),"1");
- }
-
- if(mb_substr($rs[newsphoto],0,4)=="http"){
- $rs["picurl"]=$rs[newsphoto];
- }else{
- if($rs['newsphoto']==""){
- $rs["picurl"] = $config[sy_weburl]."/app/template/".$config[style]."/images/nopic.gif";
- }else{
- $rs["picurl"] = checkpic($rs['newsphoto']);
- }
- }
-
- $rs[time]=date("Y-m-d",$rs[starttime]);
- $rs[starttime]=date("m-d",$rs[starttime]);
- if(count($nlist[$rs['nid']]['arclist'])<$paramer[limit]){
- $nlist[$rs['nid']]['arclist'][] = $rs;
- }
- }//end while
-
- }//end if(!intval($paramer['ispage']) && count($nids)>0)
- else{
- $query = $db->query("SELECT * FROM `$db_config[def]news_base` WHERE ".$where.$limit);
-
- while($rs = $db->fetch_array($query)){
- //处理标题长度
- if(intval($paramer[t_len])>0){
- $len = intval($paramer[t_len]);
- $rs[title_n] = $rs[title];
- $rs[title] = mb_substr($rs[title],0,$len,"utf-8");
- }
-
- if($rs[color]){
- $rs[title] = "<font color='".$rs[color]."'>".$rs[title]."</font>";
- }
-
- //处理描述内容长度
- if(intval($paramer[d_len])>0){
- $len = intval($paramer[d_len]);
- $rs[description] = mb_substr($rs[description],0,$len,"utf-8");
- }
-
- //获取所属类别名称
- $rs['name'] = $group_name[$rs['nid']];
-
- //构建资讯静态链接
- if($config[sy_news_rewrite]=="2"){
- $rs["url"]=$config['sy_weburl']."/news/".date("Ymd",$rs["datetime"])."/".$rs[id].".html";
- }else{
- $rs["url"] = Url("article",array("c"=>"show","id"=>$rs[id]),"1");
- }
-
- if(mb_substr($rs[newsphoto],0,4)=="http"){
- $rs["picurl"]=$rs[newsphoto];
- }else{
- if($rs['newsphoto']==""){
- $rs["picurl"] = $config[sy_weburl]."/app/template/".$config[style]."/images/nopic.gif";
- }else{
- $rs["picurl"] = checkpic($rs['newsphoto']);
- }
- }
-
- $rs[time]=date("Y-m-d",$rs[starttime]);
- $rs[starttime]=date("m-d",$rs[starttime]);
- $nlist[] = $rs;
- }//end while
- }$nlist = $nlist; if (!is_array($nlist) && !is_object($nlist)) { settype($nlist, 'array');}
-foreach ($nlist as $_smarty_tpl->tpl_vars['nlist']->key => $_smarty_tpl->tpl_vars['nlist']->value) {
-$_smarty_tpl->tpl_vars['nlist']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['nlist']->key;
-?>
- <li>
- <a href="<?php echo $_smarty_tpl->tpl_vars['nlist']->value['url'];?>
-" title="<?php echo $_smarty_tpl->tpl_vars['nlist']->value['title_n'];?>
-"><i class="index_news_list_icon"></i><?php echo $_smarty_tpl->tpl_vars['nlist']->value['title'];?>
-</a>
- <em><?php echo $_smarty_tpl->tpl_vars['nlist']->value['time'];?>
-</em>
- </li>
- <?php } ?>
- </ul>
- </div>
-
- <div class="index_hotnews">
- <ul>
- <?php $_smarty_tpl->tpl_vars['alist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['alist']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
-
- global $db,$db_config,$config;
- include PLUS_PATH.'/group.cache.php';$alist= array();
- $rs = null;
- $nids = null;
-
- $paramer = array("item"=>"'alist'","t_len"=>"15","type"=>"'indextj'","limit"=>"10","key"=>"'key'","name"=>"'newlisthot'","nocache"=>"")
-;
-
- $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
-
- $paramer = $ParamerArr['arr'];
-
- $Purl = $ParamerArr['purl'];
-
- if($paramer[cache]){
-
- $Purl = "{{page}}.html";
- }
-
- global $ModuleName;
-
- if(!$Purl["m"]){
- $Purl["m"]=$ModuleName;
- }
-
- $where=1;
-
- $where .=" and (`starttime`<=".time()." or `starttime`=0 or `starttime` is null)";
-
- $where .=" and (`endtime`>".time()." or `endtime`=0 or `endtime` is null)";
-
- if($config['did']){
-
- $where .= " and (`did`='".$config['did']."' or `did`=-1)";
- }else{
-
- $where .= " and (`did`=-1 OR `did`=0 OR did='')";
- }
-
- include PLUS_PATH."/group.cache.php";
- if($paramer['nid']){
- $nid_s = @explode(',',$paramer[nid]);
- foreach($nid_s as $v){
- if($group_type[$v]){
- $paramer[nid] = $paramer[nid].",".@implode(',',$group_type[$v]);
- }
- }
- }
-
- if($paramer['nid']!="" && $paramer['nid']!=0){
- $where .=" AND `nid` in ($paramer[nid])";
- $nids = @explode(',',$paramer['nid']);
- $paramer['nid']=$paramer['nid'];
- }else if($paramer['rec']!=""){
- $nids=array();
- if(is_array($group_rec)){
- foreach($group_rec as $key=>$value){
- if($key<=2){
- $nids[]=$value;
- }
- }
- $paramer[nid]=@implode(',',$nids);
- }
- }
-
- if($paramer['type']){
- $type = str_replace("\"","",$paramer[type]);
- $type_arr = @explode(",",$type);
- if(is_array($type_arr) && !empty($type_arr)){
- foreach($type_arr as $key=>$value){
- $where .=" AND FIND_IN_SET('".$value."',`describe`)";
- if(count($nids)>0){
- $picwhere .=" AND FIND_IN_SET('".$value."',`describe`)";
- }
- }
- }
- }
-
- //拼接补充SQL条件
- if($paramer['pic']!=""){
- $where .=" AND `newsphoto`<>''";
- }
-
- //新闻搜索
- if($paramer['keyword']!=""){
- $where .=" AND `title` LIKE '%".$paramer[keyword]."%'";
- }
-
- //拼接查询条数
- if(intval($paramer['limit'])>0){
- $limit = intval($paramer['limit']);
- $limit = " limit ".$limit;
- }
-
- if($paramer['ispage']){
- if($Purl["m"]=="wap"){
- $limit = PageNav($paramer,$_GET,"news_base",$where,$Purl,"","6",$_smarty_tpl);
- }else{
- $limit = PageNav($paramer,$_GET,"news_base",$where,$Purl,"","5",$_smarty_tpl);
- }
- }
-
- //拼接字段排序
- if($paramer['order']!=""){
- $where .=" ORDER BY $paramer[order]";
- }else{
- $where .=" ORDER BY `starttime`";
- }
-
- //排序方式默认倒序
- if($paramer['sort']){
- $where.=" ".$paramer[sort];
- }else{
- $where.=" DESC";
- }
-
- //多类别新闻查找
- if(!intval($paramer['ispage']) && count($nids)>0){
-
- $nidArr = @explode(',',$paramer[nid]);
- $rsnids = array();
- if(is_array($group_type)){
- foreach($group_type as $key=>$value){
- if(in_array($key,$nidArr)){
- if(is_array($value)){
- foreach($value as $v){
- $rsnids[$v] = $key;
- $nidArr[] = $v;
- }
- }
- }
- }
- }
-
- $where = " `nid` IN (".@implode(',',$nidArr).")";
-
- if($config['did']){
- $where.=" and `did`='".$config['did']."'";
- }
-
- //查询带图新闻
- if($paramer['pic']){
- if(!$paramer['piclimit']){
- $piclimit = 1;
- }else{
- $piclimit = $paramer['piclimit'];
- }
-
- $db->query("set @f=0,@n=0");
-
- $query = $db->query("select * from (select id,title,color,datetime,starttime,description,newsphoto,@n:=if(@f=nid,@n:=@n+1,1) as aid,@f:=nid as nid from $db_config[def]news_base WHERE ".$where." AND `newsphoto` <>'' order by nid asc,starttime desc) a where aid <=".$piclimit);
-
- $conque = $db->select_all("news_content","1 order by nbid desc".$limit);
-
- foreach($conque as $cv){
- $newcon[$cv[nbid]]=$cv;
- }
- while($rs = $db->fetch_array($query)){
-
- if($rsnids[$rs['nid']]){
- $rs['nid'] = $rsnids[$rs['nid']];
- }
-
- //处理标题长度
- if(intval($paramer[t_len])>0){
- $len = intval($paramer[t_len]);
- $rs[title_n] = $rs[title];
- $rs[title] = mb_substr($rs[title],0,$len,"utf-8");
- }
-
- if($rs[color]){
- $rs[title] = "<font color='".$rs[color]."'>".$rs[title]."</font>";
- }
-
- //处理描述内容长度
- if(intval($paramer[d_len])>0){
- $len = intval($paramer[d_len]);
- $rs[description] = mb_substr($rs[description],0,$len,"utf-8");
- }
-
- $rs['name'] = $group_name[$rs['nid']];
-
- //构建资讯静态链接
- if($config[sy_news_rewrite]=="2"){
- $rs["url"]=$config['sy_weburl']."/news/".date("Ymd",$rs["datetime"])."/".$rs[id].".html";
- }else{
- $rs["url"] = Url("article",array("c"=>"show","id"=>$rs[id]),"1");
- }
-
- if(mb_substr($rs[newsphoto],0,4)=="http"){
- $rs["picurl"]=$rs[newsphoto];
- }else{
- if($rs['newsphoto']==""){
- $content=str_replace(array('"',"'"),array("",""),$newcon[$rs[id]]["content"]);
- preg_match_all("/<img[^>]+src=(.*?)\s[^>]+>/im",$content,$res);
- $str=str_replace("\\","",$res[1][0]);
- if($str){
- $rs[newsphoto]=".".$str;
- }
- }
- $nopic=$config[sy_weburl]."/app/template/".$config[style]."/images/nopic.gif";
-
- $rs["picurl"] = checkpic($rs['newsphoto'],$nopic);
-
- }
-
- $rs[time]=date("Y-m-d",$rs[starttime]);
- $rs['starttime']=date("m-d",$rs[starttime]);
- if(count($alist[$rs['nid']]['pic'])<$piclimit){
- $alist[$rs['nid']]['pic'][] = $rs;
- }
- }//end while
- }
-
- $db->query("set @f=0,@n=0");
- $query = $db->query("select * from (select id,title,datetime,starttime,color,description,newsphoto,@n:=if(@f=nid,@n:=@n+1,1) as aid,@f:=nid as nid from $db_config[def]news_base WHERE ".$where." order by nid asc,starttime desc) a where aid <=$paramer[limit]");
-
- while($rs = $db->fetch_array($query)){
- if($rsnids[$rs['nid']]){
- $rs['nid'] = $rsnids[$rs['nid']];
- }
-
- //处理标题长度
- if(intval($paramer[t_len])>0){
- $len = intval($paramer[t_len]);
- $rs[title_n] = $rs[title];
- $rs[title] = mb_substr($rs[title],0,$len,"utf-8");
- }
-
- if($rs[color]){
- $rs[title] = "<font color='".$rs[color]."'>".$rs[title]."</font>";
- }
-
- //处理描述内容长度
- if(intval($paramer[d_len])>0){
- $len = intval($paramer[d_len]);
- $rs[description] = mb_substr($rs[description],0,$len,"utf-8");
- }
-
- //获取所属类别名称
- $rs['name'] = $group_name[$rs['nid']];
-
- //构建资讯静态链接
- if($config[sy_news_rewrite]=="2"){
- $rs["url"]=$config['sy_weburl']."/news/".date("Ymd",$rs["datetime"])."/".$rs[id].".html";
- }else{
- $rs["url"] = Url("article",array("c"=>"show","id"=>$rs[id]),"1");
- }
-
- if(mb_substr($rs[newsphoto],0,4)=="http"){
- $rs["picurl"]=$rs[newsphoto];
- }else{
- if($rs['newsphoto']==""){
- $rs["picurl"] = $config[sy_weburl]."/app/template/".$config[style]."/images/nopic.gif";
- }else{
- $rs["picurl"] = checkpic($rs['newsphoto']);
- }
- }
-
- $rs[time]=date("Y-m-d",$rs[starttime]);
- $rs[starttime]=date("m-d",$rs[starttime]);
- if(count($alist[$rs['nid']]['arclist'])<$paramer[limit]){
- $alist[$rs['nid']]['arclist'][] = $rs;
- }
- }//end while
-
- }//end if(!intval($paramer['ispage']) && count($nids)>0)
- else{
- $query = $db->query("SELECT * FROM `$db_config[def]news_base` WHERE ".$where.$limit);
-
- while($rs = $db->fetch_array($query)){
- //处理标题长度
- if(intval($paramer[t_len])>0){
- $len = intval($paramer[t_len]);
- $rs[title_n] = $rs[title];
- $rs[title] = mb_substr($rs[title],0,$len,"utf-8");
- }
-
- if($rs[color]){
- $rs[title] = "<font color='".$rs[color]."'>".$rs[title]."</font>";
- }
-
- //处理描述内容长度
- if(intval($paramer[d_len])>0){
- $len = intval($paramer[d_len]);
- $rs[description] = mb_substr($rs[description],0,$len,"utf-8");
- }
-
- //获取所属类别名称
- $rs['name'] = $group_name[$rs['nid']];
-
- //构建资讯静态链接
- if($config[sy_news_rewrite]=="2"){
- $rs["url"]=$config['sy_weburl']."/news/".date("Ymd",$rs["datetime"])."/".$rs[id].".html";
- }else{
- $rs["url"] = Url("article",array("c"=>"show","id"=>$rs[id]),"1");
- }
-
- if(mb_substr($rs[newsphoto],0,4)=="http"){
- $rs["picurl"]=$rs[newsphoto];
- }else{
- if($rs['newsphoto']==""){
- $rs["picurl"] = $config[sy_weburl]."/app/template/".$config[style]."/images/nopic.gif";
- }else{
- $rs["picurl"] = checkpic($rs['newsphoto']);
- }
- }
-
- $rs[time]=date("Y-m-d",$rs[starttime]);
- $rs[starttime]=date("m-d",$rs[starttime]);
- $alist[] = $rs;
- }//end while
- }$alist = $alist; if (!is_array($alist) && !is_object($alist)) { settype($alist, 'array');}
-foreach ($alist as $_smarty_tpl->tpl_vars['alist']->key => $_smarty_tpl->tpl_vars['alist']->value) {
-$_smarty_tpl->tpl_vars['alist']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['alist']->key;
-?>
- <li>
- <span class="index_hotnews_n <?php if ($_smarty_tpl->tpl_vars['key']->value<3) {?>hot<?php echo $_smarty_tpl->tpl_vars['key']->value+1;
-}?>"><?php echo $_smarty_tpl->tpl_vars['key']->value+1;?>
-</span>
- <a href="<?php echo $_smarty_tpl->tpl_vars['alist']->value['url'];?>
-" title="<?php echo $_smarty_tpl->tpl_vars['alist']->value['title_n'];?>
-"><?php echo $_smarty_tpl->tpl_vars['alist']->value['title'];?>
-</a>
- </li>
- <?php } ?>
- </ul>
- </div>
- </div>
- <div class="yunheader_60lookmore"><a href="<?php echo smarty_function_url(array('m'=>'article'),$_smarty_tpl);?>
-">查看更多</a></div>
- </div>
-
- <!-- 友情链接-->
- <div class="index_zl_box">
- <div class="index_link_box fl">
- <div class="new_index_tit">
- <span class="new_index_tit_list new_index_tit_cur">友情链接<i class="new_index_tit_line"></i></span>
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_linksq']==1) {?> <span class="new_index_tit_list" data-no="1"><a href="<?php echo smarty_function_url(array('m'=>'link'),$_smarty_tpl);?>
-" target="_blank" class=" "> 申请链接</a></span> <?php }?>
- <a href="<?php echo smarty_function_url(array('m'=>'link'),$_smarty_tpl);?>
-" target="_blank" class="new_index_tit_more">查看更多</a>
- </div>
- <div class=" ">
- <div class="index_link_box_banner">
- <?php $_smarty_tpl->tpl_vars['linklist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['linklist']->_loop = false;
-global $config;
- //跨域名使用范围
- $domain='';
- if($config["cityid"]!="" || $config["hyclass"]!=""){
- include(PLUS_PATH."/domain_cache.php");
- $host_url=$_SERVER['HTTP_HOST'];
- foreach($site_domain as $v){
- if($v['host']==$host_url){
- $domain=$v['id'];
- }
- }
- }$tem_type = 2;
- include PLUS_PATH."/link.cache.php";
- if(is_array($link)){$linkList=array();
- $i=0;
- foreach($link as $key=>$value)
- {
- if($config["did"]!=0 && $value["did"]!=-1 && $config["did"]!=-1 && $config["did"]!=$value["did"])
- {
- continue;
- }elseif(is_numeric('2') && $value['tem_type']!='2' && $value['tem_type']!='1'){
- continue;
-
- }elseif((!is_numeric('2') || '2'=='1') && $value['tem_type']!='1'){
-
- continue;
- }elseif(!$config["did"] && $value["did"]>0){
- continue;
- }
- if(is_numeric('2') && $value['link_type']!='2')
- {
- continue;
- }
- if(is_numeric('') && intval('')<=$i)
- {
- break;
- }
- if($value['pic']&&$value['img_type']==1){
- $value[pic] = checkpic($value['pic']);
- }
- $linkList[] = $value;
- $i++;
- }
- }$linkList = $linkList; if (!is_array($linkList) && !is_object($linkList)) { settype($linkList, 'array');}
-foreach ($linkList as $_smarty_tpl->tpl_vars['linklist']->key => $_smarty_tpl->tpl_vars['linklist']->value) {
-$_smarty_tpl->tpl_vars['linklist']->_loop = true;
-?>
- <a href="<?php echo $_smarty_tpl->tpl_vars['linklist']->value['link_url'];?>
-" target="_blank">
- <img src='<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/images/lay-loding.png' lay-src="<?php echo $_smarty_tpl->tpl_vars['linklist']->value['pic'];?>
-" alt="<?php echo $_smarty_tpl->tpl_vars['linklist']->value['link_name'];?>
-" width="160" height="50"/>
- </a>
- <?php } ?>
- </div>
- <div class="index_link_box_p">
- <?php $_smarty_tpl->tpl_vars['linklist2'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['linklist2']->_loop = false;
-global $config;
- //跨域名使用范围
- $domain='';
- if($config["cityid"]!="" || $config["hyclass"]!=""){
- include(PLUS_PATH."/domain_cache.php");
- $host_url=$_SERVER['HTTP_HOST'];
- foreach($site_domain as $v){
- if($v['host']==$host_url){
- $domain=$v['id'];
- }
- }
- }$tem_type = 2;
- include PLUS_PATH."/link.cache.php";
- if(is_array($link)){$linkList=array();
- $i=0;
- foreach($link as $key=>$value)
- {
- if($config["did"]!=0 && $value["did"]!=-1 && $config["did"]!=-1 && $config["did"]!=$value["did"])
- {
- continue;
- }elseif(is_numeric('2') && $value['tem_type']!='2' && $value['tem_type']!='1'){
- continue;
-
- }elseif((!is_numeric('2') || '2'=='1') && $value['tem_type']!='1'){
-
- continue;
- }elseif(!$config["did"] && $value["did"]>0){
- continue;
- }
- if(is_numeric('1') && $value['link_type']!='1')
- {
- continue;
- }
- if(is_numeric('') && intval('')<=$i)
- {
- break;
- }
- if($value['pic']&&$value['img_type']==1){
- $value[pic] = checkpic($value['pic']);
- }
- $linkList[] = $value;
- $i++;
- }
- }$linkList = $linkList; if (!is_array($linkList) && !is_object($linkList)) { settype($linkList, 'array');}
-foreach ($linkList as $_smarty_tpl->tpl_vars['linklist2']->key => $_smarty_tpl->tpl_vars['linklist2']->value) {
-$_smarty_tpl->tpl_vars['linklist2']->_loop = true;
-?>
- <span class="index_link_box_p_name"><a href="<?php echo $_smarty_tpl->tpl_vars['linklist2']->value['link_url'];?>
-" target="_blank"><?php echo $_smarty_tpl->tpl_vars['linklist2']->value['link_name'];?>
-</a></span>
- <?php } ?>
- </div>
- </div>
- </div>
- </div>
-</div>
-
-<?php if ($_smarty_tpl->tpl_vars['config']->value['sy_footer_fix']=='1') {?>
-<div id="tip_bottom" class="tip_bottom none">
- <div class="tip_bottom_cont">
- <div class="tip_bottom_bg"></div>
- <div class="tip_bottom_cont_c">
- <div class="tip_bottom_main">
- <div class="tip_fot_user"></div>
- <div class="tip_bottom_left">
- <a href="javascript:void(0);" onclick="$('.tip_bottom').hide();" class="tip_bottom_close png"></a>
- <div class="tip_bottom_ewm">
- <div class="tip_bottom_ewm_bg">
- <i class="tip_bottom_ewm_p_icon"></i>
- <img src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_wx_qcode'];?>
-" width="90" height="90">
- </div>
- <div class="tip_bottom_ewm_p">手机也能找工作</div>
- </div>
- <div class="tip_bottom_leftbox">
- <span class="tip_bottom_logo"><h2>海量职位 让求职更简单</h2></span>
- <div class="tip_bottom_num "><span>0</span>+企业的共同选择</div>
- <div class="tip_bottom_num "><span>0</span>+ 高薪职位任您挑选</div>
- </div>
- <?php if (!$_smarty_tpl->tpl_vars['uid']->value) {?>
- <div class="tip_bottom_member">
- <a href="<?php echo smarty_function_url(array('m'=>'login'),$_smarty_tpl);?>
-" class="tip_bottom_login">登录</a>
- <a href="<?php echo smarty_function_url(array('m'=>'register'),$_smarty_tpl);?>
-" class="tip_bottom_reg">快速注册<i class="tip_bottom_reg_icon"></i></a>
- </div>
- <?php }?>
- </div>
- </div>
- </div>
- </div>
-</div>
-<?php }?>
-
-<div id="bg"></div>
-<?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/backtop.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-
-<div id='footer_ad'>
- <?php $_smarty_tpl->tpl_vars['footer_ad'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['footer_ad']->_loop = false;
-global $db,$db_config,$config;$AdArr=array();$paramer=array();$attr=array("classid"=>"10","item"=>"'footer_ad'","nocache"=>"")
-;
- include(PLUS_PATH.'pimg_cache.php');$add_arr = $ad_label[10];if(is_array($add_arr) && !empty($add_arr)){
- $i=0;$limit = 0;$length = 0;
- foreach($add_arr as $key=>$value){
- if($config['did']){
- if(($value['did']==$config['did']|| $value['did']==-1)&&$value['start']<time()&&$value['end']>time()){
- if($i>0 && $limit==$i){
- break;
- }
- if($length>0){
- $value['name'] = mb_substr($value['name'],0,$length);
- }
- if($paramer['type']!=""){
- if($paramer['type'] == $value['type']){
- $AdArr[] = $value;
- }
- }else{
- $AdArr[] = $value;
- }
- $i++;
- }
-
- }else{
- if(($value['did']==-1 || !$value['did']) && $value['start']<time()&&$value['end']>time()){
- if($i>0 && $limit==$i){
- break;
- }
- if($length>0){
- $value['name'] = mb_substr($value['name'],0,$length);
- }
- if($paramer['type']!=""){
- if($paramer['type'] == $value['type']){
- $AdArr[] = $value;
- }
- }else{
- $AdArr[] = $value;
- }
- $i++;
- }
-
- }
- }
- if (isset($attr['random']) && $attr['random'] && count($AdArr) > $attr['random']) {
- $temp = [];
- $random_keys = array_rand($AdArr, $attr['random']);
-
- if($attr['random'] == 1) {
- $temp[] = $AdArr[$attr['random']];
- } else {
- foreach ($AdArr as $key => $value) {
- if (in_array($key, $random_keys)) {
- $temp[$key] = $value;
- }
- }
- }
- $AdArr = $temp;
- }
- }$AdArr = $AdArr; if (!is_array($AdArr) && !is_object($AdArr)) { settype($AdArr, 'array');}
-foreach ($AdArr as $_smarty_tpl->tpl_vars['footer_ad']->key => $_smarty_tpl->tpl_vars['footer_ad']->value) {
-$_smarty_tpl->tpl_vars['footer_ad']->_loop = true;
-?>
- <div class="footer_ban" id="">
- <div class="baner_footer" id='bottom_ad_fl'>
- <span class="ban_close" onclick="colse_bottom()">关闭</span>
- <?php echo $_smarty_tpl->tpl_vars['footer_ad']->value['lay_html'];?>
-
- </div>
- <input type="hidden" value='1' id='bottom_ad_is_show'/>
- </div>
- <?php } ?>
-
- <?php $_smarty_tpl->tpl_vars['left_ad'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['left_ad']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
-global $db,$db_config,$config;$AdArr=array();$paramer=array();$attr=array("classid"=>"11","key"=>"'key'","item"=>"'left_ad'","nocache"=>"")
-;
- include(PLUS_PATH.'pimg_cache.php');$add_arr = $ad_label[11];if(is_array($add_arr) && !empty($add_arr)){
- $i=0;$limit = 0;$length = 0;
- foreach($add_arr as $key=>$value){
- if($config['did']){
- if(($value['did']==$config['did']|| $value['did']==-1)&&$value['start']<time()&&$value['end']>time()){
- if($i>0 && $limit==$i){
- break;
- }
- if($length>0){
- $value['name'] = mb_substr($value['name'],0,$length);
- }
- if($paramer['type']!=""){
- if($paramer['type'] == $value['type']){
- $AdArr[] = $value;
- }
- }else{
- $AdArr[] = $value;
- }
- $i++;
- }
-
- }else{
- if(($value['did']==-1 || !$value['did']) && $value['start']<time()&&$value['end']>time()){
- if($i>0 && $limit==$i){
- break;
- }
- if($length>0){
- $value['name'] = mb_substr($value['name'],0,$length);
- }
- if($paramer['type']!=""){
- if($paramer['type'] == $value['type']){
- $AdArr[] = $value;
- }
- }else{
- $AdArr[] = $value;
- }
- $i++;
- }
-
- }
- }
- if (isset($attr['random']) && $attr['random'] && count($AdArr) > $attr['random']) {
- $temp = [];
- $random_keys = array_rand($AdArr, $attr['random']);
-
- if($attr['random'] == 1) {
- $temp[] = $AdArr[$attr['random']];
- } else {
- foreach ($AdArr as $key => $value) {
- if (in_array($key, $random_keys)) {
- $temp[$key] = $value;
- }
- }
- }
- $AdArr = $temp;
- }
- }$AdArr = $AdArr; if (!is_array($AdArr) && !is_object($AdArr)) { settype($AdArr, 'array');}
-foreach ($AdArr as $_smarty_tpl->tpl_vars['left_ad']->key => $_smarty_tpl->tpl_vars['left_ad']->value) {
-$_smarty_tpl->tpl_vars['left_ad']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['left_ad']->key;
-?>
- <div class="duilian <?php if ($_smarty_tpl->tpl_vars['key']->value=='0') {?>duilian_left<?php } else { ?>duilian_right<?php }?>">
- <div class="duilian_con"><?php echo $_smarty_tpl->tpl_vars['left_ad']->value['html'];?>
-</div>
- <div class="close_container">
- <div class="btn_close"></div>
- </div>
- </div>
- <?php } ?>
-</div>
-
-
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/js/index.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/js/reg_ajax.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type="text/javascript"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/slides.jquery.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type="text/javascript"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- type="text/javascript">
- $(function () {
- if ($("#adContent").has('a').length > 0) {
- $("#yhq_tip").css('display', 'block');
- $('#adContent').on("click",function(){
- $("#yhq_tip").hide();
- });
- $('#yhq_tip_close').click(function () {
- $("#yhq_tip").hide();
- });
- }
-
- $('.index_enterprise_re ul li').mouseover(function () {
- $(this).find(".tips_job_info").show()
- })
- $('.index_enterprise_re ul li').mouseout(function () {
- $(this).find(".tips_job_info").hide()
- })
- });
-
- // 名企
- if ($('.swiper-slide').length > 2) {
- var slideLoop = true;
- } else {
- var slideLoop = false;
- }
- new Swiper('#newurgentCtrl', {
- slidesPerView: 3,
- spaceBetween: 1,
- autoplay: true,
- loop: slideLoop
- });
-
- layui.use(['carousel', 'flow'], function () { //layui 轮播 test1 test2
- var carousel = layui.carousel;
- var flow = layui.flow;
- flow.lazyimg();
- carousel.render({
- elem: '#test1',
- width: '675px',
- height: '315px'
- });
-
- carousel.render({
- elem: '#test2',
- width: '290px',
- height: '190px',
- indicator: 'none' //指示器属性;隐藏:none,容器内部:inside,容器外部:outside;
- });
- });
-
- //顶部伸展广告
- if ($("#js_ads_banner_top_slide a").length > 0) { //判断当前广告是否展开,如果没有,则执行下面代码
- var $slidebannertop = $("#js_ads_banner_top_slide"),
- $bannertop = null;
- if ($("#js_ads_banner_top a").length > 0) {
- $bannertop = $("#js_ads_banner_top");
- }
- setTimeout(function () {
- if ($bannertop) {
- $bannertop.slideUp(1000);
- }
- $slidebannertop.slideDown(1000);
- }, 1500); //1500毫秒(1.5秒)后,小广告收回,大广告伸开,执行时间都是1秒(1000毫秒)
- setTimeout(function () {
- $slidebannertop.slideUp(1000, function () {
- if ($bannertop) {
- $bannertop.slideDown(1000);
- }
- });
- }, 3000); //3.0秒(3000毫秒)之后,大广告收回,小广告展开。
- }
-
- $(document).ready(function () {
- //首页登录框以及登录后显示各会员中心内容
- var loginIndex = '<?php echo smarty_function_url(array('m'=>'ajax','c'=>'DefaultLoginIndex'),$_smarty_tpl);?>
-';
- $.post(loginIndex, {
- rand: Math.random()
- }, function (data) {
- $(".hp_login").html(data);
- });
- //热招人才->推荐简历
- $(document.body).on('mouseenter', '.ran-list li', function () {
- $(this).addClass('show').find('.moren').hide();
- $(this).find('.lr-show').show();
- $(this).siblings().removeClass('show').find('.moren').show();
- $(this).siblings().find('.lr-show').hide();
- });
- var a = '<?php if ($_smarty_tpl->tpl_vars['config']->value['sy_footer_fix']=="1") {?>';
- $.get('<?php echo smarty_function_url(array('m'=>'ajax','c'=>'footertj'),$_smarty_tpl);?>
-', {
- rand: Math.random()
- }, function (data) {
- $(".tip_bottom_left").html(data);
- if ($('#tip_bottom')) {
- $('#tip_bottom').show();
- }
-
- })
- var b = '<?php }?>';
- });
-
-
- $('.new_index_tit span').each(function () {
- $(this).click(function () {
- if (!$(this).attr("data-no")) {
- $(this).parent().find("span").removeClass("new_index_tit_cur")
- $(this).addClass("new_index_tit_cur")
- }
- var id = $(this).attr("data-id");
- $(this).parent().parent().find(".index_zw_item").hide()
- $("#" + id).show()
- })
- })
-
-<?php echo '</script'; ?>
->
-<!--下面为调用网站主题-->
-<?php echo smarty_function_webspecial(array(),$_smarty_tpl);?>
-
-<?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/public_search/login.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-<?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/footer.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-<?php }} ?>
diff --git a/data/templates_c/567fedba9f84d83f3de3f965668ecbfe009877cf.file.search.htm.php b/data/templates_c/567fedba9f84d83f3de3f965668ecbfe009877cf.file.search.htm.php
deleted file mode 100644
index d9146ce..0000000
--- a/data/templates_c/567fedba9f84d83f3de3f965668ecbfe009877cf.file.search.htm.php
+++ /dev/null
@@ -1,2256 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:17:21
- compiled from "E:\ishangstudywebs\zhaopin\app\template\default\resume\search.htm" */ ?>
-<?php /*%%SmartyHeaderCode:2398767ff75a1521d50-25165438%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '567fedba9f84d83f3de3f965668ecbfe009877cf' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\default\\resume\\search.htm',
- 1 => 1643012866,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '2398767ff75a1521d50-25165438',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'title' => 0,
- 'keywords' => 0,
- 'description' => 0,
- 'style' => 0,
- 'config' => 0,
- 'lunbo' => 0,
- 'finder' => 0,
- 'key' => 0,
- 'v' => 0,
- 'resumekeyword' => 0,
- 'keylist' => 0,
- 'job_index' => 0,
- 'job_name' => 0,
- 'job_type' => 0,
- 'city_name' => 0,
- 'city_type' => 0,
- 'tid' => 0,
- 'city_index' => 0,
- 'pid' => 0,
- 'cid' => 0,
- 'userdata' => 0,
- 'userclass_name' => 0,
- 'integrity_name' => 0,
- 'k' => 0,
- 'industry_name' => 0,
- 'industry_index' => 0,
- 'user_sex' => 0,
- 'j' => 0,
- 'uptime' => 0,
- 'uid' => 0,
- 'usertype' => 0,
- 'r_status' => 0,
- 'adlist_36' => 0,
- 'userrec' => 0,
- 'eid' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff75a16a6068_61982951',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff75a16a6068_61982951')) {function content_67ff75a16a6068_61982951($_smarty_tpl) {?><?php if (!is_callable('smarty_function_url')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\function.url.php';
-if (!is_callable('smarty_function_listurl')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\function.listurl.php';
-?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-
-<head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
- <title><?php echo $_smarty_tpl->tpl_vars['title']->value;?>
-</title>
- <meta name="keywords" content="<?php echo $_smarty_tpl->tpl_vars['keywords']->value;?>
-" />
- <meta name="description" content="<?php echo $_smarty_tpl->tpl_vars['description']->value;?>
-" />
- <link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/style/job.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type="text/css" />
- <link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/style/css.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type="text/css" />
- <link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
-</head>
-
-<body class="body_bg">
- <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/header.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
- <div class="yun_jobbody">
- <div class="yun_content">
- <div class="current_Location com_current_Location png none">
- <div class="fl">您当前的位置:
- <a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-">首页</a> > <span>找人才</span>
- </div>
- </div>
-
- <div class="clear"></div>
-
- <!-- 广告位放这-->
- <?php $_smarty_tpl->tpl_vars["lunbo"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["lunbo"]->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
-global $db,$db_config,$config;$AdArr=array();$paramer=array();$attr=array("classid"=>"508","item"=>"\"lunbo\"","key"=>"'key'","random"=>"1","nocache"=>"")
-;
- include(PLUS_PATH.'pimg_cache.php');$add_arr = $ad_label[508];if(is_array($add_arr) && !empty($add_arr)){
- $i=0;$limit = 0;$length = 0;
- foreach($add_arr as $key=>$value){
- if($config['did']){
- if(($value['did']==$config['did']|| $value['did']==-1)&&$value['start']<time()&&$value['end']>time()){
- if($i>0 && $limit==$i){
- break;
- }
- if($length>0){
- $value['name'] = mb_substr($value['name'],0,$length);
- }
- if($paramer['type']!=""){
- if($paramer['type'] == $value['type']){
- $AdArr[] = $value;
- }
- }else{
- $AdArr[] = $value;
- }
- $i++;
- }
-
- }else{
- if(($value['did']==-1 || !$value['did']) && $value['start']<time()&&$value['end']>time()){
- if($i>0 && $limit==$i){
- break;
- }
- if($length>0){
- $value['name'] = mb_substr($value['name'],0,$length);
- }
- if($paramer['type']!=""){
- if($paramer['type'] == $value['type']){
- $AdArr[] = $value;
- }
- }else{
- $AdArr[] = $value;
- }
- $i++;
- }
-
- }
- }
- if (isset($attr['random']) && $attr['random'] && count($AdArr) > $attr['random']) {
- $temp = [];
- $random_keys = array_rand($AdArr, $attr['random']);
-
- if($attr['random'] == 1) {
- $temp[] = $AdArr[$attr['random']];
- } else {
- foreach ($AdArr as $key => $value) {
- if (in_array($key, $random_keys)) {
- $temp[$key] = $value;
- }
- }
- }
- $AdArr = $temp;
- }
- }$AdArr = $AdArr; if (!is_array($AdArr) && !is_object($AdArr)) { settype($AdArr, 'array');}
-foreach ($AdArr as $_smarty_tpl->tpl_vars["lunbo"]->key => $_smarty_tpl->tpl_vars["lunbo"]->value) {
-$_smarty_tpl->tpl_vars["lunbo"]->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars["lunbo"]->key;
-?>
- <div class="yun_jobbanner"><?php echo $_smarty_tpl->tpl_vars['lunbo']->value['html'];?>
-</div>
- <?php } ?>
- <!-- 广告位放这 end-->
-
- <div class="clear"></div>
-
- <form method="get" id="form" action="<?php if (!$_smarty_tpl->tpl_vars['config']->value['sy_resumedir']) {?>index.php<?php } else {
-echo smarty_function_url(array('m'=>'resume'),$_smarty_tpl);
-}?>" onsubmit="return search_keyword(this,'请输入关键字');">
- <div class="jobsearch_newbox">
-
- <?php if (!$_smarty_tpl->tpl_vars['config']->value['sy_resumedir']) {?><input type="hidden" name="m" value="resume" /> <?php }?>
-
- <input type="hidden" name="c" value="search" /> <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['finder']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <input type="hidden" name="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
-" value="<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
-" /> <?php } ?>
-
- <div class="yun_job_search">
- <div class="yun_job_search_cont">
- <div class="yun_job_search_textcont">
- <input type="text" name="keyword" value="<?php if ($_GET['keyword']!='') {
-echo $_GET['keyword'];
-} else { ?>请输入关键字<?php }?>" onclick="if(this.value=='请输入关键字'){this.value=''}" onblur="if(this.value==''){this.value='请输入关键字'}" class="Search_jobs_text" />
- </div>
- <input type="submit" value="搜索" class="Search_jobs_submit yun_bg_color" />
- </div>
-
- <?php if ($_smarty_tpl->tpl_vars['resumekeyword']->value) {?>
- <div class="jobs_tag">
- 热门搜索: <?php $_smarty_tpl->tpl_vars['keylist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['keylist']->_loop = false;
-global $config;$paramer=array("limit"=>"14","recom"=>"1","type"=>"5","item"=>"'keylist'","nocache"=>"")
-;$list=array();
-
- $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
- $paramer = $ParamerArr[arr];
- //是否推荐
- if($paramer[recom]){
- $tuijian = 1;
- }
- //类别
- if($paramer[type]){
- $type = $paramer[type];
- }
- //查询条数
- if($paramer[limit]){
- $limit=$paramer[limit];
- }else{
- $limit=5;
- }
- include PLUS_PATH."/keyword.cache.php";
- if($paramer[iswap]){
- $wap = "/wap";
- }else{
- $index =1;
- }
- if(is_array($keyword)){
- if($paramer[iswap]){
- $i=0;
- foreach($keyword as $k=>$v){
- if($tuijian && $v[tuijian]!=1){
- continue;
- }
- if($type && $v[type]!=$type){
- continue;
- }
-
- $i++;
- if($v[type]=="1"){
- $v[url] = Url("wap",array("c"=>"once","keyword"=>$v['key_name']));
- $v[type_name]='店铺招聘';
- }elseif($v['type']=="13"){
- $v['url'] = Url("wap",array("c"=>"tiny","keyword"=>$v['key_name']));
- $v['type_name']='普工简历';
- }elseif($v[type]=="3"){
- $v[url] = Url("wap",array("c"=>"job","keyword"=>$v['key_name']));
- $v[type_name]='职位';
- }elseif($v['type']=="4"){
- $v['url'] = Url("wap",array("c"=>"company","keyword"=>$v['key_name']));
- $v['type_name']='公司';
- }elseif($v['type']=="5"){
- $v['url'] = Url("wap",array("c"=>"resume","keyword"=>$v['key_name']));
- $v['type_name']='人才';
- }
- $v['key_title']=$v['key_name'];
- if($v['color']){
- $v['key_name']="<font color='".$v['color']."'>".$v['key_name']."</font>";
- }
- $list[] = $v;
- if($i==$limit){
- break;
- }
- }
- }else{
- $i=0;
- foreach($keyword as $k=>$v){
- if($tuijian && $v['tuijian']!=1){
- continue;
- }
- if($type && $v['type']!=$type){
- continue;
- }
- $i++;
- if($v['type']=="1"){
- $v['url'] = Url("once",array("keyword"=>$v['key_name']));
- $v['type_name']='店铺招聘';
- }elseif($v['type']=="2"){
- $v['url'] = Url("part",array("keyword"=>$v['key_name']));
- $v['type_name']='兼职';
- }elseif($v['type']=="13"){
- $v['url'] = Url("tiny",array("keyword"=>$v['key_name']));
- $v['type_name']='普工简历';
- }elseif($v['type']=="3"){
- $v['url'] = Url("job",array("c"=>"search","keyword"=>$v['key_name']));
- $v['type_name']='职位';
- }elseif($v['type']=="4"){
- $v['url'] = Url("company",array("keyword"=>$v['key_name']));
- $v['type_name']='公司';
- }elseif($v['type']=="5"){
- $v['url'] = Url("resume",array("c"=>"search","keyword"=>$v['key_name']));
- $v['type_name']='人才';
- }elseif($v['type']=="6"){
- $v['url'] = Url("lietou",array("c"=>"service","keyword"=>$v['key_name']));
- $v['type_name']='猎头';
- }elseif($v['type']=="7"){
- $v['url'] = Url("lietou",array("c"=>"post","keyword"=>$v['key_name']));
- $v['type_name']='猎头职位';
- }else if($v['type']=="9"){
- $v['url'] = Url("train",array("c"=>"subject","keyword"=>$v['key_name']));
- $v['type_name']='培训课程';
- }else if($v['type']=="10"){
- $v['url'] = Url("train",array("c"=>"agency","keyword"=>$v['key_name']));
- $v['type_name']='培训机构';
- }else if($v['type']=="11"){
- $v['url'] = Url("train",array("c"=>"teacher","keyword"=>$v['key_name']));
- $v['type_name']='培训师';
- }else if($v['type']=="12"){
- $v['url'] = Url("ask",array("c"=>"search","keyword"=>$v['key_name']));
- $v['type_name']='问答';
- }
- $v['key_title']=$v['key_name'];
- if($v['color']){
- $v['key_name']="<font color='".$v['color']."'>".$v['key_name']."</font>";
- }
-
- $list[] = $v;
- if($i==$limit){
- break;
- }
- }
- }
- }$list = $list; if (!is_array($list) && !is_object($list)) { settype($list, 'array');}
-foreach ($list as $_smarty_tpl->tpl_vars['keylist']->key => $_smarty_tpl->tpl_vars['keylist']->value) {
-$_smarty_tpl->tpl_vars['keylist']->_loop = true;
-?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'keyword','v'=>$_smarty_tpl->tpl_vars['keylist']->value['key_title']),$_smarty_tpl);?>
-" title="<?php echo $_smarty_tpl->tpl_vars['keylist']->value['key_title'];?>
-" class="jos_tag_a"><?php echo $_smarty_tpl->tpl_vars['keylist']->value['key_name'];?>
-</a>
- <?php } ?>
- </div>
- <?php } else { ?>
- <div class="jobs_tag"> </div>
- <?php }?>
- </div>
- </div>
-
- <div class="Search_jobs_box">
- <?php if (!$_GET['job1']) {?>
- <div class="Search_jobs_form_list">
- <div class="Search_jobs_name"> 职位:</div>
- <div class="Search_jobs_sub ">
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'job1','v'=>0),$_smarty_tpl);?>
-" class="Search_jobs_sub_a <?php if ($_GET['job1']=='') {?>Search_jobs_sub_cur<?php }?>">全部</a> <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['job_index']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'job1','v'=>$_smarty_tpl->tpl_vars['v']->value),$_smarty_tpl);?>
-" class="Search_jobs_sub_a <?php if ($_GET['job1']==$_smarty_tpl->tpl_vars['v']->value) {?>Search_jobs_sub_cur<?php }?> <?php if ($_smarty_tpl->tpl_vars['key']->value>6) {?>job1list<?php }?> <?php if ($_smarty_tpl->tpl_vars['key']->value>6) {?>none<?php }?>"><?php echo $_smarty_tpl->tpl_vars['job_name']->value[$_smarty_tpl->tpl_vars['v']->value];?>
-</a> <?php } ?></div>
- <div class="zh_more">
- <a href="javascript:checkmore('job1list');" id="job1list" rel="nofollow">更多</a>
- </div>
- </div>
- <?php }?> <?php if ($_GET['job1']&&!$_GET['job1_son']) {?>
- <div class="Search_jobs_form_list">
- <div class="Search_jobs_name"> 子类:</div>
- <div class="Search_jobs_sub ">
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'job1_son'),$_smarty_tpl);?>
-" class="Search_jobs_sub_a <?php if ($_GET['job1_son']=='') {?>Search_jobs_sub_cur<?php }?>">全部</a> <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['job_type']->value[$_GET['job1']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'job1_son','v'=>$_smarty_tpl->tpl_vars['v']->value),$_smarty_tpl);?>
-" class="Search_jobs_sub_a <?php if ($_GET['job1_son']==$_smarty_tpl->tpl_vars['v']->value) {?>Search_jobs_sub_cur<?php }?>"><?php echo $_smarty_tpl->tpl_vars['job_name']->value[$_smarty_tpl->tpl_vars['v']->value];?>
-</a> <?php } ?>
- </div>
- </div>
- <?php }?> <?php if ($_GET['job1_son']) {?>
- <div class="Search_jobs_form_list">
- <div class="Search_jobs_name"> 类别:</div>
- <div class="Search_jobs_sub ">
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'job1_son','v'=>$_GET['job1_son']),$_smarty_tpl);?>
-" class="Search_jobs_sub_a <?php if ($_GET['job_post']=='') {?>Search_jobs_sub_cur<?php }?>">全部</a>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['job_type']->value[$_GET['job1_son']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'job_post','v'=>$_smarty_tpl->tpl_vars['v']->value),$_smarty_tpl);?>
-" class="Search_jobs_sub_a <?php if ($_GET['job_post']==$_smarty_tpl->tpl_vars['v']->value) {?>Search_jobs_sub_cur<?php }?>"><?php echo $_smarty_tpl->tpl_vars['job_name']->value[$_smarty_tpl->tpl_vars['v']->value];?>
-</a>
- <?php } ?>
- </div>
- </div>
- <?php }?>
-
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_web_site']==1&&$_smarty_tpl->tpl_vars['config']->value['cityname']&&$_smarty_tpl->tpl_vars['config']->value['cityname']!=$_smarty_tpl->tpl_vars['config']->value['sy_indexcity']) {?>
- <div class="Search_citybox">
- <div class="Search_cityboxname"> 地点:</div>
- <div class="Search_citybox_right">
- <div class="Search_cityboxright">
- <div class="search_city_list">
- <?php if (!$_GET['cityid']&&$_GET['three_cityid']) {?>
- <a class="city_name city_name_active" style="text-decoration:none;cursor:pointer;"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_GET['three_cityid']];?>
-</a>
- <?php } else { ?> <?php if (is_array($_smarty_tpl->tpl_vars['city_type']->value[$_GET['cityid']])) {?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','untype'=>'three_cityid'),$_smarty_tpl);?>
-" class="city_name <?php if (!$_GET['three_cityid']) {?>city_name_active<?php }?>">不限</a>
- <?php $_smarty_tpl->tpl_vars['tid'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tid']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['city_type']->value[$_GET['cityid']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['tid']->key => $_smarty_tpl->tpl_vars['tid']->value) {
-$_smarty_tpl->tpl_vars['tid']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['tid']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'three_cityid','v'=>$_smarty_tpl->tpl_vars['tid']->value),$_smarty_tpl);?>
-" class="city_name <?php if ($_GET['three_cityid']==$_smarty_tpl->tpl_vars['tid']->value) {?>city_name_active<?php }?>"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_smarty_tpl->tpl_vars['tid']->value];?>
-</a>
- <?php } ?> <?php } else { ?>
- <?php if (is_array($_smarty_tpl->tpl_vars['city_type']->value[$_GET['provinceid']])) {?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','untype'=>'cityid'),$_smarty_tpl);?>
-" class="city_name <?php if (!$_GET['cityid']) {?>city_name_active<?php }?>">不限</a>
- <?php $_smarty_tpl->tpl_vars['tid'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tid']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['city_type']->value[$_GET['provinceid']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['tid']->key => $_smarty_tpl->tpl_vars['tid']->value) {
-$_smarty_tpl->tpl_vars['tid']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['tid']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'cityid','v'=>$_smarty_tpl->tpl_vars['tid']->value),$_smarty_tpl);?>
-" class="city_name <?php if ($_GET['cityid']==$_smarty_tpl->tpl_vars['tid']->value) {?>city_name_active<?php }?>"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_smarty_tpl->tpl_vars['tid']->value];?>
-</a>
- <?php } ?>
- <?php } else { ?>
- <a class="city_name city_name_active" style="text-decoration:none;cursor:pointer;"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_GET['provinceid']];?>
-</a>
- <?php }?>
- <?php }?> <?php }?>
- </div>
- </div>
- </div>
- </div>
- <?php } elseif ($_smarty_tpl->tpl_vars['config']->value['sy_web_city_one']) {?>
- <div class="Search_citybox">
- <div class="Search_cityboxname"> 地点:</div>
- <div class="Search_citybox_right">
- <div class="Search_cityboxright">
- <div class="search_city_list">
- <?php if (!$_GET['cityid']&&$_GET['three_cityid']) {?>
- <a class="city_name city_name_active" style="text-decoration:none;cursor:pointer;"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_GET['three_cityid']];?>
-</a>
- <?php } else { ?> <?php if (is_array($_smarty_tpl->tpl_vars['city_type']->value[$_GET['cityid']])) {?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','untype'=>'three_cityid'),$_smarty_tpl);?>
-" class="city_name <?php if (!$_GET['three_cityid']) {?>city_name_active<?php }?>">不限</a>
- <?php $_smarty_tpl->tpl_vars['tid'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tid']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['city_type']->value[$_GET['cityid']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['tid']->key => $_smarty_tpl->tpl_vars['tid']->value) {
-$_smarty_tpl->tpl_vars['tid']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['tid']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'three_cityid','v'=>$_smarty_tpl->tpl_vars['tid']->value),$_smarty_tpl);?>
-" class="city_name <?php if ($_GET['three_cityid']==$_smarty_tpl->tpl_vars['tid']->value) {?>city_name_active<?php }?>"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_smarty_tpl->tpl_vars['tid']->value];?>
-</a>
- <?php } ?> <?php } else { ?>
- <?php if (is_array($_smarty_tpl->tpl_vars['city_type']->value[$_GET['provinceid']])) {?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','untype'=>'cityid'),$_smarty_tpl);?>
-" class="city_name <?php if (!$_GET['cityid']) {?>city_name_active<?php }?>">不限</a>
- <?php $_smarty_tpl->tpl_vars['tid'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tid']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['city_type']->value[$_GET['provinceid']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['tid']->key => $_smarty_tpl->tpl_vars['tid']->value) {
-$_smarty_tpl->tpl_vars['tid']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['tid']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'cityid','v'=>$_smarty_tpl->tpl_vars['tid']->value),$_smarty_tpl);?>
-" class="city_name <?php if ($_GET['cityid']==$_smarty_tpl->tpl_vars['tid']->value) {?>city_name_active<?php }?>"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_smarty_tpl->tpl_vars['tid']->value];?>
-</a>
- <?php } ?>
- <?php } else { ?>
- <a class="city_name city_name_active" style="text-decoration:none;cursor:pointer;"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_GET['provinceid']];?>
-</a>
- <?php }?>
- <?php }?> <?php }?>
- </div>
- </div>
- </div>
- </div>
- <?php } else { ?>
- <div class="Search_citybox">
- <div class="Search_cityboxname"> 地点:</div>
- <div class="Search_citybox_right">
- <div class="Search_cityall none">
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'provinceid','v'=>0),$_smarty_tpl);?>
-" class="city_name">全部</a>
- <?php $_smarty_tpl->tpl_vars['pid'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['pid']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['city_index']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['pid']->key => $_smarty_tpl->tpl_vars['pid']->value) {
-$_smarty_tpl->tpl_vars['pid']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['pid']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'provinceid','v'=>$_smarty_tpl->tpl_vars['pid']->value),$_smarty_tpl);?>
-" class="city_name <?php if ($_GET['provinceid']==$_smarty_tpl->tpl_vars['pid']->value) {?>city_name_active<?php }?>"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_smarty_tpl->tpl_vars['pid']->value];?>
-</a>
- <?php } ?>
- </div>
- <div class="Search_cityboxright">
- <a href="javascript:;" onclick="acityshow('1')" class="search_city_list_cur <?php if ($_GET['provinceid']&&!$_GET['cityid']||!is_array($_smarty_tpl->tpl_vars['city_type']->value[$_GET['cityid']])) {?>search_city_active<?php }?> <?php if (!$_GET['provinceid']) {?>none<?php }?> acity_two" style="text-decoration:none;cursor:pointer;"><span class="search_city_p"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_GET['provinceid']];?>
-</span><i class="search_city_p_jt"></i><i class="search_city_list_line"></i></a>
- <a href="javascript:;" <?php if ($_GET['cityid']) {?>onclick="acityshow('2')" <?php }?> class="search_city_list_cur <?php if ($_GET['cityid']&&is_array($_smarty_tpl->tpl_vars['city_type']->value[$_GET['cityid']])) {?>search_city_active<?php }?> <?php if (!$_GET['provinceid']||!$_GET['cityid']||!is_array($_smarty_tpl->tpl_vars['city_type']->value[$_GET['cityid']])) {?>none<?php }?> acity_three" style="text-decoration:none;cursor:pointer;"><span class="search_city_p"><?php if (!$_GET['cityid']) {?>不限<?php } else {
-echo $_smarty_tpl->tpl_vars['city_name']->value[$_GET['cityid']];
-}?></span><i class="search_city_list_line"></i></a>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'provinceid','v'=>0),$_smarty_tpl);?>
-" class="search_city_list_all <?php if (!$_GET['provinceid']) {?>city_name_active<?php }?>">全部</a>
- <div class="search_city_list">
- <?php $_smarty_tpl->tpl_vars['pid'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['pid']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['city_index']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['pid']->key => $_smarty_tpl->tpl_vars['pid']->value) {
-$_smarty_tpl->tpl_vars['pid']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['pid']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'provinceid','v'=>$_smarty_tpl->tpl_vars['pid']->value),$_smarty_tpl);?>
-" class="city_name <?php if ($_GET['provinceid']&&!$_GET['cityid']) {
-if ($_smarty_tpl->tpl_vars['key']->value>13) {?>none<?php }
-} elseif ($_GET['cityid']) {
-if ($_smarty_tpl->tpl_vars['key']->value>12) {?>none<?php }
-} else {
-if ($_smarty_tpl->tpl_vars['key']->value>14) {?>none<?php }
-}?> <?php if ($_GET['provinceid']==$_smarty_tpl->tpl_vars['pid']->value) {?>city_name_active<?php }?>"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_smarty_tpl->tpl_vars['pid']->value];?>
-</a>
- <?php } ?>
- </div>
- <a href="javascript:;" class="search_city_list_more" id="acity">更多</a>
- </div>
- <div class="Search_cityboxclose <?php if (!$_GET['provinceid']||($_GET['provinceid']&&$_GET['cityid']&&is_array($_smarty_tpl->tpl_vars['city_type']->value[$_GET['cityid']]))) {?>none<?php }?>" id="acity_two">
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','untype'=>'cityid'),$_smarty_tpl);?>
-" class="city_name <?php if ($_GET['provinceid']&&!$_GET['cityid']&&!$_GET['three_cityid']) {?>city_name_active<?php }?>">不限</a>
- <?php $_smarty_tpl->tpl_vars['cid'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['cid']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['city_type']->value[$_GET['provinceid']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['cid']->key => $_smarty_tpl->tpl_vars['cid']->value) {
-$_smarty_tpl->tpl_vars['cid']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['cid']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'cityid','v'=>$_smarty_tpl->tpl_vars['cid']->value),$_smarty_tpl);?>
-" class="city_name <?php if ($_GET['cityid']==$_smarty_tpl->tpl_vars['cid']->value) {?>city_name_active<?php }?>"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_smarty_tpl->tpl_vars['cid']->value];?>
-</a>
- <?php } ?>
- </div>
- <div class="Search_cityboxclose <?php if (!$_GET['cityid']||!is_array($_smarty_tpl->tpl_vars['city_type']->value[$_GET['cityid']])) {?>none<?php }?>" id="acity_three">
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','untype'=>'three_cityid'),$_smarty_tpl);?>
-" class="city_name <?php if ($_GET['provinceid']&&$_GET['cityid']&&!$_GET['three_cityid']) {?>city_name_active<?php }?>">不限</a>
- <?php $_smarty_tpl->tpl_vars['tid'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tid']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['city_type']->value[$_GET['cityid']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['tid']->key => $_smarty_tpl->tpl_vars['tid']->value) {
-$_smarty_tpl->tpl_vars['tid']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['tid']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'three_cityid','v'=>$_smarty_tpl->tpl_vars['tid']->value),$_smarty_tpl);?>
-" class="city_name <?php if ($_GET['three_cityid']==$_smarty_tpl->tpl_vars['tid']->value) {?>city_name_active<?php }?>"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_smarty_tpl->tpl_vars['tid']->value];?>
-</a>
- <?php } ?>
- </div>
- </div>
- </div>
- <?php }?>
-
- <?php if ($_smarty_tpl->tpl_vars['userdata']->value['user_tag']) {?>
- <div class="Search_jobs_form_list search_more">
- <div class="Search_jobs_name"> 标签:</div>
- <div class="Search_jobs_sub">
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'tag','v'=>0),$_smarty_tpl);?>
-" class="Search_jobs_sub_a <?php if (!$_GET['tag']) {?>Search_jobs_sub_cur<?php }?>">全部</a>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['userdata']->value['user_tag']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'tag','v'=>$_smarty_tpl->tpl_vars['v']->value),$_smarty_tpl);?>
-" class="Search_jobs_sub_a <?php if ($_smarty_tpl->tpl_vars['key']->value>9) {?>none<?php }?> <?php if ($_smarty_tpl->tpl_vars['key']->value>9) {?>taglist<?php }?> <?php if ($_GET['tag']==$_smarty_tpl->tpl_vars['v']->value) {?>Search_jobs_sub_cur<?php }?>"><?php echo $_smarty_tpl->tpl_vars['userclass_name']->value[$_smarty_tpl->tpl_vars['v']->value];?>
-</a>
- <?php } ?>
- </div>
- <?php if (count($_smarty_tpl->tpl_vars['userdata']->value['user_tag'])>10) {?>
- <div class="zh_more">
- <a href="javascript:checkmore('taglist');" id="taglist" rel="nofollow">更多</a>
- </div>
- <?php }?>
- </div>
- <?php }?>
- <div class="searchmorelist none">
- <div class="Search_jobs_form_list search_more">
- <div class="Search_jobs_name"> 薪资:</div>
- <div>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'salary','v'=>0),$_smarty_tpl);?>
-" class="Search_jobs_sub_a <?php if ($_GET['minsalary']==''&&$_GET['maxsalary']=='') {?>Search_jobs_sub_cur<?php }?>">全部</a>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'salary','v'=>'2000_4000'),$_smarty_tpl);?>
-" class="Search_jobs_cxz <?php if ($_GET['minsalary']==2000&&$_GET['maxsalary']==4000) {?>Search_jobs_sub_cur<?php }?>">2000-4000</a>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'salary','v'=>'4000_6000'),$_smarty_tpl);?>
-" class="Search_jobs_cxz <?php if ($_GET['minsalary']==4000&&$_GET['maxsalary']==6000) {?>Search_jobs_sub_cur<?php }?>">4000-6000</a>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'salary','v'=>'6000_8000'),$_smarty_tpl);?>
-" class="Search_jobs_cxz <?php if ($_GET['minsalary']==6000&&$_GET['maxsalary']==8000) {?>Search_jobs_sub_cur<?php }?>">6000-8000</a>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'salary','v'=>'8000_10000'),$_smarty_tpl);?>
-" class="Search_jobs_cxz <?php if ($_GET['minsalary']==8000&&$_GET['maxsalary']==10000) {?>Search_jobs_sub_cur<?php }?>">8000-10000</a>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'salary','v'=>'10000'),$_smarty_tpl);?>
-" class="Search_jobs_cxz <?php if ($_GET['minsalary']==10000) {?>Search_jobs_sub_cur<?php }?>">10000以上</a>
- </div>
- <div>
- <input type="text" name="minsalary" id="min" value="<?php if ($_GET['minsalary']) {
-echo $_GET['minsalary'];
-}?>" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" class="job_xz_text" />
- <span class="job_xz_line">-</span>
- <input type="text" name="maxsalary" id="max" value="<?php if ($_GET['maxsalary']) {
-echo $_GET['maxsalary'];
-}?>" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" class="job_xz_text" />
- <input type="submit" value="确定" class="job_xz_bth" />
- </div>
- </div>
- <div class="Search_jobs_form_list search_more">
- <div class="Search_jobs_name"> 年龄:</div>
- <div class=" ">
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'age','v'=>0),$_smarty_tpl);?>
-" class="Search_jobs_sub_a <?php if ($_GET['minage']==''&&$_GET['maxage']=='') {?>Search_jobs_sub_cur<?php }?>">全部</a>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'age','v'=>'16_20'),$_smarty_tpl);?>
-" class="Search_jobs_sub_a <?php if ($_GET['minage']==16&&$_GET['maxage']==20) {?>Search_jobs_sub_cur<?php }?>">16-20岁</a>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'age','v'=>'21_30'),$_smarty_tpl);?>
-" class="Search_jobs_sub_a <?php if ($_GET['minage']==21&&$_GET['maxage']==30) {?>Search_jobs_sub_cur<?php }?>">21-30岁</a>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'age','v'=>'31_40'),$_smarty_tpl);?>
-" class="Search_jobs_sub_a <?php if ($_GET['minage']==31&&$_GET['maxage']==40) {?>Search_jobs_sub_cur<?php }?>">31-40岁</a>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'age','v'=>'41_50'),$_smarty_tpl);?>
-" class="Search_jobs_sub_a <?php if ($_GET['minage']==41&&$_GET['maxage']==50) {?>Search_jobs_sub_cur<?php }?>">41-50岁</a>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'age','v'=>'50'),$_smarty_tpl);?>
-" class="Search_jobs_sub_a <?php if ($_GET['minage']==50) {?>Search_jobs_sub_cur<?php }?>">50岁以上</a>
- </div>
- <div>
- <input type="text" name="minage" id="mina" value="<?php if ($_GET['minage']) {
-echo $_GET['minage'];
-}?>" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" class="job_xz_text" />
- <span class="job_xz_line">-</span>
- <input type="text" name="maxage" id="maxa" value="<?php if ($_GET['maxage']) {
-echo $_GET['maxage'];
-}?>" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" class="job_xz_text" />
- <input type="submit" value="确定" class="job_xz_bth" />
- </div>
- </div>
- <div class="Search_jobs_form_list search_more">
- <div class="Search_jobs_name"> 完整度:</div>
- <div class="Search_jobs_sub">
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'integrity','v'=>0),$_smarty_tpl);?>
-" class="Search_jobs_sub_a <?php if (!$_GET['integrity']) {?>Search_jobs_sub_cur<?php }?>">全部</a>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['integrity_name']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'integrity','v'=>$_smarty_tpl->tpl_vars['k']->value),$_smarty_tpl);?>
-" class="Search_jobs_sub_a <?php if ($_GET['integrity']==$_smarty_tpl->tpl_vars['k']->value) {?>Search_jobs_sub_cur<?php }?>"><?php echo $_smarty_tpl->tpl_vars['v']->value;?>
-</a>
- <?php } ?>
- </div>
- </div>
- <div class="Search_jobs_form_list search_more">
- <div class="Search_jobs_name"> 更多:</div>
-
- <div class="Search_jobs_sub" style="width:1090px;">
-
- <div class="Search_jobs_more_chlose">
- <span class="Search_jobs_more_chlose_s"><?php if ($_GET['hy']) {
-echo $_smarty_tpl->tpl_vars['industry_name']->value[$_GET['hy']];
-} else { ?>工作行业<?php }?></span><i class=""></i>
- <div class="Search_jobs_more_chlose_hylist none">
- <ul>
- <?php if ($_smarty_tpl->tpl_vars['config']->value['fz_type']!='2'&&$_smarty_tpl->tpl_vars['config']->value['hyclass']=='') {?>
- <div class="Search_jobs_form_list">
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['industry_index']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <li>
- <a href="javascript:;" onclick="showurl('<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'hy','v'=>$_smarty_tpl->tpl_vars['v']->value),$_smarty_tpl);?>
-')"><?php echo $_smarty_tpl->tpl_vars['industry_name']->value[$_smarty_tpl->tpl_vars['v']->value];?>
-</a>
- </li>
- <?php } ?>
- </div>
- <?php }?>
- </ul>
- </div>
- </div>
-
- <div class="Search_jobs_more_chlose"><span class="Search_jobs_more_chlose_s"><?php if ($_GET['edu']) {
-echo $_smarty_tpl->tpl_vars['userclass_name']->value[$_GET['edu']];
-} else { ?>学历要求<?php }?></span><i class=""></i>
- <div class="Search_jobs_more_chlose_list none">
- <ul>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['userdata']->value['user_edu']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <li>
- <a href="javascript:;" onclick="showurl('<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'edu','v'=>$_smarty_tpl->tpl_vars['v']->value),$_smarty_tpl);?>
-')"><?php echo $_smarty_tpl->tpl_vars['userclass_name']->value[$_smarty_tpl->tpl_vars['v']->value];?>
-</a>
- </li>
- <?php } ?>
- </ul>
- </div>
- </div>
-
- <div class="Search_jobs_more_chlose"><span class="Search_jobs_more_chlose_s"><?php if ($_GET['exp']) {
-echo $_smarty_tpl->tpl_vars['userclass_name']->value[$_GET['exp']];
-} else { ?>工作经验<?php }?></span><i class=""></i>
- <div class="Search_jobs_more_chlose_list none">
- <ul>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['userdata']->value['user_word']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <li>
- <a href="javascript:;" onclick="showurl('<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'exp','v'=>$_smarty_tpl->tpl_vars['v']->value),$_smarty_tpl);?>
-')"><?php echo $_smarty_tpl->tpl_vars['userclass_name']->value[$_smarty_tpl->tpl_vars['v']->value];?>
-</a>
- </li>
- <?php } ?>
- </ul>
- </div>
- </div>
-
- <div class="Search_jobs_more_chlose"><span class="Search_jobs_more_chlose_s"><?php if ($_GET['sex']) {
-echo $_smarty_tpl->tpl_vars['user_sex']->value[$_GET['sex']];
-} else { ?>性别要求<?php }?></span><i class=""></i>
- <div class="Search_jobs_more_chlose_list none">
- <ul>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['j'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['user_sex']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['j']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <li>
- <a href="javascript:;" onclick="showurl('<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'sex','v'=>$_smarty_tpl->tpl_vars['j']->value),$_smarty_tpl);?>
-')"><?php echo $_smarty_tpl->tpl_vars['v']->value;?>
-</a>
- </li>
- <?php } ?>
-
- </ul>
- </div>
- </div>
-
- <div class="Search_jobs_more_chlose"><span class="Search_jobs_more_chlose_s"><?php if ($_GET['report']) {
-echo $_smarty_tpl->tpl_vars['userclass_name']->value[$_GET['report']];
-} else { ?>到岗时间<?php }?></span><i class=""></i>
- <div class="Search_jobs_more_chlose_list none">
- <ul>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['userdata']->value['user_report']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <li>
- <a href="javascript:;" onclick="showurl('<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'report','v'=>$_smarty_tpl->tpl_vars['v']->value),$_smarty_tpl);?>
-')"><?php echo $_smarty_tpl->tpl_vars['userclass_name']->value[$_smarty_tpl->tpl_vars['v']->value];?>
-</a>
- </li>
- <?php } ?>
- </ul>
- </div>
- </div>
-
- <div class="Search_jobs_more_chlose"><span class="Search_jobs_more_chlose_s"><?php if ($_smarty_tpl->tpl_vars['uptime']->value[$_GET['uptime']]) {
-echo $_smarty_tpl->tpl_vars['uptime']->value[$_GET['uptime']];
-} else { ?>更新时间<?php }?></span><i class=""></i>
- <div class="Search_jobs_more_chlose_list none">
- <ul>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['uptime']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <li>
- <a href="javascript:;" onclick="showurl('<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'uptime','v'=>$_smarty_tpl->tpl_vars['key']->value),$_smarty_tpl);?>
-')"><?php echo $_smarty_tpl->tpl_vars['v']->value;?>
-</a>
- </li>
- <?php } ?>
- </ul>
- </div>
- </div>
-
- <div class="Search_jobs_more_chlose"><span class="Search_jobs_more_chlose_s"><?php if ($_GET['type']) {
-echo $_smarty_tpl->tpl_vars['userclass_name']->value[$_GET['type']];
-} else { ?>工作性质<?php }?></span><i class=""></i>
- <div class="Search_jobs_more_chlose_list none">
- <ul>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['userdata']->value['user_type']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <li>
- <a href="javascript:;" onclick="showurl('<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'type','v'=>$_smarty_tpl->tpl_vars['v']->value),$_smarty_tpl);?>
-')"><?php echo $_smarty_tpl->tpl_vars['userclass_name']->value[$_smarty_tpl->tpl_vars['v']->value];?>
-</a>
- </li>
- <?php } ?>
- </ul>
- </div>
- </div>
-
- </div>
- </div>
- </div>
-
- <?php if ($_GET['job1']||$_GET['job1_son']||$_GET['job_post']||($_GET['provinceid']&&!$_smarty_tpl->tpl_vars['config']->value['sy_web_city_one'])||($_GET['cityid']&&!$_smarty_tpl->tpl_vars['config']->value['sy_web_city_two'])||$_GET['three_cityid']||$_GET['hy']||$_GET['minsalary']||$_GET['maxsalary']||$_GET['minage']||$_GET['maxage']||$_GET['edu']||$_GET['exp']||$_GET['tag']||$_GET['sex']||$_GET['type']||$_GET['report']||$_GET['uptime']||$_GET['keyword']||$_GET['idcard']||$_GET['work']||$_GET['integrity']) {?>
- <div class="Search_close_box">
- <div>
- <div class="Search_clear">
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_default_userclass']==1) {?>
- <a href="<?php echo smarty_function_url(array('m'=>'resume','c'=>'search'),$_smarty_tpl);?>
-"> 清除所选</a>
- <?php } else { ?>
- <a href="<?php echo smarty_function_url(array('m'=>'resume'),$_smarty_tpl);?>
-"> 清除所选</a>
- <?php }?>
- </div>
- <span class="Search_close_box_s">已选条件:</span>
- </div>
- <?php if ($_GET['job1']) {?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','untype'=>'job1'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">职位分类:<?php echo $_smarty_tpl->tpl_vars['job_name']->value[$_GET['job1']];?>
-</a>
- <?php }?>
- <?php if ($_GET['job1_son']) {?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','untype'=>'job1_son'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac"><?php echo $_smarty_tpl->tpl_vars['job_name']->value[$_GET['job1_son']];?>
-</a>
- <?php }?>
- <?php if ($_GET['job_post']) {?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','untype'=>'job_post'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac"><?php echo $_smarty_tpl->tpl_vars['job_name']->value[$_GET['job_post']];?>
-</a>
- <?php }?>
- <?php if ($_smarty_tpl->tpl_vars['config']->value['cityid']==''&&$_smarty_tpl->tpl_vars['config']->value['three_cityid']=='') {?>
- <?php if ($_GET['provinceid']&&!$_smarty_tpl->tpl_vars['config']->value['sy_web_city_one']) {?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','untype'=>'provinceid'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">工作地点:<?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_GET['provinceid']];?>
-</a>
- <?php }?>
- <?php if ($_GET['cityid']&&!$_smarty_tpl->tpl_vars['config']->value['sy_web_city_two']) {?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','untype'=>'cityid'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_GET['cityid']];?>
-</a>
- <?php }?>
- <?php if ($_GET['three_cityid']) {?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','untype'=>'three_cityid'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_GET['three_cityid']];?>
-</a>
- <?php }?>
- <?php }?>
- <?php if ($_smarty_tpl->tpl_vars['industry_name']->value[$_GET['hy']]) {?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','untype'=>'hy'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">行业:<?php echo $_smarty_tpl->tpl_vars['industry_name']->value[$_GET['hy']];?>
-</a>
- <?php }?>
-
- <?php if ($_GET['minsalary']&&$_GET['maxsalary']) {?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','untype'=>'salary'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">薪资:<?php echo $_GET['minsalary'];?>
--<?php echo $_GET['maxsalary'];?>
-</a>
- <?php } elseif ($_GET['minsalary']&&!$_GET['maxsalary']) {?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','untype'=>'salary'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">薪资:<?php echo $_GET['minsalary'];?>
-及以上</a>
- <?php } elseif (!$_GET['minsalary']&&$_GET['maxsalary']) {?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','untype'=>'salary'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">薪资:<?php echo $_GET['maxsalary'];?>
-及以下</a>
- <?php }?>
-
- <?php if ($_GET['minage']&&$_GET['maxage']) {?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','untype'=>'age'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">年龄:<?php echo $_GET['minage'];?>
--<?php echo $_GET['maxage'];?>
-</a>
- <?php } elseif ($_GET['minage']&&!$_GET['maxage']) {?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','untype'=>'age'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">年龄:<?php echo $_GET['minage'];?>
-及以上</a>
- <?php }?>
-
- <?php if ($_GET['integrity']) {?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','untype'=>'integrity'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">简历完整度:<?php echo $_smarty_tpl->tpl_vars['integrity_name']->value[$_GET['integrity']];?>
-</a>
- <?php }?>
-
- <?php if ($_GET['edu']) {?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','untype'=>'edu'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">学历:<?php echo $_smarty_tpl->tpl_vars['userclass_name']->value[$_GET['edu']];?>
-</a>
- <?php }?>
- <?php if ($_GET['exp']) {?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','untype'=>'exp'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">工作经验:<?php echo $_smarty_tpl->tpl_vars['userclass_name']->value[$_GET['exp']];?>
-</a>
- <?php }?>
- <?php if ($_GET['tag']) {?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','untype'=>'tag'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">个人标签:<?php echo $_smarty_tpl->tpl_vars['userclass_name']->value[$_GET['tag']];?>
-</a>
- <?php }?>
- <?php if ($_GET['sex']) {?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','untype'=>'sex'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">性别:<?php echo $_smarty_tpl->tpl_vars['user_sex']->value[$_GET['sex']];?>
-</a>
- <?php }?>
- <?php if ($_GET['type']) {?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','untype'=>'type'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">工作类型:<?php echo $_smarty_tpl->tpl_vars['userclass_name']->value[$_GET['type']];?>
-</a>
- <?php }?>
- <?php if ($_GET['report']) {?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','untype'=>'report'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">到岗时间:<?php echo $_smarty_tpl->tpl_vars['userclass_name']->value[$_GET['report']];?>
-</a>
- <?php }?>
- <?php if ($_GET['uptime']) {?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','untype'=>'uptime'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">更新时间:<?php echo $_smarty_tpl->tpl_vars['uptime']->value[$_GET['uptime']];?>
-</a>
- <?php }?>
- <?php if ($_GET['keyword']) {?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','untype'=>'keyword'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac"><?php echo $_GET['keyword'];?>
-</a>
- <?php }?>
- <?php if ($_GET['idcard']) {?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','untype'=>'idcard'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">有身份验证</a>
- <?php }?>
- <?php if ($_GET['work']) {?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','untype'=>'work'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">有作品</a>
- <?php }?>
- </div>
- <?php }?>
- </div>
- <div class="clear"></div>
- <div class="user_zk"> <a href="javascript:;" onclick="$('.searchmorelist').toggle()" class="user_zk_b "></a></div>
- </form>
-
- <div class="search_h1_box">
- <div class="search_h1_box_title">
- <ul class="search_h1_box_list">
- <li <?php if ($_GET['pic']=='') {?>class="search_job_all " <?php }?> class="search_job_all ">
- <a href="<?php echo smarty_function_url(array('m'=>'resume','c'=>'search'),$_smarty_tpl);?>
-">所有人才</a><i class="search_h1_box_list_icon"></i>
- </li>
- <li <?php if ($_GET['order']=='lastdate') {?>class="search_Filter_current" <?php }?>>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'order','v'=>'lastdate'),$_smarty_tpl);?>
-"><span>更新时间</span><i class="search_Filter_icon"></i></a>
- </li>
- <li <?php if ($_GET['order']=='ctime') {?>class="search_Filter_current" <?php }?>>
- <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'order','v'=>'ctime'),$_smarty_tpl);?>
-"><span>发布时间</span><i class="search_Filter_icon"></i></a>
- </li>
- <li class="<?php if ($_GET['pic']) {?>search_h1_box_cur<?php }?> job_tj_t">
- <a href="<?php if ($_GET['pic']) {
-echo smarty_function_listurl(array('m'=>'resume','type'=>'tp','v'=>0),$_smarty_tpl);
-} else {
-echo smarty_function_listurl(array('m'=>'resume','type'=>'tp','v'=>1),$_smarty_tpl);
-}?>" class="job_zt">有照片<i class="job_tj_chk"></i></a>
- </li>
- <li class="<?php if ($_GET['idcard']) {?>search_h1_box_cur<?php }?>">
- <a href="<?php if ($_GET['idcard']) {
-echo smarty_function_listurl(array('m'=>'resume','type'=>'idcard','v'=>0),$_smarty_tpl);
-} else {
-echo smarty_function_listurl(array('m'=>'resume','type'=>'idcard','v'=>1),$_smarty_tpl);
-}?>" class="job_zt">实名认证<i class="job_tj_chk"></i></a>
- </li>
- <li class="<?php if ($_GET['work']) {?>search_h1_box_cur<?php }?>">
- <a href="<?php if ($_GET['work']) {
-echo smarty_function_listurl(array('m'=>'resume','type'=>'work','v'=>0),$_smarty_tpl);
-} else {
-echo smarty_function_listurl(array('m'=>'resume','type'=>'work','v'=>1),$_smarty_tpl);
-}?>" class="job_zt">有作品<i class="job_tj_chk"></i></a>
- </li>
- </ul>
-
- <div class="search_mxbox"> <a href="<?php echo smarty_function_listurl(array('m'=>'resume','untype'=>'rtype'),$_smarty_tpl);?>
-" class="search_mx <?php if ($_GET['rtype']!='1') {?>search_mxcur<?php }?>"><i class="search_mx_a"></i></a> <a href="<?php echo smarty_function_listurl(array('m'=>'resume','type'=>'rtype','v'=>1),$_smarty_tpl);?>
-" class="search_mx <?php if ($_GET['rtype']=='1') {?>search_mxcur<?php }?>"><i class="search_mx_b"></i></a> </div>
- <div class="search_h1_box_t fr">提升招聘效果,请致电:<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_freewebtel'];?>
-</div>
- </div>
- </div>
-
- <div class="user_left_sidebar">
-
- <?php if ($_smarty_tpl->tpl_vars['config']->value['com_search']==1&&$_smarty_tpl->tpl_vars['config']->value['com_status_search']==1) {?>
-
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_user_visit_resume']==0) {?>
- <?php if (!$_smarty_tpl->tpl_vars['uid']->value||$_smarty_tpl->tpl_vars['usertype']->value==1||$_smarty_tpl->tpl_vars['r_status']->value!=1) {?>
-
- <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/resume/topfour_list.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-
- <?php if (!$_smarty_tpl->tpl_vars['uid']->value||$_smarty_tpl->tpl_vars['usertype']->value==1) {?>
-
- <div class=" search_nologin_user_bg">
-
- <div class="search_nologin_tip_t">成为企业会员,高效挑选人才!</div>
-
- <?php if (!$_smarty_tpl->tpl_vars['uid']->value) {?>
- <div class="search_nologin_tip_p"> 登录或注册后可以查看更多简历信息~</div>
- <?php } else { ?>
- <div class="search_nologin_tip_p"></div>
- <?php }?>
-
- <dl class="search_nologin_tip_wx">
- <dt><img src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_wx_qcode'];?>
-" width="130" height="130"></dt>
- <dd>扫一扫,让招聘更轻松</dd>
- </dl>
-
- <div class="search_nologin_tip_bth">
- <?php if ($_smarty_tpl->tpl_vars['usertype']->value==1) {?>
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_user_change']==1) {?>
- <a href="javascript:void(0)" onclick="changeutype()">身份切换</a>
- <?php } else { ?>
- <a href="javascript:void(0)" onclick="logoutUser('<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/index.php?c=logout', '<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/login')">登录企业</a>
- <?php }?>
- <?php } else { ?>
- <a href="<?php echo smarty_function_url(array('m'=>'register'),$_smarty_tpl);?>
-">注册会员</a>
- <a href="javascript:void(0);" onclick="showlogin('2');" class="search_nologin_tip_bth_have">登录账号</a>
- <?php }?>
- </div>
- <div class="search_nologin_tip_tel">如有需要任何贴心的服务:<span class="search_nologin_tip_tel_n"><?php echo $_smarty_tpl->tpl_vars['config']->value['sy_freewebtel'];?>
-</span></div>
- </div>
- <?php } else { ?>
-
- <div class=" search_nologin_user_bg">
- <div class="search_nologin_tip_t">账户正在审核中,无法挑选人才!</div>
- <div class="search_nologin_tip_p"></div>
- <dl class="search_nologin_tip_wx">
- <dt><img src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_wx_qcode'];?>
-" width="130" height="130"></dt>
- <dd>扫一扫,让招聘更轻松</dd>
- </dl>
- <div class="search_nologin_tip_p">联系客服,加快审核,高效挑选人才</div>
- <div class="search_nologin_tip_tel">贴心服务热线:<span class="search_nologin_tip_tel_n"><?php echo $_smarty_tpl->tpl_vars['config']->value['sy_freewebtel'];?>
-</span></div>
- </div>
- <?php }?>
-
- <?php } else { ?>
-
- <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/resume/normal_list.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-
- <?php }?>
- <?php } elseif ($_smarty_tpl->tpl_vars['config']->value['sy_user_visit_resume']==1) {?>
- <?php if ($_smarty_tpl->tpl_vars['usertype']->value!=1) {?>
-
- <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/resume/topfour_list.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-
- <?php if (!$_smarty_tpl->tpl_vars['uid']->value) {?>
-
- <div class=" search_nologin_user_bg">
-
- <div class="search_nologin_tip_t">成为企业会员,高效挑选人才!</div>
-
- <?php if (!$_smarty_tpl->tpl_vars['uid']->value) {?>
- <div class="search_nologin_tip_p"> 登录或注册后可以查看更多简历信息~</div>
- <?php } else { ?>
- <div class="search_nologin_tip_p"></div>
- <?php }?>
-
- <dl class="search_nologin_tip_wx">
- <dt><img src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_wx_qcode'];?>
-" width="130" height="130"></dt>
- <dd>扫一扫,让招聘更轻松</dd>
- </dl>
-
- <div class="search_nologin_tip_bth">
- <?php if ($_smarty_tpl->tpl_vars['usertype']->value==1) {?>
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_user_change']==1) {?>
- <a href="javascript:void(0)" onclick="changeutype()">身份切换</a>
- <?php } else { ?>
- <a href="javascript:void(0)" onclick="logoutUser('<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/index.php?c=logout', '<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/login')">登录企业</a>
- <?php }?>
- <?php } else { ?>
- <a href="<?php echo smarty_function_url(array('m'=>'register'),$_smarty_tpl);?>
-">注册会员</a>
- <a href="javascript:void(0);" onclick="showlogin('2');" class="search_nologin_tip_bth_have">登录账号</a>
- <?php }?>
- </div>
- <div class="search_nologin_tip_tel">如有需要任何贴心的服务:<span class="search_nologin_tip_tel_n"><?php echo $_smarty_tpl->tpl_vars['config']->value['sy_freewebtel'];?>
-</span></div>
- </div>
- <?php } elseif ($_smarty_tpl->tpl_vars['r_status']->value!=1) {?>
-
- <div class=" search_nologin_user_bg">
- <div class="search_nologin_tip_t">账户正在审核中,无法挑选人才!</div>
- <div class="search_nologin_tip_p"></div>
- <dl class="search_nologin_tip_wx">
- <dt><img src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_wx_qcode'];?>
-" width="130" height="130"></dt>
- <dd>扫一扫,让招聘更轻松</dd>
- </dl>
- <div class="search_nologin_tip_p">联系客服,加快审核,高效挑选人才</div>
- <div class="search_nologin_tip_tel">贴心服务热线:<span class="search_nologin_tip_tel_n"><?php echo $_smarty_tpl->tpl_vars['config']->value['sy_freewebtel'];?>
-</span></div>
- </div>
- <?php } else { ?>
-
- <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/resume/normal_list.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
- <?php }?>
-
- <?php } else { ?>
-
- <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/resume/normal_list.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-
- <?php }?>
-
- <?php }?>
-
- <?php } elseif ($_smarty_tpl->tpl_vars['config']->value['com_search']==1&&$_smarty_tpl->tpl_vars['config']->value['com_status_search']!=1) {?>
-
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_user_visit_resume']==0) {?>
- <?php if (!$_smarty_tpl->tpl_vars['uid']->value||$_smarty_tpl->tpl_vars['usertype']->value==1) {?>
-
- <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/resume/topfour_list.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-
- <div class=" search_nologin_user_bg">
-
- <div class="search_nologin_tip_t">成为企业会员,高效挑选人才!</div>
-
- <?php if (!$_smarty_tpl->tpl_vars['uid']->value) {?>
- <div class="search_nologin_tip_p"> 登录或注册后可以查看更多简历信息~</div>
- <?php } else { ?>
- <div class="search_nologin_tip_p"></div>
- <?php }?>
-
- <dl class="search_nologin_tip_wx">
- <dt><img src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_wx_qcode'];?>
-" width="130" height="130"></dt>
- <dd>扫一扫,让招聘更轻松</dd>
- </dl>
-
- <div class="search_nologin_tip_bth">
- <?php if ($_smarty_tpl->tpl_vars['usertype']->value==1) {?>
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_user_change']==1) {?>
- <a href="javascript:void(0)" onclick="changeutype()">身份切换</a>
- <?php } else { ?>
- <a href="javascript:void(0)" onclick="logoutUser('<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/index.php?c=logout', '<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/login')">登录企业</a>
- <?php }?>
- <?php } else { ?>
- <a href="<?php echo smarty_function_url(array('m'=>'register'),$_smarty_tpl);?>
-">注册会员</a>
- <a href="javascript:void(0);" onclick="showlogin('2');" class="search_nologin_tip_bth_have">登录账号</a>
- <?php }?>
- </div>
- <div class="search_nologin_tip_tel">如有需要任何贴心的服务:<span class="search_nologin_tip_tel_n"><?php echo $_smarty_tpl->tpl_vars['config']->value['sy_freewebtel'];?>
-</span></div>
- </div>
- <?php } else { ?>
-
- <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/resume/normal_list.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-
- <?php }?>
-
- <?php } elseif ($_smarty_tpl->tpl_vars['config']->value['sy_user_visit_resume']==1) {?>
- <?php if (!'uid') {?>
-
- <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/resume/topfour_list.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-
- <div class=" search_nologin_user_bg">
-
- <div class="search_nologin_tip_t">成为企业会员,高效挑选人才!</div>
-
- <?php if (!$_smarty_tpl->tpl_vars['uid']->value) {?>
- <div class="search_nologin_tip_p"> 登录或注册后可以查看更多简历信息~</div>
- <?php } else { ?>
- <div class="search_nologin_tip_p"></div>
- <?php }?>
-
- <dl class="search_nologin_tip_wx">
- <dt><img src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_wx_qcode'];?>
-" width="130" height="130"></dt>
- <dd>扫一扫,让招聘更轻松</dd>
- </dl>
-
- <div class="search_nologin_tip_bth">
- <?php if ($_smarty_tpl->tpl_vars['usertype']->value==1) {?>
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_user_change']==1) {?>
- <a href="javascript:void(0)" onclick="changeutype()">身份切换</a>
- <?php } else { ?>
- <a href="javascript:void(0)" onclick="logoutUser('<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/index.php?c=logout', '<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/login')">登录企业</a>
- <?php }?>
- <?php } else { ?>
- <a href="<?php echo smarty_function_url(array('m'=>'register'),$_smarty_tpl);?>
-">注册会员</a>
- <a href="javascript:void(0);" onclick="showlogin('2');" class="search_nologin_tip_bth_have">登录账号</a>
- <?php }?>
- </div>
- <div class="search_nologin_tip_tel">如有需要任何贴心的服务:<span class="search_nologin_tip_tel_n"><?php echo $_smarty_tpl->tpl_vars['config']->value['sy_freewebtel'];?>
-</span></div>
- </div>
- <?php } else { ?>
-
- <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/resume/normal_list.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-
- <?php }?>
- <?php }?>
- <?php } elseif ($_smarty_tpl->tpl_vars['config']->value['com_search']!=1&&$_smarty_tpl->tpl_vars['config']->value['com_status_search']==1) {?>
- <!-- 不存在这种情况 -->
- <?php } elseif ($_smarty_tpl->tpl_vars['config']->value['sy_user_visit_resume']==0) {?>
-
- <?php if (!$_smarty_tpl->tpl_vars['uid']->value||$_smarty_tpl->tpl_vars['usertype']->value==1) {?>
-
- <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/resume/topfour_list.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-
- <div class=" search_nologin_user_bg">
-
- <div class="search_nologin_tip_t">成为企业会员,高效挑选人才!</div>
-
- <?php if (!$_smarty_tpl->tpl_vars['uid']->value) {?>
- <div class="search_nologin_tip_p"> 登录或注册后可以查看更多简历信息~</div>
- <?php } else { ?>
- <div class="search_nologin_tip_p"></div>
- <?php }?>
-
- <dl class="search_nologin_tip_wx">
- <dt><img src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_wx_qcode'];?>
-" width="130" height="130"></dt>
- <dd>扫一扫,让招聘更轻松</dd>
- </dl>
-
- <div class="search_nologin_tip_bth">
- <?php if ($_smarty_tpl->tpl_vars['usertype']->value==1) {?>
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_user_change']==1) {?>
- <a href="javascript:void(0)" onclick="changeutype()">身份切换</a>
- <?php } else { ?>
- <a href="javascript:void(0)" onclick="logoutUser('<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/index.php?c=logout', '<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/login')">登录企业</a>
- <?php }?>
- <?php } else { ?>
- <a href="<?php echo smarty_function_url(array('m'=>'register'),$_smarty_tpl);?>
-">注册会员</a>
- <a href="javascript:void(0);" onclick="showlogin('2');" class="search_nologin_tip_bth_have">登录账号</a>
- <?php }?>
- </div>
- <div class="search_nologin_tip_tel">如有需要任何贴心的服务:<span class="search_nologin_tip_tel_n"><?php echo $_smarty_tpl->tpl_vars['config']->value['sy_freewebtel'];?>
-</span></div>
- </div>
- <?php } else { ?>
-
- <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/resume/normal_list.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-
- <?php }?>
- <?php } elseif ($_smarty_tpl->tpl_vars['config']->value['sy_user_visit_resume']==1) {?>
-
- <?php if (!$_smarty_tpl->tpl_vars['uid']->value) {?>
- <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/resume/topfour_list.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
- <div class=" search_nologin_user_bg">
- <div class="search_nologin_tip_t">成为企业会员,高效挑选人才!</div>
- <div class="search_nologin_tip_p"> 登录或注册后可以查看更多简历信息~</div>
- <dl class="search_nologin_tip_wx">
- <dt><img src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_wx_qcode'];?>
-" width="130" height="130"></dt>
- <dd>扫一扫,让招聘更轻松</dd>
- </dl>
- <div class="search_nologin_tip_bth">
- <a href="<?php echo smarty_function_url(array('m'=>'register'),$_smarty_tpl);?>
-">注册会员</a>
- <a href="javascript:void(0);" onclick="showlogin('2');" class="search_nologin_tip_bth_have">登录账号</a>
- </div>
- <div class="search_nologin_tip_tel">如有需要任何贴心的服务:<span class="search_nologin_tip_tel_n"><?php echo $_smarty_tpl->tpl_vars['config']->value['sy_freewebtel'];?>
-</span></div>
- </div>
- <?php } else { ?>
-
- <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/resume/normal_list.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-
- <?php }?>
- <?php }?>
-
- </div>
- <div class="yun_job_list_right">
- <div class="yun_job_list_right_banner">
- <?php $_smarty_tpl->tpl_vars['adlist_36'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['adlist_36']->_loop = false;
-global $db,$db_config,$config;$AdArr=array();$paramer=array();$attr=array("classid"=>"36","limit"=>"5","item"=>"'adlist_36'","nocache"=>"")
-;
- include(PLUS_PATH.'pimg_cache.php');$add_arr = $ad_label[36];if(is_array($add_arr) && !empty($add_arr)){
- $i=0;$limit = 5;$length = 0;
- foreach($add_arr as $key=>$value){
- if($config['did']){
- if(($value['did']==$config['did']|| $value['did']==-1)&&$value['start']<time()&&$value['end']>time()){
- if($i>0 && $limit==$i){
- break;
- }
- if($length>0){
- $value['name'] = mb_substr($value['name'],0,$length);
- }
- if($paramer['type']!=""){
- if($paramer['type'] == $value['type']){
- $AdArr[] = $value;
- }
- }else{
- $AdArr[] = $value;
- }
- $i++;
- }
-
- }else{
- if(($value['did']==-1 || !$value['did']) && $value['start']<time()&&$value['end']>time()){
- if($i>0 && $limit==$i){
- break;
- }
- if($length>0){
- $value['name'] = mb_substr($value['name'],0,$length);
- }
- if($paramer['type']!=""){
- if($paramer['type'] == $value['type']){
- $AdArr[] = $value;
- }
- }else{
- $AdArr[] = $value;
- }
- $i++;
- }
-
- }
- }
- if (isset($attr['random']) && $attr['random'] && count($AdArr) > $attr['random']) {
- $temp = [];
- $random_keys = array_rand($AdArr, $attr['random']);
-
- if($attr['random'] == 1) {
- $temp[] = $AdArr[$attr['random']];
- } else {
- foreach ($AdArr as $key => $value) {
- if (in_array($key, $random_keys)) {
- $temp[$key] = $value;
- }
- }
- }
- $AdArr = $temp;
- }
- }$AdArr = $AdArr; if (!is_array($AdArr) && !is_object($AdArr)) { settype($AdArr, 'array');}
-foreach ($AdArr as $_smarty_tpl->tpl_vars['adlist_36']->key => $_smarty_tpl->tpl_vars['adlist_36']->value) {
-$_smarty_tpl->tpl_vars['adlist_36']->_loop = true;
-?>
- <?php echo $_smarty_tpl->tpl_vars['adlist_36']->value['html'];?>
-
- <?php } ?>
- </div>
- <div class="user_recommendation">
-
- <div class="job_recommendation_title"><span class="job_recommendation_span"><i class="job_recommendation_span_line"></i>简历推荐</span></div>
- <div class="userresume_recommendation">
- <ul>
- <?php $_smarty_tpl->tpl_vars['userrec'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['userrec']->_loop = false;
-$userrec=array();global $db,$db_config,$config;
- if(is_array($_GET)){
- foreach($_GET as $key=>$value){
- if($value=='0'){
- unset($_GET[$key]);
- }
- }
- }
- $paramer=array("limit"=>"18","post_len"=>"18","rec_resume"=>"1","item"=>"'userrec'","nocache"=>"")
-;
- $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
- $paramer = $ParamerArr[arr];
- $Purl = $ParamerArr[purl];
- global $ModuleName;
- if(!$Purl["m"]){
- $Purl["m"]=$ModuleName;
- }
-
- //处理类别字段
- include(CONFIG_PATH."db.data.php");
- $cache_array = $db->cacheget();
- $fscache_array = $db->fscacheget();
- $userclass_name = $cache_array["user_classname"];
- $city_name = $cache_array["city_name"];
- $city_index = $cache_array["city_index"];
- $job_name = $cache_array["job_name"];
- $job_index = $cache_array["job_index"];
- $job_type = $cache_array["job_type"];
- $industry_name = $cache_array["industry_name"];
- $city_parent = $fscache_array["city_parent"];
- $job_parent = $fscache_array["job_parent"];
-
- //是否属于分站下
- if($config['sy_web_site']=="1"){
- if($config[province]>0 && $config[province]!=""){
- $paramer[provinceid] = $config[province];
- }
- if($config['cityid']>0 && $config['cityid']!=""){
- $paramer['cityid']=$config['cityid'];
- }
- if($config['three_cityid']>0 && $config['three_cityid']!=""){
- $paramer['three_cityid']=$config['three_cityid'];
- }
- if($config['hyclass']>0 && $config['hyclass']!=""){
- $paramer['hy']=$config['hyclass'];
- }
- }
-
-
- $where = "a.`defaults`=1 and a.`state`=1 and a.`r_status`=1 AND a.`status`=1";
-
- //关注我公司的人才--条件
- if($paramer[where_uid]){
- $where .=" AND a.`uid` in (".$paramer['where_uid'].")";
- }
- //黑名单不能查看已拉黑的个人用户简历
- if($_COOKIE['uid']&&$_COOKIE['usertype']=="2"){
- $blacklist=$db->select_all("blacklist","`p_uid`='".$_COOKIE['uid']."'","c_uid");
- if(is_array($blacklist)&&$blacklist){
- foreach($blacklist as $v){
- $buid[]=$v['c_uid'];
- }
- $where .=" AND a.`uid` NOT IN (".@implode(",",$buid).")";
- }
- }
-
- //置顶
- if($paramer[topdate]){
- $where .=" AND a.`top`=1 AND a.`topdate`>'".time()."'";
- }
- if($paramer[top]){
- $where .=" AND a.`top`=1 AND a.`topdate`>'".time()."'";
- }
- //身份认证
- if($paramer[idcard]){
- $where .=" AND a.`idcard_status`=1";
- }
- //优质人才
- if($paramer[height_status]){
- $where .=" AND a.`height_status`=".$paramer[height_status];
- }
- //优质人才推荐
- if($paramer[rec]){
- $where .=" AND a.`rec`=1";
- }
- //普通推荐
- if($paramer[rec_resume]){
- $where .=" AND a.`rec_resume`=1";
- }
- //作品
- if($paramer[work]){
- $show=$db->select_all("resume_show","1 group by eid","`eid`");
- if(is_array($show)){
- foreach($show as $v){
- $eid[]=$v['eid'];
- }
- }
- $where .=" AND a.`id` in (".@implode(",",$eid).")";
- }
- //标签
- if($paramer[tag]){
- $tagname=$userclass_name[$paramer[tag]];
- $tag=$db->select_all("resume","`def_job`>0 and `r_status`=1 and `status`=1 and FIND_IN_SET('".$tagname."',`tag`)","`def_job`");
- if(is_array($tag)){
- foreach($tag as $v){
- $tagid[]=$v['def_job'];
- }
- }
- $where .=" AND a.`id` in (".@implode(",",$tagid).")";
- }
- //更新时间区间
- if($paramer[uptime]){
- if($paramer[uptime]==1){
- $beginToday=mktime(0,0,0,date('m'),date('d'),date('Y'));
- $where.=" AND a.`lastupdate`>$beginToday";
- }else{
- $time=time();
- $uptime = $time-($paramer[uptime]*86400);
- $where.=" AND a.`lastupdate`>$uptime";
- }
- }else{
- if($config[sy_datacycle]>0){
- // 后台-页面设置-数据周期
- $uptime = strtotime('-'.$config[sy_datacycle].' day');
- $where.=" AND a.`lastupdate`>$uptime";
- }
- }
- //添加时间区间,即审核时间
- if($paramer[adtime]){
- $time=time();
- $adtime = $time-($paramer[adtime]*86400);
- $where.=" AND a.`status_time`>$adtime";
- }
- //是否有照片
- if($paramer[pic]=="1"){
- $where .=" AND a.`photo`<>'' AND a.`phototype`!=1 AND a.`defphoto` = 1";
- }
- //行业
- if($paramer['hy']!=""){
- $where .= " AND a.`hy` IN (".$paramer['hy'].")";
- }
-
-
- $job_col = $city_col = "";
- $cjwhere = "";
- if($paramer[three_cityid]){
- $city_col = "three_cityid";
- $cjwhere .= " AND cj.`$city_col`= $paramer[three_cityid]";
- }elseif($paramer[cityid]){
- $city_col = "cityid";
- $cjwhere .= " AND cj.`$city_col`= $paramer[cityid]";
- }elseif($paramer[provinceid]){
- $city_col = "provinceid";
- $cjwhere .= " AND cj.`$city_col`= $paramer[provinceid]";
- }
- //城市区间,不建议执行该查询
- if($paramer[cityin]){
- if($city_parent[$paramer[cityin]]=='0'){
- $city_col = "provinceid";
- $cjwhere .= " AND cj.`$city_col` = $paramer[cityin]";
- }elseif(in_array($city_parent[$paramer[cityin]],$city_index)){
- $city_col = "cityid";
- $cjwhere .= " AND cj.`$city_col` = $paramer[cityin]";
- }elseif($city_parent[$paramer[cityin]]>0){
- $city_col = "three_cityid";
- $cjwhere .= " AND cj.`$city_col` = $paramer[cityin]";
- }
- }
- if($paramer[job_post]){
- $job_col = "job_post";
- $cjwhere .= " AND cj.`$job_col`= $paramer[job_post]";
- }elseif($paramer[job1_son]){
- $job_col = "job1_son";
- $cjwhere .= " AND cj.`$job_col`= $paramer[job1_son]";
- }elseif($paramer[job1]){
- $job_col = "job1";
- $cjwhere .= " AND cj.`$job_col`= $paramer[job1]";
- }
- //职位区间,不建议执行该查询
- if($paramer[jobin]){
- if($job_parent[$paramer[jobin]]=='0'){
- $job_col = "job1";
- $cjwhere .=" AND cj.`$job_col`= $paramer[jobin]";
- }elseif(in_array($job_parent[$paramer[jobin]],$job_index)){
- $job_col = "job1_son";
- $cjwhere .=" AND cj.`$job_col`= $paramer[jobin]";
- }elseif($job_parent[$paramer[jobin]]>0){
- $job_col = "job_post";
- $cjwhere .=" AND cj.`$job_col`= $paramer[jobin]";
- }
- }
- // 拼接唯一标识字段
- if($city_col || $job_col){
- if($city_col && $job_col){
- $cjwhere .= " AND cj.`{$city_col}_{$job_col}_num`= 1";
- }elseif($city_col){
- $cjwhere .= " AND cj.`{$city_col}_num`= 1";
- }elseif($job_col){
- $cjwhere .= " AND cj.`{$job_col}_num`= 1";
- }
- }
-
- //工作经验
- if($paramer[exp]){
-
- $expKey = $db->DB_select_once("userclass", "`variable` = 'user_word'", "`id`");
- $expReq = $db->DB_select_once("userclass", "`id` = $paramer[exp]", "`sort`,`name`");
- if($expReq[name] != "不限"){
-
- $expArr = $db->select_all("userclass", "`keyid` = $expKey[id] AND `sort` >= $expReq[sort]", "`id`");
- $expIds = array();
- foreach($expArr as $v){
- $expIds[] = $v[id];
- }
- $where .= " AND a.`exp` in (".@implode(",",$expIds).")";
- }
- }
- //学历
- if($paramer[edu]){
-
- $eduKey = $db->DB_select_once("userclass", "`variable` = 'user_edu'", "`id`");
- $eduReq = $db->DB_select_once("userclass", "`id` = $paramer[edu]", "`sort`,`name`");
- if($eduReq[name] != "不限"){
-
- $eduArr = $db->select_all("userclass", "`keyid` = $eduKey[id] AND `sort` >= $eduReq[sort]", "`id`");
- $eduIds = array();
- foreach($eduArr as $v){
- $eduIds[] = $v[id];
- }
-
- $where .= " AND a.`edu` in (".@implode(",",$eduIds).")";
- }
- }
- //性别
- if($paramer[sex]){
- $where .=" AND a.`sex`=$paramer[sex]";
- }
- //到岗时间
- if($paramer[report]){
- $where .=" AND a.`report`=$paramer[report]";
- }
- //工作性质
- if($paramer[type]){
- $where .= " AND a.`type`=$paramer[type]";
- }
- if($paramer[notid]){
- $where.= " and `id`<>$paramer[notid]";
- }
- //简历完整度
-
-
- if($paramer[integrity]){
- $integrityR = $arr_data["integrity_val"];
-
- $where.= " AND a.`integrity`>='".$integrityR[$paramer[integrity]]."'";
-
- }
-
- //关键字
- if($paramer[keyword]){
- $where1 = array();
- $where1[]="a.`name` LIKE '%$paramer[keyword]%'";
- $where1[]="a.`uname` LIKE '%$paramer[keyword]%'";
-
- //搜索工作经历
- $workList = $db->select_all('resume_work',"`title` LIKE '%$paramer[keyword]%' OR `content` LIKE '%$paramer[keyword]%' ORDER BY id DESC limit 500","`eid`");
- if(!empty($workList)){
- $workId = array();
- foreach($workList as $value){
- $workId[] = $value['eid'];
- }
- $where1[] = "a.id IN (".implode(',',$workId).")";
- }
-
- $where.=" AND (".@implode(" or ",$where1).")";
- }
- //薪资待遇
- if($paramer[minsalary]&&$paramer[maxsalary]){
- $where.= " AND ((a.`minsalary`<=".intval($paramer[minsalary])." and a.`maxsalary`>=".intval($paramer[minsalary]).")
- or (a.`minsalary`<=".intval($paramer[maxsalary])." and a.`maxsalary`>=".intval($paramer[maxsalary])."))";
- }elseif($paramer[minsalary]&&!$paramer[maxsalary]){
- $where.= " AND ((a.`minsalary`<=".intval($paramer[minsalary])." and a.`maxsalary`>=".intval($paramer[minsalary]).")
- or (a.`minsalary`>=".intval($paramer[minsalary])." and a.`maxsalary`>=".intval($paramer[minsalary]).")
- or (a.`minsalary`!=0 and a.`maxsalary`=0))";
- }elseif(!$paramer[minsalary]&&$paramer[maxsalary]){
- $where.= " AND ((a.`minsalary`<=".intval($paramer[maxsalary])." and a.`maxsalary`>=".intval($paramer[maxsalary]).")
- or (a.`minsalary`<=".intval($paramer[maxsalary])." and a.`maxsalary`<=".intval($paramer[maxsalary]).")
- or (a.`minsalary`<=".intval($paramer[maxsalary])." and a.`maxsalary`=0)
- or (a.`minsalary`=0 and a.`maxsalary`!=0)
- )";
- }
- //年龄
- if($paramer[minage]&&$paramer[maxage]){
- $mintime=date("Y-m-d",strtotime("-".$paramer[minage]." year"));
- $maxtime=date("Y-m-d",strtotime("-".$paramer[maxage]." year"));
- $where.= " AND a.`birthday`>= '".$maxtime."' and a.`birthday`<='".$mintime."'";
- }elseif($paramer[minage]&&!$paramer[maxage]){
- $mintime=date("Y-m-d",strtotime("-".$paramer[minage]." year"));
- $where.= " AND a.`birthday`<='".$mintime."'";
- }elseif(!$paramer[minage]&&$paramer[maxage]){
- $maxtime=date("Y-m-d",strtotime("-".$paramer[maxage]." year"));
- $where.= " AND a.`birthday`>='".$maxtime."'";
- }
- //排序字段默认为更新时间
- if($paramer[order] && $paramer[order]!="lastdate"){
- if($paramer[order]=='topdate'){
- $nowtime=time();
- $order = " ORDER BY if(a.`topdate`>$nowtime,a.`topdate`,a.`lastupdate`) ";
- }else{
- $order = " ORDER BY a.`".$paramer[order]."` ";
- }
- }else{
- $order = " ORDER BY a.`lastupdate` ";
- }
- //排序规则 默认为倒序
- $sort = $paramer[sort]?$paramer[sort]:"DESC";
- //查询条数
- if($paramer[limit]){
- $limit=" LIMIT ".$paramer[limit];
- }
- //自定义查询条件,默认取代上面任何参数直接使用该语句
- if($paramer[where]){
- $where = $paramer[where];
- }
- $pagewhere = "";$joinwhere = "";
- if($cjwhere){
- $pagewhere.=" ,`".$db_config[def]."resume_city_job_class` cj ";
- $joinwhere .= " a.`id`=cj.`eid` " . $cjwhere;
- }
-
- if($paramer[ispage]){
- // 查询分页
- if($paramer["height_status"]){
- $limit = PageNav($paramer,$_GET,"resume_expect",$where,$Purl,"",$paramer[islt]?$paramer[islt]:"3",$_smarty_tpl,$pagewhere,$joinwhere);
- }else{
- $limit = PageNav($paramer,$_GET,"resume_expect",$where,$Purl,"","0",$_smarty_tpl,$pagewhere,$joinwhere);
- }
- }
-
- if($paramer[topdate] && $_GET[page]>1){
- $userrec = array();
- }else{
-
- $select="a.`id`,a.`uid`,a.`name`,a.`hy`,a.`job_classid`,a.`city_classid`,a.`jobstatus`,a.`type`,a.`report`,a.`lastupdate`,a.`rec`,a.`top`,a.`topdate`,a.`rec_resume`,a.`ctime`,a.`uname`,a.`idcard_status`,a.`minsalary`,a.`maxsalary`";
- if($pagewhere!=""){
-
- $sql = "select ".$select." from `".$db_config[def]."resume_expect` a ".$pagewhere." where ".$joinwhere." and ".$where.$order.$sort.$limit;
-
- $userrec=$db->DB_query_all($sql,"all");
-
- }else{
- $sql = "select ".$select." from `".$db_config[def]."resume_expect` a where ".$where.$order.$sort.$limit;
-
- $userrec=$db->DB_query_all($sql,"all");
- }
- }
-
- if(!empty($userrec) && is_array($userrec)){
-
- //如果存在top,则说明请求来自排行榜页面
- if($paramer['top']){
- $uids=$m_name=array();
- foreach($userrec as $k=>$v){
- $uids[]=$v[uid];
- }
-
- $member=$db->select_all($db_config[def]."member","`uid` in(".@implode(',',$uids).")","uid,username");
- foreach($member as $val){
- $m_name[$val[uid]]=$val['username'];
- }
- }
- $uid = $eid = array();
- foreach($userrec as $key=>$value){
-
- $uid[] = $value['uid'];
- $eid[] = $value['id'];
- }
- $eids = @implode(',',$eid);
- $uids = @implode(',',$uid);
- $resume=$db->select_all("resume","`uid` in(".$uids.")","uid,name,nametype,tag,sex,moblie_status,edu,exp,defphoto,photo,phototype,photo_status,birthday");
- foreach($resume as $v){
- $ruids[] = $v['uid'];
- }
- foreach($userrec as $k=>$v){
- if(!in_array($v['uid'],$ruids)){
- unset($userrec[$k]);
- continue;
- }
- }
- if($paramer[topdate]){
- $noids=array();
- }
-
- if($paramer[workexp] == 1){
- $eduList = $db -> select_all("resume_edu","`eid` in(".$eids.")");
- if(!empty($eduList)){
- foreach($eduList as $key=>$value){
- $eduListNew[$value['eid']][] = $value;
- }
- foreach($eduListNew as $k=>$eduv){
- $edumin = 0;
- $edumax = 0;
- $edutitle = array();
- $education = array();
- foreach($eduv as $v){
- if($v['sdate']>0 && $edumin==0){
- $edumin = $v['sdate'];
- }elseif($edumin>$v['sdate']){
- $edumin = $v['sdate'];
- }
- if($v['edate']==0 ){
- $edumax = 0;
- }elseif($edumax<$v['edate']){
- $edumax = $v['edate'];
- }
-
- $education[] = $userclass_name[$v['education']];
-
- $edutitle[] = $v['specialty'];
- }
- $return =array();
- $return['edumin'] = date('Y-m',$edumin);
- $return['edumax'] = $edumax == 0 ? '至今': date('Y',$edumax);
- $return['education'] = @implode(',',$education);
- $return['eduspecialty'] = @implode('、',$edutitle);
-
- $return['edu_time'] = $return['edumin']."-".$return['edumax'];
-
- if($return['eduspecialty']){
- $workexpList[$k]['edu_content'] = $return['education'].'学历 ▪ '.$return['eduspecialty'].' ▪ 毕业于'.$return['edumax'].'年';
- }else{
- $workexpList[$k]['edu_content'] = $return['education'].'学历 ▪ 毕业于'.$return['edumax'].'年';
- }
- }
-
- }
-
- $workList = $db -> select_all("resume_work","`eid` in(".$eids.")");
- if(!empty($workList)){
- foreach($workList as $key=>$value){
- $workListNew[$value['eid']][] = $value;
- }
- foreach($workListNew as $k=>$workv){
-
- $whour = 0;
- $hour = array();
- $time = time();
- $workmin = 0;
- $workmax = 0;
- $worknum = count($workv);
- $wtitle = array();
- foreach($workv as $v){
- /* 计算每份工作时长(按月) */
-
- if($v['sdate']>0 && $workmin==0){
- $workmin = $v['sdate'];
- }elseif($workmin>$v['sdate']){
- $workmin = $v['sdate'];
- }
-
- if($v['edate']==0 ){
- $workmax = 0;
- }elseif($workmax<$v['edate']){
- $workmax = $v['edate'];
- }
-
- $wtitle[] = $v['title'];
-
- $hour[] = $workTime;
- $whour += $workTime;
- }
-
- $workavg = ceil($whour/count($hour));
- $return = array();
- $return['worknum'] = $worknum > 0 ? $worknum:0;
- $return['workavg'] = $workavg > 0 ? $workavg:0;
- $return['workmin'] = date('Y-m',$workmin);
- $return['workmax'] = $workmax == 0 ? '至今': date('Y-m',$workmax);
- $return['worktit'] = @implode(',',$wtitle);
-
- $return['work_time'] = $return['workmin'].'-'.$return['workmax'];
-
- if($return['worktit']!=''){
- $workexpList[$k]['work_content'] = ' 参加过'.$return['worknum'].'份工作 ▪ 涉及'.$return['worktit'].'等岗位';
- }else{
- $workexpList[$k]['work_content'] = ' 参加过'.$return['worknum'].'份工作';
- }
- }
- }
- }
- foreach($userrec as $k=>$v){
- if($paramer[topdate]){
- $noids[] = $v[id];
- }
- //筛除重复
- if($paramer[noid]=='1' && !empty($noids) && in_array($v['id'],$noids)){
- unset($userrec[$k]);
- continue;
- }
- foreach($resume as $val){
- if($v['uid']==$val['uid']){
- $userrec[$k]['edu_n']=$userclass_name[$val['edu']];
- $userrec[$k]['exp_n']=$userclass_name[$val['exp']];
- if($val['birthday']){
- $year = date("Y",strtotime($val['birthday']));
- $userrec[$k]['age'] =date("Y")-$year;
- }
- if($val['sex']==152){
- $val['sex']='1';
- }elseif ($val['sex']==153){
- $val['sex']='2';
- }
- $userrec[$k]['sex'] =$arr_data[sex][$val['sex']];
- $userrec[$k]['phototype']=$val[phototype];
- $photo=$icon="";
- if($val['defphoto']==2){
- $photo=$val['photo'];
- }else{
- if($config['user_pic']==1 || empty($config['user_pic'])){
- if($val['photo'] && $val['photo_status']==0 && $val['phototype']!=1){
- $photo=$val['photo'];
- }else{
- if($val['sex']==1){
- $icon=$config['sy_member_icon'];
- }else{
- $icon=$config['sy_member_iconv'];
- }
- }
-
- }elseif($config['user_pic']==2){
- if($val['photo']&& $val['photo_status']==0){
- $photo=$val['photo'];
- }else{
- if($val['sex']==1){
- $icon=$config['sy_member_icon'];
- }else{
- $icon=$config['sy_member_iconv'];
- }
- }
- }elseif($config['user_pic']==3){
- if($val['sex']==1){
- $icon=$config['sy_member_icon'];
- }else{
- $icon=$config['sy_member_iconv'];
- }
- }
- }
- $userrec[$k]['photo']=checkpic($photo,$icon);
- if($val['tag']){
- $userrec[$k]['tag']=explode(',',$val['tag']);
- }
- $userrec[$k]['nametype']=$val[nametype];
- $userrec[$k]['moblie_status']=$val[moblie_status];
- //名称显示处理
- if($config['user_name']==1 || !$config['user_name']){
- if($val['nametype']==3){
- if($val['sex']==1){
- $userrec[$k]['username_n'] = mb_substr($val['name'],0,1,'utf-8')."先生";
- }else{
- $userrec[$k]['username_n'] = mb_substr($val['name'],0,1,'utf-8')."女士";
- }
- }elseif($val['nametype']==2){
- $userrec[$k]['username_n'] = "NO.".$v['id'];
- }else{
- $userrec[$k]['username_n'] = $val['name'];
- }
- }elseif($config['user_name']==3){
- if($val['sex']==1){
- $userrec[$k]['username_n'] = mb_substr($val['name'],0,1,'utf-8')."先生";
- }else{
- $userrec[$k]['username_n'] = mb_substr($val['name'],0,1,'utf-8')."女士";
- }
- }elseif($config['user_name']==2){
- $userrec[$k]['username_n'] = "NO.".$v['id'];
- }elseif($config['user_name']==4){
- $userrec[$k]['username_n'] = $val['name'];
- }
- }
- }
- //更新时间显示方式
- $time=$v['lastupdate'];
- //今天开始时间戳
- $beginToday=mktime(0,0,0,date('m'),date('d'),date('Y'));
- //昨天开始时间戳
- $beginYesterday=mktime(0,0,0,date('m'),date('d')-1,date('Y'));
- if($time>$beginYesterday && $time<$beginToday){
- $userrec[$k]['time'] = "昨天";
- }elseif($time>$beginToday){
- $userrec[$k]['time'] = lastupdateStyle($v['lastupdate']);
- $userrec[$k]['redtime'] =1;
- }else{
- $userrec[$k]['time'] = date("Y-m-d",$v['lastupdate']);
- }
-
- // 前天
- $beforeYesterday=mktime(0,0,0,date('m'),date('d')-2,date('Y'));
-
- if($v['ctime']>$beforeYesterday){
- $userrec[$k]['newtime'] =1;
- }
- $userrec[$k]['user_jobstatus_n']=$userclass_name[$v['jobstatus']];
-// $userrec[$k]['job_city_one']=$city_name[$v['provinceid']];
-// $userrec[$k]['job_city_two']=$city_name[$v['cityid']];
-// $userrec[$k]['job_city_three']=$city_name[$v['three_cityid']];
- if($v['minsalary']&&$v['maxsalary']){
- if($config['resume_salarytype']==1){
- $userrec[$k]["salary_n"] = $v['minsalary']."-".$v['maxsalary'];
- }else{
- if($v[maxsalary]<1000){
- if($config['resume_salarytype']==2){
- $userrec[$k]["salary_n"] = "1千以下";
- }elseif($config['resume_salarytype']==3){
- $userrec[$k]["salary_n"] = "1K以下";
- }elseif($config['resume_salarytype']==4){
- $userrec[$k]["salary_n"] = "1k以下";
- }
- }else{
- $userrec[$k]["salary_n"] = changeSalary($v['minsalary'])."-".changeSalary($v['maxsalary']);
- }
- }
- }else if($v['minsalary']){
- if($config['resume_salarytype']==1){
- $userrec[$k]["salary_n"] = $v['minsalary'];
- }else{
- $userrec[$k]["salary_n"] = changeSalary($v['minsalary']);
- }
- }else{
- $userrec[$k]["salary_n"] = "面议";
- }
- $userrec[$k]['report_n']=$userclass_name[$v['report']];
- $userrec[$k]['type_n']=$userclass_name[$v['type']];
- $userrec[$k]['lastupdate']=date("Y-m-d",$v['lastupdate']);
-
- $userrec[$k]['user_url']=Url("resume",array("c"=>"show","id"=>$v['id']),"1");
- $userrec[$k]["hy_info"]=$industry_name[$v['hy']];
- if($paramer['top']){
- $userrec[$k]['m_name']=$m_name[$v['uid']];
- $userrec[$k]['user_url']=Url("ask",array("c"=>"friend","a"=>"myquestion","uid"=>$v['uid']));
- }
- $userrec[$k]['work_content']=$workexpList[$v['id']]['work_content'];
- $userrec[$k]['edu_content']=$workexpList[$v['id']]['edu_content'];
-
- $kjob_classid=@explode(",",$v['job_classid']);
- $kjob_classid=array_unique($kjob_classid);
- $jobname=array();
- if(is_array($kjob_classid)){
- foreach($kjob_classid as $val){
- if($val!=''){
- if($paramer['keyword']){
- $jobname[]=str_replace($paramer['keyword'],"<font color=#FF6600 >".$paramer['keyword']."</font>",$job_name[$val]);
- }else{
- $jobname[]=$job_name[$val];
- }
- }
- }
- }
- //$userrec[$k]['job_post']=@implode(",",$jobname);
- $userrec[$k]['expectjob']=$jobname;
- $kcity_classid=@explode(",",$v['city_classid']);
- $kcity_classid=array_unique($kcity_classid);
- $cityname=array();
- if(is_array($kcity_classid)){
- foreach($kcity_classid as $val){
- if($val!=''){
-
- $cityname[]=$city_name[$val];
-
- }
- }
- }
- //$userrec[$k]['citylist']=@implode("/",$cityname);
- $userrec[$k]['expectcity']=$cityname;
- //截取标题
- if($paramer['post_len']){
- $postname[$k]=@implode(",",$jobname);
- $userrec[$k]['job_post_n']=mb_substr($postname[$k],0,$paramer[post_len],"utf-8");
- }
- if($paramer['city_len']){
- $scityname[$k]=@implode("/",$cityname);
- $userrec[$k]['city_name_n']=mb_substr($scityname[$k],0,$paramer[city_len],"utf-8");
- }
- }
- foreach($userrec as $k=>$v){
- if($paramer['keyword']){
- $userrec[$k]['username_n']=str_replace($paramer['keyword'],"<font color=#FF6600 >".$paramer['keyword']."</font>",$v['username_n']);
- $userrec[$k]['job_post']=str_replace($paramer['keyword'],"<font color=#FF6600 >".$paramer['keyword']."</font>",$userrec[$k]['job_post']);
- $userrec[$k]['job_post_n']=str_replace($paramer['keyword'],"<font color=#FF6600 >".$paramer['keyword']."</font>",$userrec[$k]['job_post_n']);
- $userrec[$k]['city_name_n']=str_replace($paramer['keyword'],"<font color=#FF6600 >".$paramer['keyword']."</font>",$userrec[$k]['city_name_n']);
- }
- }
-
-
- if($paramer['keyword']!=""&&!empty($userrec)){
- addkeywords('5',$paramer['keyword']);
- }
- }$userrec = $userrec; if (!is_array($userrec) && !is_object($userrec)) { settype($userrec, 'array');}
-foreach ($userrec as $_smarty_tpl->tpl_vars['userrec']->key => $_smarty_tpl->tpl_vars['userrec']->value) {
-$_smarty_tpl->tpl_vars['userrec']->_loop = true;
-?>
- <li>
- <div class="userresume_people_box">
- <div class="userresume_people_box_rt fl">
-
- <?php if ($_smarty_tpl->tpl_vars['config']->value['com_search']==1&&!$_smarty_tpl->tpl_vars['uid']->value) {?>
- <a href="javascript:;" onClick="showlogin('2');">
- <?php } else { ?>
- <a href="<?php echo $_smarty_tpl->tpl_vars['userrec']->value['user_url'];?>
-" target="_blank">
- <?php }?>
- <img src="<?php echo $_smarty_tpl->tpl_vars['userrec']->value['photo'];?>
-" width="50" height="50" onerror="showImgDelay(this,'<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_member_icon'];?>
-',2);" />
- </a><i class="userresume_people_box_rt_tj"></i></div>
- <div class="userresume_people_box_ft fl">
- <div class="userresume_people_box_ft_nm">
-
- <?php if ($_smarty_tpl->tpl_vars['config']->value['com_search']==1&&!$_smarty_tpl->tpl_vars['uid']->value) {?>
- <a href="javascript:;" onClick="showlogin('2');">
- <?php } else { ?>
- <a href="<?php echo $_smarty_tpl->tpl_vars['userrec']->value['user_url'];?>
-" target="_blank">
- <?php }?>
- <?php if (in_array($_smarty_tpl->tpl_vars['userrec']->value['id'],$_smarty_tpl->tpl_vars['eid']->value)) {?>
- <?php echo $_smarty_tpl->tpl_vars['userrec']->value['uname'];?>
-
- <?php } else { ?>
- <?php echo $_smarty_tpl->tpl_vars['userrec']->value['username_n'];?>
-
- <?php }?>
- </a>
- </div>
- <div class="userresume_people_box_ft_v"><?php echo $_smarty_tpl->tpl_vars['userrec']->value['exp_n'];?>
-经验<i class="userresume_line">|</i><?php echo $_smarty_tpl->tpl_vars['userrec']->value['edu_n'];?>
-学历</div>
- <div class="userresume_people_box_ft_y"><?php echo $_smarty_tpl->tpl_vars['userrec']->value['job_post_n'];?>
-</div>
- </div>
-
- </div>
- </li>
- <?php } ?>
- </ul>
-
- </div>
- </div>
-
- </div>
- </div> </div>
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/lazyload.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
->
- var weburl = "<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-",
- integral_pricename = '<?php echo $_smarty_tpl->tpl_vars['config']->value['integral_pricename'];?>
-';
- <?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/search.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type="text/javascript"><?php echo '</script'; ?>
->
- <!--[if IE 6]>
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/png.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
->
- DD_belatedPNG.fix('.png,.user_photo_bg');
- <?php echo '</script'; ?>
->
- <![endif]-->
- <?php echo '<script'; ?>
->
- $(function() {
-
- $("#form").submit(function(e) {
- var min = $("#min").val();
- var max = $("#max").val();
- if(min && max && parseInt(max) < parseInt(min)) {
- $("#min").val(max);
- $("#max").val(min);
- }
- var mina = $("#mina").val();
- var maxa = $("#maxa").val();
- if(mina && maxa && parseInt(maxa) < parseInt(mina)) {
- $("#mina").val(maxa);
- $("#maxa").val(mina);
- }
- });
- $('.yunjoblist_new_icon').click(function(){
- var pid=$(this).attr('pid');
- if($(this).attr('title')=='展开'){
- $(this).addClass('yunjoblist_new_icon_cur');
- $(this).attr('title','收起');
- $('#resumeshow'+pid).show();
- }else{
- $(this).removeClass('yunjoblist_new_icon_cur');
- $(this).attr('title','展开');
- $('#resumeshow'+pid).hide();
- }
- });
- });
- <?php echo '</script'; ?>
->
- <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/public_search/login.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
- <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['temstyle']->value)."/member/public/changeutype.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
- <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/footer.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-<?php }} ?>
diff --git a/data/templates_c/56ae993870cd60af1ac02627c05814bbfd30581a.file.admin_message.htm.php b/data/templates_c/56ae993870cd60af1ac02627c05814bbfd30581a.file.admin_message.htm.php
deleted file mode 100644
index 8cc5c91..0000000
--- a/data/templates_c/56ae993870cd60af1ac02627c05814bbfd30581a.file.admin_message.htm.php
+++ /dev/null
@@ -1,285 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:16:24
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\admin_message.htm" */ ?>
-<?php /*%%SmartyHeaderCode:1713167ff75683489e6-63566947%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '56ae993870cd60af1ac02627c05814bbfd30581a' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\admin_message.htm',
- 1 => 1634883865,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '1713167ff75683489e6-63566947',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'pytoken' => 0,
- 'rows' => 0,
- 'key' => 0,
- 'v' => 0,
- 'total' => 0,
- 'pagenum' => 0,
- 'pages' => 0,
- 'pagenav' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff756838d401_68826796',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff756838d401_68826796')) {function content_67ff756838d401_68826796($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date_format')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\modifier.date_format.php';
-?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
-<link href="images/reset.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
-<link href="images/system.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
-<link href="images/table_form.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
-<link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="js/admin_public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="js/show_pub.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
-<title>后台管理</title>
-</head>
-<body class="body_ifm">
-<div class="infoboxp">
-<div class="tty-tishi_top">
-<div id="info_div" style="display:none; width: 390px; ">
- <div class="">
- <form class="layui-form" action="index.php?m=admin_message&c=status" target="supportiframe" method="post" onsubmit="return htStatus()">
- <input name="mid" value="" type="hidden">
- <table cellspacing='1' cellpadding='1' class="admin_examine_table" width="100%">
- <tr>
- <th width="80">处理操作:</th>
- <td align="left">
- <div class="layui-input-block">
- <input name="status" id="state1" value="1" title="未处理" type="radio" />
- <input name="status" id="state2" value="2" title="已处理" type="radio" />
- </div>
- </td>
- </tr>
- <tr>
- <th class="t_fr">处理意见:</th>
- <td align="left"> <textarea id="handlecontent" name="handlecontent" class="admin_explain_textarea"></textarea> </td>
- </tr>
- <tr>
- <td colspan='2' align="center">
- <input type="submit" value='确认' class="admin_examine_bth">
- <input type="button" id="zxxCancelBtn" onClick="layer.closeAll();" class="admin_examine_bth_qx" value='取消'>
- </td>
- </tr>
- </table>
- <input type="hidden" name="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- </form>
- </div>
-</div>
-<div class="admin_new_search_box">
- <form action="index.php" name="myform" method="get">
- <input name="m" value="admin_message" type="hidden"/>
- <div class="admin_new_search_name">搜索类型:</div>
- <div class="admin_Filter_text formselect" did='dtype'>
- <input type="button" value="<?php if ($_GET['type']=='2') {?>意见内容 <?php } else { ?>联系人<?php }?>" class="admin_Filter_but" id="btype">
- <input type="hidden" name="type" id="type" value="<?php if ($_GET['type']) {
-echo $_GET['type'];
-} else { ?>1<?php }?>"/>
- <div class="admin_Filter_text_box" style="display:none" id='dtype'>
- <ul>
- <li><a href="javascript:void(0)" onClick="formselect('1','type','联系人')">联系人</a></li>
- <li><a href="javascript:void(0)" onClick="formselect('2','type','反馈内容')">反馈内容</a></li>
- </ul>
- </div>
- </div>
- <input type="text" placeholder="输入你要搜索的关键字" value="<?php echo $_GET['keyword'];?>
-" name='keyword' class="admin_Filter_search">
- <input type="submit" name='search' value="搜索" class="admin_Filter_bth">
- <a href="javascript:void(0)" onclick="$('.admin_screenlist_box').toggle();" class="admin_new_search_gj">高级搜索</a></form>
- <?php echo $_smarty_tpl->getSubTemplate ("admin/admin_search.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
- </div>
-<div class="clear"></div>
-</div>
-
-<div class="tty_table-bom">
- <div class="table-list">
- <div class="admin_table_border">
- <iframe id="supportiframe" name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
- <form action="index.php" target="supportiframe" id='myform' name="myform" method="get">
- <input name="m" value="admin_message" type="hidden"/>
- <input name="c" value="del" type="hidden"/>
- <table width="100%">
- <thead>
- <tr class="admin_table_top">
- <th style="width:20px;"><label for="chkall">
- <input type="checkbox" id='chkAll' onclick='CheckAll(this.form)'/>
- </label></th>
- <th> <?php if ($_GET['t']=="id"&&$_GET['order']=="asc") {?> <a href="index.php?m=admin_message&order=desc&t=id">编号<img src="images/sanj.jpg"/></a> <?php } else { ?> <a href="index.php?m=admin_message&order=asc&t=id">编号<img src="images/sanj2.jpg"/></a> <?php }?>
- </th>
- <th align="left">意见类型</th>
- <th align="left">联系人</th>
- <th>联系手机</th>
- <th align="left">反馈内容</th>
- <th >处理状态</th>
- <th> <?php if ($_GET['t']=="ctime"&&$_GET['order']=="asc") {?> <a href="index.php?m=admin_message&order=desc&t=ctime">意见时间<img src="images/sanj.jpg"/></a> <?php } else { ?> <a href="index.php?m=admin_message&order=asc&t=ctime">意见时间<img src="images/sanj2.jpg"/></a> <?php }?> </th>
- <th>操作</th>
- </tr>
- </thead>
- <tbody>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['rows']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <tr align="center"<?php if (($_smarty_tpl->tpl_vars['key']->value+1)%2=='0') {?>class="admin_com_td_bg"<?php }?> id="list<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-">
- <td><input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" name='del[]' onclick='unselectall()' rel="del_chk" /></td>
- <td align="left" class="td1" style="text-align:center;"><span><?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-</span></td>
- <td class="ud" align="left"><?php if ($_smarty_tpl->tpl_vars['v']->value['infotype']==1) {?>建议<?php } elseif ($_smarty_tpl->tpl_vars['v']->value['infotype']==2) {?>意见<?php } elseif ($_smarty_tpl->tpl_vars['v']->value['infotype']==3) {?>求助<?php } elseif ($_smarty_tpl->tpl_vars['v']->value['infotype']==4) {?>投诉<?php }?></td>
- <td class="ud" align="left"><?php echo $_smarty_tpl->tpl_vars['v']->value['username'];?>
-</td>
- <td class="td"> <?php echo $_smarty_tpl->tpl_vars['v']->value['mobile'];?>
-</td>
- <td class="td" width="400" align="left">
- <?php if ($_smarty_tpl->tpl_vars['v']->value['content']) {?>
- <?php echo mb_substr($_smarty_tpl->tpl_vars['v']->value['content'],0,28,"utf-8");?>
-
- <?php if (strlen($_smarty_tpl->tpl_vars['v']->value['content'])>28) {?>
- <a href="javascript:void(0);" onclick="showbox('评论内容','index.php?m=admin_message&c=content&id=<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-','400px','auto')" class="admin_cz_sc">[更多]</a>
- <?php }?>
- <?php }?>
- </td>
- <td ><?php if ($_smarty_tpl->tpl_vars['v']->value['status']==2) {?>已处理 <?php } else { ?><span style="color:red">未处理</span> <?php }?></td>
- <td class="td"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['v']->value['ctime'],"%Y-%m-%d");?>
-</td>
- <td>
- <a href="javascript:;" class="admin_new_c_bth admin_new_c_bthsh check" pid="<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" status="<?php echo $_smarty_tpl->tpl_vars['v']->value['status'];?>
-">处理</a>
- <a href="javascript:void(0)" onClick="layer_del('确定要删除?','index.php?m=admin_message&c=del&del=<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-');" class="admin_new_c_bth admin_new_c_bth_sc">删除</a></td>
- </tr>
- <?php } ?>
- <tr>
- <td align="center"><input type="checkbox" id='chkAll2' onclick='CheckAll2(this.form)' /></td>
- <td colspan="7" ><label for="chkAll2">全选</label>
-
- <input class="admin_button" type="button" name="delsub" value="删除所选" onClick="return really('del[]')" /></td>
-
- </tr>
- <?php if ($_smarty_tpl->tpl_vars['total']->value>$_smarty_tpl->tpl_vars['config']->value['sy_listnum']) {?>
- <tr>
- <?php if ($_smarty_tpl->tpl_vars['pagenum']->value==1) {?>
- <td colspan="3"> 从 1 到 <?php echo $_smarty_tpl->tpl_vars['config']->value['sy_listnum'];?>
- ,总共 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
- 条</td>
- <?php } elseif ($_smarty_tpl->tpl_vars['pagenum']->value>1&&$_smarty_tpl->tpl_vars['pagenum']->value<$_smarty_tpl->tpl_vars['pages']->value) {?>
- <td colspan="3"> 从 <?php echo ($_smarty_tpl->tpl_vars['pagenum']->value-1)*$_smarty_tpl->tpl_vars['config']->value['sy_listnum']+1;?>
- 到 <?php echo $_smarty_tpl->tpl_vars['pagenum']->value*$_smarty_tpl->tpl_vars['config']->value['sy_listnum'];?>
- ,总共 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
- 条</td>
- <?php } elseif ($_smarty_tpl->tpl_vars['pagenum']->value==$_smarty_tpl->tpl_vars['pages']->value) {?>
- <td colspan="3"> 从 <?php echo ($_smarty_tpl->tpl_vars['pagenum']->value-1)*$_smarty_tpl->tpl_vars['config']->value['sy_listnum']+1;?>
- 到 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
- ,总共 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
- 条</td>
- <?php }?>
- <td colspan="5" class="digg"><?php echo $_smarty_tpl->tpl_vars['pagenav']->value;?>
-</td>
- </tr>
- <?php }?>
- </tbody>
- </table>
- <input type="hidden" name="pytoken" id='pytoken' value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- </form>
- </div>
- </div>
-</div>
-</div>
-<div id="showbox" style="display:none; width:400px; ">
- <div id="infobox">
-
- <div class="admin_message_box" style="line-height:23px;">
- <div class="admin_message_userlist" style="margin-top:8px;"><span class="admin_message_users">姓名:</span><span class="admin_message_userw" id="showname"></span>联系手机:<span id="showmoblie"></span></div>
- <div class="admin_message_userlist" style="margin-top:8px;"><span class="admin_message_users">意见类型:</span><span class="admin_message_userw" id="showtype"></span>意见时间:<span id="showdate"></span></div>
- <div class="admin_message_userlist" style="margin-top:8px;"><span class="admin_message_users">评论内容:</span>
- <div class="admin_message_usercont_box" id="showcontent">
- </div>
- </div>
- <div class="admin_message_userbth" style="margin-top:10px;"><input style="margin-right:10px;" type="button" value="删除" id="showdelet" class="admin_message_userbth_sub"><input type="button" value="返回" onclick="javascript:layer.closeAll();"class="admin_message_userbth_sub admin_message_userbth_sub_h"></div>
- </div>
-
- </div>
-</div>
-<?php echo '<script'; ?>
- type="text/javascript">
- layui.use(['layer', 'form'], function() {
- var layer = layui.layer,
- form = layui.form,
- $ = layui.$;
- });
- $(document).ready(function(){
- $(".check").click(function() {
- $("input[name=pid]").val($(this).attr("pid"));
- var id = $(this).attr("pid");
- var status = $(this).attr("status");
- $("#state" + status).attr("checked", true);
- layui.use(['form'], function() {
- var form = layui.form;
- form.render();
- });
- $("input[name=mid]").val(id);
- $.get("index.php?m=admin_message&c=handlecontent&id=" + id, function(msg) {
- $("#handlecontent").val($.trim(msg));
- $.layer({
- type: 1,
- title: '意见处理',
- closeBtn: [0, true],
- border: [10, 0.3, '#000', true],
- area: ['390px', '240px'],
- page: {
- dom: "#info_div"
- }
- });
- });
- });
- });
-
-<?php echo '</script'; ?>
->
-</body>
-</html><?php }} ?>
diff --git a/data/templates_c/59e1e0820792c5de4212c43421b7f56db2e5fe91.file.footer.htm.php b/data/templates_c/59e1e0820792c5de4212c43421b7f56db2e5fe91.file.footer.htm.php
deleted file mode 100644
index aea4e8c..0000000
--- a/data/templates_c/59e1e0820792c5de4212c43421b7f56db2e5fe91.file.footer.htm.php
+++ /dev/null
@@ -1,232 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:09:55
- compiled from "E:\ishangstudywebs\zhaopin\app\template\default\footer.htm" */ ?>
-<?php /*%%SmartyHeaderCode:3265067ff73e3647730-22077749%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '59e1e0820792c5de4212c43421b7f56db2e5fe91' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\default\\footer.htm',
- 1 => 1645271370,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '3265067ff73e3647730-22077749',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'desc' => 0,
- 'desclist' => 0,
- 'key' => 0,
- 'lit' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff73e3663600_92838119',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff73e3663600_92838119')) {function content_67ff73e3663600_92838119($_smarty_tpl) {?><?php if (!is_callable('smarty_function_desc')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\function.desc.php';
-if (!is_callable('smarty_function_tongji')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\function.tongji.php';
-if (!is_callable('smarty_function_url')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\function.url.php';
-if (!is_callable('smarty_function_baidu')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\function.baidu.php';
-?><?php echo '<script'; ?>
->
- var weburl="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-",
- user_sqintegrity="<?php echo $_smarty_tpl->tpl_vars['config']->value['user_sqintegrity'];?>
-",
- integral_pricename='<?php echo $_smarty_tpl->tpl_vars['config']->value['integral_pricename'];?>
-',
- pricename='<?php echo $_smarty_tpl->tpl_vars['config']->value['integral_pricename'];?>
-',
- code_web='<?php echo $_smarty_tpl->tpl_vars['config']->value['code_web'];?>
-',
- code_kind='<?php echo $_smarty_tpl->tpl_vars['config']->value['code_kind'];?>
-';
-<?php echo '</script'; ?>
->
-<?php echo smarty_function_desc(array('assign_name'=>'desc'),$_smarty_tpl);?>
-
- <div class="hp_foot fl">
- <div class="w1000">
- <div class="hp_foot_wt fl">
- <div class="hp_foot_pho fl">
- <dl>
- <dt></dt>
- <dd>客服服务热线</dd>
- <dd class="hp_foot_pho_nmb"><?php echo $_smarty_tpl->tpl_vars['config']->value['sy_freewebtel'];?>
-</dd>
- <dd><?php echo $_smarty_tpl->tpl_vars['config']->value['sy_worktime'];?>
-</dd>
- </dl>
- </div>
-
- <div class="hp_foot_wh fl">
- <i class="hp_foot_wh_lline"></i>
- <i class="hp_foot_wh_rline"></i>
- <?php $_smarty_tpl->tpl_vars['desclist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['desclist']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['desc']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['desclist']->key => $_smarty_tpl->tpl_vars['desclist']->value) {
-$_smarty_tpl->tpl_vars['desclist']->_loop = true;
-?>
- <dl>
- <dt><?php echo $_smarty_tpl->tpl_vars['desclist']->value['name'];?>
-</dt>
- <dd>
- <ul>
- <?php $_smarty_tpl->tpl_vars['lit'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['lit']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['desclist']->value['list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['lit']->key => $_smarty_tpl->tpl_vars['lit']->value) {
-$_smarty_tpl->tpl_vars['lit']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['lit']->key;
-?>
- <?php if ($_smarty_tpl->tpl_vars['key']->value<5) {?>
- <li><a href="<?php echo $_smarty_tpl->tpl_vars['lit']->value['url'];?>
-" title="<?php echo $_smarty_tpl->tpl_vars['lit']->value['name'];?>
-"><?php echo $_smarty_tpl->tpl_vars['lit']->value['name'];?>
-</a></li>
- <?php }?>
- <?php } ?>
- </ul>
- </dd>
- </dl>
- <?php } ?>
- </div>
- </div>
-
- <div class="hp_foot_wx fr">
- <dl>
- <dt><img src="<?php if ($_smarty_tpl->tpl_vars['config']->value['sy_wx_qcode']) {
-echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_wx_qcode'];
-}?>" width="105" height="105"></dt>
- <dd>微信公众号</dd>
- </dl>
- </div>
-
- <div class="hp_foot_wx fr">
- <dl>
- <dt><img src="<?php if ($_smarty_tpl->tpl_vars['config']->value['sy_wap_qcode']) {
-echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_wap_qcode'];
-}?>" width="105" height="105"></dt>
- <dd>手机浏览</dd>
- </dl>
- </div>
-
- </div>
-
- <div class="clear"></div>
-
- <div class="hp_foot_bt">
- <div class="hp_foot_bt_c">
- <p><?php echo $_smarty_tpl->tpl_vars['config']->value['sy_webcopyright'];?>
- <i class="hp_foot_bt_cr">
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_webrecord']) {?>
- <a href='http://beian.miit.gov.cn' target='_blank'><?php echo $_smarty_tpl->tpl_vars['config']->value['sy_webrecord'];?>
-</a>
- <?php }?>
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_websecord']) {?>
- <a href='http://www.beian.gov.cn' target='_blank'><?php echo $_smarty_tpl->tpl_vars['config']->value['sy_websecord'];?>
-</a>
- <?php }?>
- </i></p>
- <p>地址:<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_webadd'];?>
- EMAIL:<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_webemail'];
-echo smarty_function_tongji(array(),$_smarty_tpl);?>
-</p>
- <p><?php if ($_smarty_tpl->tpl_vars['config']->value['sy_perfor']) {?>
- <a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/about/jyxkz.html" target='_blank'>ICP经营许可证:<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_perfor'];?>
-</a>
- <?php }?>
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_hrlicense']) {?>
- <a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/about/rlzy.html" target='_blank'>人力资源证: <?php echo $_smarty_tpl->tpl_vars['config']->value['sy_hrlicense'];?>
-</a>
- <?php }?></p>
- </div>
- </div>
- </div>
-
- <div class="go-top dn" id="go-top">
- <a href="javascript:;" class="uc-2vm"></a>
- <div class="uc-2vm-pop dn">
- <h2 class="title-2wm">用微信扫一扫</h2>
- <div class="logo-2wm-box">
- <img src="<?php if ($_smarty_tpl->tpl_vars['config']->value['sy_wx_qcode']) {
-echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_wx_qcode'];
-}?>" width="120" height="120">
- </div>
- </div>
-
- <a href="<?php echo smarty_function_url(array('m'=>'advice'),$_smarty_tpl);?>
-" target="_blank" class="feedback"></a>
- <a href="javascript:;" class="go"></a>
- </div>
-
- <div class="clear"></div>
- <div id="uclogin"></div>
-
- <?php echo '<script'; ?>
->
- $(function(){
- $(window).on('scroll',function(){
- var st = $(document).scrollTop();
- if( st>0 ){
- if( $('#main-container').length != 0 ){
- var w = $(window).width(),mw = $('#main-container').width();
- if( (w-mw)/2 > 70 )
- $('#go-top').css({'left':(w-mw)/2+mw+20});
- else{
- $('#go-top').css({'left':'auto'});
- }
- }
- $('#go-top').fadeIn(function(){
- $(this).removeClass('dn');
- });
- }else{
- $('#go-top').fadeOut(function(){
- $(this).addClass('dn');
- });
- }
- });
- $('#go-top .go').on('click',function(){
- $('html,body').animate({'scrollTop':0},500);
- });
-
- $('#go-top .uc-2vm').hover(function(){
- $('#go-top .uc-2vm-pop').removeClass('dn');
- },function(){
- $('#go-top .uc-2vm-pop').addClass('dn');
- });
- //获取分站信息
- if($('#substation_city_id').length == 1){
- var indexdirurl = '';
-
- if($('#indexdir').val()!=''){
- indexdirurl = '&indexdir='+$('#indexdir').val();
- }
- $.get(weburl+"/index.php?m=ajax&c=Site&type=ajax"+indexdirurl,function(data){
- $('#substation_city_id').html(data);
- });
- }
- //获取登录信息
- if($('#login_head_id').length == 1){
- $.get(weburl+"/index.php?m=ajax&c=RedLoginHead&type=ajax",function(data){
- $('#login_head_id').html(data);
- });
- }
-
- });
- <?php echo '</script'; ?>
->
- <!--下面为自动推送功能-->
- <?php echo smarty_function_baidu(array(),$_smarty_tpl);?>
-
-</body>
-</html><?php }} ?>
diff --git a/data/templates_c/603d4de05786c50b2bf0d3d458bb5eeef4f4f0fb.file.firm_search.htm.php b/data/templates_c/603d4de05786c50b2bf0d3d458bb5eeef4f4f0fb.file.firm_search.htm.php
deleted file mode 100644
index f0c3045..0000000
--- a/data/templates_c/603d4de05786c50b2bf0d3d458bb5eeef4f4f0fb.file.firm_search.htm.php
+++ /dev/null
@@ -1,521 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:17:07
- compiled from "E:\ishangstudywebs\zhaopin\app\template\default\public_search\firm_search.htm" */ ?>
-<?php /*%%SmartyHeaderCode:1962067ff759365b357-06597604%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '603d4de05786c50b2bf0d3d458bb5eeef4f4f0fb' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\default\\public_search\\firm_search.htm',
- 1 => 1634883842,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '1962067ff759365b357-06597604',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'getinfo' => 0,
- 'comkeyword' => 0,
- 'keylist' => 0,
- 'city_name' => 0,
- 'city_type' => 0,
- 'tid' => 0,
- 'city_index' => 0,
- 'pid' => 0,
- 'key' => 0,
- 'cid' => 0,
- 'industry_index' => 0,
- 'v' => 0,
- 'j' => 0,
- 'industry_name' => 0,
- 'comdata' => 0,
- 'comclass_name' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff75936df1c0_16731984',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff75936df1c0_16731984')) {function content_67ff75936df1c0_16731984($_smarty_tpl) {?><?php if (!is_callable('smarty_function_url')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\function.url.php';
-if (!is_callable('smarty_function_listurl')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\function.listurl.php';
-?><div class="firm_search_box">
- <div class="firm_search_boxbor">
- <form method="get" name="myform" onsubmit="return search_keyword(this,'请输入关键字');" action="<?php if (!$_smarty_tpl->tpl_vars['config']->value['sy_companydir']) {?>index.php<?php } else {
-echo smarty_function_url(array('m'=>'company'),$_smarty_tpl);
-}?>">
- <input class="firm_search_text" id="ipt" type="text" placeholder='请输入关键字' value="<?php if ($_smarty_tpl->tpl_vars['getinfo']->value['keyword']!=" =") {
-echo $_smarty_tpl->tpl_vars['getinfo']->value['keyword'];
-} else { ?>请输入关键字<?php }?>" name="keyword" onclick="if(this.value=='请输入关键字'){this.value=''}" onblur="if(this.value==''){this.value='请输入关键字'}" />
- <input type="hidden" name="cityid" id="cityid" value="<?php if ($_GET['cityid']) {
-echo $_GET['cityid'];
-}?>"/>
- <input class="firm_search_submit yun_bg_color" type="submit" value="搜索 " />
-
- </form>
- </div>
-
- <?php if ($_smarty_tpl->tpl_vars['comkeyword']->value) {?>
- <div class="firm_hot_tags">
- 热门搜索: <?php $_smarty_tpl->tpl_vars['keylist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['keylist']->_loop = false;
-global $config;$paramer=array("limit"=>"12","type"=>"4","recom"=>"1","item"=>"'keylist'","nocache"=>"")
-;$list=array();
-
- $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
- $paramer = $ParamerArr[arr];
- //是否推荐
- if($paramer[recom]){
- $tuijian = 1;
- }
- //类别
- if($paramer[type]){
- $type = $paramer[type];
- }
- //查询条数
- if($paramer[limit]){
- $limit=$paramer[limit];
- }else{
- $limit=5;
- }
- include PLUS_PATH."/keyword.cache.php";
- if($paramer[iswap]){
- $wap = "/wap";
- }else{
- $index =1;
- }
- if(is_array($keyword)){
- if($paramer[iswap]){
- $i=0;
- foreach($keyword as $k=>$v){
- if($tuijian && $v[tuijian]!=1){
- continue;
- }
- if($type && $v[type]!=$type){
- continue;
- }
-
- $i++;
- if($v[type]=="1"){
- $v[url] = Url("wap",array("c"=>"once","keyword"=>$v['key_name']));
- $v[type_name]='店铺招聘';
- }elseif($v['type']=="13"){
- $v['url'] = Url("wap",array("c"=>"tiny","keyword"=>$v['key_name']));
- $v['type_name']='普工简历';
- }elseif($v[type]=="3"){
- $v[url] = Url("wap",array("c"=>"job","keyword"=>$v['key_name']));
- $v[type_name]='职位';
- }elseif($v['type']=="4"){
- $v['url'] = Url("wap",array("c"=>"company","keyword"=>$v['key_name']));
- $v['type_name']='公司';
- }elseif($v['type']=="5"){
- $v['url'] = Url("wap",array("c"=>"resume","keyword"=>$v['key_name']));
- $v['type_name']='人才';
- }
- $v['key_title']=$v['key_name'];
- if($v['color']){
- $v['key_name']="<font color='".$v['color']."'>".$v['key_name']."</font>";
- }
- $list[] = $v;
- if($i==$limit){
- break;
- }
- }
- }else{
- $i=0;
- foreach($keyword as $k=>$v){
- if($tuijian && $v['tuijian']!=1){
- continue;
- }
- if($type && $v['type']!=$type){
- continue;
- }
- $i++;
- if($v['type']=="1"){
- $v['url'] = Url("once",array("keyword"=>$v['key_name']));
- $v['type_name']='店铺招聘';
- }elseif($v['type']=="2"){
- $v['url'] = Url("part",array("keyword"=>$v['key_name']));
- $v['type_name']='兼职';
- }elseif($v['type']=="13"){
- $v['url'] = Url("tiny",array("keyword"=>$v['key_name']));
- $v['type_name']='普工简历';
- }elseif($v['type']=="3"){
- $v['url'] = Url("job",array("c"=>"search","keyword"=>$v['key_name']));
- $v['type_name']='职位';
- }elseif($v['type']=="4"){
- $v['url'] = Url("company",array("keyword"=>$v['key_name']));
- $v['type_name']='公司';
- }elseif($v['type']=="5"){
- $v['url'] = Url("resume",array("c"=>"search","keyword"=>$v['key_name']));
- $v['type_name']='人才';
- }elseif($v['type']=="6"){
- $v['url'] = Url("lietou",array("c"=>"service","keyword"=>$v['key_name']));
- $v['type_name']='猎头';
- }elseif($v['type']=="7"){
- $v['url'] = Url("lietou",array("c"=>"post","keyword"=>$v['key_name']));
- $v['type_name']='猎头职位';
- }else if($v['type']=="9"){
- $v['url'] = Url("train",array("c"=>"subject","keyword"=>$v['key_name']));
- $v['type_name']='培训课程';
- }else if($v['type']=="10"){
- $v['url'] = Url("train",array("c"=>"agency","keyword"=>$v['key_name']));
- $v['type_name']='培训机构';
- }else if($v['type']=="11"){
- $v['url'] = Url("train",array("c"=>"teacher","keyword"=>$v['key_name']));
- $v['type_name']='培训师';
- }else if($v['type']=="12"){
- $v['url'] = Url("ask",array("c"=>"search","keyword"=>$v['key_name']));
- $v['type_name']='问答';
- }
- $v['key_title']=$v['key_name'];
- if($v['color']){
- $v['key_name']="<font color='".$v['color']."'>".$v['key_name']."</font>";
- }
-
- $list[] = $v;
- if($i==$limit){
- break;
- }
- }
- }
- }$list = $list; if (!is_array($list) && !is_object($list)) { settype($list, 'array');}
-foreach ($list as $_smarty_tpl->tpl_vars['keylist']->key => $_smarty_tpl->tpl_vars['keylist']->value) {
-$_smarty_tpl->tpl_vars['keylist']->_loop = true;
-?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'company','type'=>'keyword','v'=>$_smarty_tpl->tpl_vars['keylist']->value['key_title']),$_smarty_tpl);?>
-"><?php echo $_smarty_tpl->tpl_vars['keylist']->value['key_name'];?>
-</a>
- <?php } ?>
- </div>
- <?php } else { ?>
- <div class="firm_hot-tags"> </div>
- <?php }?>
-
-</div>
-
-<div class="fiem_seach_chlose">
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_web_site']==1&&$_smarty_tpl->tpl_vars['config']->value['cityname']&&$_smarty_tpl->tpl_vars['config']->value['cityname']!=$_smarty_tpl->tpl_vars['config']->value['sy_indexcity']) {?>
- <div class="fiem_seach_chlose_list">
- <div class="Search_cityboxname"> 地区:</div>
- <div class="Search_citybox_right">
- <div class="Search_cityboxright">
- <div class="search_secondcity_list">
- <?php if (!$_GET['cityid']&&$_GET['three_cityid']) {?>
- <a class="city_name city_name_active" style="text-decoration:none;cursor:pointer;">
- <?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_GET['three_cityid']];?>
-
- </a>
- <?php } else { ?>
- <?php if ($_GET['cityid']) {?>
- <?php if (is_array($_smarty_tpl->tpl_vars['city_type']->value[$_GET['cityid']])) {?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'company','untype'=>'three_cityid'),$_smarty_tpl);?>
-" class="city_name <?php if (!$_GET['three_cityid']) {?>city_name_active<?php }?>">不限</a>
- <?php $_smarty_tpl->tpl_vars['tid'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tid']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['city_type']->value[$_GET['cityid']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['tid']->key => $_smarty_tpl->tpl_vars['tid']->value) {
-$_smarty_tpl->tpl_vars['tid']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['tid']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'company','type'=>'three_cityid','v'=>$_smarty_tpl->tpl_vars['tid']->value),$_smarty_tpl);?>
-" class="city_name <?php if ($_GET['three_cityid']==$_smarty_tpl->tpl_vars['tid']->value) {?>city_name_active<?php }?>"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_smarty_tpl->tpl_vars['tid']->value];?>
-</a>
- <?php } ?>
- <?php } else { ?>
- <a class="city_name city_name_active" style="text-decoration:none;cursor:pointer;"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_GET['cityid']];?>
-</a>
- <?php }?>
- <?php } else { ?>
- <?php if (is_array($_smarty_tpl->tpl_vars['city_type']->value[$_GET['provinceid']])) {?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'company','untype'=>'cityid'),$_smarty_tpl);?>
-" class="city_name <?php if (!$_GET['cityid']) {?>city_name_active<?php }?>">不限</a>
- <?php $_smarty_tpl->tpl_vars['tid'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tid']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['city_type']->value[$_GET['provinceid']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['tid']->key => $_smarty_tpl->tpl_vars['tid']->value) {
-$_smarty_tpl->tpl_vars['tid']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['tid']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'company','type'=>'cityid','v'=>$_smarty_tpl->tpl_vars['tid']->value),$_smarty_tpl);?>
-" class="city_name <?php if ($_GET['cityid']==$_smarty_tpl->tpl_vars['tid']->value) {?>city_name_active<?php }?>"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_smarty_tpl->tpl_vars['tid']->value];?>
-</a>
- <?php } ?>
- <?php } else { ?>
- <a class="city_name city_name_active" style="text-decoration:none;cursor:pointer;"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_GET['provinceid']];?>
-</a>
- <?php }?>
- <?php }?>
- <?php }?>
- </div>
- </div>
- </div>
- </div>
- <?php } elseif ($_smarty_tpl->tpl_vars['config']->value['sy_web_city_one']) {?>
- <div class="fiem_seach_chlose_list">
- <div class="Search_cityboxname"> 地区:</div>
- <div class="Search_citybox_right">
- <div class="Search_cityboxright">
- <div class="search_secondcity_list">
- <?php if (!$_GET['cityid']&&$_GET['three_cityid']) {?>
- <a class="city_name city_name_active" style="text-decoration:none;cursor:pointer;">
- <?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_GET['three_cityid']];?>
-
- </a>
- <?php } else { ?>
- <?php if ($_GET['cityid']) {?>
- <?php if (is_array($_smarty_tpl->tpl_vars['city_type']->value[$_GET['cityid']])) {?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'company','untype'=>'three_cityid'),$_smarty_tpl);?>
-" class="city_name <?php if (!$_GET['three_cityid']) {?>city_name_active<?php }?>">不限</a>
- <?php $_smarty_tpl->tpl_vars['tid'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tid']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['city_type']->value[$_GET['cityid']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['tid']->key => $_smarty_tpl->tpl_vars['tid']->value) {
-$_smarty_tpl->tpl_vars['tid']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['tid']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'company','type'=>'three_cityid','v'=>$_smarty_tpl->tpl_vars['tid']->value),$_smarty_tpl);?>
-" class="city_name <?php if ($_GET['three_cityid']==$_smarty_tpl->tpl_vars['tid']->value) {?>city_name_active<?php }?>"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_smarty_tpl->tpl_vars['tid']->value];?>
-</a>
- <?php } ?>
- <?php } else { ?>
- <a class="city_name city_name_active" style="text-decoration:none;cursor:pointer;"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_GET['cityid']];?>
-</a>
- <?php }?>
- <?php } else { ?>
- <?php if (is_array($_smarty_tpl->tpl_vars['city_type']->value[$_GET['provinceid']])) {?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'company','untype'=>'cityid'),$_smarty_tpl);?>
-" class="city_name <?php if (!$_GET['cityid']) {?>city_name_active<?php }?>">不限</a>
- <?php $_smarty_tpl->tpl_vars['tid'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tid']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['city_type']->value[$_GET['provinceid']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['tid']->key => $_smarty_tpl->tpl_vars['tid']->value) {
-$_smarty_tpl->tpl_vars['tid']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['tid']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'company','type'=>'cityid','v'=>$_smarty_tpl->tpl_vars['tid']->value),$_smarty_tpl);?>
-" class="city_name <?php if ($_GET['cityid']==$_smarty_tpl->tpl_vars['tid']->value) {?>city_name_active<?php }?>"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_smarty_tpl->tpl_vars['tid']->value];?>
-</a>
- <?php } ?>
- <?php } else { ?>
- <a class="city_name city_name_active" style="text-decoration:none;cursor:pointer;"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_GET['provinceid']];?>
-</a>
- <?php }?>
- <?php }?>
- <?php }?>
- </div>
- </div>
- </div>
- </div>
- <?php } else { ?>
- <div class="Search_citybox">
- <div class="Search_cityboxname"> 地点:</div>
- <div class="Search_citybox_right">
- <div class="Search_cityall none">
- <a href="<?php echo smarty_function_listurl(array('m'=>'company','type'=>'provinceid','v'=>0),$_smarty_tpl);?>
-" class="city_name">全部</a>
- <?php $_smarty_tpl->tpl_vars['pid'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['pid']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['city_index']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['pid']->key => $_smarty_tpl->tpl_vars['pid']->value) {
-$_smarty_tpl->tpl_vars['pid']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['pid']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'company','type'=>'provinceid','v'=>$_smarty_tpl->tpl_vars['pid']->value),$_smarty_tpl);?>
-" class="city_name <?php if ($_GET['provinceid']==$_smarty_tpl->tpl_vars['pid']->value) {?>city_name_active<?php }?>"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_smarty_tpl->tpl_vars['pid']->value];?>
-</a>
- <?php } ?>
- </div>
- <div class="Search_cityboxright">
- <a href="javascript:;" onclick="acityshow('1')" class="search_city_list_cur <?php if ($_GET['provinceid']&&!$_GET['cityid']||!is_array($_smarty_tpl->tpl_vars['city_type']->value[$_GET['cityid']])) {?>search_city_active<?php }?> <?php if (!$_GET['provinceid']) {?>none<?php }?> acity_two" style="text-decoration:none;cursor:pointer;">
- <span class="search_city_p"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_GET['provinceid']];?>
-</span>
- <i class="search_city_p_jt"></i>
- <i class="search_city_list_line"></i>
- </a>
- <a href="javascript:;" <?php if ($_GET['cityid']) {?>onclick="acityshow('2')" <?php }?> class="search_city_list_cur <?php if ($_GET['cityid']&&is_array($_smarty_tpl->tpl_vars['city_type']->value[$_GET['cityid']])) {?>search_city_active<?php }?> <?php if (!$_GET['provinceid']||!$_GET['cityid']||!is_array($_smarty_tpl->tpl_vars['city_type']->value[$_GET['cityid']])) {?>none<?php }?> acity_three" style="text-decoration:none;cursor:pointer;">
- <span class="search_city_p">
- <?php if (!$_GET['cityid']) {?>
- 不限
- <?php } else { ?>
- <?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_GET['cityid']];?>
-
- <?php }?></span>
- <i class="search_city_list_line"></i>
- </a>
- <a href="<?php echo smarty_function_listurl(array('m'=>'company','type'=>'provinceid','v'=>0),$_smarty_tpl);?>
-" class="search_city_list_all <?php if (!$_GET['provinceid']) {?>city_name_active<?php }?>">全部</a>
- <div class="search_city_list">
- <?php $_smarty_tpl->tpl_vars['pid'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['pid']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['city_index']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['pid']->key => $_smarty_tpl->tpl_vars['pid']->value) {
-$_smarty_tpl->tpl_vars['pid']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['pid']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'company','type'=>'provinceid','v'=>$_smarty_tpl->tpl_vars['pid']->value),$_smarty_tpl);?>
-" class="city_name <?php if ($_GET['provinceid']&&!$_GET['cityid']) {
-if ($_smarty_tpl->tpl_vars['key']->value>13) {?>none<?php }
-} elseif ($_GET['cityid']) {
-if ($_smarty_tpl->tpl_vars['key']->value>12) {?>none<?php }
-} else {
-if ($_smarty_tpl->tpl_vars['key']->value>14) {?>none<?php }
-}?> <?php if ($_GET['provinceid']==$_smarty_tpl->tpl_vars['pid']->value) {?>city_name_active<?php }?>"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_smarty_tpl->tpl_vars['pid']->value];?>
-</a>
- <?php } ?>
- </div>
- <a href="javascript:;" class="search_city_list_more" id="acity">更多</a>
- </div>
-
- <div class="Search_cityboxclose <?php if (!$_GET['provinceid']||($_GET['provinceid']&&$_GET['cityid']&&is_array($_smarty_tpl->tpl_vars['city_type']->value[$_GET['cityid']]))) {?>none<?php }?>" id="acity_two">
- <a href="<?php echo smarty_function_listurl(array('untype'=>'cityid'),$_smarty_tpl);?>
-" class="city_name <?php if ($_GET['provinceid']&&!$_GET['cityid']&&!$_GET['three_cityid']) {?>city_name_active<?php }?>">不限</a>
- <?php $_smarty_tpl->tpl_vars['cid'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['cid']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['city_type']->value[$_GET['provinceid']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['cid']->key => $_smarty_tpl->tpl_vars['cid']->value) {
-$_smarty_tpl->tpl_vars['cid']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['cid']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'company','type'=>'cityid','v'=>$_smarty_tpl->tpl_vars['cid']->value),$_smarty_tpl);?>
-" class="city_name <?php if ($_GET['cityid']==$_smarty_tpl->tpl_vars['cid']->value) {?>city_name_active<?php }?>"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_smarty_tpl->tpl_vars['cid']->value];?>
-</a>
- <?php } ?>
- </div>
- <div class="Search_cityboxclose <?php if (!$_GET['cityid']||!is_array($_smarty_tpl->tpl_vars['city_type']->value[$_GET['cityid']])) {?>none<?php }?>" id="acity_three">
- <a href="<?php echo smarty_function_listurl(array('m'=>'company','untype'=>'three_cityid'),$_smarty_tpl);?>
-" class="city_name <?php if ($_GET['provinceid']&&$_GET['cityid']&&!$_GET['three_cityid']) {?>city_name_active<?php }?>">不限</a>
- <?php $_smarty_tpl->tpl_vars['tid'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tid']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['city_type']->value[$_GET['cityid']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['tid']->key => $_smarty_tpl->tpl_vars['tid']->value) {
-$_smarty_tpl->tpl_vars['tid']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['tid']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'company','type'=>'three_cityid','v'=>$_smarty_tpl->tpl_vars['tid']->value),$_smarty_tpl);?>
-" class="city_name <?php if ($_GET['three_cityid']==$_smarty_tpl->tpl_vars['tid']->value) {?>city_name_active<?php }?>"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_smarty_tpl->tpl_vars['tid']->value];?>
-</a>
- <?php } ?>
- </div>
- </div>
- </div>
- <?php }?>
-
- <div class="fiem_seach_chlose_list">
- <div class="fiem_seach_chlosename">行业:</div>
- <div class="fiem_seach_chlose_list_r" style="width:1010px; float:left">
- <a href="<?php echo smarty_function_listurl(array('m'=>'company','type'=>'hy','v'=>0),$_smarty_tpl);?>
-" class="fiem_seach_chlose_list_a <?php if (!$_GET['hy']) {?>fiem_seach_chlose_list_cur<?php }?>">全部</a>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['j'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['industry_index']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['j']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'company','type'=>'hy','v'=>$_smarty_tpl->tpl_vars['v']->value),$_smarty_tpl);?>
-" class="fiem_seach_chlose_list_a <?php if ($_GET['hy']==$_smarty_tpl->tpl_vars['v']->value) {?>fiem_seach_chlose_list_cur<?php }?> <?php if ($_smarty_tpl->tpl_vars['j']->value>6) {?>list_hy_more none<?php }?>"><?php echo $_smarty_tpl->tpl_vars['industry_name']->value[$_smarty_tpl->tpl_vars['v']->value];?>
-</a>
- <?php } ?>
- </div>
- <div class="zh_more">
- <a href="javascript:void(0);" onclick="hy_more_click(this)">更多</a>
- </div>
- </div>
-
- <div class="fiem_seach_chlose_list"><div class="fiem_seach_chlosename">性质:</div>
- <div class="fiem_seach_chlose_list_r">
- <a href="<?php echo smarty_function_listurl(array('m'=>'company','type'=>'pr','v'=>0),$_smarty_tpl);?>
-" class="fiem_seach_chlose_list_a <?php if (!$_GET['pr']) {?>fiem_seach_chlose_list_cur<?php }?>">全部</a>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['j'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['comdata']->value['job_pr']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['j']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'company','type'=>'pr','v'=>$_smarty_tpl->tpl_vars['v']->value),$_smarty_tpl);?>
-" class="fiem_seach_chlose_list_a <?php if ($_GET['pr']==$_smarty_tpl->tpl_vars['v']->value) {?>fiem_seach_chlose_list_cur<?php }?>"><?php echo $_smarty_tpl->tpl_vars['comclass_name']->value[$_smarty_tpl->tpl_vars['v']->value];?>
-</a>
- <?php } ?>
- </div>
- </div>
-
- <div class="fiem_seach_chlose_list"><div class="fiem_seach_chlosename">规模:</div>
- <div class="fiem_seach_chlose_list_r">
- <a href="<?php echo smarty_function_listurl(array('m'=>'company','type'=>'mun','v'=>0),$_smarty_tpl);?>
-" class="fiem_seach_chlose_list_a <?php if (!$_GET['mun']) {?>fiem_seach_chlose_list_cur<?php }?>">全部</a>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['j'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['comdata']->value['job_mun']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['j']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'company','type'=>'mun','v'=>$_smarty_tpl->tpl_vars['v']->value),$_smarty_tpl);?>
-" class="fiem_seach_chlose_list_a <?php if ($_GET['mun']==$_smarty_tpl->tpl_vars['v']->value) {?>fiem_seach_chlose_list_cur<?php }?>"><?php echo $_smarty_tpl->tpl_vars['comclass_name']->value[$_smarty_tpl->tpl_vars['v']->value];?>
-</a>
- <?php } ?>
- </div>
- </div>
-
- <div class="fiem_seach_chlose_list"><div class="fiem_seach_chlosename">福利:</div>
- <div class="fiem_seach_chlose_list_r">
- <a href="<?php echo smarty_function_listurl(array('m'=>'company','type'=>'welfare','v'=>0),$_smarty_tpl);?>
-" class="fiem_seach_chlose_list_a <?php if (!$_GET['welfare']) {?>fiem_seach_chlose_list_cur<?php }?>">全部</a>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['j'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['comdata']->value['job_welfare']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['j']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <a href="<?php echo smarty_function_listurl(array('m'=>'company','type'=>'welfare','v'=>$_smarty_tpl->tpl_vars['v']->value),$_smarty_tpl);?>
-" class="fiem_seach_chlose_list_a <?php if ($_GET['welfare']==$_smarty_tpl->tpl_vars['v']->value) {?>fiem_seach_chlose_list_cur<?php }?>"><?php echo $_smarty_tpl->tpl_vars['comclass_name']->value[$_smarty_tpl->tpl_vars['v']->value];?>
-</a>
- <?php } ?>
- </div>
- </div>
-
- <?php if (($_GET['provinceid']&&!$_smarty_tpl->tpl_vars['config']->value['sy_web_city_one'])||($_GET['cityid']&&!$_smarty_tpl->tpl_vars['config']->value['sy_web_city_two'])||$_GET['three_cityid']||$_GET['hy']||$_GET['pr']||$_GET['mun']||$_GET['welfare']||$_GET['keyword']) {?>
- <div class="Search_close_box">
-
- <div>
- <div class="Search_clear"> <a href="<?php echo smarty_function_url(array('m'=>'company'),$_smarty_tpl);?>
-"> 清除所选</a></div>
- <span class="Search_close_box_s">已选条件:</span>
- </div>
-
- <?php if ($_smarty_tpl->tpl_vars['config']->value['cityid']==''&&$_smarty_tpl->tpl_vars['config']->value['three_cityid']=='') {?>
- <?php if ($_GET['provinceid']&&!$_smarty_tpl->tpl_vars['config']->value['sy_web_city_one']) {?><a href="<?php echo smarty_function_listurl(array('m'=>'company','untype'=>'provinceid'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">工作地点:<?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_GET['provinceid']];?>
-</a> <?php }?>
- <?php if ($_GET['cityid']&&!$_smarty_tpl->tpl_vars['config']->value['sy_web_city_two']) {?> <a href="<?php echo smarty_function_listurl(array('m'=>'company','untype'=>'cityid'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_GET['cityid']];?>
-</a> <?php }?>
- <?php }?>
-
- <?php if ($_GET['three_cityid']) {?> <a href="<?php echo smarty_function_listurl(array('m'=>'company','untype'=>'three_cityid'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac"><?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_GET['three_cityid']];?>
-</a> <?php }?>
- <?php if ($_smarty_tpl->tpl_vars['industry_name']->value[$_GET['hy']]) {?> <a href="<?php echo smarty_function_listurl(array('m'=>'company','untype'=>'hy'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">行业:<?php echo $_smarty_tpl->tpl_vars['industry_name']->value[$_GET['hy']];?>
-</a> <?php }?>
- <?php if ($_GET['pr']) {?> <a href="<?php echo smarty_function_listurl(array('m'=>'company','untype'=>'pr'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">性质:<?php echo $_smarty_tpl->tpl_vars['comclass_name']->value[$_GET['pr']];?>
-</a> <?php }?>
- <?php if ($_GET['mun']) {?> <a href="<?php echo smarty_function_listurl(array('m'=>'company','untype'=>'mun'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">规模:<?php echo $_smarty_tpl->tpl_vars['comclass_name']->value[$_GET['mun']];?>
-</a> <?php }?>
- <?php if ($_GET['welfare']) {?> <a href="<?php echo smarty_function_listurl(array('m'=>'company','untype'=>'welfare'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac">福利:<?php echo $_smarty_tpl->tpl_vars['comclass_name']->value[$_GET['welfare']];?>
-</a> <?php }?>
- <?php if ($_GET['keyword']) {?> <a href="<?php echo smarty_function_listurl(array('m'=>'company','untype'=>'keyword'),$_smarty_tpl);?>
-" class="Search_jobs_c_a disc_fac"><?php echo $_GET['keyword'];?>
-</a> <?php }?>
-
- </div>
- <?php }?>
-
-</div><?php }} ?>
diff --git a/data/templates_c/643a77cfea3409d4f5b6e0a4a08a8cc5974a4320.file.admin_user_list.htm.php b/data/templates_c/643a77cfea3409d4f5b6e0a4a08a8cc5974a4320.file.admin_user_list.htm.php
deleted file mode 100644
index 6144f85..0000000
--- a/data/templates_c/643a77cfea3409d4f5b6e0a4a08a8cc5974a4320.file.admin_user_list.htm.php
+++ /dev/null
@@ -1,173 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-17 18:06:55
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\admin_user_list.htm" */ ?>
-<?php /*%%SmartyHeaderCode:269516800d2bfed50c8-58587719%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '643a77cfea3409d4f5b6e0a4a08a8cc5974a4320' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\admin_user_list.htm',
- 1 => 1634883865,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '269516800d2bfed50c8-58587719',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'rows' => 0,
- 'v' => 0,
- 'total' => 0,
- 'pagenum' => 0,
- 'pages' => 0,
- 'pagenav' => 0,
- 'pytoken' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_6800d2bff39d62_11848527',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_6800d2bff39d62_11848527')) {function content_6800d2bff39d62_11848527($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <link href="images/reset.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/system.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/table_form.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
-
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
-
- <link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
-
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="js/admin_public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
-
- <title>后台管理</title>
-</head>
-
-<body class="body_ifm">
-
- <div class="infoboxp">
- <div class="tty-tishi_top">
- <div class="admin_new_tip">
- <a href="javascript:;" class="admin_new_tip_close"></a>
- <a href="javascript:;" class="admin_new_tip_open" style="display:none;"></a>
- <div class="admin_new_tit"><i class="admin_new_tit_icon"></i>操作提示</div>
- <div class="admin_new_tip_list_cont">
- <div class="admin_new_tip_list">管理员列表主要显示该网站所有管理员用户,包括分站管理员可以设置不同的管理员权限!</div>
- </div>
- </div>
-
- <div class="clear"></div>
-
- <div class="admin_new_search_box">
- <a href="index.php?m=admin_user&c=add" class="admin_new_cz_tj">+ 添加管理员</a>
- </div>
-
- <div class="clear"></div>
- </div>
-
- <div class="tty_table-bom">
- <div class="table-list">
- <div class="admin_table_border">
- <table width="100%">
- <thead>
- <tr class="admin_table_top">
- <th width="7%">编号</th>
- <th width="10%" align="left">登录名</th>
- <th width="10%" align="left">权限</th>
- <th width="10%" align="left">真实姓名</th>
- <th width="15%" align="left">联系方式</th>
- <th width="12%" class="admin_table_th_bg" align="left">操作</th>
- </tr>
- </thead>
-
- <tbody>
-
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['rows']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
- <tr>
- <td height="17" align="center" style="cursor:pointer;"><?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-</td>
- <td align="left" style="cursor:pointer;"><?php echo $_smarty_tpl->tpl_vars['v']->value['username'];?>
-</td>
- <td align="left" style="cursor:pointer;"><?php echo $_smarty_tpl->tpl_vars['v']->value['group_name'];?>
-</td>
- <td align="left" style="cursor:pointer;"><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-</td>
- <td align="left" style="cursor:pointer;">
- <?php if ($_smarty_tpl->tpl_vars['v']->value['moblie']) {?> <div class="mt5">手机:<?php echo $_smarty_tpl->tpl_vars['v']->value['moblie'];?>
-</div><?php }?>
- <?php if ($_smarty_tpl->tpl_vars['v']->value['weixin']) {?><div class="mt5">微信: <?php echo $_smarty_tpl->tpl_vars['v']->value['weixin'];?>
-</div><?php }?>
- <?php if ($_smarty_tpl->tpl_vars['v']->value['qq']) {?> <div class="mt5">QQ: <?php echo $_smarty_tpl->tpl_vars['v']->value['qq'];?>
-</div><?php }?>
- </td>
- <td align="left">
- <?php if ($_smarty_tpl->tpl_vars['v']->value['did']) {?><a href="index.php?m=admin_siteadmin&uid=<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-" class="admin_new_c_bth">修改</a><?php } else { ?><a href="index.php?m=admin_user&c=add&uid=<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-" class="admin_new_c_bth">修改</a><?php }?>
- <a href="javascript:;" onClick="layer_del('确定要删除?','index.php?m=admin_user&c=deluser&uid=<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-');" class="admin_new_c_bth admin_new_c_bth_sc">删除</a>
- </td>
- </tr>
- <?php } ?>
-
- <?php if ($_smarty_tpl->tpl_vars['total']->value>$_smarty_tpl->tpl_vars['config']->value['sy_listnum']) {?>
- <tr>
- <?php if ($_smarty_tpl->tpl_vars['pagenum']->value==1) {?>
- <td colspan="3"> 从 1 到 <?php echo $_smarty_tpl->tpl_vars['config']->value['sy_listnum'];?>
- ,总共 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
- 条</td>
- <?php } elseif ($_smarty_tpl->tpl_vars['pagenum']->value>1&&$_smarty_tpl->tpl_vars['pagenum']->value<$_smarty_tpl->tpl_vars['pages']->value) {?>
- <td colspan="3"> 从 <?php echo ($_smarty_tpl->tpl_vars['pagenum']->value-1)*$_smarty_tpl->tpl_vars['config']->value['sy_listnum']+1;?>
- 到 <?php echo $_smarty_tpl->tpl_vars['pagenum']->value*$_smarty_tpl->tpl_vars['config']->value['sy_listnum'];?>
- ,总共 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
- 条</td>
- <?php } elseif ($_smarty_tpl->tpl_vars['pagenum']->value==$_smarty_tpl->tpl_vars['pages']->value) {?>
- <td colspan="3"> 从 <?php echo ($_smarty_tpl->tpl_vars['pagenum']->value-1)*$_smarty_tpl->tpl_vars['config']->value['sy_listnum']+1;?>
- 到 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
- ,总共 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
- 条</td>
- <?php }?>
- <td colspan="3" class="digg"><?php echo $_smarty_tpl->tpl_vars['pagenav']->value;?>
-</td>
- </tr>
- <?php }?>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div>
- <input type="hidden" name="pytoken" id='pytoken' value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
-</body>
-</html><?php }} ?>
diff --git a/data/templates_c/680e04d273a3dd0f8ddb8679579421f092d19229.file.admin_description.htm.php b/data/templates_c/680e04d273a3dd0f8ddb8679579421f092d19229.file.admin_description.htm.php
deleted file mode 100644
index f453f23..0000000
--- a/data/templates_c/680e04d273a3dd0f8ddb8679579421f092d19229.file.admin_description.htm.php
+++ /dev/null
@@ -1,197 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:16:21
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\admin_description.htm" */ ?>
-<?php /*%%SmartyHeaderCode:418367ff75658f0b78-86839654%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '680e04d273a3dd0f8ddb8679579421f092d19229' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\admin_description.htm',
- 1 => 1634883866,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '418367ff75658f0b78-86839654',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'is_type' => 0,
- 'k' => 0,
- 'v' => 0,
- 'pytoken' => 0,
- 'descrows' => 0,
- 'key' => 0,
- 'total' => 0,
- 'pagenum' => 0,
- 'pages' => 0,
- 'pagenav' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff75659363e1_56123181',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff75659363e1_56123181')) {function content_67ff75659363e1_56123181($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date_format')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\modifier.date_format.php';
-if (!is_callable('smarty_function_url')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\function.url.php';
-?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
-<link href="images/reset.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
-<link href="images/system.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
-<link href="images/table_form.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
-<link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="js/admin_public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
-<title>后台管理</title>
-</head>
-<body class="body_ifm">
-<div class="tty-tishi_top">
- <div class="admin_new_search_box">
- <form action="index.php" name="myform" method="get">
- <input name="m" value="description" type="hidden"/>
- <div class="admin_new_search_name">搜索类型:</div>
- <div class="admin_Filter_text formselect" did='dtype'>
- <input type="button" value="<?php if ($_GET['is_type']) {
-echo $_smarty_tpl->tpl_vars['is_type']->value[$_GET['is_type']];
-} else { ?>请选择<?php }?>" class="admin_Filter_but" id="btype">
- <input type="hidden" id='type' value="<?php echo $_GET['is_type'];?>
-" name='is_type'>
- <div class="admin_Filter_text_box" style="display:none" id='dtype'>
- <ul>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['is_type']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <li><a href="javascript:void(0)" onClick="formselect('<?php echo $_smarty_tpl->tpl_vars['k']->value;?>
-','type','<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
-')"><?php echo $_smarty_tpl->tpl_vars['v']->value;?>
-</a></li>
- <?php } ?>
- </ul>
- </div>
- </div>
- <input class="admin_Filter_search" type="text" name="keyword" size="25" placeholder="请输入你要搜索的关键字">
- <input class="admin_Filter_bth" type="submit" name="news_search" value="搜索"/>
- <a href="index.php?m=description&c=add" class=" admin_new_cz_tj">添加单页面</a> <a href="javascript:void(0)" onclick="layer_del('', 'index.php?m=description&c=make');" class="admin_new_cz_tj ">生成所有</a>
- </form>
- </div>
- <div class="clear"></div>
- </div>
-
- <div class="tty_table-bom">
- <div class="table-list">
- <div class="admin_table_border">
- <iframe id="supportiframe" name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
- <form action="index.php?m=description&c=del" name="myform" method="post" target="supportiframe" id='myform'>
- <input type="hidden" name="pytoken" id='pytoken' value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- <table width="100%">
- <thead>
- <tr class="admin_table_top">
- <th style="width:20px;"><label for="chkall">
- <input type="checkbox" id='chkAll' onclick='CheckAll(this.form)'/>
- </label></th>
- <th> <?php if ($_GET['t']=="id"&&$_GET['order']=="asc") {?> <a href="index.php?m=description&order=desc&t=id">序号<img src="images/sanj.jpg"/></a> <?php } else { ?> <a href="index.php?m=description&order=asc&t=id">序号<img src="images/sanj2.jpg"/></a> <?php }?> </th>
- <th align="left">单页面名称</th>
- <th>排序</th>
- <th>左则导航</th>
- <th>类型</th>
- <th> <?php if ($_GET['t']=="ctime"&&$_GET['order']=="asc") {?> <a href="index.php?m=description&order=desc&t=ctime">添加时间<img src="images/sanj.jpg"/></a> <?php } else { ?> <a href="index.php?m=description&order=asc&t=ctime">添加时间<img src="images/sanj2.jpg"/></a> <?php }?> </th>
- <th width="240" >操作</th>
- </tr>
- </thead>
- <tbody>
-
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['descrows']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <tr align="center"<?php if (($_smarty_tpl->tpl_vars['key']->value+1)%2=='0') {?>class="admin_com_td_bg"<?php }?> id="list<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-">
- <td><input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" name='del[]' onclick='unselectall()' rel="del_chk" /></td>
- <td align="left" class="td1" style="text-align:center;"><span><?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-</span></td>
- <td class="od" align="left"><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-</td>
- <td class="od"><?php echo $_smarty_tpl->tpl_vars['v']->value['sort'];?>
-</td>
- <td class="od"><?php if ($_smarty_tpl->tpl_vars['v']->value['is_nav']==1) {?>显示<?php } else { ?>不显示<?php }?></td>
- <td class="od"><?php if ($_smarty_tpl->tpl_vars['v']->value['is_type']==1) {?>自定义页面<?php } elseif ($_smarty_tpl->tpl_vars['v']->value['is_type']==2) {?>站内链接<?php } else { ?>外部链接<?php }?></td>
- <td class="td"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['v']->value['ctime'],"%Y-%m-%d");?>
-</td>
- <td ><a href="<?php echo smarty_function_url(array('c'=>'get','id'=>$_smarty_tpl->tpl_vars['v']->value['id']),$_smarty_tpl);?>
-" target="_blank" class="admin_new_c_bth admin_new_c_bth_yl">预览</a> <?php if ($_smarty_tpl->tpl_vars['v']->value['is_type']==1) {?> <a href="javascript:void(0)" onClick="layer_del('', 'index.php?m=description&c=make&id=<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-');" class="admin_new_c_bth ">更新</a> <?php }?> <a href="index.php?m=description&c=add&id=<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" class="admin_new_c_bth">修改</a> <a href="javascript:void(0)" onClick="layer_del('确定要删除?', 'index.php?m=description&c=del&id=<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-');" class="admin_new_c_bth admin_new_c_bth_sc">删除</a></td>
- </tr>
- <?php } ?>
- <tr>
- <td align="center"><input type="checkbox" id='chkAll2' onclick='CheckAll2(this.form)' /></td>
- <td colspan="8"><label for="chkAll2">全选</label>
-
- <input class="admin_button" type="button" name="delsub" value="删除所选" onClick="return really('del[]')" /></td>
- </tr>
- <?php if ($_smarty_tpl->tpl_vars['total']->value>$_smarty_tpl->tpl_vars['config']->value['sy_listnum']) {?>
- <tr>
- <?php if ($_smarty_tpl->tpl_vars['pagenum']->value==1) {?>
- <td colspan="3"> 从 1 到 <?php echo $_smarty_tpl->tpl_vars['config']->value['sy_listnum'];?>
- ,总共 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
- 条</td>
- <?php } elseif ($_smarty_tpl->tpl_vars['pagenum']->value>1&&$_smarty_tpl->tpl_vars['pagenum']->value<$_smarty_tpl->tpl_vars['pages']->value) {?>
- <td colspan="3"> 从 <?php echo ($_smarty_tpl->tpl_vars['pagenum']->value-1)*$_smarty_tpl->tpl_vars['config']->value['sy_listnum']+1;?>
- 到 <?php echo $_smarty_tpl->tpl_vars['pagenum']->value*$_smarty_tpl->tpl_vars['config']->value['sy_listnum'];?>
- ,总共 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
- 条</td>
- <?php } elseif ($_smarty_tpl->tpl_vars['pagenum']->value==$_smarty_tpl->tpl_vars['pages']->value) {?>
- <td colspan="3"> 从 <?php echo ($_smarty_tpl->tpl_vars['pagenum']->value-1)*$_smarty_tpl->tpl_vars['config']->value['sy_listnum']+1;?>
- 到 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
- ,总共 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
- 条</td>
- <?php }?>
- <td colspan="6" class="digg"><?php echo $_smarty_tpl->tpl_vars['pagenav']->value;?>
-</td>
- </tr>
- <?php }?>
- </tbody>
-
- </table>
- </form>
- </div>
- </div>
-</div>
-</div>
-</body>
-</html><?php }} ?>
diff --git a/data/templates_c/69f5b2f337040ab27e994ddeb43b3eb281388bc2.file.member_send_email.htm.php b/data/templates_c/69f5b2f337040ab27e994ddeb43b3eb281388bc2.file.member_send_email.htm.php
deleted file mode 100644
index d87b745..0000000
--- a/data/templates_c/69f5b2f337040ab27e994ddeb43b3eb281388bc2.file.member_send_email.htm.php
+++ /dev/null
@@ -1,267 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:16:03
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\member_send_email.htm" */ ?>
-<?php /*%%SmartyHeaderCode:2431767ff75537c9f77-65836640%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '69f5b2f337040ab27e994ddeb43b3eb281388bc2' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\member_send_email.htm',
- 1 => 1634883865,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '2431767ff75537c9f77-65836640',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'pytoken' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff75537cbca3_24532159',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff75537cbca3_24532159')) {function content_67ff75537cbca3_24532159($_smarty_tpl) {?><?php echo '<script'; ?>
->
- $(function(){
- $('.closebutton').on('click', function(){
- var index = layer.index;
- layer.close(index);
- });
- })
- function send_email(email){
- $("#email_user").val(email);
- $.layer({
- type : 1,
- title :'发送邮件',
- closeBtn : [0 , true],
- border : [10 , 0.3 , '#000', true],
- area : ['430px','280px'],
- page : {dom :"#email_div"}
- });
- }
- function send_moblie(moblie){
- $("#userarr").val(moblie);
- $.layer({
- type : 1,
- title :'发送短信',
- closeBtn : [0 , true],
- border : [10 , 0.3 , '#000', true],
- area : ['410px','250px'],
- page : {dom :"#moblie_div"}
- });
- }
- function send_sysmsg(uid,username){
- $("#sysmsg_user").val(uid);
- $("#sys_username").val(username);
- $.layer({
- type : 1,
- title :'发送系统消息',
- closeBtn : [0 , true],
- border : [10 , 0.3 , '#000', true],
- area : ['410px','220px'],
- page : {dom :"#sysmsg_div"}
- });
- }
- function confirm_email(msg,name){
- var chk_value=[];
- var email=moblie=[];
- $('input[name="del[]"]:checked').each(function(){
- chk_value.push($(this).val());
- });
- if(chk_value.length==0){
- parent.layer.msg("请选择账户!",2,8);return false;
- }else{
- var cf=parent.layer.confirm(msg,function(){
- parent.layer.close(cf);
- if(name=='email_div'){
- $('input[name="del[]"]:checked').each(function(){
- email.push($(this).attr('email'));
- });
- $("#email_user").val(email);
- $.layer({
- type : 1,
- title :'发送邮件',
- offset: ['20px', ''],
- area : ['410px','250px'],
- page : {dom :"#email_div"}
- });
- }else{
- $('input[name="del[]"]:checked').each(function(){
- moblie.push($(this).attr('moblie'));
- });
- $("#userarr").val(moblie);
- $.layer({
- type : 1,
- title :'发送短信',
- offset: ['20px', ''],
- area : ['410px','220px'],
- page : {dom :"#moblie_div"}
- });
- }
- });
- }
- }
-
- function sysmsgload(){
- if($.trim($("#syscontent").val())==''){
- parent.layer.msg('请输入系统消息内容!', 2, 8);return false;
- }
- layer.closeAll();
- parent.layer.load('执行中,请稍候...',0);
- }
-
- function message_submit() {
- var utype = 5;
- var userarr = $("#userarr").val();
- var pytoken=$("input[name='pytoken']").val();
- var content = $.trim($("#mcontent").val());
- if(content == '') {
- parent.layer.msg('短信内容不能为空!', 2, 8);
- return false;
- }
- sendDivMsg(utype,content,userarr,pytoken,3,50,0,0,0,"正在发送,请稍候。。。");
- }
- function sendDivMsg(utype,content,userarr,pytoken,status,pagelimit,value,sendok,sendno,msg){
- if(status=="3"){
- var pagelimit=50;
- var pytoken=$("input[name='pytoken']").val();
- var ii = parent.layer.msg(msg,20,{
- icon:16,shade:0.01
- });
- $.post("index.php?m=admin_member&c=msgsave",{
- utype:utype,content:content,userarr:userarr,pytoken:pytoken,
- pagelimit:pagelimit,value:value,sendok:sendok,sendno:sendno},
- function(data){
- parent.layer.close(ii);
- var data=eval('('+data+')');
- sendDivMsg(utype,content,userarr,pytoken,data.status,pagelimit,data.value,data.sendok,data.sendno,data.msg)
- })
- }else{
- parent.layer.close(ii);
- if(status==2){
- parent.layer.alert(msg, 8);
- }else{
- parent.layer.alert(msg, 9);
- location.reload();
- }
- }
- }
-
- function chsendemail(){
- var title=$("input[name='email_title']").val();
- if(title==''){
- parent.layer.msg("请输入邮件主题!",2,8);return false;
- }
- var content = $.trim($("#content").val());
- if(content==''){
- parent.layer.msg("请输入邮件内容!",2,8);return false;
- }
- var utype = 5;
- var email=$("input[name='email_user']").val();
- var pytoken=$("input[name='pytoken']").val();
- sendDivEmail(utype,title,content,email,pytoken,3,20,0,0,0,"正在发送,请稍候。。。");
- }
-
- function sendDivEmail(utype,title,content,email,pytoken,status,pagelimit,value,sendok,sendno,msg){
- if(status=="3"){
- var pagelimit=20;
- var pytoken=$("input[name='pytoken']").val();
- var ii = parent.layer.msg(msg,20,{
- icon:16,shade:0.01
- });
-
- $.post("index.php?m=admin_member&c=send",{
- utype:utype,email_title:title,content:content,email_user:email,pytoken:pytoken,
- pagelimit:pagelimit,value:value,sendok:sendok,sendno:sendno},
- function(data){
- parent.layer.close(ii);
- var data=eval('('+data+')');
- sendDivEmail(utype,title,content,email,pytoken,data.status,pagelimit,data.value,data.sendok,data.sendno,data.msg)
- })
- }else{
- parent.layer.close(ii);
- if(status==2){
- parent.layer.alert(msg, 8);
- }else{
- parent.layer.alert(msg, 9);
- location.reload();
- }
- }
- }
-<?php echo '</script'; ?>
->
-<div id="moblie_div" style=" display:none;">
- <form id="formstatus" method="post" target="supportiframe" action="index.php?m=email&c=msgsave" >
- <table class="table_form ">
- <tr>
- <td>短信内容:</td>
- <td>
- <div class="formstatus_t_box">
- <textarea name="content" id="mcontent" style="width:220px;height:90px;border:1px solid #ddd" class="text"></textarea>
- </div>
- </td>
- </tr>
- <tr>
- <td colspan='2' style='border-bottom:none'>
- <div class="admin_Operating_sub" style="margin-top:0px">
- <input class="submit_btn" type="button" name='message_send' value="确认" onClick="message_submit();">
- <input class="cancel_btn closebutton" type="button" value="取消">
- </div>
- </td>
- </tr>
- </table>
- <input type="hidden" name="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-"/>
- <input type="hidden" id='userarr' name="userarr"/>
- </form>
-</div>
-
-<div id="email_div" style=" display:none;">
- <form id="formstatus" method="post" target="supportiframe" action="index.php?m=email&c=send">
- <table class="table_form " id="">
- <tr><td>邮件标题:</td><td><input name="email_title" class="input-text" type="text" size="40"></td></tr>
- <tr><td>邮件内容:</td><td>
- <div class="formstatus_t_box"><textarea name="content" id="content" style="width:220px;height:70px;border:1px solid #ddd" class="text"></textarea></div></td></tr>
- <tr>
- <td colspan='2' style='border-bottom:none'>
- <div class="admin_Operating_sub" style="margin-top:0px">
- <input class="submit_btn" type="button" name='email_send' value="确认" onclick="chsendemail();">
- <input class="cancel_btn closebutton" type="button" value="取消">
- </div>
- </td>
- </tr>
- </table>
- <input type="hidden" name="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-"/>
- <input type="hidden" id='email_user' name="email_user"/>
- </form>
-</div>
-
-<div id="sysmsg_div" style=" display:none;">
- <form id="formstatus" method="post" target="supportiframe" action="index.php?m=admin_company&c=sendsysmsg" onsubmit="return sysmsgload();" >
- <table class="table_form ">
- <tr><td>内容:</td>
- <td>
- <div class="formstatus_t_box">
- <textarea name="content" id="syscontent" style="width:220px;height:90px;border:1px solid #ddd" class="text"></textarea>
- </div>
- </td>
- </tr>
- <tr>
- <td colspan='2' style='border-bottom:none'>
- <div class="admin_Operating_sub" style="margin-top:0px">
- <input class="submit_btn" type="submit" name='sysmsg_send' value="确认">
- <input class="cancel_btn closebutton" type="button" value="取消">
- </div>
- </td>
- </tr>
- </table>
- <input type="hidden" name="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-"/>
- <input type="hidden" id='sysmsg_user' name="sysmsg_user"/>
- <input type="hidden" id='sys_username' name="sys_username"/>
- </form>
-</div><?php }} ?>
diff --git a/data/templates_c/6f71af4e84b724c5fcef767654693754e83199de.file.login.htm.php b/data/templates_c/6f71af4e84b724c5fcef767654693754e83199de.file.login.htm.php
deleted file mode 100644
index 9367b61..0000000
--- a/data/templates_c/6f71af4e84b724c5fcef767654693754e83199de.file.login.htm.php
+++ /dev/null
@@ -1,762 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:09:56
- compiled from "E:\ishangstudywebs\zhaopin\app\template\default\ajax\login.htm" */ ?>
-<?php /*%%SmartyHeaderCode:977067ff73e499ec84-30792585%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '6f71af4e84b724c5fcef767654693754e83199de' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\default\\ajax\\login.htm',
- 1 => 1643012866,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '977067ff73e499ec84-30792585',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'usertype' => 0,
- 'member' => 0,
- 'config' => 0,
- 'username' => 0,
- 'yqnum' => 0,
- 'lookNum' => 0,
- 'expectnum' => 0,
- 'company' => 0,
- 'addjobnum' => 0,
- 'lt' => 0,
- 'reg_com_url' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff73e4a0a3f8_31999956',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff73e4a0a3f8_31999956')) {function content_67ff73e4a0a3f8_31999956($_smarty_tpl) {?><?php if (!is_callable('smarty_function_url')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\function.url.php';
-?><?php if ($_smarty_tpl->tpl_vars['usertype']->value=="1") {?>
-<div class="login_ok">
- <div class="login_ok_user">
- <div class="login_ok_user_photo"><img width="60" height="60" src="<?php echo $_smarty_tpl->tpl_vars['member']->value['photo'];?>
-" onerror="showImgDelay(this,'<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_member_icon'];?>
-',2);"> </div>
- <?php if ($_smarty_tpl->tpl_vars['member']->value['name']) {?>
- <div class="login_ok_username">hi , <?php echo $_smarty_tpl->tpl_vars['member']->value['name'];?>
-</div>
- <?php } else { ?>
- <div class="login_ok_username">hi , <?php echo $_smarty_tpl->tpl_vars['username']->value;?>
-</div>
- <?php }?>
- <div class="login_ok_hi">欢迎回来</div>
- </div>
- <div class="login_ok_n_list"><a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/member/index.php?c=invite"><span class="login_ok_n"><?php if ($_smarty_tpl->tpl_vars['yqnum']->value=='') {?>0<?php } else {
-echo $_smarty_tpl->tpl_vars['yqnum']->value;
-}?></span><div class="login_ok_name">面试通知</div></a></div>
- <div class="login_ok_n_list"><a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/member/index.php?c=favorite"><span class="login_ok_n"><?php if ($_smarty_tpl->tpl_vars['member']->value['fav_jobnum']<1) {?>0<?php } else {
-echo $_smarty_tpl->tpl_vars['member']->value['fav_jobnum'];
-}?></span><div class="login_ok_name">收藏记录</div></a></div>
- <div class="login_ok_n_list"><a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/member/index.php?c=look"><span class="login_ok_n"><?php echo $_smarty_tpl->tpl_vars['lookNum']->value;?>
- </span><div class="login_ok_name">企业看过</div></a></div>
- <div class="login_ok_mune"><div class="login_ok_mune_list"><a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/member/index.php?c=resume"><i class="login_ok_mune_icon"></i>我的简历</a></div><div class="login_ok_mune_list"><a <?php if ($_smarty_tpl->tpl_vars['config']->value['user_number']>$_smarty_tpl->tpl_vars['expectnum']->value||$_smarty_tpl->tpl_vars['config']->value['user_number']=='') {?>href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/member/index.php?c=expect&act=add"<?php } else { ?>href="javascript:void(0)" onclick="layer.msg('你的简历数已经达到系统设置的简历数了',2,8);return false;"<?php }?>><i class="login_ok_mune_icon login_ok_mune_icon_cj"></i>创建简历</a></div><div class="login_ok_mune_list"><a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/member/index.php?c=atn"><i class="login_ok_mune_icon login_ok_mune_icon_gz"></i>关注记录</a></div>
- <div class="login_ok_member"><a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/member/index.php" class="login_ok_member_bth">进入管理中心</a>
- <a href="javascript:void(0);" onclick="logout('<?php echo smarty_function_url(array('c'=>'logout'),$_smarty_tpl);?>
-');" class="login_ok_member_bthtc">退出登录</a>
- </div>
- </div>
-</div>
-
-<?php } elseif ($_smarty_tpl->tpl_vars['usertype']->value=="2") {?>
-<div class="login_ok">
- <div class="login_ok_user">
- <div class="login_ok_user_photo"><img width="60" height="60" src="<?php echo $_smarty_tpl->tpl_vars['company']->value['logo'];?>
-" onerror="showImgDelay(this,'<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_unit_icon'];?>
-',2);"> </div>
- <?php if ($_smarty_tpl->tpl_vars['company']->value['name']) {?>
- <div class="login_ok_username">hi , <?php echo $_smarty_tpl->tpl_vars['company']->value['name'];?>
-</div>
- <?php } else { ?>
- <div class="login_ok_username">hi , <?php echo $_smarty_tpl->tpl_vars['username']->value;?>
-</div>
- <?php }?>
- <div class="login_ok_hi">欢迎登录</div>
- </div>
- <div class="login_ok_n_list"><a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/member/index.php?c=hr"><span class="login_ok_n"><?php echo $_smarty_tpl->tpl_vars['company']->value['sq_job'];?>
-</span><div class="login_ok_name">收到简历</div></a></div>
- <div class="login_ok_n_list"><a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/member/index.php?c=msg"><span class="login_ok_n"><?php echo $_smarty_tpl->tpl_vars['company']->value['msgnum'];?>
-</span><div class="login_ok_name">求职咨询</div></a></div>
- <div class="login_ok_n_list"><a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/member/index.php?c=look_job"><span class="login_ok_n"><?php echo $_smarty_tpl->tpl_vars['company']->value['look_jobnum'];?>
-</span><div class="login_ok_name">谁看过我</div></a></div>
-
- <div class="login_ok_mune">
- <div class="login_ok_mune_list"><a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/member/index.php?c=job&w=1"><i class="login_ok_mune_icon"></i>职位管理</a></div>
- <div class="login_ok_mune_list"><a href="javascript:void(0)" onclick="addJobIndex('<?php echo $_smarty_tpl->tpl_vars['addjobnum']->value;?>
-','<?php echo $_smarty_tpl->tpl_vars['config']->value['integral_job'];?>
-','<?php echo $_smarty_tpl->tpl_vars['config']->value['com_integral_online'];?>
-','<?php echo $_smarty_tpl->tpl_vars['config']->value['integral_proportion'];?>
-');return false;"><i class="login_ok_mune_icon login_ok_mune_icon_cj"></i>发布职位</a></div><div class="login_ok_mune_list"><a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/member/index.php?c=attention_me"><i class="login_ok_mune_icon login_ok_mune_icon_gz"></i>关注记录</a></div>
- <div class="login_ok_member">
- <a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/member/index.php" class="login_ok_member_bth">进入管理中心</a>
- <a href="javascript:void(0);" onclick="logout('<?php echo smarty_function_url(array('c'=>'logout'),$_smarty_tpl);?>
-');" class="login_ok_member_bthtc">退出登录</a>
- </div>
- </div>
-</div>
-
-<?php } elseif ($_smarty_tpl->tpl_vars['usertype']->value=="3") {?>
-<div class="login_ok">
- <div class="login_ok_user">
- <div class="login_ok_user_photo"><img width="60" height="60" src="<?php echo $_smarty_tpl->tpl_vars['lt']->value['photo'];?>
-" onerror="showImgDelay(this,'<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_lt_icon'];?>
-',2);"> </div>
- <?php if ($_smarty_tpl->tpl_vars['lt']->value['realname']) {?>
- <div class="login_ok_username">hi , <?php echo $_smarty_tpl->tpl_vars['lt']->value['realname'];?>
-</div>
- <?php } else { ?>
- <div class="login_ok_username">hi , <?php echo $_smarty_tpl->tpl_vars['username']->value;?>
-</div>
- <?php }?>
- <div class="login_ok_hi">欢迎登录</div>
- </div>
- <div class="login_ok_n_listbox">
- <div class="login_ok_n_list"><a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/member/index.php?c=entrust_resume"><span class="login_ok_n"><?php echo $_smarty_tpl->tpl_vars['lt']->value['entrust'];?>
-</span><div class="login_ok_name">委托简历</div></a></div>
- <div class="login_ok_n_list"><a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/member/index.php?c=down_resume"><span class="login_ok_n"><?php echo $_smarty_tpl->tpl_vars['lt']->value['lt_status2'];?>
-</span><div class="login_ok_name">下载简历</div></a></div>
- </div>
- <div class="login_ok_mune">
- <div class="login_ok_mune_list"><a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/member/index.php?c=job&s=1"><i class="login_ok_mune_icon"></i>职位管理</a></div><div class="login_ok_mune_list"><a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/member/index.php?c=search_resume"><i class="login_ok_mune_icon login_ok_mune_icon_cj"></i>搜索简历</a></div>
- <div class="login_ok_mune_list"><a href="javascript:void(0)" onclick="addJobIndex('<?php echo $_smarty_tpl->tpl_vars['addjobnum']->value;?>
-','<?php echo $_smarty_tpl->tpl_vars['config']->value['integral_job'];?>
-','<?php echo $_smarty_tpl->tpl_vars['config']->value['com_integral_online'];?>
-','<?php echo $_smarty_tpl->tpl_vars['config']->value['integral_proportion'];?>
-');return false;"><i class="login_ok_mune_icon login_ok_mune_icon_cj"></i>发布职位</a></div>
- <div class="login_ok_member">
- <a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/member/index.php" class="login_ok_member_bth">进入管理中心</a>
- <a href="javascript:void(0);" onclick="logout('<?php echo smarty_function_url(array('c'=>'logout'),$_smarty_tpl);?>
-');" class="login_ok_member_bthtc">退出登录</a>
- </div>
- </div>
-</div>
-
-<?php } elseif ($_smarty_tpl->tpl_vars['usertype']->value=="4") {?>
-
-<div class="login_ok">
- <div class="login_ok_user">
- <div class="login_ok_user_photo"><img width="60" height="60" src="<?php echo $_smarty_tpl->tpl_vars['member']->value['logo'];?>
-" onerror="showImgDelay(this,'<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_member_icon'];?>
-',2);"> </div>
- <?php if ($_smarty_tpl->tpl_vars['member']->value['name']) {?>
- <div class="login_ok_username">hi , <?php echo $_smarty_tpl->tpl_vars['member']->value['name'];?>
-</div>
- <?php } else { ?>
- <div class="login_ok_username">hi , <?php echo $_smarty_tpl->tpl_vars['username']->value;?>
-</div>
- <?php }?>
- <div class="login_ok_hi">欢迎登录</div>
- </div>
- <div class="login_ok_n_listbox">
- <div class="login_ok_n_list"><a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/member/index.php?c=sign_up&status=2"><span class="login_ok_n"><?php echo $_smarty_tpl->tpl_vars['member']->value['baoming'];?>
-</span><div class="login_ok_name">待联系</div></a></div>
- <div class="login_ok_n_list"><a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/member/index.php?c=message&status=1"><span class="login_ok_n"><?php echo $_smarty_tpl->tpl_vars['member']->value['zixun'];?>
-</span><div class="login_ok_name">待回复</div></a></div>
- </div>
-
- <div class="login_ok_mune">
- <div class="login_ok_mune_list" style="width:32%"><a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/member/index.php?c=subject"><i class="login_ok_mune_icon"></i>课程管理</a></div><div class="login_ok_mune_list" style="width:32%"><a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/member/index.php?c=team"><i class="login_ok_mune_icon login_ok_mune_icon_cj"></i>讲师管理</a></div>
- <div class="login_ok_mune_list" style="width:32%"><a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/member/index.php?c=sign_up"><i class="login_ok_mune_icon login_ok_mune_icon_gz"></i>预约名单</a></div>
- <div class="login_ok_member"><a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/member/index.php" class="login_ok_member_bth">管理中心</a><a href="javascript:void(0);" onclick="logout('<?php echo smarty_function_url(array('c'=>'logout'),$_smarty_tpl);?>
-');" class="login_ok_member_bthtc">退出登录</a></div>
- </div>
-</div>
-<?php } else { ?>
-
- <!--登录-->
- <div class="hp_login_tit">
-
- <input type="hidden" name="act" id="ajaxact_login" value="0"/>
-
- <ul class="login_box_h_list">
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_msg_isopen']==1&&$_smarty_tpl->tpl_vars['config']->value['sy_msg_login']==1) {?>
- <li id="ajaxmobile_login" class="">手机登录<i></i></li>
- <?php }?>
- <li id="ajaxacount_login" class="login_box_h_list_cur"><i></i>账号登录</li>
-
- </ul>
-
- <?php if ($_smarty_tpl->tpl_vars['config']->value['wx_author']=='1') {?>
- <div class="indexwxcode_login" id="ajaxindexwxcode_login" title="微信扫一扫登录" style="display:block;"></div>
- <div class="indexnormal_login none" title="普通登录"></div>
- <?php }?>
- </div>
-
- <!--微信登录-->
- <div class="indexwx_login_show none">
- <div style="padding-top:40px;">
- <div class="fast_login_index">
- <div id="ajaxwx_login_qrcode" class="indexwxlogintext">正在获取二维码...</div>
- <div id="ajaxwx_sx" class="none">
- <div class="fast_login_index_sxbox"><a href="javascript:void(0);" onclick="ajaxgetwxcode()" class="fast_login_index_sxicon"></a>二维码失效点击刷新</div>
- </div>
- </div>
- <div class="indexwxlogintxt">请使用微信扫一扫登录</div>
- </div>
- </div>
- <!--微信登录 end-->
-
- <!--账号登录-->
- <div id="login_normal">
- <div class="login_normal_box" id="ajaxlogin_normal_box">
- <div class="hp_login_hy"> <i class="hp_login_hy_icon fl"></i><i class="hp_login_line"></i>
- <input class="hp_login_hy_but fl" type="text" id="ajaxusername" name="ajaxusername" value="邮箱/手机号/用户名" placeholder="邮箱/手机号/用户名" autocomplete="off"/>
- <div class="index_logoin_msg none" id="ajaxshow_name">
- <div class="index_logoin_msg_tx">请填写用户名</div>
- <div class="index_logoin_msg_icon"></div>
- </div>
- </div>
- <div class="hp_login_hy">
- <i class="hp_login_mm_icon fl"></i> <i class="hp_login_line"></i>
- <input type="text" id="password2" value="请输入密码" class="hp_login_hy_but fl">
- <input type="password" id="ajaxpassword" name="ajaxpassword" class="hp_login_hy_but fl none" value="" placeholder="请输入密码">
- <div class="index_logoin_msg none" id="ajaxshow_pass">
- <div class="index_logoin_msg_tx">请填写密码</div>
- <div class="index_logoin_msg_icon"></div>
- </div>
- </div>
- </div>
-
- <div class="clear"></div>
-
- <!--手机动态码登录-->
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_msg_isopen']==1&&$_smarty_tpl->tpl_vars['config']->value['sy_msg_login']==1) {?>
- <div class="login_sj_box none" id="ajaxlogin_sj_box">
- <div class="hp_login_hy">
- <i class="hp_login_sj_icon fl"></i><i class="hp_login_line"></i>
- <input name="username" id="ajaxusermoblie" type="text" class="hp_login_hy_but hp_login_mm_but" value="请输入手机号码" autocomplete="off"/>
- <div class="index_logoin_msg none" id="ajaxshow_mobile">
- <div class="index_logoin_msg_tx" >请填写正确手机号</div>
- <div class="index_logoin_msg_icon"></div>
- </div>
- </div>
- </div>
- <div class="clear"></div>
- <?php }?>
-
-
-
- <div class="clear"></div>
- <div class="login_sj_box none" id="ajaxlogin_sjyz_box">
- <div class="hp_login_hy">
- <i class="hp_login_mm_icon fl"></i><i class="hp_login_line"></i>
- <input name="password" type="text" class="login_m_text" id="ajaxdynamiccode" value="短信动态码" autocomplete="off"/>
- <div class="index_logoin_msg none" id="ajaxshow_dynamiccode">
- <div class="index_logoin_msg_tx" >请填写短信动态码</div>
- <div class="index_logoin_msg_icon"></div>
- </div>
- <?php if ($_smarty_tpl->tpl_vars['config']->value['code_kind']==1&&strpos($_smarty_tpl->tpl_vars['config']->value['code_web'],"前台登录")!==false) {?>
- <a href="javascript:void(0);" class=" hp_login_hy_send" id="ajaxsend_msg_tip" onclick="imgCodeShow('2');">发送动态码</a>
- <?php } else { ?>
- <a href="javascript:void(0);" class=" hp_login_hy_send" id="ajaxsend_msg_tip" onclick="ajaxsend_msg('<?php echo smarty_function_url(array('m'=>'login','c'=>'sendmsg'),$_smarty_tpl);?>
-');">发送动态码</a>
- <?php }?>
- </div>
- </div>
- <div class="hp_login_lg">
- <?php if ($_smarty_tpl->tpl_vars['config']->value['code_kind']==1&&strpos($_smarty_tpl->tpl_vars['config']->value['code_web'],"前台登录")!==false) {?>
- <input class="hp_login_lg_but" type="button" value="立即登录" onclick="imgCodeShow('1');"/>
- <?php } else { ?>
- <input class="hp_login_lg_but" type="button" id="check_ajaxlogin" value="立即登录" onclick="check_ajaxlogin('<?php echo smarty_function_url(array('m'=>'login','c'=>'loginsave'),$_smarty_tpl);?>
-','vcode_imgs');"/>
- <?php }?>
- </div>
- <div class="clear"></div>
- <div class="hp_login_rg fl">
-
-
- <a href="<?php echo smarty_function_url(array('m'=>'forgetpw'),$_smarty_tpl);?>
-" class="hp_login_rg_r fl">忘记密码</a>
- <span class="hp_login_rg_l fr" ><a href="<?php echo $_smarty_tpl->tpl_vars['reg_com_url']->value;?>
-">注册账号</a></span>
- </div>
-
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_qqlogin']==1||$_smarty_tpl->tpl_vars['config']->value['sy_sinalogin']==1||$_smarty_tpl->tpl_vars['config']->value['wx_author']==1) {?>
-
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_qqlogin']==1) {?>
- <a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/qqlogin.php" class="frist_loginqq">QQ登录</a>
- <?php }?>
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_sinalogin']==1) {?>
- <a href="<?php echo smarty_function_url(array('m'=>'sinaconnect'),$_smarty_tpl);?>
-" class=" frist_loginsl">新浪登录</a>
- <?php }?>
- <?php }?>
-
- </div>
-
-<?php }?>
-
-<style>#label{height:34px; line-height:34px;border:1px solid #e6e6e6}</style>
-
-
-<!-- -----------------图片验证码弹框 Start-------------------- -->
-<div class="" id="imgCodeDiv" style="display:none;">
-<div style="width:300px; padding-top:10px; padding-bottom:30px;">
- <div class="tw_yz_box">请输入图片验证码</div>
- <div class="tw_yz_c">
- <div class="tw_yz_boxtext"><input type="text" id="ajaxtxt_CheckCode" name="authcode" value="验证码" class="tw_yz_boxinp" maxlength="6" autocomplete="off"/></div>
- <div class="tw_yz_boximg"><a href="javascript:void(0);" onclick="checkCode('vcode_imgs');"><img id="vcode_imgs" src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/app/include/authcode.inc.php" class=""> 换一张</a></div>
- <div class="index_logoin_msg none" id="ajaxshow_code">
- <div class="index_logoin_msg_tx">请填写验证码</div>
- <div class="index_logoin_msg_icon"></div>
- </div>
- <div id="btnDiv"></div>
- </div>
-</div>
-</div>
-<!-- -----------------图片验证码弹框 End-------------------- -->
-
-<?php echo '<script'; ?>
->
-var ajaxsetval,
- ajaxsetwout;
-var sy_login_type = '<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_login_type'];?>
-';
-$(document).ready(function(){
- //账号登录和手机登录tab选择
- $('#ajaxacount_login').click(function(data){
- $('#ajaxacount_login').removeClass().addClass('login_box_h_list_cur');
- $('#ajaxmobile_login').removeClass();
- $('#ajaxlogin_normal_box').show();
- $('#ajaxlogin_sj_box').hide();
- $('#ajaxlogin_sjyz_box').hide();
- $('#ajaxact_login').val('0');
- $('#bind-captcha').attr('data-id','sublogin');
- });
- $('#ajaxmobile_login').click(function(data){
- $('#ajaxmobile_login').removeClass().addClass('login_box_h_list_cur');
- $('#ajaxacount_login').removeClass();
- $('#ajaxlogin_sj_box').show();
- $('#ajaxlogin_sjyz_box').show();
- $('#ajaxlogin_normal_box').hide();
- $('#ajaxact_login').val('1');
- $('#bind-captcha').attr('data-id','ajaxsend_msg_tip');
- });
- $("#ajaxusername,#ajaxtxt_CheckCode,#ajaxusermoblie,#ajaxdynamiccode").focus(function(){
- var txAreaVal = $(this).val();
- if( txAreaVal == this.defaultValue){$(this).val("");}
- }).blur(function(){
- var txAreaVal = $(this).val();
- if( txAreaVal == this.defaultValue||$(this).val()==""){$(this).val(this.defaultValue);}
- }).keydown(function (e) {
- var ev = document.all ? window.event : e;
- if (ev.keyCode == 13) {
- check_ajaxlogin('<?php echo smarty_function_url(array('m'=>'login','c'=>'loginsave'),$_smarty_tpl);?>
-','vcode_imgs');
- } else { return;}
- });
- $("#password2").focus(function(){
- $("#ajaxpassword").show();
- $("#ajaxpassword").focus();
- $("#password2").hide();
- })
- $("#ajaxpassword").blur(function(){
- if($("#ajaxpassword").val()==""){
- $("#password2").show();
- $("#ajaxpassword").hide();
- }
- }).keydown(function (e) {
- var ev = document.all ? window.event : e;
- if (ev.keyCode == 13) {
- check_ajaxlogin('<?php echo smarty_function_url(array('m'=>'login','c'=>'loginsave'),$_smarty_tpl);?>
-','vcode_imgs');
- } else { return; }
- });
-
- $('#ajaxindexwxcode_login').click(function(data){
- $('#ajaxindexwxcode_login').hide();
- $('.indexnormal_login').show();
- $('#login_normal').hide();
- $('.login_box_h_list').hide();
- $('.indexwx_login_show').show();
- ajaxgetwxcode();
- });
- $('.indexnormal_login').click(function(data){
- $('#ajaxindexwxcode_login').show();
- $('.indexnormal_login').hide();
- $('#login_normal').show();
- $('.login_box_h_list').show();
- $('.indexwx_login_show').hide();
- if(ajaxsetval){
- clearInterval(ajaxsetval);
- ajaxsetval = null;
- }
- if(ajaxsetwout){
- clearTimeout(ajaxsetwout);
- ajaxsetwout = null;
- }
- });
-
- if(sy_login_type=='2' && $('#ajaxmobile_login')){
- $('#ajaxmobile_login').trigger("click");
- }
-});
-function ajaxgetwxcode(){
- $.post('<?php echo smarty_function_url(array('m'=>'login','c'=>'wxlogin'),$_smarty_tpl);?>
-',{t:1},function(data){
- if(data==0){
- $('#ajaxwx_login_qrcode').html('二维码获取失败..');
- }else{
- $('#ajaxwx_login_qrcode').html('<img src="'+data+'" width="100" height="100">');
- ajaxsetval = setInterval("ajaxwxorderstatus()", 2000);
- ajaxsetwout = setTimeout(function(){
- clearInterval(ajaxsetval);
- ajaxsetval = null;
- var ajaxwx_sx = $("#ajaxwx_sx").html();
- $('#ajaxwx_login_qrcode').html(ajaxwx_sx);
- },300*1000);
- }
- });
-}
-function ajaxwxorderstatus() {
- $.post('<?php echo smarty_function_url(array('m'=>'login','c'=>'getwxloginstatus'),$_smarty_tpl);?>
-',{t:1},function(data){
-
- var data=eval('('+data+')');
- if(data.url!='' && data.msg!=''){
- clearInterval(ajaxsetval);
- ajaxsetval = null;
- layer.msg(data.msg, 2, 9,function(){window.location.href=data.url;});
- }else if(data.url){
- window.location.href=data.url;
- }
- });
-}
-function jobaddurl(num,integral_job){
- var gourl= weburl+'/member/index.php?c=jobadd';
- checkType = 'addjob';
-
- var url = weburl + '/index.php?m=ajax&c=ajax_day_action_check';
- $.post(url,
- {'type': checkType},
- function(data){
- data = eval('(' + data + ')');
- if(data.status == -1){
- layer.msg(data.msg, 2, 8);
- }else if(data.status == 1){
- if(num==1){
- window.location.href=gourl;
- window.event.returnValue = false;
- return false;
- }else if(num==2){
- var msg='套餐已用完,您可以<a href="'+weburl+'/member/index.php?c=right&act=added" style="color:red;">购买增值包</a>!是否继续?';
- layer.confirm(msg, function(){
- layer.closeAll();
- window.location.href=weburl+"/member/index.php?c=right&act=added";
-
- });
- }else if(num==0){
- var msg='会员已到期,您可以<a href="'+weburl+'/member/index.php?c=right" style="color:red">购买会员</a>!是否继续?';
-
- layer.confirm(msg, function(){
- window.location.href=weburl+"/member/index.php?c=right";
- });
-
- }
- }
- }
- );
-
-}
-
-function imgCodeShow(type){
- var act_login=$("#ajaxact_login").val();
- var username='';
- var password='';
- if (act_login==0) {
- username=$("#ajaxusername").val();
- if(username=="" || username=="用户名"|| username=="邮箱/手机号/用户名"){
- $("#ajaxshow_name").show();
- $("#ajaxusername").focus(
- function(){
- $("#ajaxshow_name").hide();
- }
- );
- return false;
- }else{
- $("#ajaxshow_name").hide();
- }
- password=$("#ajaxpassword").val();
- if(password==""){
- $("#ajaxshow_pass").show();
- $("#ajaxpassword").focus(
- function(){
- $("#ajaxshow_pass").hide();
- }
- );
- return false;
- }else{
- $("#ajaxshow_pass").hide();
- }
-
- }else{
- username = $('#ajaxusermoblie').val();
- ajaxcheckmoblie(username);
- }
-
- if(type == '1'){
- $("#btnDiv").html("<input type='submit' value='确定' class='yz_bth' onclick='check_ajaxlogin(\"<?php echo smarty_function_url(array('m'=>'login','c'=>'loginsave'),$_smarty_tpl);?>
-\", \"vcode_imgs\");' />");
- }else if(type == '2'){
- $("#btnDiv").html("<input type='submit' value='确定'class='yz_bth' onclick='ajaxsend_msg(\"<?php echo smarty_function_url(array('m'=>'login','c'=>'sendmsg'),$_smarty_tpl);?>
-\");' />");
- }
- checkCode('vcode_imgs');
- layer.open({
- type: 1,
- title: '安全验证',
- closeBtn: 1,
- border: [10, 0.3, '#000', true],
- area: ['auto', 'auto'],
- content: $("#imgCodeDiv"),
- cancel: function(){
- window.location.reload();
- }
- });
- }
-
-function check_ajaxlogin(url,img,num){
-
- var act_login=$("#ajaxact_login").val();
- var referurl=$("#referurl").val();
- var username='';
- var password='';
-
- if (act_login==0) {
- username=$("#ajaxusername").val();
- if(username=="" || username=="用户名"|| username=="邮箱/手机号/用户名"){
- $("#ajaxshow_name").show();
- $("#ajaxusername").focus(
- function(){
- $("#ajaxshow_name").hide();
- }
- );
- return false;
- }else{
- $("#ajaxshow_name").hide();
- }
- password=$("#ajaxpassword").val();
- if(password==""){
- $("#ajaxshow_pass").show();
- $("#ajaxpassword").focus(
- function(){
- $("#ajaxshow_pass").hide();
- }
- );
- return false;
- }else{
- $("#ajaxshow_pass").hide();
- }
-
-
- }else{
-
- username = $('#ajaxusermoblie').val();
- ajaxcheckmoblie(username);
- password= $('#ajaxdynamiccode').val();
- if(password=="" || password=="短信动态码"){
-
- $("#ajaxshow_dynamiccode").show();
- $("#ajaxdynamiccode").focus(
- function(){
- $("#ajaxshow_dynamiccode").hide();
- }
- );
- return false;
- }else{
- $("#ajaxshow_dynamiccode").hide();
- }
- }
-
-
- var verify_token = '';
- var authcode = '';
- var codesear=new RegExp('前台登录');
- if(codesear.test(code_web) && act_login==0){
- if(code_kind==1){
- if(exitsid("ajaxtxt_CheckCode")){
- authcode=$("#ajaxtxt_CheckCode").val();
- if(authcode==""||authcode=="验证码"){
- $("#ajaxshow_code").show();
- $("#ajaxtxt_CheckCode").focus(
- function(){
- $("#ajaxshow_code").hide();
- }
- );
- return false;
- }else{
- $("#ajaxshow_code").hide();
- }
- }
- }else if(code_kind > 2){
- verify_token = $('input[name="verify_token"]').val();
- $('#bind-captcha').attr('data-id','check_ajaxlogin');
- if(verify_token ==''){
- $("#bind-submit").trigger("click");
-
-
- return false;
- }
- }
- }
- if($("input[name=loginname]").attr("checked")=='checked'){
- var loginname=7;
- }else{
- var loginname=0;
- }
- var path=$("#path").val();
- var loadIndex = layer.load('登录中,请稍候...');
- $.post(url,{act_login:act_login,num:num,referurl:referurl,username:username,password:password,path:path,loginname:loginname,authcode:authcode,verify_token:verify_token},function(data){
- layer.close(loadIndex);
-
- var jsonObject = eval("(" + data + ")");
- if(jsonObject.error == '3'){
- $('#uclogin').html(jsonObject.msg);
- setTimeout("window.location.href='"+jsonObject.url+"';",500);
- }else if(jsonObject.error == '2'){
- $('#uclogin').html(jsonObject.msg);
- setTimeout("window.location.href='"+jsonObject.url+"';",500);
- }else if(jsonObject.error == '1'){
- window.location.href=jsonObject.url; window.event.returnValue = false;return false;
- }else if(jsonObject.error == '0'){
- layer.msg(jsonObject.msg, 2, 8,function(){
- if(jsonObject.url){
- window.location.href=jsonObject.url;
- window.event.returnValue = false;return false;
- }else{
- if(code_kind==1){
- checkCode(img);
- return false;
- }else if(code_kind>2){
- $("#popup-submit").trigger("click");
- return false;
-
- }
- }
- });
-
- }
- });
- $("#ajaxtxt_CheckCode").val('');
-}
-function ajaxcheckmoblie(moblie){
- if(!checkmoblie(moblie)){
- $("#ajaxshow_mobile").show();
- $("#ajaxusermobile").focus(
- function(){
- $("#ajaxshow_mobile").hide();
- }
- );
- return false;
- }else{
- $("#ajaxshow_mobile").hide();
- return true;
- }
-}
-
-//发送手机短信
-function ajaxsend_msg(url) {
- parent.layer.closeAll();
- var moblie = $('#ajaxusermoblie').val();
- if (!ajaxcheckmoblie(moblie)) {
- return false;
- }
- var verify_token = '';
- var code = '';
-
- var showCodeCheck = code_web.indexOf('前台登录');
- if (showCodeCheck >= 0) {
- if (code_kind == 1) {
- if ($("#ajaxtxt_CheckCode").length > 0) {
-
- code = $.trim($("#ajaxtxt_CheckCode").val());
- if (!code || code == '验证码') {
- layer.msg('图片验证码不能为空!', 2, 8);
- return false;
- }
- }
- } else if (code_kind > 2) {
- verify_token = $('input[name="verify_token"]').val();
-
- if (verify_token == '') {
-
- $("#bind-submit").trigger("click");
- return false;
- }
- }
- }
- if (smsTimer_time == smsTimer_flag) {
- Timer = setInterval("smsTimer($('#ajaxsend_msg_tip'))", smsTime_speed);
- layer.load('执行中,请稍候...', 0);
- $.post(url, {
- moblie: moblie, code: code,
- verify_token: verify_token
- }, function (data) {
- layer.closeAll('loading');
- if (data) {
- var res = JSON.parse(data);
- if (res.error != 1) {
- clearInterval(Timer);
- }
- var icon = res.error == 1 ? 9 : 8;
- layer.msg(res.msg, 2, icon, function () {
- if (res.error != 1) {
- clearInterval(Timer);
- if (code_kind == 1) {
- checkCode('vcode_imgs');
- } else if (code_kind > 2) {
- $("#popup-submit").trigger("click");
- }
- } else {
- if (code_kind == 1 && showCodeCheck >= 0) {
- $('.hp_login_lg_but').attr('onclick', "check_ajaxlogin('<?php echo smarty_function_url(array('m'=>'login','c'=>'loginsave'),$_smarty_tpl);?>
-','vcode_imgs');");
- }
- }
- });
- }
- })
- } else {
- layer.msg('请勿重复发送!', 2, 8);
- return false;
- }
-}
-<?php echo '</script'; ?>
-><?php }} ?>
diff --git a/data/templates_c/70470c950ce5578bbbd9077ceec58382367e8dfc.file.index.htm.php b/data/templates_c/70470c950ce5578bbbd9077ceec58382367e8dfc.file.index.htm.php
deleted file mode 100644
index a45faf6..0000000
--- a/data/templates_c/70470c950ce5578bbbd9077ceec58382367e8dfc.file.index.htm.php
+++ /dev/null
@@ -1,1187 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:17:07
- compiled from "E:\ishangstudywebs\zhaopin\app\template\default\company\index.htm" */ ?>
-<?php /*%%SmartyHeaderCode:2050667ff75935918e0-49559326%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '70470c950ce5578bbbd9077ceec58382367e8dfc' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\default\\company\\index.htm',
- 1 => 1634883841,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '2050667ff75935918e0-49559326',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'title' => 0,
- 'keywords' => 0,
- 'description' => 0,
- 'style' => 0,
- 'config' => 0,
- 'key' => 0,
- 'lists' => 0,
- 'v' => 0,
- 'job' => 0,
- 'waflist' => 0,
- 'usertype' => 0,
- 'uid' => 0,
- 'pagenav' => 0,
- 'top_key' => 0,
- 'com' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff75935feed5_38628130',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff75935feed5_38628130')) {function content_67ff75935feed5_38628130($_smarty_tpl) {?><?php if (!is_callable('smarty_function_url')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\function.url.php';
-if (!is_callable('smarty_function_listurl')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\function.listurl.php';
-?><!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
-<title><?php echo $_smarty_tpl->tpl_vars['title']->value;?>
-</title>
-<meta name="keywords" content="<?php echo $_smarty_tpl->tpl_vars['keywords']->value;?>
-" />
-<meta name="description" content="<?php echo $_smarty_tpl->tpl_vars['description']->value;?>
-" />
-<link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/style/yun_seach.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type="text/css" />
-<link href="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/style/style.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
-<link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/style/css.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type="text/css" />
-<link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/style/class.public.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type="text/css" />
-</head>
-<body class="body_bg">
-<?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/header.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-<div class="yun_jobbody">
-<?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/public_search/index_search.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
- <!--content start-->
-<div class="clear"></div>
-
-<div class="yun_content">
-<div class="current_Location png" style=" display:none"> 您当前的位置:<a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-">首页</a> > <a href="<?php echo smarty_function_url(array('m'=>'company'),$_smarty_tpl);?>
-">找企业</a> </div>
-<div class="clear"></div>
- <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/public_search/firm_search.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
- <div class="firmsearch_h1_box_title">
- <ul class="firmsearch_h1_box_list">
- <li <?php if (!$_GET['rec']) {?>class="firmsearch_h1_box_cur"<?php }?>>
- <a href="<?php echo smarty_function_url(array('m'=>'company'),$_smarty_tpl);?>
-">企业列表</a>
- <i class="firmsearch_h1_box_list_icon"></i>
- </li>
- <li <?php if ($_GET['rec']=='1') {?>class="firmsearch_h1_box_cur"<?php }?>>
- <a href="<?php echo smarty_function_listurl(array('m'=>'company','type'=>'rec','v'=>1),$_smarty_tpl);?>
-">名企招聘</a>
- <i class="firmsearch_h1_box_list_icon firmsearch_h1_box_list_icon_jj png"></i>
- </li>
- </ul>
-
- <div class="firmsearch_h1_box_line yun_bg_color"></div>
- </div>
- <div class="firm_right">
- <div class="firm_right_box">
- <div class="firm_list_content">
- <div class="firm_list_content_box">
- <?php $_smarty_tpl->tpl_vars['lists'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['lists']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
-global $db,$db_config,$config;$paramer=array("ispage"=>"1","isjob"=>"1","firm"=>"1","hy"=>"'auto.hy'","pr"=>"'auto.pr'","mun"=>"'auto.mun'","welfare"=>"'auto.welfare'","provinceid"=>"'auto.provinceid'","cityid"=>"'auto.cityid'","three_cityid"=>"'auto.three_cityid'","keyword"=>"'auto.keyword'","rec"=>"'auto.rec'","order"=>"'lastupdate'","limit"=>"20","item"=>"'lists'","key"=>"'key'","nocache"=>"")
-;$lists=array();
-
- $time = time();
- //处理传入参数,并且构造分页参数
- $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
- $paramer = $ParamerArr['arr'];
- $Purl = $ParamerArr['purl'];
- global $ModuleName;
- if(!$Purl["m"]){
- $Purl["m"]=$ModuleName;
- }
- //是否属于分站下
- if($config['sy_web_site']=="1"){
- if($config[province]>0 && $config[province]!=""){
- $paramer[provinceid] = $config[province];
- }
- if($config['cityid']>0 && $config['cityid']!=""){
- $paramer['cityid']=$config['cityid'];
- }
- if($config['three_cityid']>0 && $config['three_cityid']!=""){
- $paramer['three_cityid']=$config['three_cityid'];
- }
- if($config['hyclass']>0 && $config['hyclass']!=""){
- $paramer['hy']=$config['hyclass'];
- }
- }
-
- $cache_array = $db->cacheget();
-
-
- $where="`name`<>''";
-
- /*if(!is_array($this->company_rating)){
- $comrat = $db->select_all($db_config['def']."company_rating");
- $this->company_rating=$comrat;
- }else{
- $comrat = $this->company_rating;
- }*/
- //关键字
- if($paramer['keyword']){
- $where.=" AND `name` LIKE '%".$paramer['keyword']."%'";
- }
- //公司行业
- if($paramer['hy']){
- $where .= " AND `hy` = '".$paramer['hy']."'";
- }
- //公司体制
- if($paramer['pr']){
- $where .= " AND `pr` = '".$paramer['pr']."'";
- }
- //公司规模
- if($paramer['mun']){
- $where .= " AND `mun` = '".$paramer['mun']."'";
- }
- $cache_array = $db->cacheget();
- $comclass_name = $cache_array["comclass_name"];
- //福利待遇
- if($paramer[welfare]){
- $welfarename=$comclass_name[$paramer[welfare]];
- $welfare=$db->select_all("company","`name`<>'' and `hy`<>'' and FIND_IN_SET('".$welfarename."',`welfare`)","`uid`");
- if(is_array($welfare)){
- foreach($welfare as $v){
- $welfareid[]=$v['uid'];
- }
- }
- $where .=" AND uid in (".@implode(",",$welfareid).")";
- }
- //公司地点
- if($paramer['provinceid']){
- $where .= " AND `provinceid` = '".$paramer['provinceid']."'";
- }
- //城市二级子类
- if($paramer['cityid']){
- $where .= " AND (`provinceid` = '".$paramer['cityid']."' OR `cityid` = '".$paramer['cityid']."')";
- }
- //城市三级子类
- if($paramer['three_cityid']){
- $where .= " AND (`provinceid` = '".$paramer['three_cityid']."' OR `three_cityid` = '".$paramer['three_cityid']."')";
- }
- //所在地 市区
- if($paramer['cityin']){
- $where .= " AND (`provinceid` in(".$paramer['cityin'].") OR `cityid` in(".$paramer['cityin'].") or `three_cityid` in(".$paramer['cityin']."))";
- }
- //联系人不为空
- if($paramer['linkman']){
- $where .= " AND `linkman`<>''";
- }
- //联系人电话不为空
- if($paramer['linktel']){
- $where .= " AND `linktel`<>''";
- }
- //联系人邮箱不为空
- if($paramer['linkmail']){
- $where .= " AND `linkmail`<>''";
- }
- //是否有企业LOGO
- if($paramer['logo']){
- $where .= " AND `logo`<>'' AND `log_status` = '0'";
- }
- //是否被锁定
- if($paramer['r_status']){
- $where .= " AND `r_status`='".$paramer['r_status']."'";
- }else{
- $where .= " AND `r_status`='1'";
- }
- //是否已经验证
- if($paramer['cert']){
- $where .= " AND `yyzz_status`='1'";
- }
- //更新时间区间
- if($paramer['uptime']){
- $uptime = $time-$paramer['uptime']*3600;
- $where.=" AND `lastupdate`>'".$uptime."'";
- }
- if($paramer['jobtime']){
- $where.=" AND `jobtime`<>''";
- }
- //推荐,猎头页面展示
-
- if($paramer['rec']){
- $Purl["rec"]='1';
- $where.=" AND `rec`='1' AND `hotstart` <= '".time()."' AND `hottime`>'".time()."'";
- }
- //查询条数
- if($paramer['limit']){
- $limit=" limit ".$paramer['limit'];
- }
-
- //自定义查询条件,默认取代上面任何参数直接使用该语句
- if($paramer['where']){
- $where = $paramer['where'];
- }
- //处理类别字段
- $cache_array = $db->cacheget();
-
- if($paramer['ispage']){
- if($paramer['rec']==1&&$Purl["m"]=="lietou"){
- $limit = PageNav($paramer,$_GET,"company",$where,$Purl,"","1",$_smarty_tpl);
- }else{
- $limit = PageNav($paramer,$_GET,"company",$where,$Purl,"","0",$_smarty_tpl);
- }
- }
-
- //排序字段默认为更新时间
- if($paramer['order']){
- if($paramer['order']=="lastUpdate"){
- $paramer['order']="lastupdate";
- }
- $order = " ORDER BY `".$paramer['order']."` ";
- }else{
- $order = " ORDER BY `jobtime` ";
- }
- //排序规则 默认为倒序
- if($paramer['sort']){
- $sort = $paramer['sort'];
- }else{
- $sort = " DESC";
- }
- $where.=$order.$sort;
-
- $Query = $db->query("SELECT * FROM $db_config[def]company where ".$where.$limit);
- $ListId=array();
-
- $lists=array();
- while($rs = $db->fetch_array($Query)){
- $lists[] = $db->array_action($rs,$cache_array);
- $ListId[] = $rs['uid'];
- }
- //调用会员等级
- include_once PLUS_PATH."comrating.cache.php";
- if(!empty($ListId)){
- //$db->update_all("company", "`expoure` = `expoure` + 1", "`uid` in (".@implode(",",$ListId).")");
- $statis = $db->select_all("company_statis","`uid` in (".@implode(",",$ListId).")","`uid`,`rating`");
- foreach($ListId as $key=>$value){
- foreach($statis as $v){
- foreach($comrat as $val){
- if($value==$v['uid'] && $val['id']==$v['rating']){
- $lists[$key]['color'] = $val['com_color'];
- $lists[$key]['ratlogo'] = checkpic($val['com_pic']);
- $lists[$key]['ratname'] = $val['name'];
- }
- }
- }
- }
- }
- //对应留言
- if($paramer['ismsg']){
- $Msgid = @implode(",",$ListId);
- $msglist = $db->select_alls("company_msg","resume","a.`cuid` in ($Msgid) and a.`uid`=b.`uid` order by a.`id` desc","a.cuid,a.content,b.name,b.photo,b.def_job");
- if(is_array($ListId) && is_array($msglist)){
- foreach($lists as $key=>$value){
- foreach($msglist as $k=>$v){
- if($value['uid']==$v['cuid']){
- $lists[$key]['msg'][$k]['content'] = $v['content'];
- $lists[$key]['msg'][$k]['name'] = $v['name'];
- $lists[$key]['msg'][$k]['photo'] = $v['photo'];
- $lists[$key]['msg'][$k]['eid'] = $v['def_job'];
- }
- }
- }
- }
- }
- //是否需要查询对应职位
- if($paramer['isjob']){
- //查询职位
- $JobId = @implode(",",$ListId);
- if($JobId!=""){
- if($config[sy_datacycle]>0){
-
- $uptime = strtotime('-'.$config[sy_datacycle].' day');
- $JobList=$db->select_all("company_job","`uid` IN ($JobId) and r_status=1 and status=0 and state=1 and lastupdate > $uptime order by `lastupdate` desc","`id`,`uid`,`status`,`name`");
- }else{
-
- $JobList=$db->select_all("company_job","`uid` IN ($JobId) and r_status=1 and status=0 and state=1 order by `lastupdate` desc","`id`,`uid`,`status`,`name`");
- }
- }
-
- if(is_array($ListId) && is_array($JobList)){
- foreach($lists as $key=>$value){
- $lists[$key]['jobnum'] = 0;
- foreach($JobList as $k=>$v){
- if($value['uid']==$v['uid']){
- $id = $v['id'];
- $lists[$key]['newsjob'] = $v['name'];
- $lists[$key]['newsjob_status'] = $v['status'];
- $lists[$key]['r_status'] = $v['r_status'];
-
- $v = $db->array_action($value,$cache_array);
- $v['job_url'] = Url("job",array("c"=>"comapply","id"=>$JobList[$k]['id']),"1");
- $v['id']= $id;
- $v['name'] = $lists[$key]['newsjob'];
- $lists[$key]['joblist'][] = $v;
- $lists[$key]['jobnum'] = $lists[$key]['jobnum']+1;
- }
- }
- /*
- foreach($comrat as $k=>$v){
- if($value['rating']==$v['id']){
- $lists[$key]['color'] = $v['com_color'];
- $lists[$key]['ratlogo'] = checkpic($v['com_pic']);
- }
- }*/
- }
- }
- }
- //是否需要查询对应资讯
- if($paramer['isnews']){
- //查询资讯
- $JobId = @implode(",",$ListId);
- $NewsList=$db->select_all("company_news","`uid` IN ($JobId) and status=1 order by `id` desc");
- if(is_array($ListId) && is_array($NewsList)){
- foreach($lists as $key=>$value){
- $lists[$key]['newsnum'] = 0;
- foreach($NewsList as $k=>$v){
- if($value['uid']==$v['uid']){
- $lists[$key]['newslist'][] = $v;
- $lists[$key]['newsnum'] = $lists[$key]['newsnum']+1;
- }
- }
- }
- }
- }
- //是否需要查询对应环境展示
- if($paramer['isshow']){
- //查询环境展示
- $JobId = @implode(",",$ListId);
- $ShowList=$db->select_all("company_show","`uid` IN ($JobId) order by `id` desc");
- if(is_array($ListId) && is_array($ShowList)){
- foreach($lists as $key=>$value){
- $lists[$key]['shownum'] = 0;
- foreach($ShowList as $k=>$v){
- if($value['uid']==$v['uid']){
- $lists[$key]['showlist'][] = $v;
- $lists[$key]['shownum'] = $lists[$key]['shownum']+1;
- }
- }
- }
- }
- }
- if($paramer['ltjob']){//高级职位
- //查询职位
- $JobId = @implode(",",$ListId);
- $JobList=$db->select_all("lt_job","`uid` IN ($JobId) and status=1 order by `id` desc");
- if(is_array($ListId) && is_array($JobList)){
- foreach($lists as $key=>$value){
- $jobname=array();
- $lists[$key]['ltjobnum'] = 0;
- foreach($JobList as $k=>$v){
- if($lists[$key]['ltjobnum']>=$paramer['ltjob']){continue;}
- if($value['uid']==$v['uid']){
- $url = Url("lietou",array("c"=>"jobcomshow","id"=>$v['id']));
- $v['job_url'] = $url;
- $jobname[] = "<a href='".$url."'>".$v['job_name']."</a>";
- $lists[$key]['ltjoblist'][] = $v;
- $lists[$key]['ltjobnum'] = $lists[$key]['ltjobnum']+1;
- }
- }
- $lists[$key]['ltjob'] = @implode(",",$jobname);
- }
- }
- }
- //企业黄页 是否关注 201305_gl
- if($paramer['firm']){
- if($_COOKIE[uid]){$atnlist = $db->select_all("atn","`uid`='$_COOKIE[uid]' and `sc_usertype`='2'");}
- if(is_array($lists)){
- foreach($lists as $key=>$value){
- if(!empty($atnlist)){
- foreach($atnlist as $v){
- if($value['uid'] == $v['sc_uid']){
- $lists[$key]['atn'] = "取消关注";
- $lists[$key]['atnstatus'] = "1";
- break;
- }else{
- $lists[$key]['atn'] = "关注";
- }
- }
- }else{
- $lists[$key]['atn'] = "关注";
- }
- }
- }
- }
- if(is_array($lists)){
- foreach($lists as $key=>$value){
- if($value['shortname']){
- $lists[$key]['name']=$value['shortname'];
- }
- $lists[$key]['com_url'] = Url("company",array("c"=>"show","id"=>$value['uid']));
- $lists[$key]['joball_url'] = Url("company",array("c"=>"show","id"=>$value['uid'],"tp"=>"post"));
- if(!$value['logo'] || $value['logo_status']!=0){
- $lists[$key]['logo'] = checkpic("",$config['sy_unit_icon']);
- }else{
- $lists[$key]['logo'] = checkpic($value['logo'],$config['sy_unit_icon']);
- }
- //获得福利待遇名称
- if(is_array($lists[$key]['welfare'])&&$lists[$key]['welfare']){
- foreach($lists[$key]['welfare'] as $val){
- if($val && $val!="undefined"){
- $lists[$key]['welfarename'][]=$val;
- }
- }
- }
- }
- if($paramer['keyword']!=""&&!empty($lists)){
- addkeywords('4',$paramer['keyword']);
- }
- }$lists = $lists; if (!is_array($lists) && !is_object($lists)) { settype($lists, 'array');}
-foreach ($lists as $_smarty_tpl->tpl_vars['lists']->key => $_smarty_tpl->tpl_vars['lists']->value) {
-$_smarty_tpl->tpl_vars['lists']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['lists']->key;
-?>
- <div class="firm_list <?php if ($_smarty_tpl->tpl_vars['key']->value%2==0) {?>firm_list_02<?php }?>" id="company<?php echo $_smarty_tpl->tpl_vars['lists']->value['uid'];?>
-" aid="<?php echo $_smarty_tpl->tpl_vars['lists']->value['uid'];?>
-">
- <div class="firm_det">
- <div class="firm_list_leftsidebar">
- <div class="firm_list_logo">
- <a href='<?php echo $_smarty_tpl->tpl_vars['lists']->value['com_url'];?>
-'>
- <img src="<?php echo $_smarty_tpl->tpl_vars['lists']->value['logo'];?>
-" width="100" height="100" alt="<?php echo $_smarty_tpl->tpl_vars['lists']->value['name'];?>
-" onerror="showImgDelay(this,'<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_unit_icon'];?>
-',2);" />
- </a>
- </div>
- </div>
- <div class="firm_list_rightsidebar">
- <div class="firm_name">
- <span>
- <a href='<?php echo $_smarty_tpl->tpl_vars['lists']->value['com_url'];?>
-' target="_blank" class="firm_name_a" title="<?php echo $_smarty_tpl->tpl_vars['lists']->value['name'];?>
-"><?php echo mb_substr($_smarty_tpl->tpl_vars['lists']->value['name'],0,25,'utf-8');?>
-</a>
- <?php if ($_smarty_tpl->tpl_vars['lists']->value['rec']=='1'&&$_smarty_tpl->tpl_vars['lists']->value['hottime']>time()) {?><img src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/images/firm_icon.png"/><?php }?>
- <?php if ($_smarty_tpl->tpl_vars['lists']->value['ratlogo']!="0"&&$_smarty_tpl->tpl_vars['lists']->value['ratlogo']) {?><img src="<?php echo $_smarty_tpl->tpl_vars['lists']->value['ratlogo'];?>
-" alt="<?php echo $_smarty_tpl->tpl_vars['lists']->value['ratname'];?>
-" alt="<?php echo $_smarty_tpl->tpl_vars['lists']->value['ratname'];?>
-" width="16" height="16" /><?php }?>
-
- <?php if ($_smarty_tpl->tpl_vars['lists']->value['yyzz_status']=='1') {?><img src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/images/disc_icon10.png" alt="企业资质已审核" class="png"width="16" height="16" /> <?php }?>
- </span>
- </div>
- <div class="firm_qy_list">
- <?php if ($_smarty_tpl->tpl_vars['lists']->value['job_city_one']) {?>
- <span class="firm_qy_list_s">
- <i class="firm_show_cominfo_icon firm_show_cominfo_icon_city"></i>
- <?php echo $_smarty_tpl->tpl_vars['lists']->value['job_city_one'];
-if ($_smarty_tpl->tpl_vars['lists']->value['job_city_two']) {?>-<?php echo $_smarty_tpl->tpl_vars['lists']->value['job_city_two'];
-}?>
- </span>
- <?php }?>
- <?php if ($_smarty_tpl->tpl_vars['lists']->value['job_hy']) {?>
- <span class="firm_qy_list_s">
- <i class="firm_show_cominfo_icon firm_show_cominfo_icon_hy"></i>
- <?php echo mb_substr($_smarty_tpl->tpl_vars['lists']->value['job_hy'],0,12,'utf-8');?>
-
- </span>
- <?php }?>
- <?php if ($_smarty_tpl->tpl_vars['lists']->value['job_pr']) {?>
- <span class="firm_qy_list_s">
- <i class="firm_show_cominfo_icon firm_show_cominfo_icon_xz"></i>
- <?php echo $_smarty_tpl->tpl_vars['lists']->value['job_pr'];?>
-
- </span>
- <?php }?>
- <?php if ($_smarty_tpl->tpl_vars['lists']->value['job_mun']) {?>
- <span class="firm_qy_list_s">
- <i class="firm_show_cominfo_icon firm_show_cominfo_icon_rs"></i>
- <?php echo $_smarty_tpl->tpl_vars['lists']->value['job_mun'];?>
-
- </span>
- <?php }?>
- </div>
-
- <div class="firm_qy_job_list">
- <div class="firm_qy_job_list_name">招聘职位:</div>
- <div class="firm_qy_job_list_r">
- <?php if ($_smarty_tpl->tpl_vars['lists']->value['jobnum']>0) {?>
- <?php $_smarty_tpl->tpl_vars['job'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['job']->_loop = false;
- $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['lists']->value['joblist']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['job']->key => $_smarty_tpl->tpl_vars['job']->value) {
-$_smarty_tpl->tpl_vars['job']->_loop = true;
- $_smarty_tpl->tpl_vars['v']->value = $_smarty_tpl->tpl_vars['job']->key;
-?>
- <?php if ($_smarty_tpl->tpl_vars['v']->value<10) {?>
- <a href="<?php echo smarty_function_url(array('m'=>'job','c'=>'comapply','id'=>$_smarty_tpl->tpl_vars['job']->value['id']),$_smarty_tpl);?>
-" target="_blank" class="firm_qy_job_tag"><?php echo $_smarty_tpl->tpl_vars['job']->value['name'];?>
-</a>
- <?php }?>
- <?php } ?>
- <!--<a href='<?php echo $_smarty_tpl->tpl_vars['lists']->value['com_url'];?>
-' target="_blank" class="firm_list_cur_right_p_r yun_text_color">更多职位>></a>-->
- <?php } else { ?>
- <div class="firm_qy_job_no">暂无招聘职位</div>
- <?php }?>
- </div>
- </div>
- <div class="job_welfare_tag" >
- <?php $_smarty_tpl->tpl_vars['waflist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['waflist']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['lists']->value['welfarename']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['waflist']->key => $_smarty_tpl->tpl_vars['waflist']->value) {
-$_smarty_tpl->tpl_vars['waflist']->_loop = true;
-?>
- <span class="job_welfare_tag_s"><i class="job_welfare_tag_s_icon"></i><?php echo $_smarty_tpl->tpl_vars['waflist']->value;?>
-</span>
- <?php } ?>
- </div>
- </div>
- <div class="firm_gz_right">
- <?php if ($_smarty_tpl->tpl_vars['usertype']->value==1) {?>
- <a href="javascript:void(0);" id="atn_<?php echo $_smarty_tpl->tpl_vars['lists']->value['uid'];?>
-" onclick="atn('<?php echo $_smarty_tpl->tpl_vars['lists']->value['uid'];?>
-','<?php echo smarty_function_url(array('m'=>'ajax','c'=>'atncompany'),$_smarty_tpl);?>
-');" <?php if ($_smarty_tpl->tpl_vars['lists']->value['atn']=="关注") {?> class="crop-add-yb"<?php } else { ?> class="crop-add-yb company_att"<?php }?>>
- <?php echo $_smarty_tpl->tpl_vars['lists']->value['atn'];?>
-</a>
- <?php } else { ?>
- <?php if ($_smarty_tpl->tpl_vars['uid']->value) {?>
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_user_change']==1) {?>
- <a href="javascript:void(0);" onclick="layer.msg('请先申请个人用户才能关注', 2, 8)" class="crop-add-yb">+ 关注</a>
- <?php } else { ?>
- <a href="javascript:void(0);" onclick="layer.msg('只有个人用户才能关注', 2, 8)" class="crop-add-yb">+ 关注</a>
- <?php }?>
-
- <?php } else { ?>
- <a href="javascript:void(0);" onclick="showlogin('1');" class="crop-add-yb">+ 关注</a>
- <?php }?>
- <?php }?>
- <span class="crop-add-yb_span">
- <label><i id="antnum<?php echo $_smarty_tpl->tpl_vars['lists']->value['uid'];?>
-" class="crop-add-yb_i"><?php echo $_smarty_tpl->tpl_vars['lists']->value['ant_num'];?>
-</i>人已关注 </label>
- </span>
- </div>
- </div>
- </div>
- <?php } ?>
- <div class="clear"></div>
- <div class="pages"> <?php echo $_smarty_tpl->tpl_vars['pagenav']->value;?>
-</div>
- <?php if (!$_smarty_tpl->tpl_vars['lists']->value) {?>
- <!-- 未搜索到-->
- <div class="seachno" style="background:#FFF; width:588px; margin-top:15px;border:none;">
- <div class="seachno_left"><img src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/images/search-no.gif" /></div>
- <div class="listno-content">
- <strong>很抱歉,没有找到满足条件的企业</strong><br />
- <span>
- 建议您:<br />
- 1、适当减少已选择的条件<br />
- 2、适当删减或更改搜索关键字<br />
- </span>
- <span>
- 热门关键字:<br />
- <?php $_smarty_tpl->tpl_vars['top_key'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['top_key']->_loop = false;
-global $config;$paramer=array("limit"=>"6","recom"=>"1","type"=>"4","item"=>"'top_key'","nocache"=>"")
-;$list=array();
-
- $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
- $paramer = $ParamerArr[arr];
- //是否推荐
- if($paramer[recom]){
- $tuijian = 1;
- }
- //类别
- if($paramer[type]){
- $type = $paramer[type];
- }
- //查询条数
- if($paramer[limit]){
- $limit=$paramer[limit];
- }else{
- $limit=5;
- }
- include PLUS_PATH."/keyword.cache.php";
- if($paramer[iswap]){
- $wap = "/wap";
- }else{
- $index =1;
- }
- if(is_array($keyword)){
- if($paramer[iswap]){
- $i=0;
- foreach($keyword as $k=>$v){
- if($tuijian && $v[tuijian]!=1){
- continue;
- }
- if($type && $v[type]!=$type){
- continue;
- }
-
- $i++;
- if($v[type]=="1"){
- $v[url] = Url("wap",array("c"=>"once","keyword"=>$v['key_name']));
- $v[type_name]='店铺招聘';
- }elseif($v['type']=="13"){
- $v['url'] = Url("wap",array("c"=>"tiny","keyword"=>$v['key_name']));
- $v['type_name']='普工简历';
- }elseif($v[type]=="3"){
- $v[url] = Url("wap",array("c"=>"job","keyword"=>$v['key_name']));
- $v[type_name]='职位';
- }elseif($v['type']=="4"){
- $v['url'] = Url("wap",array("c"=>"company","keyword"=>$v['key_name']));
- $v['type_name']='公司';
- }elseif($v['type']=="5"){
- $v['url'] = Url("wap",array("c"=>"resume","keyword"=>$v['key_name']));
- $v['type_name']='人才';
- }
- $v['key_title']=$v['key_name'];
- if($v['color']){
- $v['key_name']="<font color='".$v['color']."'>".$v['key_name']."</font>";
- }
- $list[] = $v;
- if($i==$limit){
- break;
- }
- }
- }else{
- $i=0;
- foreach($keyword as $k=>$v){
- if($tuijian && $v['tuijian']!=1){
- continue;
- }
- if($type && $v['type']!=$type){
- continue;
- }
- $i++;
- if($v['type']=="1"){
- $v['url'] = Url("once",array("keyword"=>$v['key_name']));
- $v['type_name']='店铺招聘';
- }elseif($v['type']=="2"){
- $v['url'] = Url("part",array("keyword"=>$v['key_name']));
- $v['type_name']='兼职';
- }elseif($v['type']=="13"){
- $v['url'] = Url("tiny",array("keyword"=>$v['key_name']));
- $v['type_name']='普工简历';
- }elseif($v['type']=="3"){
- $v['url'] = Url("job",array("c"=>"search","keyword"=>$v['key_name']));
- $v['type_name']='职位';
- }elseif($v['type']=="4"){
- $v['url'] = Url("company",array("keyword"=>$v['key_name']));
- $v['type_name']='公司';
- }elseif($v['type']=="5"){
- $v['url'] = Url("resume",array("c"=>"search","keyword"=>$v['key_name']));
- $v['type_name']='人才';
- }elseif($v['type']=="6"){
- $v['url'] = Url("lietou",array("c"=>"service","keyword"=>$v['key_name']));
- $v['type_name']='猎头';
- }elseif($v['type']=="7"){
- $v['url'] = Url("lietou",array("c"=>"post","keyword"=>$v['key_name']));
- $v['type_name']='猎头职位';
- }else if($v['type']=="9"){
- $v['url'] = Url("train",array("c"=>"subject","keyword"=>$v['key_name']));
- $v['type_name']='培训课程';
- }else if($v['type']=="10"){
- $v['url'] = Url("train",array("c"=>"agency","keyword"=>$v['key_name']));
- $v['type_name']='培训机构';
- }else if($v['type']=="11"){
- $v['url'] = Url("train",array("c"=>"teacher","keyword"=>$v['key_name']));
- $v['type_name']='培训师';
- }else if($v['type']=="12"){
- $v['url'] = Url("ask",array("c"=>"search","keyword"=>$v['key_name']));
- $v['type_name']='问答';
- }
- $v['key_title']=$v['key_name'];
- if($v['color']){
- $v['key_name']="<font color='".$v['color']."'>".$v['key_name']."</font>";
- }
-
- $list[] = $v;
- if($i==$limit){
- break;
- }
- }
- }
- }$list = $list; if (!is_array($list) && !is_object($list)) { settype($list, 'array');}
-foreach ($list as $_smarty_tpl->tpl_vars['top_key']->key => $_smarty_tpl->tpl_vars['top_key']->value) {
-$_smarty_tpl->tpl_vars['top_key']->_loop = true;
-?> <a href="<?php echo smarty_function_listurl(array('m'=>'company','type'=>'keyword','v'=>$_smarty_tpl->tpl_vars['top_key']->value['key_title']),$_smarty_tpl);?>
-"><?php echo $_smarty_tpl->tpl_vars['top_key']->value['key_name'];?>
-</a> <?php } ?>
- </span>
- </div>
- </div>
- <?php }?>
- </div> </div>
- </div>
-
- </div>
-
- <div class="firm_rightm">
- <div class="firm_rightm_box">
- <div class="firm_rightm_box_tit"><i class="firm_rightm_box_tit_icon yun_bg_color"></i><span class="firm_rightm_box_tit_s">推荐企业</span></div>
-
- <ul class="firm_rightm_tjlist">
- <?php $_smarty_tpl->tpl_vars['com'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['com']->_loop = false;
-global $db,$db_config,$config;$paramer=array("limit"=>"10","rec"=>"1","item"=>"'com'","nocache"=>"")
-;$com=array();
-
- $time = time();
- //处理传入参数,并且构造分页参数
- $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
- $paramer = $ParamerArr['arr'];
- $Purl = $ParamerArr['purl'];
- global $ModuleName;
- if(!$Purl["m"]){
- $Purl["m"]=$ModuleName;
- }
- //是否属于分站下
- if($config['sy_web_site']=="1"){
- if($config[province]>0 && $config[province]!=""){
- $paramer[provinceid] = $config[province];
- }
- if($config['cityid']>0 && $config['cityid']!=""){
- $paramer['cityid']=$config['cityid'];
- }
- if($config['three_cityid']>0 && $config['three_cityid']!=""){
- $paramer['three_cityid']=$config['three_cityid'];
- }
- if($config['hyclass']>0 && $config['hyclass']!=""){
- $paramer['hy']=$config['hyclass'];
- }
- }
-
- $cache_array = $db->cacheget();
-
-
- $where="`name`<>''";
-
- /*if(!is_array($this->company_rating)){
- $comrat = $db->select_all($db_config['def']."company_rating");
- $this->company_rating=$comrat;
- }else{
- $comrat = $this->company_rating;
- }*/
- //关键字
- if($paramer['keyword']){
- $where.=" AND `name` LIKE '%".$paramer['keyword']."%'";
- }
- //公司行业
- if($paramer['hy']){
- $where .= " AND `hy` = '".$paramer['hy']."'";
- }
- //公司体制
- if($paramer['pr']){
- $where .= " AND `pr` = '".$paramer['pr']."'";
- }
- //公司规模
- if($paramer['mun']){
- $where .= " AND `mun` = '".$paramer['mun']."'";
- }
- $cache_array = $db->cacheget();
- $comclass_name = $cache_array["comclass_name"];
- //福利待遇
- if($paramer[welfare]){
- $welfarename=$comclass_name[$paramer[welfare]];
- $welfare=$db->select_all("company","`name`<>'' and `hy`<>'' and FIND_IN_SET('".$welfarename."',`welfare`)","`uid`");
- if(is_array($welfare)){
- foreach($welfare as $v){
- $welfareid[]=$v['uid'];
- }
- }
- $where .=" AND uid in (".@implode(",",$welfareid).")";
- }
- //公司地点
- if($paramer['provinceid']){
- $where .= " AND `provinceid` = '".$paramer['provinceid']."'";
- }
- //城市二级子类
- if($paramer['cityid']){
- $where .= " AND (`provinceid` = '".$paramer['cityid']."' OR `cityid` = '".$paramer['cityid']."')";
- }
- //城市三级子类
- if($paramer['three_cityid']){
- $where .= " AND (`provinceid` = '".$paramer['three_cityid']."' OR `three_cityid` = '".$paramer['three_cityid']."')";
- }
- //所在地 市区
- if($paramer['cityin']){
- $where .= " AND (`provinceid` in(".$paramer['cityin'].") OR `cityid` in(".$paramer['cityin'].") or `three_cityid` in(".$paramer['cityin']."))";
- }
- //联系人不为空
- if($paramer['linkman']){
- $where .= " AND `linkman`<>''";
- }
- //联系人电话不为空
- if($paramer['linktel']){
- $where .= " AND `linktel`<>''";
- }
- //联系人邮箱不为空
- if($paramer['linkmail']){
- $where .= " AND `linkmail`<>''";
- }
- //是否有企业LOGO
- if($paramer['logo']){
- $where .= " AND `logo`<>'' AND `log_status` = '0'";
- }
- //是否被锁定
- if($paramer['r_status']){
- $where .= " AND `r_status`='".$paramer['r_status']."'";
- }else{
- $where .= " AND `r_status`='1'";
- }
- //是否已经验证
- if($paramer['cert']){
- $where .= " AND `yyzz_status`='1'";
- }
- //更新时间区间
- if($paramer['uptime']){
- $uptime = $time-$paramer['uptime']*3600;
- $where.=" AND `lastupdate`>'".$uptime."'";
- }
- if($paramer['jobtime']){
- $where.=" AND `jobtime`<>''";
- }
- //推荐,猎头页面展示
-
- if($paramer['rec']){
- $Purl["rec"]='1';
- $where.=" AND `rec`='1' AND `hotstart` <= '".time()."' AND `hottime`>'".time()."'";
- }
- //查询条数
- if($paramer['limit']){
- $limit=" limit ".$paramer['limit'];
- }
-
- //自定义查询条件,默认取代上面任何参数直接使用该语句
- if($paramer['where']){
- $where = $paramer['where'];
- }
- //处理类别字段
- $cache_array = $db->cacheget();
-
- if($paramer['ispage']){
- if($paramer['rec']==1&&$Purl["m"]=="lietou"){
- $limit = PageNav($paramer,$_GET,"company",$where,$Purl,"","1",$_smarty_tpl);
- }else{
- $limit = PageNav($paramer,$_GET,"company",$where,$Purl,"","0",$_smarty_tpl);
- }
- }
-
- //排序字段默认为更新时间
- if($paramer['order']){
- if($paramer['order']=="lastUpdate"){
- $paramer['order']="lastupdate";
- }
- $order = " ORDER BY `".$paramer['order']."` ";
- }else{
- $order = " ORDER BY `jobtime` ";
- }
- //排序规则 默认为倒序
- if($paramer['sort']){
- $sort = $paramer['sort'];
- }else{
- $sort = " DESC";
- }
- $where.=$order.$sort;
-
- $Query = $db->query("SELECT * FROM $db_config[def]company where ".$where.$limit);
- $ListId=array();
-
- $com=array();
- while($rs = $db->fetch_array($Query)){
- $com[] = $db->array_action($rs,$cache_array);
- $ListId[] = $rs['uid'];
- }
- //调用会员等级
- include_once PLUS_PATH."comrating.cache.php";
- if(!empty($ListId)){
- //$db->update_all("company", "`expoure` = `expoure` + 1", "`uid` in (".@implode(",",$ListId).")");
- $statis = $db->select_all("company_statis","`uid` in (".@implode(",",$ListId).")","`uid`,`rating`");
- foreach($ListId as $key=>$value){
- foreach($statis as $v){
- foreach($comrat as $val){
- if($value==$v['uid'] && $val['id']==$v['rating']){
- $com[$key]['color'] = $val['com_color'];
- $com[$key]['ratlogo'] = checkpic($val['com_pic']);
- $com[$key]['ratname'] = $val['name'];
- }
- }
- }
- }
- }
- //对应留言
- if($paramer['ismsg']){
- $Msgid = @implode(",",$ListId);
- $msglist = $db->select_alls("company_msg","resume","a.`cuid` in ($Msgid) and a.`uid`=b.`uid` order by a.`id` desc","a.cuid,a.content,b.name,b.photo,b.def_job");
- if(is_array($ListId) && is_array($msglist)){
- foreach($com as $key=>$value){
- foreach($msglist as $k=>$v){
- if($value['uid']==$v['cuid']){
- $com[$key]['msg'][$k]['content'] = $v['content'];
- $com[$key]['msg'][$k]['name'] = $v['name'];
- $com[$key]['msg'][$k]['photo'] = $v['photo'];
- $com[$key]['msg'][$k]['eid'] = $v['def_job'];
- }
- }
- }
- }
- }
- //是否需要查询对应职位
- if($paramer['isjob']){
- //查询职位
- $JobId = @implode(",",$ListId);
- if($JobId!=""){
- if($config[sy_datacycle]>0){
-
- $uptime = strtotime('-'.$config[sy_datacycle].' day');
- $JobList=$db->select_all("company_job","`uid` IN ($JobId) and r_status=1 and status=0 and state=1 and lastupdate > $uptime order by `lastupdate` desc","`id`,`uid`,`status`,`name`");
- }else{
-
- $JobList=$db->select_all("company_job","`uid` IN ($JobId) and r_status=1 and status=0 and state=1 order by `lastupdate` desc","`id`,`uid`,`status`,`name`");
- }
- }
-
- if(is_array($ListId) && is_array($JobList)){
- foreach($com as $key=>$value){
- $com[$key]['jobnum'] = 0;
- foreach($JobList as $k=>$v){
- if($value['uid']==$v['uid']){
- $id = $v['id'];
- $com[$key]['newsjob'] = $v['name'];
- $com[$key]['newsjob_status'] = $v['status'];
- $com[$key]['r_status'] = $v['r_status'];
-
- $v = $db->array_action($value,$cache_array);
- $v['job_url'] = Url("job",array("c"=>"comapply","id"=>$JobList[$k]['id']),"1");
- $v['id']= $id;
- $v['name'] = $com[$key]['newsjob'];
- $com[$key]['joblist'][] = $v;
- $com[$key]['jobnum'] = $com[$key]['jobnum']+1;
- }
- }
- /*
- foreach($comrat as $k=>$v){
- if($value['rating']==$v['id']){
- $com[$key]['color'] = $v['com_color'];
- $com[$key]['ratlogo'] = checkpic($v['com_pic']);
- }
- }*/
- }
- }
- }
- //是否需要查询对应资讯
- if($paramer['isnews']){
- //查询资讯
- $JobId = @implode(",",$ListId);
- $NewsList=$db->select_all("company_news","`uid` IN ($JobId) and status=1 order by `id` desc");
- if(is_array($ListId) && is_array($NewsList)){
- foreach($com as $key=>$value){
- $com[$key]['newsnum'] = 0;
- foreach($NewsList as $k=>$v){
- if($value['uid']==$v['uid']){
- $com[$key]['newslist'][] = $v;
- $com[$key]['newsnum'] = $com[$key]['newsnum']+1;
- }
- }
- }
- }
- }
- //是否需要查询对应环境展示
- if($paramer['isshow']){
- //查询环境展示
- $JobId = @implode(",",$ListId);
- $ShowList=$db->select_all("company_show","`uid` IN ($JobId) order by `id` desc");
- if(is_array($ListId) && is_array($ShowList)){
- foreach($com as $key=>$value){
- $com[$key]['shownum'] = 0;
- foreach($ShowList as $k=>$v){
- if($value['uid']==$v['uid']){
- $com[$key]['showlist'][] = $v;
- $com[$key]['shownum'] = $com[$key]['shownum']+1;
- }
- }
- }
- }
- }
- if($paramer['ltjob']){//高级职位
- //查询职位
- $JobId = @implode(",",$ListId);
- $JobList=$db->select_all("lt_job","`uid` IN ($JobId) and status=1 order by `id` desc");
- if(is_array($ListId) && is_array($JobList)){
- foreach($com as $key=>$value){
- $jobname=array();
- $com[$key]['ltjobnum'] = 0;
- foreach($JobList as $k=>$v){
- if($com[$key]['ltjobnum']>=$paramer['ltjob']){continue;}
- if($value['uid']==$v['uid']){
- $url = Url("lietou",array("c"=>"jobcomshow","id"=>$v['id']));
- $v['job_url'] = $url;
- $jobname[] = "<a href='".$url."'>".$v['job_name']."</a>";
- $com[$key]['ltjoblist'][] = $v;
- $com[$key]['ltjobnum'] = $com[$key]['ltjobnum']+1;
- }
- }
- $com[$key]['ltjob'] = @implode(",",$jobname);
- }
- }
- }
- //企业黄页 是否关注 201305_gl
- if($paramer['firm']){
- if($_COOKIE[uid]){$atnlist = $db->select_all("atn","`uid`='$_COOKIE[uid]' and `sc_usertype`='2'");}
- if(is_array($com)){
- foreach($com as $key=>$value){
- if(!empty($atnlist)){
- foreach($atnlist as $v){
- if($value['uid'] == $v['sc_uid']){
- $com[$key]['atn'] = "取消关注";
- $com[$key]['atnstatus'] = "1";
- break;
- }else{
- $com[$key]['atn'] = "关注";
- }
- }
- }else{
- $com[$key]['atn'] = "关注";
- }
- }
- }
- }
- if(is_array($com)){
- foreach($com as $key=>$value){
- if($value['shortname']){
- $com[$key]['name']=$value['shortname'];
- }
- $com[$key]['com_url'] = Url("company",array("c"=>"show","id"=>$value['uid']));
- $com[$key]['joball_url'] = Url("company",array("c"=>"show","id"=>$value['uid'],"tp"=>"post"));
- if(!$value['logo'] || $value['logo_status']!=0){
- $com[$key]['logo'] = checkpic("",$config['sy_unit_icon']);
- }else{
- $com[$key]['logo'] = checkpic($value['logo'],$config['sy_unit_icon']);
- }
- //获得福利待遇名称
- if(is_array($com[$key]['welfare'])&&$com[$key]['welfare']){
- foreach($com[$key]['welfare'] as $val){
- if($val && $val!="undefined"){
- $com[$key]['welfarename'][]=$val;
- }
- }
- }
- }
- if($paramer['keyword']!=""&&!empty($com)){
- addkeywords('4',$paramer['keyword']);
- }
- }$com = $com; if (!is_array($com) && !is_object($com)) { settype($com, 'array');}
-foreach ($com as $_smarty_tpl->tpl_vars['com']->key => $_smarty_tpl->tpl_vars['com']->value) {
-$_smarty_tpl->tpl_vars['com']->_loop = true;
-?>
- <li>
- <a href="<?php echo $_smarty_tpl->tpl_vars['com']->value['com_url'];?>
-" target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['com']->value['name'];?>
-">
- <img src="<?php echo $_smarty_tpl->tpl_vars['com']->value['logo'];?>
-" onerror="showImgDelay(this,'<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_unit_icon'];?>
-',2);" width="100" height="100" />
- <div class="firm_rightm_tjlistname"><?php echo mb_substr($_smarty_tpl->tpl_vars['com']->value['name'],0,13,'utf-8');?>
-</div>
- </a>
- </li>
- <?php }
-if (!$_smarty_tpl->tpl_vars['com']->_loop) {
-?>
- <div class="pc_notip">暂无推荐企业</div>
- <?php } ?>
- </ul>
- </div>
-
-
- </div>
- </div>
- <div class="clear"></div>
- <!--content end-->
- </div>
- </div>
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
-<link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" /><?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
-><?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/lazyload.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/search.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type="text/javascript"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/data/plus/city.cache.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type="text/javascript"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/class.public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type="text/javascript"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
-<link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/style/newclass.public.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type="text/css" />
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/newclass.public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type="text/javascript"><?php echo '</script'; ?>
->
-
-<!--[if IE 6]>
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/png.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
->
-DD_belatedPNG.fix('.png');
-<?php echo '</script'; ?>
->
-<![endif]-->
-<?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/public_search/login.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-<?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/footer.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
- <?php }} ?>
diff --git a/data/templates_c/78c0d883f755d092b66bb69b4de9fcc57fb77c19.file.admin_industry.htm.php b/data/templates_c/78c0d883f755d092b66bb69b4de9fcc57fb77c19.file.admin_industry.htm.php
deleted file mode 100644
index 7598361..0000000
--- a/data/templates_c/78c0d883f755d092b66bb69b4de9fcc57fb77c19.file.admin_industry.htm.php
+++ /dev/null
@@ -1,194 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-17 18:06:40
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\admin_industry.htm" */ ?>
-<?php /*%%SmartyHeaderCode:90276800d2b0d45e12-86045373%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '78c0d883f755d092b66bb69b4de9fcc57fb77c19' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\admin_industry.htm',
- 1 => 1634883866,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '90276800d2b0d45e12-86045373',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'pytoken' => 0,
- 'list' => 0,
- 'key' => 0,
- 'v' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_6800d2b0dd6141_48177530',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_6800d2b0dd6141_48177530')) {function content_6800d2b0dd6141_48177530($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet"
- type="text/css" />
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="js/admin_public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="js/show_pub.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <title>后台管理</title>
- </head>
- <?php echo '<script'; ?>
- type="text/javascript">
- $(document).ready(function() {
- $(".imghide").hover(function() {
- $(this).find('.class_xg').show();
- }, function() {
- $(this).find('.class_xg').hide();
- });
- })
- <?php echo '</script'; ?>
->
- <link href="images/reset.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/system.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/table_form.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
-
- <body class="body_ifm">
- <span id="temp"></span>
- <div class="infoboxp">
- <div class="tty-tishi_top">
- <div class="admin_new_search_box">
- <a href="javascript:void(0)" onClick="add_class('添加类别','450','250','#houtai_div','')" class="admin_new_cz_tj" style="margin-left:0px;">+
- 添加类别</a>
- </div>
- <div class="clear"></div>
- </div>
-
- <div class="tty_table-bom">
- <div class="table-list">
- <div class="admin_table_border">
- <iframe id="supportiframe" name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
- <form action="index.php?m=admin_industry&c=del" method="post" target="supportiframe" id='myform'>
- <input type="hidden" name="pytoken" id='pytoken' value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- <table width="100%" id="table_industry">
- <thead>
- <tr class="admin_table_top">
- <th width="50"><label for="chkall"> <input type="checkbox" id='chkAll' onclick='CheckAll(this.form)' /></label></th>
- <th width="60">行业编号</th>
- <th align="left">行业名称<span class="clickup">(点击修改)</span></th>
- <th>排序(越大越靠前)</th>
- <th width="180" class="admin_table_th_bg">操作</th>
- </tr>
- </thead>
- <tbody>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
-
- <tr align="center" <?php if (($_smarty_tpl->tpl_vars['key']->value+1)%2=='0') {?>class="admin_com_td_bg"<?php }?> id="list<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-">
- <td width="50"><input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" name='del[]' onclick='unselectall()' rel="del_chk" /></td>
- <td class="ud"><?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-</td>
- <td class="ud imghide" align="left">
- <span onClick="checkname('<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-');" id="name<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" style="cursor:pointer;"><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-</span>
- <input class="input-text hidden" type="text" id="inputname<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" value="<?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-"
- onBlur="subname('<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-','index.php?m=admin_industry&c=ajax');">
- <img class="" src="images/xg.png" onClick="checkname('<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-');" style="padding-left:5px;cursor:pointer;" />
- </td>
- <td class="imghide"><span onClick="checksort('<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-');" id="sort<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" style="cursor:pointer;"><?php echo $_smarty_tpl->tpl_vars['v']->value['sort'];?>
-</span>
- <input class="input-text hidden citysort" type="text" id="input<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" size="10" value="<?php echo $_smarty_tpl->tpl_vars['v']->value['sort'];?>
-"
- onBlur="subsort('<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-','index.php?m=admin_industry&c=ajax');">
- <img class="" src="images/xg.png" onClick="checksort('<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-');" style="padding-left:5px;cursor:pointer;" />
- </td>
- <td class="ud">
-
- <a href="javascript:void(0)" onClick="layer_del('确定要删除?', 'index.php?m=admin_industry&c=del&delid=<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-');"
- class="admin_new_c_bth admin_new_c_bth_sc">删除</a></td>
- </tr>
-
- <?php } ?>
- <tr>
- <td align="center"><input type="checkbox" id='chkAll2' onclick='CheckAll2(this.form)' /></td>
- <td colspan="4">
- <label for="chkAll2">全选</label>
- <input class="admin_button" type="button" name="delsub" value="删除所选" onclick="return really('del[]')" /></td>
- </tr>
- </tbody>
- </table>
- </form>
- </div>
- </div>
- </div>
- </div>
- <div id="houtai_div" style=" display:none;margin-top: 10px;">
- <div class="admin_mt10">
- <table cellspacing='1' cellpadding='1' class="admin_examine_table">
- <tbody>
- <tr>
- <th width="90" class="t_fr">类别名称:</th>
- <td><textarea id='position' class="add_class_textarea"></textarea></td>
- </tr>
- <tr class="ui_td_11">
- <th width="90"></th>
- <td>
- <span class="admin_web_tip" style="padding-top: 0;">说明:可以添加多条分类(请按回车键换行,一行一个)</span>
- </td>
- </tr>
- <tr class="ui_td_11">
- <td class="ui_content_wrap" align="center" style="border-bottom:none" colspan='2'>
- <input class="admin_examine_bth" type="button" name="add" value=" 添加 " onClick="save_dclass('index.php?m=admin_industry&c=add')" /></td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </body>
-</html>
-<?php }} ?>
diff --git a/data/templates_c/7c5534854000a9770ba1b00399788ddf76ce79f1.file.admin_right_web.htm.php b/data/templates_c/7c5534854000a9770ba1b00399788ddf76ce79f1.file.admin_right_web.htm.php
deleted file mode 100644
index 232394e..0000000
--- a/data/templates_c/7c5534854000a9770ba1b00399788ddf76ce79f1.file.admin_right_web.htm.php
+++ /dev/null
@@ -1,235 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:15:21
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\admin_right_web.htm" */ ?>
-<?php /*%%SmartyHeaderCode:1863367ff7529936465-30890817%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '7c5534854000a9770ba1b00399788ddf76ce79f1' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\admin_right_web.htm',
- 1 => 1634883866,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '1863367ff7529936465-30890817',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'type' => 0,
- 'name' => 0,
- 'list' => 0,
- 'daylist' => 0,
- 'twolist' => 0,
- 'daylist2' => 0,
- 'v' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff752997f563_05658851',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff752997f563_05658851')) {function content_67ff752997f563_05658851($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <link href="images/reset.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <title>后台管理</title>
-</head>
-
-<body class="body_ifm">
-<?php if ($_smarty_tpl->tpl_vars['type']->value=="tj") {?>
- <div class="admin_atatic_chart fl" id="main2" style="height:300px;"></div>
- <?php echo '<script'; ?>
- src="js/echarts_plain.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- type="text/javascript">
- var myChart = echarts.init(document.getElementById('main2'));
- var option = {
- tooltip : {trigger: 'axis'},
- legend: {data:['<?php echo $_smarty_tpl->tpl_vars['name']->value[0];?>
-','<?php echo $_smarty_tpl->tpl_vars['name']->value[1];?>
-']},
- calculable : false,
- xAxis : [
- {
- type : 'category',
- boundaryGap : false,
- data : [<?php $_smarty_tpl->tpl_vars['daylist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['daylist']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
- $_smarty_tpl->tpl_vars['smarty']->value['foreach']['foo']['index']=-1;
-foreach ($_from as $_smarty_tpl->tpl_vars['daylist']->key => $_smarty_tpl->tpl_vars['daylist']->value) {
-$_smarty_tpl->tpl_vars['daylist']->_loop = true;
- $_smarty_tpl->tpl_vars['smarty']->value['foreach']['foo']['index']++;
-if ($_smarty_tpl->getVariable('smarty')->value['foreach']['foo']['index']>0) {?>,<?php }?>'<?php echo $_smarty_tpl->tpl_vars['daylist']->value['td'];?>
-'<?php } ?>]
- }
- ],
- yAxis : [{type : 'value',minInterval: 1}],
- series : [
- {
- name:'<?php echo $_smarty_tpl->tpl_vars['name']->value[0];?>
-',
- type:'line',
- symbol:'emptyCircle',
- smooth:false,
- itemStyle: {
- normal: {
- areaStyle: {
- width: 2,
- color:'rgb(191,227,249)'
- }
- }
- },
- data:[<?php $_smarty_tpl->tpl_vars['daylist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['daylist']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
- $_smarty_tpl->tpl_vars['smarty']->value['foreach']['foo1']['index']=-1;
-foreach ($_from as $_smarty_tpl->tpl_vars['daylist']->key => $_smarty_tpl->tpl_vars['daylist']->value) {
-$_smarty_tpl->tpl_vars['daylist']->_loop = true;
- $_smarty_tpl->tpl_vars['smarty']->value['foreach']['foo1']['index']++;
-if ($_smarty_tpl->getVariable('smarty')->value['foreach']['foo1']['index']>0) {?>,<?php }
-echo $_smarty_tpl->tpl_vars['daylist']->value['cnt'];
-} ?>]
- }
- <?php if ($_smarty_tpl->tpl_vars['twolist']->value) {?>,
- {
- name:'<?php echo $_smarty_tpl->tpl_vars['name']->value[1];?>
-',
- type:'line',
- symbol:'emptyCircle',
- smooth:false,
- itemStyle: {
- normal: {
- areaStyle: {
- width: 2,
- color:'rgb(191,227,249)'
- }
- }
- },
- data:[<?php $_smarty_tpl->tpl_vars['daylist2'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['daylist2']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['twolist']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
- $_smarty_tpl->tpl_vars['smarty']->value['foreach']['foo2']['index']=-1;
-foreach ($_from as $_smarty_tpl->tpl_vars['daylist2']->key => $_smarty_tpl->tpl_vars['daylist2']->value) {
-$_smarty_tpl->tpl_vars['daylist2']->_loop = true;
- $_smarty_tpl->tpl_vars['smarty']->value['foreach']['foo2']['index']++;
-if ($_smarty_tpl->getVariable('smarty')->value['foreach']['foo2']['index']>0) {?>,<?php }
-echo $_smarty_tpl->tpl_vars['daylist2']->value['cnt'];
-} ?>]
- }
- <?php }?>
- ]
- };
- myChart.setOption(option); // 为echarts对象加载数据
- <?php echo '</script'; ?>
->
-
-<?php } elseif (($_smarty_tpl->tpl_vars['type']->value=="dt")) {?>
-<ul class="right_web_list">
-<?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
-<li>会员
-<!--下载简历-->
-<?php if ($_smarty_tpl->tpl_vars['v']->value['downtime']) {?>
-<?php echo $_smarty_tpl->tpl_vars['v']->value['comusername'];?>
-
-<?php }?>
-
-<?php if ($_smarty_tpl->tpl_vars['v']->value['order_time']) {?>
-<?php echo $_smarty_tpl->tpl_vars['v']->value['username'];?>
-
-<?php }?>
-
-<?php if ($_smarty_tpl->tpl_vars['v']->value['jobid']||$_smarty_tpl->tpl_vars['v']->value['job_id']) {?>
-<?php echo $_smarty_tpl->tpl_vars['v']->value['username'];?>
-
-<?php }?>
-
-<?php if ($_smarty_tpl->tpl_vars['v']->value['resume_id']) {?>
-<?php echo $_smarty_tpl->tpl_vars['v']->value['comusername'];?>
-
-<?php }?>
-
-在
-
-<?php if ($_smarty_tpl->tpl_vars['v']->value['downtime']) {?>
-<?php if ($_smarty_tpl->tpl_vars['v']->value['time']<60) {?> <span style="color:red;"><?php echo $_smarty_tpl->tpl_vars['v']->value['time'];?>
-</span> <?php } else {
-echo $_smarty_tpl->tpl_vars['v']->value['time'];
-}?>
-<?php }?>
-<?php if ($_smarty_tpl->tpl_vars['v']->value['datetime']) {?>
-<?php if ($_smarty_tpl->tpl_vars['v']->value['times']<60) {?> <span style="color:red;"><?php echo $_smarty_tpl->tpl_vars['v']->value['times'];?>
-</span> <?php } else {
-echo $_smarty_tpl->tpl_vars['v']->value['times'];
-}?>
-<?php }?>
-<?php if ($_smarty_tpl->tpl_vars['v']->value['order_time']) {?>
-<?php if ($_smarty_tpl->tpl_vars['v']->value['timess']<60) {?> <span style="color:red;"><?php echo $_smarty_tpl->tpl_vars['v']->value['timess'];?>
-</span> <?php } else {
-echo $_smarty_tpl->tpl_vars['v']->value['timess'];
-}?>
-<?php }?>
-
-<?php if ($_smarty_tpl->tpl_vars['v']->value['downtime']) {?>
-下载了 <?php echo $_smarty_tpl->tpl_vars['v']->value['username'];?>
- 的简历
-<?php }?>
-
-<?php if ($_smarty_tpl->tpl_vars['v']->value['job_name']) {?>
-<?php if ($_smarty_tpl->tpl_vars['v']->value['eid']) {?>申请了<?php } else { ?>收藏了<?php }?> <?php echo $_smarty_tpl->tpl_vars['v']->value['job_name'];?>
- 职位
-<?php }?>
-
-<?php if ($_smarty_tpl->tpl_vars['v']->value['jobid']) {?>
-浏览了 <?php echo $_smarty_tpl->tpl_vars['v']->value['jobname'];?>
- 职位
-<?php }?>
-
-<?php if ($_smarty_tpl->tpl_vars['v']->value['resume_id']) {?>
-浏览了 <?php echo $_smarty_tpl->tpl_vars['v']->value['username'];?>
- 简历
-<?php }?>
-
-<?php if ($_smarty_tpl->tpl_vars['v']->value['order_time']) {?>
-充值了 <?php echo $_smarty_tpl->tpl_vars['v']->value['order_price'];?>
-
-<?php }?>
-</li>
-<?php } ?>
-</ul>
-
-<?php } elseif (($_smarty_tpl->tpl_vars['type']->value=="rz")) {?>
-
-<ul class="right_web_list">
-<?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
-<li>会员 <?php echo $_smarty_tpl->tpl_vars['v']->value['username'];?>
- 在
-<?php if ($_smarty_tpl->tpl_vars['v']->value['ctime']) {?>
-<?php if ($_smarty_tpl->tpl_vars['v']->value['time']<60) {?> <span style="color:red;"><?php echo $_smarty_tpl->tpl_vars['v']->value['time'];?>
-</span> <?php } else {
-echo $_smarty_tpl->tpl_vars['v']->value['time'];
-}?>
-<?php }?>
-<?php echo $_smarty_tpl->tpl_vars['v']->value['content'];?>
-</li>
-<?php } ?>
-</ul>
-<?php }?>
-</body>
-</html><?php }} ?>
diff --git a/data/templates_c/7fad852e220f05269cb70d35def311ecb46320e5.file.index_header.htm.php b/data/templates_c/7fad852e220f05269cb70d35def311ecb46320e5.file.index_header.htm.php
deleted file mode 100644
index 2a32348..0000000
--- a/data/templates_c/7fad852e220f05269cb70d35def311ecb46320e5.file.index_header.htm.php
+++ /dev/null
@@ -1,671 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:09:55
- compiled from "E:\ishangstudywebs\zhaopin\app\template\default\index_header.htm" */ ?>
-<?php /*%%SmartyHeaderCode:16467ff73e3523965-33266138%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '7fad852e220f05269cb70d35def311ecb46320e5' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\default\\index_header.htm',
- 1 => 1634883842,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '16467ff73e3523965-33266138',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'maplist' => 0,
- 'navlist_app' => 0,
- 'keylist' => 0,
- 'usertype' => 0,
- 'navlist' => 0,
- 'style' => 0,
- 'nlist' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff73e3552d64_51788802',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff73e3552d64_51788802')) {function content_67ff73e3552d64_51788802($_smarty_tpl) {?><?php if (!is_callable('smarty_function_url')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\function.url.php';
-if (!is_callable('smarty_function_listurl')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\function.listurl.php';
-?><?php echo '<script'; ?>
->
-var weburl="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-",
- user_sqintegrity="<?php echo $_smarty_tpl->tpl_vars['config']->value['user_sqintegrity'];?>
-",
- integral_pricename='<?php echo $_smarty_tpl->tpl_vars['config']->value['integral_pricename'];?>
-',
- pricename='<?php echo $_smarty_tpl->tpl_vars['config']->value['integral_pricename'];?>
-',
- code_web='<?php echo $_smarty_tpl->tpl_vars['config']->value['code_web'];?>
-',
- code_kind='<?php echo $_smarty_tpl->tpl_vars['config']->value['code_kind'];?>
-';
-<?php echo '</script'; ?>
->
-<div class="yun_new_top">
- <div class="yun_new_cont">
- <div class="yun_new_left">
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_web_site']=='1') {?>
- <span class="fl">
- <span class="yun_new_left_city" id="substation_city_id"></span>
- <input type="hidden" id="indexdir" value="<?php echo $_GET['indexdir'];?>
-">
- </span>
- <?php }?>
-电话:<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_freewebtel'];?>
-
-</div>
- <div class="yun_new_right" id = "login_head_div">
- <div class="yun_topNav fr">
- <a class="yun_navMore" href="javascript:;">网站导航</a>
- <div class="yun_webMoredown none">
- <div class="yun_top_nav_box">
- <ul class="yun_top_nav_box_l">
- <?php $_smarty_tpl->tpl_vars['maplist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['maplist']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
-global $db,$db_config,$config;$paramer=array("key"=>"'key'","item"=>"'maplist'","nocache"=>"")
-;
- include(PLUS_PATH."/navmap.cache.php");$Navlist=array();
- if(is_array($navmap)){
- $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
- $paramer = $ParamerArr[arr];
- $Purl = $ParamerArr[purl];
- }
- //默认调用头部导航
- $Navlist =$navmap[0];
- if(is_array($navmap)){
- foreach($navmap as $k=>$v){
- foreach($Navlist as $key=>$val){
- if($k==$val[id]){
- foreach($v as $kk=>$value){
- if($value[type]=='1'){
- if($config[sy_seo_rewrite]=="1" && $value[furl]!=''){
- $v[$kk][url] = $config[sy_weburl]."/".$value[furl];
- }else{
- $v[$kk][url] = $config[sy_weburl]."/".$value[url];
- }
- }
- }
- $Navlist[$key]['list'][]=$v;
- }
- }
- }
- foreach($Navlist as $key=>$value){
- if($value[type]=='1'){
- if($config[sy_seo_rewrite]=="1" && $value[furl]!=''){
- $Navlist[$key][url] = $config[sy_weburl]."/".$value[furl];
- }else{
- $Navlist[$key][url] = $config[sy_weburl]."/".$value[url];
- }
- }
- }
- }$Navlist = $Navlist; if (!is_array($Navlist) && !is_object($Navlist)) { settype($Navlist, 'array');}
-foreach ($Navlist as $_smarty_tpl->tpl_vars['maplist']->key => $_smarty_tpl->tpl_vars['maplist']->value) {
-$_smarty_tpl->tpl_vars['maplist']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['maplist']->key;
-?>
- <li><a href="<?php echo $_smarty_tpl->tpl_vars['maplist']->value['url'];?>
-" <?php if ($_smarty_tpl->tpl_vars['maplist']->value['eject']) {?> target="_blank"<?php }?>><?php echo $_smarty_tpl->tpl_vars['maplist']->value['name'];?>
- </a> </li>
- <?php } ?>
- </ul>
- <ul class="yun_top_nav_box_wx">
- <?php $_smarty_tpl->tpl_vars['navlist_app'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['navlist_app']->_loop = false;
-global $db,$db_config,$config;include(PLUS_PATH."/menu.cache.php");$Navlist=array();
- if(is_array($menu_name)){
- $paramer=array("item"=>"'navlist_app'","hovclass"=>"'nav_list_hover'","nid"=>"11","nocache"=>"")
-;
- $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
- $paramer = $ParamerArr[arr];
- $Purl = $ParamerArr[purl];
-
- foreach($menu_name[12] as $key=>$val){
-
- if($val['type']=='2'){
- if($config['sy_seo_rewrite']=="1" && $val[furl]!=''){
- $menu_name[12][$key]['url'] = $val[furl];
- }else{
- $menu_name[12][$key]['url'] = $val['url'];
- }
- $menu_name[12][$key][navclass] = navcalss($val,$paramer[hovclass]);
- }
- }
- foreach($menu_name[1] as $key=>$value){
- if($value['url']=="/"){
- $value['url']="";
- }
- if($value['type']=='1'){
- if($config['sy_seo_rewrite']=="1" && $value['furl']!=''){
- $menu_name[1][$key]['url'] = $config[sy_weburl]."/".$value['furl'];
- }else{
- $menu_name[1][$key]['url'] = $config[sy_weburl]."/".$value['url'];
- }
- $menu_name[1][$key][navclass] = navcalss($value,$paramer[hovclass]);
- }
- }
- foreach($menu_name[2] as $key=>$value){
- if($value['url']=="/"){
- $value['url']="";
- }
- if($value['type']=='1'){
- if($config['sy_seo_rewrite']=="1" && $value['furl']!=''){
- $menu_name[2][$key]['url'] = $config[sy_weburl]."/".$value['furl'];
- }else{
- $menu_name[2][$key]['url'] = $config[sy_weburl]."/".$value['url'];
- }
- $menu_name[2][$key][navclass] = navcalss($value,$paramer[hovclass]);
- }
- }
- $isCurrentFind=false;
- foreach($menu_name[4] as $key=>$value){
- if($value['url']=="/"){
- $value['url']="";
- }
- if($value['type']=='1' && $value['furl']!=''){
- if($config['sy_seo_rewrite']=="1"){
- $menu_name[4][$key]['url'] = $config[sy_weburl]."/".$value['furl'];
- }else{
- $menu_name[4][$key]['url'] = $config[sy_weburl]."/".$value['url'];
- }
- }
- if($isCurrentFind==false){
- $menu_name[4][$key][navclass] = navcalss($value,$paramer[hovclass]);
- }
- if($menu_name[4][$key][navclass]){
- $isCurrentFind=true;
- }
- }
- foreach($menu_name[5] as $key=>$value){
- if($value['url']=="/"){
- $value['url']="";
- }
- if($value['type']=='1'){
- if($config['sy_seo_rewrite']=="1" && $value['furl']!=''){
- $menu_name[5][$key]['url'] = $config[sy_weburl]."/".$value['furl'];
- }else{
- $menu_name[5][$key]['url'] = $config[sy_weburl]."/".$value['url'];
- }
- $menu_name[5][$key][navclass] = navcalss($value,$paramer[hovclass]);
- }
- }
- }
- //默认调用头部导航
- if($paramer[nid]){
- $Navlist =$menu_name[$paramer[nid]];
- }else{
- $Navlist =$menu_name[1];
- }$Navlist = $Navlist; if (!is_array($Navlist) && !is_object($Navlist)) { settype($Navlist, 'array');}
-foreach ($Navlist as $_smarty_tpl->tpl_vars['navlist_app']->key => $_smarty_tpl->tpl_vars['navlist_app']->value) {
-$_smarty_tpl->tpl_vars['navlist_app']->_loop = true;
-?>
- <li>
- <a class="move_0<?php echo $_smarty_tpl->tpl_vars['navlist_app']->value['sort'];?>
-" <?php if ($_smarty_tpl->tpl_vars['navlist_app']->value['eject']) {?> target="_blank"<?php }?> href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['navlist_app']->value['url'];?>
-"><?php echo $_smarty_tpl->tpl_vars['navlist_app']->value['name'];?>
-</a>
- </li>
- <?php } ?>
- </ul>
-
- </div>
- </div>
- </div>
-
- <span class="yun_new_right_we"><?php echo $_smarty_tpl->tpl_vars['config']->value['sy_webname'];?>
-欢迎您!</span>
-
-
- <a href="<?php echo smarty_function_url(array('m'=>'index','c'=>'wap'),$_smarty_tpl);?>
-" class="yun_new_right_wap">手机端</a>
- <span id="login_head_id"></span>
-
- </div>
- </div>
-</div>
-<!--top end-->
-<!--header 6.0-->
-<div class="yunheader_60">
- <div class="w1200">
- <div class="yunheader_60logo fl"><a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-"
- title="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_webname'];?>
-最新招聘求职信息"><img
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_logo'];?>
-" alt="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_webname'];?>
-" /></a>
- </div>
-
-
-
-
- <div class="hp_head_search fl">
- <div class="hp_head_searchbor">
- <form action="<?php if (!$_smarty_tpl->tpl_vars['config']->value['sy_jobdir']) {?>index.php<?php } else {
-echo smarty_function_url(array('m'=>'job'),$_smarty_tpl);
-}?>"
- method="get" onsubmit="return search_keyword(this);" id="index_search_form">
- <input type="hidden" <?php if (!$_smarty_tpl->tpl_vars['config']->value['sy_jobdir']) {?>name="m"<?php }?> value="job" id="m" />
- <input type="hidden" name="c" value="search" id="search" />
-
- <div class="hp_head_search_job fl">
- <span class="hp_head_search_job_b" id="search_name">职位</span>
- <div class="index_header_seach_find_list yunHeaderSearch_list_box none">
-
- <a href="javascript:void(0)" onclick="top_search('job', '找工作', '<?php echo smarty_function_url(array('m'=>'job'),$_smarty_tpl);?>
-', '<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_job_web'];?>
-', '<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_jobdir'];?>
-'); $('#search').attr('name', 'c');">找工作</a>
-
- <a href="javascript:void(0)" onclick="top_search('resume', '找人才', '<?php echo smarty_function_url(array('m'=>'resume'),$_smarty_tpl);?>
-', '<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_resume_web'];?>
-', '<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_resumedir'];?>
-'); $('#search').attr('name', 'c');">找人才</a>
-
- <a href="javascript:void(0)" onclick="top_search('tiny', '普工简历', '<?php echo smarty_function_url(array('m'=>'tiny'),$_smarty_tpl);?>
-', '<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_tiny_web'];?>
-', '<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_tinydir'];?>
-'); $('#search').attr('name', '');">普工简历</a>
-
- <a href="javascript:void(0)" onclick="top_search('article', '新闻', '<?php echo smarty_function_url(array('m'=>'article'),$_smarty_tpl);?>
-', '<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_article_web'];?>
-', '<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_articledir'];?>
-');" class="none">新闻</a>
-
- <a href="javascript:void(0)" onclick="top_search('once', '店铺招聘', '<?php echo smarty_function_url(array('m'=>'once'),$_smarty_tpl);?>
-', '<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_once_web'];?>
-', '<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_oncedir'];?>
-'); $('#search').attr('name', '');">店铺招聘</a>
- </div>
- </div>
-
-
- <input class="hp_head_search_text fl" type="text" name="keyword" value="<?php echo $_GET['keyword'];?>
-"
- placeholder="请输入要搜索的关键字,如 会计,仓管,设计师等">
- <input class="hp_head_search_sr fl" type="submit" value="搜索" style=" float:right" />
-
- </form>
- </div>
- <div class="clear"></div>
- <div class="hp_head_search_bom">
- <div class="hp_head_search_bom_left">
- <span style="color: #a4a1a1;">热搜职位:</span>
- <?php $_smarty_tpl->tpl_vars['keylist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['keylist']->_loop = false;
-global $config;$paramer=array("limit"=>"6","recom"=>"1","type"=>"3","item"=>"'keylist'","nocache"=>"")
-;$list=array();
-
- $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
- $paramer = $ParamerArr[arr];
- //是否推荐
- if($paramer[recom]){
- $tuijian = 1;
- }
- //类别
- if($paramer[type]){
- $type = $paramer[type];
- }
- //查询条数
- if($paramer[limit]){
- $limit=$paramer[limit];
- }else{
- $limit=5;
- }
- include PLUS_PATH."/keyword.cache.php";
- if($paramer[iswap]){
- $wap = "/wap";
- }else{
- $index =1;
- }
- if(is_array($keyword)){
- if($paramer[iswap]){
- $i=0;
- foreach($keyword as $k=>$v){
- if($tuijian && $v[tuijian]!=1){
- continue;
- }
- if($type && $v[type]!=$type){
- continue;
- }
-
- $i++;
- if($v[type]=="1"){
- $v[url] = Url("wap",array("c"=>"once","keyword"=>$v['key_name']));
- $v[type_name]='店铺招聘';
- }elseif($v['type']=="13"){
- $v['url'] = Url("wap",array("c"=>"tiny","keyword"=>$v['key_name']));
- $v['type_name']='普工简历';
- }elseif($v[type]=="3"){
- $v[url] = Url("wap",array("c"=>"job","keyword"=>$v['key_name']));
- $v[type_name]='职位';
- }elseif($v['type']=="4"){
- $v['url'] = Url("wap",array("c"=>"company","keyword"=>$v['key_name']));
- $v['type_name']='公司';
- }elseif($v['type']=="5"){
- $v['url'] = Url("wap",array("c"=>"resume","keyword"=>$v['key_name']));
- $v['type_name']='人才';
- }
- $v['key_title']=$v['key_name'];
- if($v['color']){
- $v['key_name']="<font color='".$v['color']."'>".$v['key_name']."</font>";
- }
- $list[] = $v;
- if($i==$limit){
- break;
- }
- }
- }else{
- $i=0;
- foreach($keyword as $k=>$v){
- if($tuijian && $v['tuijian']!=1){
- continue;
- }
- if($type && $v['type']!=$type){
- continue;
- }
- $i++;
- if($v['type']=="1"){
- $v['url'] = Url("once",array("keyword"=>$v['key_name']));
- $v['type_name']='店铺招聘';
- }elseif($v['type']=="2"){
- $v['url'] = Url("part",array("keyword"=>$v['key_name']));
- $v['type_name']='兼职';
- }elseif($v['type']=="13"){
- $v['url'] = Url("tiny",array("keyword"=>$v['key_name']));
- $v['type_name']='普工简历';
- }elseif($v['type']=="3"){
- $v['url'] = Url("job",array("c"=>"search","keyword"=>$v['key_name']));
- $v['type_name']='职位';
- }elseif($v['type']=="4"){
- $v['url'] = Url("company",array("keyword"=>$v['key_name']));
- $v['type_name']='公司';
- }elseif($v['type']=="5"){
- $v['url'] = Url("resume",array("c"=>"search","keyword"=>$v['key_name']));
- $v['type_name']='人才';
- }elseif($v['type']=="6"){
- $v['url'] = Url("lietou",array("c"=>"service","keyword"=>$v['key_name']));
- $v['type_name']='猎头';
- }elseif($v['type']=="7"){
- $v['url'] = Url("lietou",array("c"=>"post","keyword"=>$v['key_name']));
- $v['type_name']='猎头职位';
- }else if($v['type']=="9"){
- $v['url'] = Url("train",array("c"=>"subject","keyword"=>$v['key_name']));
- $v['type_name']='培训课程';
- }else if($v['type']=="10"){
- $v['url'] = Url("train",array("c"=>"agency","keyword"=>$v['key_name']));
- $v['type_name']='培训机构';
- }else if($v['type']=="11"){
- $v['url'] = Url("train",array("c"=>"teacher","keyword"=>$v['key_name']));
- $v['type_name']='培训师';
- }else if($v['type']=="12"){
- $v['url'] = Url("ask",array("c"=>"search","keyword"=>$v['key_name']));
- $v['type_name']='问答';
- }
- $v['key_title']=$v['key_name'];
- if($v['color']){
- $v['key_name']="<font color='".$v['color']."'>".$v['key_name']."</font>";
- }
-
- $list[] = $v;
- if($i==$limit){
- break;
- }
- }
- }
- }$list = $list; if (!is_array($list) && !is_object($list)) { settype($list, 'array');}
-foreach ($list as $_smarty_tpl->tpl_vars['keylist']->key => $_smarty_tpl->tpl_vars['keylist']->value) {
-$_smarty_tpl->tpl_vars['keylist']->_loop = true;
-?>
- <a href="<?php echo smarty_function_listurl(array('type'=>'keyword','v'=>$_smarty_tpl->tpl_vars['keylist']->value['key_title']),$_smarty_tpl);?>
-" class="" title="<?php echo $_smarty_tpl->tpl_vars['keylist']->value['key_title'];?>
-"><?php echo $_smarty_tpl->tpl_vars['keylist']->value['key_name'];?>
-</a>
- <?php } ?>
- </div>
- <div class="yun_new_header_search_more moreOptions">
- <div class="">
- <a href="<?php echo smarty_function_url(array('m'=>'job'),$_smarty_tpl);?>
-">职位遍历 </a>
- <a href="<?php echo smarty_function_url(array('m'=>'map'),$_smarty_tpl);?>
-">地图搜索</a>
- <?php if ($_smarty_tpl->tpl_vars['usertype']->value==1) {?>
- <a href="<?php echo smarty_function_url(array('m'=>'member','c'=>'finder','act'=>'edit'),$_smarty_tpl);?>
-">高级搜索</a>
- <?php } else { ?>
- <a href="<?php echo smarty_function_url(array('m'=>'job'),$_smarty_tpl);?>
-">高级搜索</a>
- <?php }?>
- </div>
- </div>
- </div>
-
- </div>
- <div class="yunheader_60wx "> <div class="yunheader_60wx_box "><img src="<?php if ($_smarty_tpl->tpl_vars['config']->value['sy_wx_qcode']) {
-echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_wx_qcode'];
-}?>" ></div> </div>
-
-
- <div class="yunheader_60nav">
- <ul>
- <?php $_smarty_tpl->tpl_vars['navlist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['navlist']->_loop = false;
-global $db,$db_config,$config;include(PLUS_PATH."/menu.cache.php");$Navlist=array();
- if(is_array($menu_name)){
- $paramer=array("item"=>"'navlist'","hovclass"=>"'nav_list_hover'","nid"=>"1","nocache"=>"")
-;
- $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
- $paramer = $ParamerArr[arr];
- $Purl = $ParamerArr[purl];
-
- foreach($menu_name[12] as $key=>$val){
-
- if($val['type']=='2'){
- if($config['sy_seo_rewrite']=="1" && $val[furl]!=''){
- $menu_name[12][$key]['url'] = $val[furl];
- }else{
- $menu_name[12][$key]['url'] = $val['url'];
- }
- $menu_name[12][$key][navclass] = navcalss($val,$paramer[hovclass]);
- }
- }
- foreach($menu_name[1] as $key=>$value){
- if($value['url']=="/"){
- $value['url']="";
- }
- if($value['type']=='1'){
- if($config['sy_seo_rewrite']=="1" && $value['furl']!=''){
- $menu_name[1][$key]['url'] = $config[sy_weburl]."/".$value['furl'];
- }else{
- $menu_name[1][$key]['url'] = $config[sy_weburl]."/".$value['url'];
- }
- $menu_name[1][$key][navclass] = navcalss($value,$paramer[hovclass]);
- }
- }
- foreach($menu_name[2] as $key=>$value){
- if($value['url']=="/"){
- $value['url']="";
- }
- if($value['type']=='1'){
- if($config['sy_seo_rewrite']=="1" && $value['furl']!=''){
- $menu_name[2][$key]['url'] = $config[sy_weburl]."/".$value['furl'];
- }else{
- $menu_name[2][$key]['url'] = $config[sy_weburl]."/".$value['url'];
- }
- $menu_name[2][$key][navclass] = navcalss($value,$paramer[hovclass]);
- }
- }
- $isCurrentFind=false;
- foreach($menu_name[4] as $key=>$value){
- if($value['url']=="/"){
- $value['url']="";
- }
- if($value['type']=='1' && $value['furl']!=''){
- if($config['sy_seo_rewrite']=="1"){
- $menu_name[4][$key]['url'] = $config[sy_weburl]."/".$value['furl'];
- }else{
- $menu_name[4][$key]['url'] = $config[sy_weburl]."/".$value['url'];
- }
- }
- if($isCurrentFind==false){
- $menu_name[4][$key][navclass] = navcalss($value,$paramer[hovclass]);
- }
- if($menu_name[4][$key][navclass]){
- $isCurrentFind=true;
- }
- }
- foreach($menu_name[5] as $key=>$value){
- if($value['url']=="/"){
- $value['url']="";
- }
- if($value['type']=='1'){
- if($config['sy_seo_rewrite']=="1" && $value['furl']!=''){
- $menu_name[5][$key]['url'] = $config[sy_weburl]."/".$value['furl'];
- }else{
- $menu_name[5][$key]['url'] = $config[sy_weburl]."/".$value['url'];
- }
- $menu_name[5][$key][navclass] = navcalss($value,$paramer[hovclass]);
- }
- }
- }
- //默认调用头部导航
- if($paramer[nid]){
- $Navlist =$menu_name[$paramer[nid]];
- }else{
- $Navlist =$menu_name[1];
- }$Navlist = $Navlist; if (!is_array($Navlist) && !is_object($Navlist)) { settype($Navlist, 'array');}
-foreach ($Navlist as $_smarty_tpl->tpl_vars['navlist']->key => $_smarty_tpl->tpl_vars['navlist']->value) {
-$_smarty_tpl->tpl_vars['navlist']->_loop = true;
-?>
- <li class="<?php echo $_smarty_tpl->tpl_vars['navlist']->value['navclass'];?>
-">
- <a href="<?php echo $_smarty_tpl->tpl_vars['navlist']->value['url'];?>
-" <?php if ($_smarty_tpl->tpl_vars['navlist']->value['eject']) {?> target="_blank" <?php }?> class="png"> <?php echo $_smarty_tpl->tpl_vars['navlist']->value['name'];?>
- </a>
- <?php if ($_smarty_tpl->tpl_vars['navlist']->value['model']=="new") {?>
- <div class="nav_icon nav_icon_new"> <img src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/images/new.gif"> </div>
- <?php } elseif ($_smarty_tpl->tpl_vars['navlist']->value['model']=="hot") {?>
- <div class="nav_icon nav_icon_hot"> <img src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/images/hotn.gif"> </div>
- <?php }?>
- <i class="yun_new_headernav_list_line"></i>
- </li>
- <?php } ?>
- </ul>
- </div>
- </div>
-</div>
-
-<?php if ($_smarty_tpl->tpl_vars['config']->value['sy_header_fix']=='1') {?>
-<!--滚动展示内容-->
-<div class="header_fixed yun_bg_color none" id="header_fix">
- <div class="header_fixed_cont">
- <ul class="header_fixed_list">
- <?php $_smarty_tpl->tpl_vars['nlist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['nlist']->_loop = false;
-global $db,$db_config,$config;include(PLUS_PATH."/menu.cache.php");$Navlist=array();
- if(is_array($menu_name)){
- $paramer=array("item"=>"'nlist'","hovclass"=>"'header_fixed_list_cur'","nid"=>"1","nocache"=>"")
-;
- $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
- $paramer = $ParamerArr[arr];
- $Purl = $ParamerArr[purl];
-
- foreach($menu_name[12] as $key=>$val){
-
- if($val['type']=='2'){
- if($config['sy_seo_rewrite']=="1" && $val[furl]!=''){
- $menu_name[12][$key]['url'] = $val[furl];
- }else{
- $menu_name[12][$key]['url'] = $val['url'];
- }
- $menu_name[12][$key][navclass] = navcalss($val,$paramer[hovclass]);
- }
- }
- foreach($menu_name[1] as $key=>$value){
- if($value['url']=="/"){
- $value['url']="";
- }
- if($value['type']=='1'){
- if($config['sy_seo_rewrite']=="1" && $value['furl']!=''){
- $menu_name[1][$key]['url'] = $config[sy_weburl]."/".$value['furl'];
- }else{
- $menu_name[1][$key]['url'] = $config[sy_weburl]."/".$value['url'];
- }
- $menu_name[1][$key][navclass] = navcalss($value,$paramer[hovclass]);
- }
- }
- foreach($menu_name[2] as $key=>$value){
- if($value['url']=="/"){
- $value['url']="";
- }
- if($value['type']=='1'){
- if($config['sy_seo_rewrite']=="1" && $value['furl']!=''){
- $menu_name[2][$key]['url'] = $config[sy_weburl]."/".$value['furl'];
- }else{
- $menu_name[2][$key]['url'] = $config[sy_weburl]."/".$value['url'];
- }
- $menu_name[2][$key][navclass] = navcalss($value,$paramer[hovclass]);
- }
- }
- $isCurrentFind=false;
- foreach($menu_name[4] as $key=>$value){
- if($value['url']=="/"){
- $value['url']="";
- }
- if($value['type']=='1' && $value['furl']!=''){
- if($config['sy_seo_rewrite']=="1"){
- $menu_name[4][$key]['url'] = $config[sy_weburl]."/".$value['furl'];
- }else{
- $menu_name[4][$key]['url'] = $config[sy_weburl]."/".$value['url'];
- }
- }
- if($isCurrentFind==false){
- $menu_name[4][$key][navclass] = navcalss($value,$paramer[hovclass]);
- }
- if($menu_name[4][$key][navclass]){
- $isCurrentFind=true;
- }
- }
- foreach($menu_name[5] as $key=>$value){
- if($value['url']=="/"){
- $value['url']="";
- }
- if($value['type']=='1'){
- if($config['sy_seo_rewrite']=="1" && $value['furl']!=''){
- $menu_name[5][$key]['url'] = $config[sy_weburl]."/".$value['furl'];
- }else{
- $menu_name[5][$key]['url'] = $config[sy_weburl]."/".$value['url'];
- }
- $menu_name[5][$key][navclass] = navcalss($value,$paramer[hovclass]);
- }
- }
- }
- //默认调用头部导航
- if($paramer[nid]){
- $Navlist =$menu_name[$paramer[nid]];
- }else{
- $Navlist =$menu_name[1];
- }$Navlist = $Navlist; if (!is_array($Navlist) && !is_object($Navlist)) { settype($Navlist, 'array');}
-foreach ($Navlist as $_smarty_tpl->tpl_vars['nlist']->key => $_smarty_tpl->tpl_vars['nlist']->value) {
-$_smarty_tpl->tpl_vars['nlist']->_loop = true;
-?>
- <li class="<?php echo $_smarty_tpl->tpl_vars['nlist']->value['navclass'];?>
-">
- <a href="<?php echo $_smarty_tpl->tpl_vars['nlist']->value['url'];?>
-" <?php if ($_smarty_tpl->tpl_vars['nlist']->value['eject']) {?> target="_blank" <?php }?>><?php echo $_smarty_tpl->tpl_vars['nlist']->value['name'];?>
- </a>
- </li>
- <?php } ?>
- </ul>
-</div>
-<div class="header_fixed_close"><a href="javascript:;" onclick="$('#header_fix').remove();" rel="nofollow">关闭</a></div>
-</div>
-<!--滚动展示内容 end-->
-<?php }?><?php }} ?>
diff --git a/data/templates_c/844a7391c57137a67f3ef1e5f57351b437aa2e44.file.header.htm.php b/data/templates_c/844a7391c57137a67f3ef1e5f57351b437aa2e44.file.header.htm.php
deleted file mode 100644
index 4099b0e..0000000
--- a/data/templates_c/844a7391c57137a67f3ef1e5f57351b437aa2e44.file.header.htm.php
+++ /dev/null
@@ -1,443 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:17:07
- compiled from "E:\ishangstudywebs\zhaopin\app\template\default\header.htm" */ ?>
-<?php /*%%SmartyHeaderCode:209967ff759360e8a9-38696417%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '844a7391c57137a67f3ef1e5f57351b437aa2e44' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\default\\header.htm',
- 1 => 1634883842,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '209967ff759360e8a9-38696417',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'maplist' => 0,
- 'navlist_app' => 0,
- 'navlist' => 0,
- 'style' => 0,
- 'nlist' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff7593627429_39222929',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff7593627429_39222929')) {function content_67ff7593627429_39222929($_smarty_tpl) {?><?php if (!is_callable('smarty_function_url')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\function.url.php';
-?><div class="yun_new_top">
- <div class="yun_new_cont">
- <div class="yun_new_left">
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_web_site']=='1') {?>
- <span class="fl">
- <span class="yun_new_left_city" id="substation_city_id"></span>
- <input type="hidden" id="indexdir" value="<?php echo $_GET['indexdir'];?>
-">
- </span>
- <?php }?>
-电话:<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_freewebtel'];?>
-
-</div>
- <div class="yun_new_right" id = "login_head_div">
- <div class="yun_topNav fr">
- <a class="yun_navMore" href="javascript:;">网站导航</a>
- <div class="yun_webMoredown none">
- <div class="yun_top_nav_box">
- <ul class="yun_top_nav_box_l">
- <?php $_smarty_tpl->tpl_vars['maplist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['maplist']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
-global $db,$db_config,$config;$paramer=array("key"=>"'key'","item"=>"'maplist'","nocache"=>"")
-;
- include(PLUS_PATH."/navmap.cache.php");$Navlist=array();
- if(is_array($navmap)){
- $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
- $paramer = $ParamerArr[arr];
- $Purl = $ParamerArr[purl];
- }
- //默认调用头部导航
- $Navlist =$navmap[0];
- if(is_array($navmap)){
- foreach($navmap as $k=>$v){
- foreach($Navlist as $key=>$val){
- if($k==$val[id]){
- foreach($v as $kk=>$value){
- if($value[type]=='1'){
- if($config[sy_seo_rewrite]=="1" && $value[furl]!=''){
- $v[$kk][url] = $config[sy_weburl]."/".$value[furl];
- }else{
- $v[$kk][url] = $config[sy_weburl]."/".$value[url];
- }
- }
- }
- $Navlist[$key]['list'][]=$v;
- }
- }
- }
- foreach($Navlist as $key=>$value){
- if($value[type]=='1'){
- if($config[sy_seo_rewrite]=="1" && $value[furl]!=''){
- $Navlist[$key][url] = $config[sy_weburl]."/".$value[furl];
- }else{
- $Navlist[$key][url] = $config[sy_weburl]."/".$value[url];
- }
- }
- }
- }$Navlist = $Navlist; if (!is_array($Navlist) && !is_object($Navlist)) { settype($Navlist, 'array');}
-foreach ($Navlist as $_smarty_tpl->tpl_vars['maplist']->key => $_smarty_tpl->tpl_vars['maplist']->value) {
-$_smarty_tpl->tpl_vars['maplist']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['maplist']->key;
-?>
- <li><a href="<?php echo $_smarty_tpl->tpl_vars['maplist']->value['url'];?>
-" <?php if ($_smarty_tpl->tpl_vars['maplist']->value['eject']) {?> target="_blank"<?php }?>><?php echo $_smarty_tpl->tpl_vars['maplist']->value['name'];?>
- </a> </li>
- <?php } ?>
- </ul>
- <ul class="yun_top_nav_box_wx">
- <?php $_smarty_tpl->tpl_vars['navlist_app'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['navlist_app']->_loop = false;
-global $db,$db_config,$config;include(PLUS_PATH."/menu.cache.php");$Navlist=array();
- if(is_array($menu_name)){
- $paramer=array("item"=>"'navlist_app'","hovclass"=>"'nav_list_hover'","nid"=>"11","nocache"=>"")
-;
- $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
- $paramer = $ParamerArr[arr];
- $Purl = $ParamerArr[purl];
-
- foreach($menu_name[12] as $key=>$val){
-
- if($val['type']=='2'){
- if($config['sy_seo_rewrite']=="1" && $val[furl]!=''){
- $menu_name[12][$key]['url'] = $val[furl];
- }else{
- $menu_name[12][$key]['url'] = $val['url'];
- }
- $menu_name[12][$key][navclass] = navcalss($val,$paramer[hovclass]);
- }
- }
- foreach($menu_name[1] as $key=>$value){
- if($value['url']=="/"){
- $value['url']="";
- }
- if($value['type']=='1'){
- if($config['sy_seo_rewrite']=="1" && $value['furl']!=''){
- $menu_name[1][$key]['url'] = $config[sy_weburl]."/".$value['furl'];
- }else{
- $menu_name[1][$key]['url'] = $config[sy_weburl]."/".$value['url'];
- }
- $menu_name[1][$key][navclass] = navcalss($value,$paramer[hovclass]);
- }
- }
- foreach($menu_name[2] as $key=>$value){
- if($value['url']=="/"){
- $value['url']="";
- }
- if($value['type']=='1'){
- if($config['sy_seo_rewrite']=="1" && $value['furl']!=''){
- $menu_name[2][$key]['url'] = $config[sy_weburl]."/".$value['furl'];
- }else{
- $menu_name[2][$key]['url'] = $config[sy_weburl]."/".$value['url'];
- }
- $menu_name[2][$key][navclass] = navcalss($value,$paramer[hovclass]);
- }
- }
- $isCurrentFind=false;
- foreach($menu_name[4] as $key=>$value){
- if($value['url']=="/"){
- $value['url']="";
- }
- if($value['type']=='1' && $value['furl']!=''){
- if($config['sy_seo_rewrite']=="1"){
- $menu_name[4][$key]['url'] = $config[sy_weburl]."/".$value['furl'];
- }else{
- $menu_name[4][$key]['url'] = $config[sy_weburl]."/".$value['url'];
- }
- }
- if($isCurrentFind==false){
- $menu_name[4][$key][navclass] = navcalss($value,$paramer[hovclass]);
- }
- if($menu_name[4][$key][navclass]){
- $isCurrentFind=true;
- }
- }
- foreach($menu_name[5] as $key=>$value){
- if($value['url']=="/"){
- $value['url']="";
- }
- if($value['type']=='1'){
- if($config['sy_seo_rewrite']=="1" && $value['furl']!=''){
- $menu_name[5][$key]['url'] = $config[sy_weburl]."/".$value['furl'];
- }else{
- $menu_name[5][$key]['url'] = $config[sy_weburl]."/".$value['url'];
- }
- $menu_name[5][$key][navclass] = navcalss($value,$paramer[hovclass]);
- }
- }
- }
- //默认调用头部导航
- if($paramer[nid]){
- $Navlist =$menu_name[$paramer[nid]];
- }else{
- $Navlist =$menu_name[1];
- }$Navlist = $Navlist; if (!is_array($Navlist) && !is_object($Navlist)) { settype($Navlist, 'array');}
-foreach ($Navlist as $_smarty_tpl->tpl_vars['navlist_app']->key => $_smarty_tpl->tpl_vars['navlist_app']->value) {
-$_smarty_tpl->tpl_vars['navlist_app']->_loop = true;
-?>
- <li>
- <a class="move_0<?php echo $_smarty_tpl->tpl_vars['navlist_app']->value['sort'];?>
-" <?php if ($_smarty_tpl->tpl_vars['navlist_app']->value['eject']) {?> target="_blank"<?php }?> href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['navlist_app']->value['url'];?>
-"><?php echo $_smarty_tpl->tpl_vars['navlist_app']->value['name'];?>
-</a>
- </li>
- <?php } ?>
- </ul>
-
- </div>
- </div>
- </div>
-
- <span class="yun_new_right_we"><?php echo $_smarty_tpl->tpl_vars['config']->value['sy_webname'];?>
-欢迎您!</span>
-
-
- <a href="<?php echo smarty_function_url(array('m'=>'index','c'=>'wap'),$_smarty_tpl);?>
-" class="yun_new_right_wap">手机端</a>
- <span id="login_head_id"></span>
-
- </div>
- </div>
-</div>
-<!--top end-->
-<div class="hp_head hp_head_box">
- <div class="w1200">
- <div class="hp_head_ft fl">
- <div class="phpyun_logo fl"><a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-"
- title="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_webname'];?>
-最新招聘求职信息"><img
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_logo'];?>
-" alt="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_webname'];?>
-" /></a>
- </div>
-
- </div>
- <div class="yun_header_nav_box">
- <ul>
- <?php $_smarty_tpl->tpl_vars['navlist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['navlist']->_loop = false;
-global $db,$db_config,$config;include(PLUS_PATH."/menu.cache.php");$Navlist=array();
- if(is_array($menu_name)){
- $paramer=array("item"=>"'navlist'","hovclass"=>"'nav_list_hover'","nid"=>"1","nocache"=>"")
-;
- $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
- $paramer = $ParamerArr[arr];
- $Purl = $ParamerArr[purl];
-
- foreach($menu_name[12] as $key=>$val){
-
- if($val['type']=='2'){
- if($config['sy_seo_rewrite']=="1" && $val[furl]!=''){
- $menu_name[12][$key]['url'] = $val[furl];
- }else{
- $menu_name[12][$key]['url'] = $val['url'];
- }
- $menu_name[12][$key][navclass] = navcalss($val,$paramer[hovclass]);
- }
- }
- foreach($menu_name[1] as $key=>$value){
- if($value['url']=="/"){
- $value['url']="";
- }
- if($value['type']=='1'){
- if($config['sy_seo_rewrite']=="1" && $value['furl']!=''){
- $menu_name[1][$key]['url'] = $config[sy_weburl]."/".$value['furl'];
- }else{
- $menu_name[1][$key]['url'] = $config[sy_weburl]."/".$value['url'];
- }
- $menu_name[1][$key][navclass] = navcalss($value,$paramer[hovclass]);
- }
- }
- foreach($menu_name[2] as $key=>$value){
- if($value['url']=="/"){
- $value['url']="";
- }
- if($value['type']=='1'){
- if($config['sy_seo_rewrite']=="1" && $value['furl']!=''){
- $menu_name[2][$key]['url'] = $config[sy_weburl]."/".$value['furl'];
- }else{
- $menu_name[2][$key]['url'] = $config[sy_weburl]."/".$value['url'];
- }
- $menu_name[2][$key][navclass] = navcalss($value,$paramer[hovclass]);
- }
- }
- $isCurrentFind=false;
- foreach($menu_name[4] as $key=>$value){
- if($value['url']=="/"){
- $value['url']="";
- }
- if($value['type']=='1' && $value['furl']!=''){
- if($config['sy_seo_rewrite']=="1"){
- $menu_name[4][$key]['url'] = $config[sy_weburl]."/".$value['furl'];
- }else{
- $menu_name[4][$key]['url'] = $config[sy_weburl]."/".$value['url'];
- }
- }
- if($isCurrentFind==false){
- $menu_name[4][$key][navclass] = navcalss($value,$paramer[hovclass]);
- }
- if($menu_name[4][$key][navclass]){
- $isCurrentFind=true;
- }
- }
- foreach($menu_name[5] as $key=>$value){
- if($value['url']=="/"){
- $value['url']="";
- }
- if($value['type']=='1'){
- if($config['sy_seo_rewrite']=="1" && $value['furl']!=''){
- $menu_name[5][$key]['url'] = $config[sy_weburl]."/".$value['furl'];
- }else{
- $menu_name[5][$key]['url'] = $config[sy_weburl]."/".$value['url'];
- }
- $menu_name[5][$key][navclass] = navcalss($value,$paramer[hovclass]);
- }
- }
- }
- //默认调用头部导航
- if($paramer[nid]){
- $Navlist =$menu_name[$paramer[nid]];
- }else{
- $Navlist =$menu_name[1];
- }$Navlist = $Navlist; if (!is_array($Navlist) && !is_object($Navlist)) { settype($Navlist, 'array');}
-foreach ($Navlist as $_smarty_tpl->tpl_vars['navlist']->key => $_smarty_tpl->tpl_vars['navlist']->value) {
-$_smarty_tpl->tpl_vars['navlist']->_loop = true;
-?>
- <li class="<?php echo $_smarty_tpl->tpl_vars['navlist']->value['navclass'];?>
-">
- <a href="<?php echo $_smarty_tpl->tpl_vars['navlist']->value['url'];?>
-" <?php if ($_smarty_tpl->tpl_vars['navlist']->value['eject']) {?> target="_blank" <?php }?> class="png"> <?php echo $_smarty_tpl->tpl_vars['navlist']->value['name'];?>
- </a>
- <?php if ($_smarty_tpl->tpl_vars['navlist']->value['model']=="new") {?>
- <div class="nav_icon nav_icon_new"> <img src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/images/new.gif"> </div>
- <?php } elseif ($_smarty_tpl->tpl_vars['navlist']->value['model']=="hot") {?>
- <div class="nav_icon nav_icon_hot"> <img src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/images/hotn.gif"> </div>
- <?php }?>
- <i class="yun_new_headernav_list_line"></i>
- </li>
- <?php } ?>
- </ul>
- </div>
- </div>
-</div>
-
-<?php if ($_smarty_tpl->tpl_vars['config']->value['sy_header_fix']=='1') {?>
-<!--滚动展示内容-->
-<div class="header_fixed yun_bg_color none" id="header_fix">
- <div class="header_fixed_cont">
- <ul class="header_fixed_list">
- <?php $_smarty_tpl->tpl_vars['nlist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['nlist']->_loop = false;
-global $db,$db_config,$config;include(PLUS_PATH."/menu.cache.php");$Navlist=array();
- if(is_array($menu_name)){
- $paramer=array("item"=>"'nlist'","hovclass"=>"'header_fixed_list_cur'","nid"=>"1","nocache"=>"")
-;
- $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
- $paramer = $ParamerArr[arr];
- $Purl = $ParamerArr[purl];
-
- foreach($menu_name[12] as $key=>$val){
-
- if($val['type']=='2'){
- if($config['sy_seo_rewrite']=="1" && $val[furl]!=''){
- $menu_name[12][$key]['url'] = $val[furl];
- }else{
- $menu_name[12][$key]['url'] = $val['url'];
- }
- $menu_name[12][$key][navclass] = navcalss($val,$paramer[hovclass]);
- }
- }
- foreach($menu_name[1] as $key=>$value){
- if($value['url']=="/"){
- $value['url']="";
- }
- if($value['type']=='1'){
- if($config['sy_seo_rewrite']=="1" && $value['furl']!=''){
- $menu_name[1][$key]['url'] = $config[sy_weburl]."/".$value['furl'];
- }else{
- $menu_name[1][$key]['url'] = $config[sy_weburl]."/".$value['url'];
- }
- $menu_name[1][$key][navclass] = navcalss($value,$paramer[hovclass]);
- }
- }
- foreach($menu_name[2] as $key=>$value){
- if($value['url']=="/"){
- $value['url']="";
- }
- if($value['type']=='1'){
- if($config['sy_seo_rewrite']=="1" && $value['furl']!=''){
- $menu_name[2][$key]['url'] = $config[sy_weburl]."/".$value['furl'];
- }else{
- $menu_name[2][$key]['url'] = $config[sy_weburl]."/".$value['url'];
- }
- $menu_name[2][$key][navclass] = navcalss($value,$paramer[hovclass]);
- }
- }
- $isCurrentFind=false;
- foreach($menu_name[4] as $key=>$value){
- if($value['url']=="/"){
- $value['url']="";
- }
- if($value['type']=='1' && $value['furl']!=''){
- if($config['sy_seo_rewrite']=="1"){
- $menu_name[4][$key]['url'] = $config[sy_weburl]."/".$value['furl'];
- }else{
- $menu_name[4][$key]['url'] = $config[sy_weburl]."/".$value['url'];
- }
- }
- if($isCurrentFind==false){
- $menu_name[4][$key][navclass] = navcalss($value,$paramer[hovclass]);
- }
- if($menu_name[4][$key][navclass]){
- $isCurrentFind=true;
- }
- }
- foreach($menu_name[5] as $key=>$value){
- if($value['url']=="/"){
- $value['url']="";
- }
- if($value['type']=='1'){
- if($config['sy_seo_rewrite']=="1" && $value['furl']!=''){
- $menu_name[5][$key]['url'] = $config[sy_weburl]."/".$value['furl'];
- }else{
- $menu_name[5][$key]['url'] = $config[sy_weburl]."/".$value['url'];
- }
- $menu_name[5][$key][navclass] = navcalss($value,$paramer[hovclass]);
- }
- }
- }
- //默认调用头部导航
- if($paramer[nid]){
- $Navlist =$menu_name[$paramer[nid]];
- }else{
- $Navlist =$menu_name[1];
- }$Navlist = $Navlist; if (!is_array($Navlist) && !is_object($Navlist)) { settype($Navlist, 'array');}
-foreach ($Navlist as $_smarty_tpl->tpl_vars['nlist']->key => $_smarty_tpl->tpl_vars['nlist']->value) {
-$_smarty_tpl->tpl_vars['nlist']->_loop = true;
-?>
- <li class="<?php echo $_smarty_tpl->tpl_vars['nlist']->value['navclass'];?>
-">
- <a href="<?php echo $_smarty_tpl->tpl_vars['nlist']->value['url'];?>
-" <?php if ($_smarty_tpl->tpl_vars['nlist']->value['eject']) {?> target="_blank" <?php }?>><?php echo $_smarty_tpl->tpl_vars['nlist']->value['name'];?>
- </a>
- </li>
- <?php } ?>
- </ul>
-</div>
-<div class="header_fixed_close"><a href="javascript:;" onclick="$('#header_fix').remove();" rel="nofollow">关闭</a></div>
-</div>
-<!--滚动展示内容 end-->
-<?php }?><?php }} ?>
diff --git a/data/templates_c/84c393276c827b025457c7655dcc77fc4d0fe482.file.admin_style_list.htm.php b/data/templates_c/84c393276c827b025457c7655dcc77fc4d0fe482.file.admin_style_list.htm.php
deleted file mode 100644
index 72bea13..0000000
--- a/data/templates_c/84c393276c827b025457c7655dcc77fc4d0fe482.file.admin_style_list.htm.php
+++ /dev/null
@@ -1,114 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:16:20
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\admin_style_list.htm" */ ?>
-<?php /*%%SmartyHeaderCode:196167ff7564459a10-38147881%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '84c393276c827b025457c7655dcc77fc4d0fe482' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\admin_style_list.htm',
- 1 => 1645274675,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '196167ff7564459a10-38147881',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'list' => 0,
- 'v' => 0,
- 'sy_style' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff756447f617_70117423',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff756447f617_70117423')) {function content_67ff756447f617_70117423($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <link href="images/reset.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/system.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/table_form.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet"
- type="text/css" />
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="js/admin_public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
- <title>后台管理</title>
- </head>
- <body class="body_ifm">
- <div class="infoboxp">
- <div class="tty-tishi_top">
- <div class="admin_new_tip">
- <a href="javascript:;" class="admin_new_tip_close"></a>
- <a href="javascript:;" class="admin_new_tip_open" style="display:none;"></a>
- <div class="admin_new_tit"><i class="admin_new_tit_icon"></i>操作提示</div>
- <div class="admin_new_tip_list_cont">
- <div class="admin_new_tip_list">更换模板后,如果是静态页面需重新生成! 【<a href='http://www.wanxiangku.com' target="_blank">获取更多模板</a>】<br>
- </div>
- </div>
- </div>
- <div class="clear"></div>
- </div>
-
- <div class="tty_table-bom">
- <div class="table-list" style="overflow: hidden;">
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
- <div style="float:left;width:240px;text-align:center;padding:15px;line-height:180%;border:1px solid #ddd;background:#fff;margin-right:10px; margin-top:10px;">
- <img width="225" height="136" border="1" style="border: #ddd;" alt="<?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-" src="<?php echo $_smarty_tpl->tpl_vars['v']->value['img'];?>
-">
- <br>
- <strong><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-</strong><?php if ($_smarty_tpl->tpl_vars['sy_style']->value==$_smarty_tpl->tpl_vars['v']->value['dir']) {?><font color="#FF0000">【当前使用风格】</font><?php }?>
- <br>
- 风格作者:<?php echo $_smarty_tpl->tpl_vars['v']->value['author'];?>
-
- <br>
- 风格目录名称:<?php echo $_smarty_tpl->tpl_vars['v']->value['dir'];?>
-
- <br>
- <input name="" value="风格信息修改" type="button" class="admin_button" onClick="location.href='index.php?m=admin_tpl&c=stylemodify&dir=<?php echo $_smarty_tpl->tpl_vars['v']->value['dir'];?>
-'">
-
- <input name="" value="使用该风格" type="button" onClick="layer_del('确定更换模板分格吗?更换后请重新生成页面。','index.php?m=admin_tpl&c=check_style&dir=<?php echo $_smarty_tpl->tpl_vars['v']->value['dir'];?>
-');"
- class="admin_button" />
-
- </div>
- <?php } ?>
- </div>
- </div>
- </div>
- </body>
-</html>
-<?php }} ?>
diff --git a/data/templates_c/89b218e55d5ea3ef51fe5e74b1f07bf13ade6f52.file.crm_public.htm.php b/data/templates_c/89b218e55d5ea3ef51fe5e74b1f07bf13ade6f52.file.crm_public.htm.php
deleted file mode 100644
index d9a354e..0000000
--- a/data/templates_c/89b218e55d5ea3ef51fe5e74b1f07bf13ade6f52.file.crm_public.htm.php
+++ /dev/null
@@ -1,785 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:15:25
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\crm_public.htm" */ ?>
-<?php /*%%SmartyHeaderCode:2810367ff752d380c97-23477962%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '89b218e55d5ea3ef51fe5e74b1f07bf13ade6f52' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\crm_public.htm',
- 1 => 1634883865,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '2810367ff752d380c97-23477962',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'cache' => 0,
- 'v' => 0,
- 'canpay' => 0,
- 'key' => 0,
- 'cop' => 0,
- 'ratinglist' => 0,
- 'adminUserList' => 0,
- 'pytoken' => 0,
- 'crmUser' => 0,
- 'crmStatus' => 0,
- 'status' => 0,
- 'crmClassName' => 0,
- 'crmType' => 0,
- 'type' => 0,
- 'outClass' => 0,
- 'out' => 0,
- 'auid' => 0,
- 'config' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff752d39a6b2_00518823',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff752d39a6b2_00518823')) {function content_67ff752d39a6b2_00518823($_smarty_tpl) {?><div id="crmNewConcern" style="display:none;">
- <form class="layui-form" lay-filter='formConcern'>
- <div class="crm_record_list" >
- <div class="crm_record_name"><span class="admin_required_icon"></span> 客户名称:</div>
- <div class="crm_record_textbox" style='width:180px;'>
- <div>
- <div class="layui-input-inline" >
- <input type="text" class="layui-input" name="crm_keyword" id="fcomname" style='width:315px;' placeholder='输入企业名称,搜索选择'>
- </div>
- </div>
- <div class="layui-anim_al">
- <dl name="word" class="layui-anim_all" >
- </dl>
- </div>
- </div>
- </div>
- <div class="crm_record_list" >
- <div class="crm_record_name"><span class="admin_required_icon"></span> 跟进时间:</div>
- <div class="crm_record_textbox" >
- <div>
- <div class="layui-inline">
- <div class="layui-input-inline">
- <input type="text" class="layui-input" id="public_ftime" name="ftime" >
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="crm_record_list" >
- <div class="crm_record_name"><span class="admin_required_icon"></span> 跟进方式:</div>
- <div class="crm_record_textbox" >
- <div >
- <div class="layui-input-inline" >
- <select name="order_type" id="fWay" lay-filter="">
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['cache']->value['crmdata']['follow_way']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <option value='<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
-' title='<?php echo $_smarty_tpl->tpl_vars['cache']->value['crmclass_name'][$_smarty_tpl->tpl_vars['v']->value];?>
-'><?php echo $_smarty_tpl->tpl_vars['cache']->value['crmclass_name'][$_smarty_tpl->tpl_vars['v']->value];?>
-</option>
- <?php } ?>
- </select>
- </div>
- </div>
- </div>
- </div>
- <div class="crm_record_list" >
- <div class="crm_record_name"><span class="admin_required_icon"></span> 跟进内容:</div>
- <div class="crm_record_textbox" style='width:80px;'>
- <div >
- <div class="layui-input-inline" >
- <textarea id="fRemark" class="layui-textarea" style="width:315px;"></textarea>
- </div>
- </div>
- </div>
- </div>
- <div class="crm_record_list" >
- <div class="crm_record_name"><span class="admin_required_icon"></span> 下次跟进:</div>
- <div class="crm_record_textbox" >
- <div >
- <div class="layui-input-inline" style="width:20px; padding-top:10px;">
- <input type="checkbox" lay-skin="primary" lay-filter="follow" id="follow"/>
- </div>
- <div class="layui-input-inline ftime_div" style="display: none;">
- <input type="text" class="layui-input" id='public_ptime' name="ptime" placeholder='请选择跟进时间' />
- </div>
- </div>
- </div>
- </div>
- <div class="crm_record_list" style="padding-bottom:20px;">
- <span class="crm_record_name"> </span>
- <div class="crm_record_textbox" style='width:315px;' >
- <input type="hidden" id="crm_task_id" value="" />
- <input type="button" value='确认' class="admin_examine_bth crmConcern" />
- </div>
- </div>
- </form>
-</div>
-
-<div id="crmDeal" style="display:none;">
- <form class="layui-form" lay-filter="crmFormDeal">
- <div class="crm_record_list" >
- <div class="crm_record_name"><span class="admin_required_icon"></span> 客户名称:</div>
- <div class="crm_record_textbox" style='width:180px;'>
- <div>
- <div class="layui-input-inline" >
- <input type="text" class="layui-input" name="crm_keyword" id="comname" style='width:315px;' >
- </div>
- </div>
- <div class="layui-anim_al">
- <dl name="word" class="layui-anim_all" >
- </dl>
- </div>
- </div>
- </div>
- <div class="crm_record_list" >
- <div class="crm_record_name"><span class="admin_required_icon"></span> 支付方式:</div>
- <div class="crm_record_textbox" >
- <div>
- <div class="layui-input-inline" >
- <select name="order_type" id="order_type" lay-filter="order_type">
- <option value=''>请选择</option>
- <?php $_smarty_tpl->tpl_vars['cop'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['cop']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['canpay']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['cop']->key => $_smarty_tpl->tpl_vars['cop']->value) {
-$_smarty_tpl->tpl_vars['cop']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['cop']->key;
-?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
-"><?php echo $_smarty_tpl->tpl_vars['cop']->value;?>
-</option>
- <?php } ?>
- </select>
- </div>
- </div>
- </div>
- </div>
- <div class="crm_record_list" >
- <div class="crm_record_name"><span class="admin_required_icon"></span> 会员套餐:</div>
- <div class="crm_record_textbox" >
- <div >
- <div class="layui-input-inline" >
- <select name="rid" id="rid_val" lay-filter="rid">
- <option value="">请选择</option>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['ratinglist']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-"><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-</option>
- <?php } ?>
- </select>
- </div>
- </div>
- </div>
- </div>
- <div class="crm_record_list" >
- <div class="crm_record_name"><span class="admin_required_icon"></span> 付款金额:</div>
- <div class="crm_record_textbox" >
- <div >
- <div class="layui-input-inline" >
- <input type="text" name="order_price" id="order_price" size="15" value="" class="layui-input"/>
- </div>
- </div>
- </div>
- </div>
- <div class="crm_record_list" >
- <div class="crm_record_name"><span class="admin_required_icon"></span> 备注信息:</div>
- <div class="crm_record_textbox" style='width:80px;'>
- <div >
- <div class="layui-input-inline" >
- <textarea id="order_remark" name="order_remark" class="layui-textarea" style="width:315px;"></textarea>
- </div>
- </div>
- </div>
- </div>
- <div class="crm_record_list" style="padding-bottom:20px;">
- <span class="crm_record_name"> </span>
- <div class="crm_record_textbox" style='width:315px;' >
- <input type="hidden" id='dealInfo' value='' />
- <input type="hidden" id="orderId" name="orderId" value='' />
- <input type="button" id="newOrder" value='确认' class="admin_examine_bth">
- </div>
- </div>
- </form>
-</div>
-
-<div id="crmNewTask" style="display:none; width:450px; ">
- <form class="layui-form" lay-filter='formCrmTask'>
- <div class="crm_record_list" >
- <div class="crm_record_name"><span class="admin_required_icon"></span> 任务类型:</div>
- <div class="crm_record_textbox" >
- <div>
- <div class="layui-input-inline" >
- <select name="taskType" id="taskType" lay-filter="taskType">
- <option value="">请选择</option>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['cache']->value['crmdata']['task_type']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
-"><?php echo $_smarty_tpl->tpl_vars['cache']->value['crmclass_name'][$_smarty_tpl->tpl_vars['v']->value];?>
-</option>
- <?php } ?>
- </select>
- </div>
- </div>
- </div>
- </div>
-
- <div class="crm_record_list" >
- <div class="crm_record_name"><span class="admin_required_icon"></span> 客户名称:</div>
- <div class="crm_record_textbox">
- <div>
- <div class="layui-input-inline" style="width:315px" >
- <input type="text" class="layui-input" name="crm_keyword" id="tcomname" style='width:315px;' placeholder='填写名称,搜索选择' />
- </div>
- </div>
- <div class="layui-anim_al">
- <dl name="word" class="layui-anim_all" >
- </dl>
- </div>
- </div>
- </div>
- <div class="crm_record_list" id="handle">
- <div class="crm_record_name"><span class="admin_required_icon"></span> 处理人:</div>
- <div class="crm_record_textbox" >
- <div>
- <div class="layui-input-inline" >
- <select name="taskHuid" id="taskHuid" lay-filter="taskHuid">
- <option value="">请选择</option>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['adminUserList']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-"><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-</option>
- <?php } ?>
- </select>
- </div>
- </div>
- </div>
- </div>
- <div class="crm_record_list" id="taskTimeshow" style="display:none;">
- <div class="crm_record_name"><span class="admin_required_icon"></span>任务时间:</div>
- <div class="crm_record_textbox">
- <div>
- <div class="layui-inline">
- <div class="layui-input-inline">
- <input type="text" class="layui-input" id='taskTime' name='taskTime' placeholder="yyyy-MM-dd HH:mm:ss" style='width:315px;'>
- </div>
- </div>
- </div>
- </div>
- </div>
-
- <div class="crm_record_list">
- <div class="crm_record_name"><span class="admin_required_icon"></span>任务描述:</div>
-
- <div class="crm_record_textbox">
- <textarea id="taskRemark" name="taskRemark" cols="100" rows="4" class="layui-textarea"></textarea>
- </div>
- </div>
- <div class="crm_record_list" style="padding-bottom:20px;">
- <span class="crm_record_name"> </span>
- <div class="crm_record_textbox">
- <input type="button" value='确认' class="admin_examine_bth" id="crmTask">
- </div>
- </div>
- <input type="hidden" id="info" value="" />
- <input type="hidden" id="task_type_id" value="" />
- </form>
-</div>
-
-<div id="crmworklog" style="display:none; width:450px; ">
- <form class="layui-form" action="index.php?m=crm_worklog&c=add" target="supportiframe" method="post" lay-filter="formCrmWorklog" onsubmit="return crmworklog()" autocomplete='off'>
- <div class="crm_record_list">
- <div class="crm_record_name" style="width: 200px;"><span class="admin_required_icon" >注意:提交后将不能修改!</span></div>
- </div>
- <div class="crm_record_list">
- <div class="crm_record_name"><span class="admin_required_icon"></span>日志标题:</div>
- <div class="crm_record_textbox">
- <div>
- <div class="layui-inline">
- <div class="layui-input-inline">
- <input type="text" class="layui-input" id='logtitle' name='logtitle' style='width:315px;'>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="crm_record_list">
- <div class="crm_record_name"><span class="admin_required_icon"></span>日志内容:</div>
- <div class="crm_record_textbox" >
- <textarea id="logcontent" name="logcontent" class="layui-textarea" style="width:500px;height:200px;"></textarea>
- </div>
- </div>
- <div class="crm_record_list">
- <span class="crm_record_name"> </span>
- <div class="crm_record_textbox">
- <input type="submit" value='确认' class="admin_examine_bth"><input type="button" onClick="layer.closeAll();" class="admin_examine_bth_qx" value='取消' style="margin-left:10px;">
- </div>
- </div>
- <input type="hidden" name="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- </form>
-</div>
-
-<div id="comLinkInfo" style="display:none; width:450px; ">
- <form class="layui-form">
-
- <div class="crm_record_list" >
- <div>
- <div class="layui-inline">
- <label class="layui-form-label">客户名称:</label>
- <div class="layui-input-inline" style="width: 310px;">
- <input type="text" id="comLink_name" autocomplete="off" class="layui-input">
- </div>
- </div>
- </div>
- </div>
-
- <div class="crm_record_list" >
- <div>
- <div class="layui-inline">
- <label class="layui-form-label">会员套餐:</label>
- <div class="layui-input-inline" style="width: 100px;">
- <input type="text" id="comLink_ratingname" autocomplete="off" class="layui-input">
- </div>
- <div class="layui-input-inline" style="width: 100px;">
- <input type="text" id="comLink_vipetime" autocomplete="off" class="layui-input">
- </div>
- </div>
- </div>
- </div>
-
- <div class="crm_record_list" >
- <div>
- <div class="layui-inline">
- <label class="layui-form-label">所在城市:</label>
- <div class="layui-input-inline" style="width: 210px;">
- <input type="text" id="comLink_city" autocomplete="off" class="layui-input">
- </div>
- </div>
- </div>
- </div>
-
- <div class="crm_record_list" >
- <div>
- <div class="layui-inline">
- <label class="layui-form-label">联系方式:</label>
- <div class="layui-input-inline" style="width: 100px;">
- <input type="text" id="comLink_linkman" autocomplete="off" class="layui-input">
- </div>
- <div class="layui-input-inline" style="width: 100px;">
- <input type="text" id="comLink_linktel" autocomplete="off" class="layui-input">
- </div>
- </div>
- </div>
- </div>
- </form>
-</div>
-
-<div id="crmDeliver" style="display:none;">
- <form class="layui-form" lay-filter="formCrmDeliver">
- <div class="crm_record_tip" >
- <font color='red'>重要提示:客户被转交后将不能拥有客户操作权限</font>
- </div>
- <div class="crm_record_tip" >
- 将企业客户转交给:
- </div>
- <div class="crm_record_list" >
- <div class="crm_record_name"><span class="admin_required_icon"></span> 客户经理:</div>
- <div class="crm_record_textbox" >
- <div>
- <div class="layui-input-inline" >
- <select name="crmuser" id="crmuser" lay-filter="">
- <option value="">请选择</option>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['crmUser']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
--<?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-"><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-</option>
- <?php } ?>
- </select>
- </div>
- </div>
- </div>
- </div>
- <div class="crm_record_list" >
- <div class="crm_record_name"><span class="admin_required_icon"></span> 备注信息:</div>
- <div class="crm_record_textbox" style='width:80px;'>
- <div>
- <div class="layui-input-inline" >
- <textarea id="deliverRemark" class="layui-textarea" style="width:315px;"></textarea>
- </div>
- </div>
- </div>
- </div>
- <div class="crm_record_list" style="padding-bottom:20px;">
- <span class="crm_record_name"> </span>
- <div class="crm_record_textbox" style='width:315px;' >
- <input type="button" value='确认转交' class="admin_examine_bth" onclick="crmDeliver()">
- </div>
- </div>
- </form>
-</div>
-
-<div id="crmGiveup" style="display:none;">
- <form class="layui-form" lay-filter="formCrmGiveup">
- <div class="crm_record_tip" >
-
- <font color='red'>重要提示:客户被放弃后将不能拥有客户操作权限</font>
-
- </div>
- <div class="crm_record_list" >
- <div class="crm_record_name"><span class="admin_required_icon"></span> 说明备注:</div>
- <div class="crm_record_textbox" style='width:80px;'>
- <div>
- <div class="layui-input-inline" >
- <textarea id="giveupRemark" class="layui-textarea" style="width:315px;"></textarea>
- </div>
- </div>
- </div>
- </div>
- <div class="crm_record_list" style="padding-bottom:20px;">
- <span class="crm_record_name"> </span>
- <div class="crm_record_textbox" style='width:315px;' >
- <input type="button" value='确认放弃' class="admin_examine_bth" onclick="crmGiveup()">
- </div>
- </div>
- </form>
-</div>
-
-<div id="crmStatusType" style="display:none;">
- <form class="layui-form" lay-filter="formCrmStatusType">
- <div class="crm_record_list" >
- <div class="crm_record_name">客户设置为:</div>
- <div class="crm_record_textbox" id="select_CrmStatus" style="display:none;">
- <div>
- <div class="layui-input-block">
- <?php $_smarty_tpl->tpl_vars['status'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['status']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['crmStatus']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['status']->key => $_smarty_tpl->tpl_vars['status']->value) {
-$_smarty_tpl->tpl_vars['status']->_loop = true;
-?>
- <input type="radio" name="status" value="<?php echo $_smarty_tpl->tpl_vars['status']->value;?>
--<?php echo $_smarty_tpl->tpl_vars['crmClassName']->value[$_smarty_tpl->tpl_vars['status']->value];?>
-" title="<?php echo $_smarty_tpl->tpl_vars['crmClassName']->value[$_smarty_tpl->tpl_vars['status']->value];?>
-">
- <?php } ?>
- </div>
- </div>
- </div>
-
- <div class="crm_record_textbox" id="select_CrmType" style="display:none;">
- <div>
- <div class="layui-input-block">
- <?php $_smarty_tpl->tpl_vars['type'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['type']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['crmType']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['type']->key => $_smarty_tpl->tpl_vars['type']->value) {
-$_smarty_tpl->tpl_vars['type']->_loop = true;
-?>
- <input type="radio" name="level" value="<?php echo $_smarty_tpl->tpl_vars['type']->value;?>
--<?php echo $_smarty_tpl->tpl_vars['crmClassName']->value[$_smarty_tpl->tpl_vars['type']->value];?>
-" title="<?php echo $_smarty_tpl->tpl_vars['crmClassName']->value[$_smarty_tpl->tpl_vars['type']->value];?>
-">
- <?php } ?>
- </div>
- </div>
- </div>
-
- </div>
- <div class="crm_record_list" >
- <div class="crm_record_name"><span class="admin_required_icon"></span> 备注信息:</div>
- <div class="crm_record_textbox" style='width:80px;'>
- <div>
- <div class="layui-input-inline" >
- <textarea id="st_Remark" class="layui-textarea" style="width:315px;"></textarea>
- </div>
- </div>
- </div>
- </div>
- <div class="crm_record_list" style="padding-bottom:20px;">
- <span class="crm_record_name"> </span>
- <div class="crm_record_textbox" style='width:315px;' >
- <input type="hidden" id='isSt' value="">
- <input type="button" value='确认' class="admin_examine_bth" onclick="crmStatusType();">
- </div>
- </div>
- </form>
-</div>
-
-<div id="crmOut" style="display:none; width:450px; ">
-
- <form class="layui-form" lay-filter="formCrmOut">
-
- <div class="crm_record_list">
- <div class="crm_record_name"><span class="admin_required_icon"></span>客户名称:</div>
- <div class="crm_record_textbox">
- <div>
- <div class="layui-inline">
- <div class="layui-input-inline">
- <input type="text" class="layui-input" id='outComName' name="crm_keyword" style='width:173px;'>
- </div>
- </div>
- </div>
- <div class="layui-anim_al">
- <dl name="word" class="layui-anim_all" >
- </dl>
- </div>
- </div>
- </div>
-
- <div class="crm_record_list">
- <div class="crm_record_name"><span class="admin_required_icon"></span>外出原因:</div>
- <div class="crm_record_textbox">
- <div>
- <div class="layui-inline">
- <div class="layui-input-inline">
- <select name="reason" id="reason" lay-filter="">
- <option value="">请选择</option>
- <?php $_smarty_tpl->tpl_vars['out'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['out']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['outClass']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['out']->key => $_smarty_tpl->tpl_vars['out']->value) {
-$_smarty_tpl->tpl_vars['out']->_loop = true;
-?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['out']->value;?>
-"><?php echo $_smarty_tpl->tpl_vars['crmClassName']->value[$_smarty_tpl->tpl_vars['out']->value];?>
-</option>
- <?php } ?>
- </select>
- </div>
- </div>
- </div>
- </div>
- </div>
-
- <div class="crm_record_list">
- <div class="crm_record_name"><span class="admin_required_icon"></span>外出时间:</div>
- <div class="crm_record_textbox">
- <div>
- <div class="layui-inline">
- <div class="layui-input-inline">
- <input type="text" class="layui-input" id='outStime' name='outStime' style='width:173px;'>
- </div>
- </div>
- </div>
- </div>
- </div>
-
- <div class="crm_record_list">
- <div class="crm_record_name"><span class="admin_required_icon"></span>返回时间:</div>
- <div class="crm_record_textbox">
- <div>
- <div class="layui-inline">
- <div class="layui-input-inline">
- <input type="text" class="layui-input" id='outEtime' name='outEtime' style='width:173px;'>
- </div>
- </div>
- </div>
- </div>
- </div>
-
- <div class="crm_record_list">
- <div class="crm_record_name"><span class="admin_required_icon"></span>备注:</div>
- <div class="crm_record_textbox" >
- <textarea id="outRemark" name="outRemark" class="layui-textarea" style="width:300px;"></textarea>
- </div>
- </div>
- <div class="crm_record_list">
- <span class="crm_record_name"> </span>
- <div class="crm_record_textbox">
- <input type="button" value='确认' class="admin_examine_bth" onclick='crmOut();'>
- </div>
- </div>
- </form>
-</div>
-
-<div>
- <input type="hidden" name="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- <input type='hidden' id="com_uid" name="com_uid" value="" />
- <input type='hidden' id="auid" name="auid" value="<?php echo $_smarty_tpl->tpl_vars['auid']->value;?>
-" />
- <input type='hidden' id="newwindow" value="" />
-</div>
-<style>
- .layui-anim_al {
- position: absolute;
- z-index: 2147483647;
- min-width: 315px;
- max-height: 300px;
- overflow-y: auto;
- background-color: white;
- border-radius: 2px;
- box-shadow: 0 2px 4px hsla(0, 0%, 0%, .12);
- box-sizing: border-box;
- }
- .layui-anim_al dl dd, .layui-anim_al dl dt {
- padding: 0 10px;
- line-height: 36px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .click_work {
- padding-bottom: 8px;
- font-weight: lighter;
- font-size: 13px;
- cursor: pointer;
- }
-</style>
-
-<?php echo '<script'; ?>
->
- layui.use([ 'form', 'laydate' ], function() {
- var form = layui.form,
- laydate = layui.laydate,
- $ = layui.$;
-
- var pytoken = $('#pytoken').val();
- var auid = $('#auid').val();
-
- form.on('select(taskType)', function(data) {
-
- if(data.value=='22'){
-
- $("#taskHuid").attr("disabled","disabled");
- $("#taskHuid").val(auid);
- $("#handle").hide();
- $("#taskTimeshow").attr("style","display:block;");
- }else{
- $("#handle").show();
- $("#taskHuid").attr("disabled",false);
- $("#taskTimeshow").attr("style","display:none;");
- }
-
- form.render('select');
- });
-
- form.on('select(rid)', function(data) {
- $.post("index.php?m=crm_index&c=orderprice", {id : data.value, pytoken : pytoken}, function(data) {
- if (data) {
- var dataJson = eval("(" + data + ")");
- $('#order_price').val(dataJson.service_price);
- }
- form.render('select');
- });
- });
-
- var d = new Date(),
- str = '';
- str += d.getHours() + ':';
- str += d.getMinutes() + ':';
- str += d.getSeconds();
-
- /*跟进时间*/
- laydate.render({
- elem : '#public_ftime',
- type : 'datetime',
- min : -7,
- max : str
- });
-
- form.on('checkbox(follow)', function(data){
- if(data.elem.checked){
- $(".ftime_div").show();
- }else{
- $(".ftime_div").hide();
- }
- });
-
- /*下次跟进时间(计划任务时间)*/
- laydate.render({
- elem : '#public_ptime',
- type : 'datetime'
- });
-
- laydate.render({
- elem : '#taskTime',
- type : 'datetime',
- value: new Date()
- });
- laydate.render({
- elem : '#outStime',
- type : 'datetime',
- value: new Date()
- });
- laydate.render({
- elem : '#outEtime',
- type : 'datetime'
- });
- });
-
- var weburl = "<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-";
-
- $('input[name="crm_keyword"]').keyup(function() {
-
- var pytoken = $('#pytoken').val();
- var comname = $.trim($(this).val());
-
- if (comname == '') {
- $('.layui-anim_al').hide();
- $('input[name="com_uid"]').val('');
- }
- $.ajax({
- url : 'index.php?m=crm_index&c=searchcom',
- data : {keyword : comname, pytoken : pytoken},
- type : 'post',
- dataType : 'JSON',
- async : false,
- success : function(data) {
- var html = "";
- if (data) {
- for (var i = 0; i < data.length; i++) {
- html += '<dd lay-value="" class="layui-select-tips"><div class="click_work" data-uid="'+data[i].uid+'">' + data[i].name + '</div></div>';
- }
- $('.layui-anim_all').html(html);
- $('.layui-anim_al').show();
- } else {
- if (comname) {
- html = '<dd lay-value="" class="layui-select-tips"><div class="click_work" >无相关客户</div></div>';
- $('.layui-anim_all').html(html);
- $('.layui-anim_al').show();
- $('input[name="com_uid"]').val('');
- } else {
- $('.layui-anim_al').hide();
- $('input[name="com_uid"]').val('');
- }
- }
- }
- })
- })
-
- $(document).on('click', '.click_work', function() {
- var comuid = $(this).attr('data-uid');
- $('input[name="crm_keyword"]').val($(this).text());
- $('.layui-anim_al').hide();
- $('input[name="com_uid"]').val(comuid);
- })
-<?php echo '</script'; ?>
-><?php }} ?>
diff --git a/data/templates_c/8ead6a04918b6611fea3d0a9ff7ddc2c9fb7aa67.file.changeutype.htm.php b/data/templates_c/8ead6a04918b6611fea3d0a9ff7ddc2c9fb7aa67.file.changeutype.htm.php
deleted file mode 100644
index 03daba2..0000000
--- a/data/templates_c/8ead6a04918b6611fea3d0a9ff7ddc2c9fb7aa67.file.changeutype.htm.php
+++ /dev/null
@@ -1,284 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:17:21
- compiled from "E:\ishangstudywebs\zhaopin\app\template\\member\public\changeutype.htm" */ ?>
-<?php /*%%SmartyHeaderCode:2534767ff75a17afcb6-20880449%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '8ead6a04918b6611fea3d0a9ff7ddc2c9fb7aa67' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\\\member\\public\\changeutype.htm',
- 1 => 1634883847,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '2534767ff75a17afcb6-20880449',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff75a17bd8b1_51024696',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff75a17bd8b1_51024696')) {function content_67ff75a17bd8b1_51024696($_smarty_tpl) {?><?php if ($_COOKIE['uid']&&$_COOKIE['usertype']) {?>
-<link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/app/template/member/public/style/changeutype.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css"/>
-<!--切换类型-->
-
-<div class="user_role_box none">
-
- <div class="user_role">当前身份:<?php if ($_COOKIE['usertype']==1) {?>求职者<?php } elseif ($_COOKIE['usertype']==2) {?>招聘企业<?php } elseif ($_COOKIE['usertype']==3) {?>猎头中介<?php } elseif ($_COOKIE['usertype']==4) {?>培训机构<?php }?>
- </div>
-
- <div class="user_role_pic"></div>
-
- <div class="user_role_bth <?php if ($_COOKIE['usertype']==1) {?> none <?php }?>">
- <a href="javascript:;" onclick="changUsertypeFun(1);" class="user_role_bth_b">个人求职</a>
- </div>
-
- <div class="user_role_bth <?php if ($_COOKIE['usertype']==2) {?> none <?php }?>">
- <a href="javascript:;" onclick="changUsertypeFun(2);" class="user_role_bth_b">招聘企业</a>
- </div>
-
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_lietou_web']==1) {?>
- <div class="user_role_bth <?php if ($_COOKIE['usertype']==3) {?> none <?php }?>">
- <a href="javascript:;" onclick="changUsertypeFun(3);" class="user_role_bth_b">猎头/中介</a>
- </div>
- <?php }?>
-
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_train_web']==1) {?>
- <div class="user_role_bth <?php if ($_COOKIE['usertype']==4) {?> none <?php }?>">
- <a href="javascript:;" onclick="changUsertypeFun(4);" class="user_role_bth_b">培训机构</a>
- </div>
- <?php }?>
-</div>
-
-<div class="" id="infoboxusertype" style="display:none; ">
- <div>
- <input name="applyusertype" id="applyusertype" value="0" type="hidden">
- <input name="usertype" id="usertype" value="<?php echo $_COOKIE['usertype'];?>
-" type="hidden">
- <div class="identity_textarea">
- <textarea id="applybody" name="applybody" placeholder="请说明您需要切换身份的原因" class="bz_textarea_text"></textarea>
- </div>
- <div class="identity_bth">
- <button type="button" onclick="domaincheck();" class="identity_bth_qd">确定</button>
-
- <button type="button" id='applybtn' class="identity_bth_qx">取消</button>
- </div>
- </div>
-</div>
-<!-------已拒绝 start -------->
-<div class="" id="applyyjj" style="display:none; ">
- <div>
- <div class="identity_jtip">
- <div id="applyyjjsm"></div>
- </div>
- <div class="identity_sqbth">
- <button type="button" id='newsapply' onclick="newsapplyt();" class="identity_sq">重新申请</button>
-
- <button type="button" id='applybtnyjj' onclick="applybtnyjjt();" class="identity_qx">取消</button>
- </div>
- </div>
-</div>
-<!-------已拒绝 end -------->
-<!-------待审核 start -------->
-<div class="" id="applydqr" style="display:none; ">
- <div>
-
- <div class="identity_cgtip">
- <div id="applydshsm"></div>
- </div>
- <div class="identity_cgwxtip">
- 你可关注微信快速接收审核信息
- </div>
- <div class="identity_cgwxewm">
- <img src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_wx_qcode'];?>
-" width="120" height="120">
- </div>
- <div class="identity_cgtel">
- 如需快速审核,可拨打热线:<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_freewebtel'];?>
-
- </div>
- </div>
-</div>
-<!-------待审核 end -------->
-<?php echo '<script'; ?>
->
- layui.use('layer', function () {
- var layer = layui.layer;
-
- });
- $(document).ready(function () {
- $('#applybtn').click(function () {
- layer.closeAll();
- });
- $('#applybtndsh').click(function () {
- layer.closeAll();
- });
- });
-
- function newsapplyt() {
- $("#applyusertype").val(usertype);
- $.layer({
- type: 1,
- title: '申请说明',
- closeBtn: [0, true],
- border: [10, 0.3, '#000', true],
- area: ['300px', 'auto'],
- page: {dom: "#infoboxusertype"}
- });
-
- }
-
- function applybtnyjjt() {
-
- layer.closeAll();
-
- }
-
- function changeutype() {
-
- layer.open({
- type: 1,
- skin: 'yun_skin',
- title: false,
- closeBtn: 1,
- area: ['390px', 'auto'],
- content: $('.user_role_box')
- });
- }
-
- //切换身份
- function changUsertypeFun(usertype) {
-
- var usertype = usertype;
-
- $.post("<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/index.php?m=ajax&c=applytype", {applyusertype: usertype}, function (data) {
-
- if (data) {
- var data = eval('(' + data + ')');
- if (data.errcode == 9) {
- parent.layer.msg('身份切换成功', 2, 9, function () {
- window.location.href = 'index.php';
- window.event.returnValue = false;
- });
- } else if (data.errcode == 1) {
- parent.layer.msg(data.msg, 2, 8, function () {
- window.location.href = data.url;
- window.event.returnValue = false;
- });
- } else if (data.errcode == 6) {
- $("#applydshsm").html(data.msg);
- if (data.wxopenid || data.wxid) {
- $("#wxbingding").css("display", "none");
- } else {
- $("#wxbingding").css("display", "block");
- }
- $.layer({
- type: 1,
- title: '温馨提示',
- closeBtn: [0, true],
- border: [10, 0.3, '#000', true],
- area: ['400px', 'auto'],
- page: {dom: "#applydqr"},
- close: function () {
- window.location.reload();
- }
- });
- } else if (data.errcode == 3) {
-
- $("#applyyjjsm").html(data.msg);
- $.layer({
- type: 1,
- title: '拒绝说明',
- closeBtn: [0, true],
- border: [10, 0.3, '#000', true],
- area: ['300px', 'auto'],
- page: {dom: "#applyyjj"}
- });
- } else if (data.errcode == 5) {
-
- $("#applyusertype").val(usertype);
- $.layer({
- type: 1,
- title: '申请说明',
- closeBtn: [0, true],
- border: [10, 0.3, '#000', true],
- area: ['300px', 'auto'],
- page: {dom: "#infoboxusertype"}
- });
- } else {
-
- parent.layer.msg(data.msg, 2, 8);
- }
- }
- });
- }
-
- function domaincheck() {
- var usertype = $('#usertype').val();
- var applyusertype = $('#applyusertype').val();
- var applybody = $.trim($("textarea[name='applybody']").val());
- if (applyusertype == "") {
- parent.layer.msg('请选择转换类型!', 2, 8);
- return false;
- } else if (usertype == applyusertype) {
- parent.layer.msg('转换类型与当前类型一致,无须转换!', 2, 8);
- return false;
- }
- if (applybody == "") {
- parent.layer.msg('请填写申请说明!', 2, 8);
- return false;
- }
- $.post("<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/index.php?m=ajax&c=applytype", {
- usertype: usertype,
- applyusertype: applyusertype,
- applybody: applybody
- }, function (data) {
- var data = eval('(' + data + ')');
-
- if (data.errcode == '9') {
-
- parent.layer.msg('身份切换成功!', 2, 9, function () {
- window.location.href = 'index.php';
- return false;
- });
- }
- if (data.errcode == '6') {
-
- $("#applydshsm").html(data.msg);
- if (data.wxopenid || data.wxid) {
- $("#wxbingding").css("display", "none");
- } else {
- $("#wxbingding").css("display", "block");
- }
- $.layer({
- type: 1,
- title: '温馨提示',
- closeBtn: [0, true],
- border: [10, 0.3, '#000', true],
- area: ['400px', 'auto'],
- page: {dom: "#applydqr"},
- close: function () {
- window.location.reload();
- }
- });
- } else if (data.msg) {
-
- parent.layer.msg(data.msg, 2, 8);
- } else {
- parent.layer.msg('身份切换失败!', 2, 8);
- }
- });
- }
-<?php echo '</script'; ?>
->
-<?php }?><?php }} ?>
diff --git a/data/templates_c/8f1992510c820a625ae20dc11cc97473e2e9506d.file.admin_news_list.htm.php b/data/templates_c/8f1992510c820a625ae20dc11cc97473e2e9506d.file.admin_news_list.htm.php
deleted file mode 100644
index eb52c92..0000000
--- a/data/templates_c/8f1992510c820a625ae20dc11cc97473e2e9506d.file.admin_news_list.htm.php
+++ /dev/null
@@ -1,571 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:16:02
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\admin_news_list.htm" */ ?>
-<?php /*%%SmartyHeaderCode:1387367ff7552b2a436-99037085%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '8f1992510c820a625ae20dc11cc97473e2e9506d' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\admin_news_list.htm',
- 1 => 1634883865,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '1387367ff7552b2a436-99037085',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'property' => 0,
- 'pset' => 0,
- 'property_row_set' => 0,
- 'pytoken' => 0,
- 'adminnews' => 0,
- 'key' => 0,
- 'v' => 0,
- 'Dname' => 0,
- 'total' => 0,
- 'pagenum' => 0,
- 'pages' => 0,
- 'pagenav' => 0,
- 'propertys' => 0,
- 'pvset' => 0,
- 'pv' => 0,
- 'one_class' => 0,
- 'two_class' => 0,
- 'val' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff7552b8b8e4_61724968',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff7552b8b8e4_61724968')) {function content_67ff7552b8b8e4_61724968($_smarty_tpl) {?><?php if (!is_callable('smarty_function_searchurl')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\function.searchurl.php';
-if (!is_callable('smarty_modifier_date_format')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\modifier.date_format.php';
-?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <link href="images/reset.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/system.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/table_form.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet"
- type="text/css" />
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="js/admin_public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="js/show_pub.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- type="text/javascript">
- $(document).ready(function() {
- $('#classbutton').click(function() {
- $('#nid_name').val('请选择');
- $('#nid_val').val(0);
- var pytoken = $('#pytoken').val();
- var keyword = $('#classkeyword').val();
- $.post("index.php?m=admin_news&c=selclass", {
- pytoken: pytoken,
- keyword: keyword
- }, function(data) {
- $('#nid_select').html(data);
- });
- });
- });
-
- function changeClass() {
- var codewebarr = "";
- $(".check_all:checked").each(function() { //由于复选框一般选中的是多个,所以可以循环输出
- if (codewebarr == "") {
- codewebarr = $(this).val();
- } else {
- codewebarr = codewebarr + "," + $(this).val();
- }
- });
- if (codewebarr == "") {
- parent.layer.msg('您还未选择任何信息!', 2, 8);
- return false;
- } else {
- $('#classid').val(codewebarr);
- $.layer({
- type: 1,
- title: '批量转移新闻类别',
- closeBtn: [0, true],
- border: [10, 0.3, '#000', true],
- area: ['350px', '250px'],
- page: {
- dom: "#infoboxclass"
- }
- });
- }
- }
-
- function update(id, name, value) {
- $("#upid").val(id);
- $("#nameid").val(name);
- $("#valueid").val(value);
- $("#submit").val('修改');
- }
-
- function check_form(myform) {
- if (myform.name.value == "") {
- parent.layer.msg('请填写名称!', 2, 8);
- myform.name.focus();
- return (false);
- }
- if (myform.value.value == "") {
- parent.layer.msg('请填写标识符!', 2, 8);
- myform.name.focus();
- return (false);
- }
- }
-
- function add_pro() {
- var codewebarr = "";
- $("input[name='del[]']:checked").each(function() {
- if ($.trim($(this).val())) {
- if (codewebarr == "") {
- codewebarr = $(this).val();
- } else {
- codewebarr = codewebarr + "," + $(this).val();
- }
- }
- });
- if (codewebarr == "") {
- parent.layer.msg('您必须选择一个或多个!', 2, 8);
- } else {
- $("#protype").val('add');
- $("#proid").val(codewebarr);
- $.layer({
- type: 1,
- title: '批量设置属性',
- closeBtn: [0, true],
- offset: ['20%', '30%'],
- border: [10, 0.3, '#000', true],
- area: ['380px', '220px'],
- page: {
- dom: '#property'
- }
- });
- }
- }
-
- function del_pro() {
- var codewebarr = "";
- $("input[name='del[]']:checked").each(function() {
- if ($.trim($(this).val())) {
- if (codewebarr == "") {
- codewebarr = $(this).val();
- } else {
- codewebarr = codewebarr + "," + $(this).val();
- }
- }
- });
- if (codewebarr == "") {
- parent.layer.msg('您必须选择一个或多个!', 2, 8);
- } else {
- $("#protype").val('del');
- $("#proid").val(codewebarr);
- $.layer({
- type: 1,
- title: '批量取消属性',
- closeBtn: [0, true],
- offset: ['20%', '30%'],
- border: [10, 0.3, '#000', true],
- area: ['380px', '220px'],
- page: {
- dom: '#property'
- }
- });
- }
- }
- <?php echo '</script'; ?>
->
- <title>后台管理</title>
- </head>
- <body class="body_ifm">
- <div id="property" style="display:none;">
- <form action="index.php?m=admin_news&c=savepro" method="post" target="supportiframe">
-
- <div class="admin_news_tck_box" style="padding-top:0px;">
- <table cellspacing='1' cellpadding='1' class="admin_examine_table">
- <tr>
- <th align="right" width="80">属性:</th>
- <td>
- <div class="admin_examine_right" style="width:300px;">
- <div style="max-height:80px;_height:80px; overflow:hidden; overflow-y:auto">
- <?php $_smarty_tpl->tpl_vars['property_row_set'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['property_row_set']->_loop = false;
- $_smarty_tpl->tpl_vars['pset'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['property']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['property_row_set']->key => $_smarty_tpl->tpl_vars['property_row_set']->value) {
-$_smarty_tpl->tpl_vars['property_row_set']->_loop = true;
- $_smarty_tpl->tpl_vars['pset']->value = $_smarty_tpl->tpl_vars['property_row_set']->key;
-?>
- <label for="status0"><span class="admin_examine_news_s"><input type="checkbox" name="describe[]" value="<?php echo $_smarty_tpl->tpl_vars['pset']->value;?>
-" /><?php echo $_smarty_tpl->tpl_vars['property_row_set']->value;?>
-</span></label>
- <?php } ?>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <th align="right">文章编号:</th>
- <td><input type="text" id="proid" name="proid" value="" class="input-text" style="width:220px;"></td>
- </tr>
- <tr>
- <td colspan='2' style="text-align:center"><input type="submit" value="确 定" name="submit" class="admin_examine_bth "></td>
- </tr>
- </table>
- </div>
- <input type="hidden" id="protype" name="type" value="" />
- <input type="hidden" name="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- </form>
- </div>
- <div class="infoboxp">
-
- <div class="tty-tishi_top">
- <div class="admin_new_search_box">
- <form action="index.php" name="myform" method="get">
- <input name="m" value="admin_news" type="hidden" />
- <input name="cate" value="<?php echo $_GET['cate'];?>
-" type="hidden" />
- <div class="admin_new_search_name">搜索类型:</div>
- <div class="admin_Filter_text formselect" did='dtype'>
- <input type="button" value="<?php if ($_GET['type']=='1'||$_GET['type']=='') {?>标题<?php } else { ?>作者<?php }?>"
- class="admin_Filter_but" id="btype">
- <input type="hidden" id='type' value="<?php if ($_GET['type']) {
-echo $_GET['type'];
-} else { ?>1<?php }?>"
- name='type'>
- <div class="admin_Filter_text_box" style="display:none" id='dtype'>
- <ul>
- <li><a href="javascript:void(0)" onClick="formselect('1','type','标题')">标题</a></li>
- <li><a href="javascript:void(0)" onClick="formselect('2','type','作者')">作者</a></li>
- </ul>
- </div>
- </div>
- <input class="admin_Filter_search" placeholder="输入你要搜索的关键字" type="text" name="keyword" size="25" style=" float:left">
- <input class="admin_Filter_bth" type="submit" name="news_search" value="检索" />
- <a href="javascript:void(0)" onclick="$('.admin_screenlist_box').toggle();" class="admin_new_search_gj">高级搜索</a>
- <a href="index.php?m=admin_news&c=news" class="admin_new_cz_tj">+ 添加新闻</a>
- </form>
- <?php echo $_smarty_tpl->getSubTemplate ("admin/admin_search.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
- </div>
- <div class="clear"></div>
- </div>
-
- <div class="tty_table-bom">
- <div class="table-list">
- <div class="admin_table_border">
- <iframe id="supportiframe" name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
- <form action="index.php" target="supportiframe" name="myform" method="get" id='myform'>
- <input name="m" value="admin_news" type="hidden" />
- <input name="c" value="delnews" type="hidden" />
- <table width="100%">
- <thead>
- <tr class="admin_table_top">
- <th style="width:20px;">
- <label for="chkall">
- <input type="checkbox" id='chkAll' value="" onclick='CheckAll(this.form)' />
- </label>
- </th>
- <th width="70">
- <?php if ($_GET['t']=="id"&&$_GET['order']=="asc") {?>
- <a href="<?php echo smarty_function_searchurl(array('order'=>'desc','t'=>'id','m'=>'admin_news','untype'=>'order,t'),$_smarty_tpl);?>
-">编号<img src="images/sanj.jpg" /></a>
- <?php } else { ?>
- <a href="<?php echo smarty_function_searchurl(array('order'=>'asc','t'=>'id','m'=>'admin_news','untype'=>'order,t'),$_smarty_tpl);?>
-">编号<img src="images/sanj2.jpg" /></a>
- <?php }?>
- </th>
- <th width="70" align="left">新闻类别</th>
- <th width="300" align="left">标题</th>
- <th width="250">显示时间</th>
- <th width="80">
- <?php if ($_GET['t']=="datetime"&&$_GET['order']=="asc") {?>
- <a href="<?php echo smarty_function_searchurl(array('order'=>'desc','t'=>'datetime','m'=>'admin_news','untype'=>'order,t'),$_smarty_tpl);?>
-">发布时间 <img src="images/sanj.jpg" /></a>
- <?php } else { ?>
- <a href="<?php echo smarty_function_searchurl(array('order'=>'asc','t'=>'datetime','m'=>'admin_news','untype'=>'order,t'),$_smarty_tpl);?>
-">发布时间 <img src="images/sanj2.jpg" /></a>
- <?php }?>
- </th>
- <th width="70">
- <?php if ($_GET['t']=="hits"&&$_GET['order']=="asc") {?>
- <a href="<?php echo smarty_function_searchurl(array('order'=>'desc','t'=>'hits','m'=>'admin_news','untype'=>'order,t'),$_smarty_tpl);?>
-">浏览量 <img src="images/sanj.jpg" /></a>
- <?php } else { ?>
- <a href="<?php echo smarty_function_searchurl(array('order'=>'asc','t'=>'hits','m'=>'admin_news','untype'=>'order,t'),$_smarty_tpl);?>
-">浏览量 <img src="images/sanj2.jpg" /></a>
- <?php }?>
- </th>
- <th width="70">
- <?php if ($_GET['t']=="sort"&&$_GET['order']=="asc") {?>
- <a href="<?php echo smarty_function_searchurl(array('order'=>'desc','t'=>'sort','m'=>'admin_news','untype'=>'order,t'),$_smarty_tpl);?>
-">排序 <img src="images/sanj.jpg" /></a>
- <?php } else { ?>
- <a href="<?php echo smarty_function_searchurl(array('order'=>'asc','t'=>'sort','m'=>'admin_news','untype'=>'order,t'),$_smarty_tpl);?>
-">排序 <img src="images/sanj2.jpg" /></a>
- <?php }?>
- </th>
- <th width="70">分站</th>
- <th width="120" class="admin_table_th_bg">操作</th>
- </tr>
- </thead>
- <tbody>
-
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['adminnews']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <tr align="center" <?php if (($_smarty_tpl->tpl_vars['key']->value+1)%2=='0') {?>class="admin_com_td_bg"<?php }?> id="list<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-">
- <td><input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" class="check_all" name='del[]' onclick='unselectall()' rel="del_chk" /></td>
- <td align="left" class="td1" style="text-align:center;" width="70"><span><?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-</span></td>
- <td class="ud" align="left"><a href="<?php echo $_smarty_tpl->tpl_vars['v']->value['classurl'];?>
-" target="_blank" class="admin_cz_sc"><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-</a></td>
- <td class="od" align="left">
- <div style="width:300px;">
- <a href="<?php echo $_smarty_tpl->tpl_vars['v']->value['url'];?>
-" target="_blank" class="admin_cz_sc" <?php if ($_smarty_tpl->tpl_vars['v']->value['color']) {?>style="color:<?php echo $_smarty_tpl->tpl_vars['v']->value['color'];?>
-"<?php }?>><?php echo $_smarty_tpl->tpl_vars['v']->value['title'];?>
- <?php echo $_smarty_tpl->tpl_vars['v']->value['titype'];?>
- </a>
- </div>
- </td>
- <td class="td">
- <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['v']->value['starttime'],"%Y-%m-%d");?>
- 开始
- <?php if ($_smarty_tpl->tpl_vars['v']->value['endtime']==0) {?>
- <div class="mt5">永久显示 </div>
- <?php } else { ?>
- <div class="mt5"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['v']->value['endtime'],"%Y-%m-%d");?>
- 结束</div>
- <?php }?>
- </td>
- <td class="td"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['v']->value['datetime'],"%Y-%m-%d");?>
-</td>
- <td><?php echo $_smarty_tpl->tpl_vars['v']->value['hits'];?>
-</td>
- <td><?php echo $_smarty_tpl->tpl_vars['v']->value['sort'];?>
-</td>
- <td>
- <div><?php echo $_smarty_tpl->tpl_vars['Dname']->value[$_smarty_tpl->tpl_vars['v']->value['did']];?>
-</div>
- <div><a href="javascript:;" onclick="checksite('<?php echo $_smarty_tpl->tpl_vars['v']->value['title'];?>
-','<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-','index.php?m=admin_news&c=checksitedid');"
- class="admin_company_xg_icon">重新分配</a></div>
- </td>
- <td><a href="?m=admin_news&c=news&id=<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" class="admin_new_c_bth admin_n_sc">修改</a>
- <a href="javascript:void(0)" onClick="layer_del('确定要删除?','index.php?m=admin_news&c=delnews&id=<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-');"
- class="admin_new_c_bth admin_new_c_bth_sc mt5">删除</a></td>
- </tr>
- <?php } ?>
- <tr>
- <td align="center"><input type="checkbox" id='chkAll2' value='' onclick='CheckAll2(this.form)' /></td>
- <td colspan="11"><label for="chkAll2">全选</label>
-
- <input class="admin_button" type="button" name="delsub" value="删除所选" onClick="return really('del[]')" />
- <input class="admin_button" type="button" value="设置属性" onClick="add_pro()" />
- <input class="admin_button" type="button" value="取消属性" onClick="del_pro()" />
- <input class="admin_button" type="button" name="delsub" value="批量选择分站" onClick="checksiteall('index.php?m=admin_news&c=checksitedid');" />
- <input class="admin_button" type="button" value="批量转移分类" onClick="changeClass()" />
- </td>
- </tr>
- <?php if ($_smarty_tpl->tpl_vars['total']->value>$_smarty_tpl->tpl_vars['config']->value['sy_listnum']) {?>
- <tr>
- <?php if ($_smarty_tpl->tpl_vars['pagenum']->value==1) {?>
- <td colspan="3"> 从 1 到 <?php echo $_smarty_tpl->tpl_vars['config']->value['sy_listnum'];?>
- ,总共 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
- 条</td>
- <?php } elseif ($_smarty_tpl->tpl_vars['pagenum']->value>1&&$_smarty_tpl->tpl_vars['pagenum']->value<$_smarty_tpl->tpl_vars['pages']->value) {?> <td colspan="3"> 从 <?php echo ($_smarty_tpl->tpl_vars['pagenum']->value-1)*$_smarty_tpl->tpl_vars['config']->value['sy_listnum']+1;?>
- 到 <?php echo $_smarty_tpl->tpl_vars['pagenum']->value*$_smarty_tpl->tpl_vars['config']->value['sy_listnum'];?>
- ,总共 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
- 条</td>
- <?php } elseif ($_smarty_tpl->tpl_vars['pagenum']->value==$_smarty_tpl->tpl_vars['pages']->value) {?>
- <td colspan="3"> 从 <?php echo ($_smarty_tpl->tpl_vars['pagenum']->value-1)*$_smarty_tpl->tpl_vars['config']->value['sy_listnum']+1;?>
- 到 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
- ,总共
- <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
- 条</td>
- <?php }?>
- <td colspan="9" class="digg"><?php echo $_smarty_tpl->tpl_vars['pagenav']->value;?>
-</td>
- </tr>
- <?php }?>
- </tbody>
- </table>
- <input type="hidden" name="pytoken" id='pytoken' value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- </form>
- </div>
- </div>
- </div>
- </div>
- <div id="houtai_div" style=" width:470px; display:none;">
- <div class="subnav">
- <div class="content-menu ib-a blue line-x">
- <form name="myform" action="index.php?m=admin_news&c=property" target="supportiframe" method="post" onSubmit="return check_form(this);"
- style="">
- <div class="new_dd_but fl">
- <span class="news_dd_nm fl" style="color:#555">名称:</span>
- <input type="text" class="new_dd_mc fl" id="nameid" name="name" class="input-text">
- <span class="news_dd_nm fl" style="color:#555;padding-left:10px;">调用标识:</span>
- <input type="text" id="valueid" name="value" class="new_dd_mc fl" size="10">
- </div>
- <input type="hidden" id="upid" name="id" value="">
- <input type="hidden" name="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- <input class="layui-btn layui-btn-normal" style="float:right;" name="submit" id="submit" type="submit" value="添加">
- </form>
- <div class="clear"></div>
- <table width="100%" class="table_form table_dd" style="text-align:center;border:1px solid #e6e6e6; line-height:30px;">
- <tr>
- <th style="text-align:center;" width="30%">名称</th>
- <th style="text-align:center;" width="35%">调用标识</th>
- <th style="text-align:center;" width="20%">操作</th>
- </tr>
- <?php $_smarty_tpl->tpl_vars['pv'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['pv']->_loop = false;
- $_smarty_tpl->tpl_vars['pvset'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['propertys']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['pv']->key => $_smarty_tpl->tpl_vars['pv']->value) {
-$_smarty_tpl->tpl_vars['pv']->_loop = true;
- $_smarty_tpl->tpl_vars['pvset']->value = $_smarty_tpl->tpl_vars['pv']->key;
-?>
- <tr id="pro<?php echo $_smarty_tpl->tpl_vars['pvset']->value;?>
-">
- <td class="od"><?php echo $_smarty_tpl->tpl_vars['pv']->value;?>
-</td>
- <td class="od"><?php echo $_smarty_tpl->tpl_vars['pvset']->value;?>
-</td>
- <td class="od"><a href="javascript:;" onClick="update('<?php echo $_smarty_tpl->tpl_vars['pvset']->value;?>
-','<?php echo $_smarty_tpl->tpl_vars['pv']->value;?>
-','<?php echo $_smarty_tpl->tpl_vars['pvset']->value;?>
-');">修改</a>
- | <a href="javascript:layer_del('确定要删除?','index.php?m=admin_news&c=delpro&id=<?php echo $_smarty_tpl->tpl_vars['pvset']->value;?>
-');">删除</a></td>
- </tr>
- <?php } ?>
- </table>
- </div>
- </div>
- </div>
- <style>
- .admin_compay_fp{width:340px; margin-top:10px;}
- .admin_compay_fp_s{width:100px; text-align:right; font-weight:bold; display:inline-block}
- .admin_compay_fp_sub{width:140px;height:25px;border:1px solid #ddd;}
- .admin_compay_fp_sub1{width:40px;height:27px; background:#3692cf;color:#fff;border:none; cursor:pointer}
- .table_dd tr th{border-right:none;border-bottom:1px solid #e6e6e6;}
- .line-x{border:none;}
- .new_dd_but{margin-bottom:15px;}
- .news_dd_nm{height:30px;line-height:30px;}
- .new_dd_mc{width:110px;height:30px;line-height:30px;border:1px solid #ccc;}
- </style>
-
- <div id="infoboxclass" style="display:none; width: 350px; ">
- <form action="index.php?m=admin_news&c=changeClass" target="supportiframe" method="post" id="classform">
- <div class="admin_compay_fl_l">
- <span class="admin_compay_fl_s">类别搜索:</span>
- <input type="text" value="" id="classkeyword" class="admin_compay_fl_text">
- <input type='button' id="classbutton" value="搜索" class="admin_compay_fl_bth">
- </div>
-
- <div class="admin_compay_fl_l">
- <span class="admin_compay_fl_s">新闻类别:</span>
-
- <div class="yun_admin_select_box zindex100">
- <input type="button" value="请选择" class="yun_admin_select_box_text" style="border: 1px solid #ddd;" id="nid_name"
- onClick="select_click('nid');">
- <input name="nid" type="hidden" id="nid_val" value="">
- <div class="yun_admin_select_box_list_box dn" id="nid_select">
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['one_class']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
- <div class="yun_admin_select_box_list"> <a href="javascript:;" onClick="select_new('nid','<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-','<?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-')"><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-</a>
- </div>
- <?php $_smarty_tpl->tpl_vars['val'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['val']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['two_class']->value[$_smarty_tpl->tpl_vars['v']->value['id']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['val']->key => $_smarty_tpl->tpl_vars['val']->value) {
-$_smarty_tpl->tpl_vars['val']->_loop = true;
-?>
- <div class="yun_admin_select_box_list"> <a href="javascript:;" onClick="select_new('nid','<?php echo $_smarty_tpl->tpl_vars['val']->value['id'];?>
-','<?php echo $_smarty_tpl->tpl_vars['val']->value['name'];?>
-')">
- ┗<?php echo $_smarty_tpl->tpl_vars['val']->value['name'];?>
-</a> </div>
- <?php } ?>
- <?php } ?>
- </div>
- </div>
-
- </div>
- <div class="admin_compay_fp">
- <span style="width:350px;text-align:center;font-weight:bold; display:inline-block">
- <font color="red"> 说明:新闻类别转移可转移到任意类别</font>
- </span>
- </div>
- <div class="admin_compay_fp">
- <span class="admin_compay_fp_s"> </span>
- <input type="submit" value='确认' class="admin_examine_bth"><input type="button" onClick="layer.closeAll();" class="admin_examine_bth_qx"
- value='取消' style="margin-left:10px;">
- </div>
- <input type="hidden" name="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- <input name="id" value="0" id="classid" type="hidden">
- </form>
- </div>
- <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['adminstyle']->value)."/checkdomain.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
- <?php echo '<script'; ?>
->
- layui.use(['layer', 'form'], function() {
- var layer = layui.layer,
- form = layui.form,
- $ = layui.$;
- });
- <?php echo '</script'; ?>
->
- </body>
-</html>
-<?php }} ?>
diff --git a/data/templates_c/92d4cc030673bf28dc16fbc558f6fb14aea8c583.file.topfour_list.htm.php b/data/templates_c/92d4cc030673bf28dc16fbc558f6fb14aea8c583.file.topfour_list.htm.php
deleted file mode 100644
index 12cdde0..0000000
--- a/data/templates_c/92d4cc030673bf28dc16fbc558f6fb14aea8c583.file.topfour_list.htm.php
+++ /dev/null
@@ -1,918 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:17:21
- compiled from "E:\ishangstudywebs\zhaopin\app\template\default\resume\topfour_list.htm" */ ?>
-<?php /*%%SmartyHeaderCode:2151167ff75a1737a57-33718390%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '92d4cc030673bf28dc16fbc558f6fb14aea8c583' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\default\\resume\\topfour_list.htm',
- 1 => 1634883836,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '2151167ff75a1737a57-33718390',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'key' => 0,
- 'user3' => 0,
- 'config' => 0,
- 'uid' => 0,
- 'style' => 0,
- 'talentpool' => 0,
- 'useridmsg' => 0,
- 'eid' => 0,
- 'v' => 0,
- 'user' => 0,
- 'lookResumeIds' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff75a1768a37_47382536',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff75a1768a37_47382536')) {function content_67ff75a1768a37_47382536($_smarty_tpl) {?><?php $_smarty_tpl->tpl_vars['user3'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['user3']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
-$user3=array();global $db,$db_config,$config;
- if(is_array($_GET)){
- foreach($_GET as $key=>$value){
- if($value=='0'){
- unset($_GET[$key]);
- }
- }
- }
- $paramer=array("limit"=>"4","post_len"=>"14","order"=>"'topdate'","item"=>"'user3'","workexp"=>"1","key"=>"'key'","name"=>"'userlist3'","nocache"=>"")
-;
- $ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
- $paramer = $ParamerArr[arr];
- $Purl = $ParamerArr[purl];
- global $ModuleName;
- if(!$Purl["m"]){
- $Purl["m"]=$ModuleName;
- }
-
- //处理类别字段
- include(CONFIG_PATH."db.data.php");
- $cache_array = $db->cacheget();
- $fscache_array = $db->fscacheget();
- $userclass_name = $cache_array["user_classname"];
- $city_name = $cache_array["city_name"];
- $city_index = $cache_array["city_index"];
- $job_name = $cache_array["job_name"];
- $job_index = $cache_array["job_index"];
- $job_type = $cache_array["job_type"];
- $industry_name = $cache_array["industry_name"];
- $city_parent = $fscache_array["city_parent"];
- $job_parent = $fscache_array["job_parent"];
-
- //是否属于分站下
- if($config['sy_web_site']=="1"){
- if($config[province]>0 && $config[province]!=""){
- $paramer[provinceid] = $config[province];
- }
- if($config['cityid']>0 && $config['cityid']!=""){
- $paramer['cityid']=$config['cityid'];
- }
- if($config['three_cityid']>0 && $config['three_cityid']!=""){
- $paramer['three_cityid']=$config['three_cityid'];
- }
- if($config['hyclass']>0 && $config['hyclass']!=""){
- $paramer['hy']=$config['hyclass'];
- }
- }
-
-
- $where = "a.`defaults`=1 and a.`state`=1 and a.`r_status`=1 AND a.`status`=1";
-
- //关注我公司的人才--条件
- if($paramer[where_uid]){
- $where .=" AND a.`uid` in (".$paramer['where_uid'].")";
- }
- //黑名单不能查看已拉黑的个人用户简历
- if($_COOKIE['uid']&&$_COOKIE['usertype']=="2"){
- $blacklist=$db->select_all("blacklist","`p_uid`='".$_COOKIE['uid']."'","c_uid");
- if(is_array($blacklist)&&$blacklist){
- foreach($blacklist as $v){
- $buid[]=$v['c_uid'];
- }
- $where .=" AND a.`uid` NOT IN (".@implode(",",$buid).")";
- }
- }
-
- //置顶
- if($paramer[topdate]){
- $where .=" AND a.`top`=1 AND a.`topdate`>'".time()."'";
- }
- if($paramer[top]){
- $where .=" AND a.`top`=1 AND a.`topdate`>'".time()."'";
- }
- //身份认证
- if($paramer[idcard]){
- $where .=" AND a.`idcard_status`=1";
- }
- //优质人才
- if($paramer[height_status]){
- $where .=" AND a.`height_status`=".$paramer[height_status];
- }
- //优质人才推荐
- if($paramer[rec]){
- $where .=" AND a.`rec`=1";
- }
- //普通推荐
- if($paramer[rec_resume]){
- $where .=" AND a.`rec_resume`=1";
- }
- //作品
- if($paramer[work]){
- $show=$db->select_all("resume_show","1 group by eid","`eid`");
- if(is_array($show)){
- foreach($show as $v){
- $eid[]=$v['eid'];
- }
- }
- $where .=" AND a.`id` in (".@implode(",",$eid).")";
- }
- //标签
- if($paramer[tag]){
- $tagname=$userclass_name[$paramer[tag]];
- $tag=$db->select_all("resume","`def_job`>0 and `r_status`=1 and `status`=1 and FIND_IN_SET('".$tagname."',`tag`)","`def_job`");
- if(is_array($tag)){
- foreach($tag as $v){
- $tagid[]=$v['def_job'];
- }
- }
- $where .=" AND a.`id` in (".@implode(",",$tagid).")";
- }
- //更新时间区间
- if($paramer[uptime]){
- if($paramer[uptime]==1){
- $beginToday=mktime(0,0,0,date('m'),date('d'),date('Y'));
- $where.=" AND a.`lastupdate`>$beginToday";
- }else{
- $time=time();
- $uptime = $time-($paramer[uptime]*86400);
- $where.=" AND a.`lastupdate`>$uptime";
- }
- }else{
- if($config[sy_datacycle]>0){
- // 后台-页面设置-数据周期
- $uptime = strtotime('-'.$config[sy_datacycle].' day');
- $where.=" AND a.`lastupdate`>$uptime";
- }
- }
- //添加时间区间,即审核时间
- if($paramer[adtime]){
- $time=time();
- $adtime = $time-($paramer[adtime]*86400);
- $where.=" AND a.`status_time`>$adtime";
- }
- //是否有照片
- if($paramer[pic]=="1"){
- $where .=" AND a.`photo`<>'' AND a.`phototype`!=1 AND a.`defphoto` = 1";
- }
- //行业
- if($paramer['hy']!=""){
- $where .= " AND a.`hy` IN (".$paramer['hy'].")";
- }
-
-
- $job_col = $city_col = "";
- $cjwhere = "";
- if($paramer[three_cityid]){
- $city_col = "three_cityid";
- $cjwhere .= " AND cj.`$city_col`= $paramer[three_cityid]";
- }elseif($paramer[cityid]){
- $city_col = "cityid";
- $cjwhere .= " AND cj.`$city_col`= $paramer[cityid]";
- }elseif($paramer[provinceid]){
- $city_col = "provinceid";
- $cjwhere .= " AND cj.`$city_col`= $paramer[provinceid]";
- }
- //城市区间,不建议执行该查询
- if($paramer[cityin]){
- if($city_parent[$paramer[cityin]]=='0'){
- $city_col = "provinceid";
- $cjwhere .= " AND cj.`$city_col` = $paramer[cityin]";
- }elseif(in_array($city_parent[$paramer[cityin]],$city_index)){
- $city_col = "cityid";
- $cjwhere .= " AND cj.`$city_col` = $paramer[cityin]";
- }elseif($city_parent[$paramer[cityin]]>0){
- $city_col = "three_cityid";
- $cjwhere .= " AND cj.`$city_col` = $paramer[cityin]";
- }
- }
- if($paramer[job_post]){
- $job_col = "job_post";
- $cjwhere .= " AND cj.`$job_col`= $paramer[job_post]";
- }elseif($paramer[job1_son]){
- $job_col = "job1_son";
- $cjwhere .= " AND cj.`$job_col`= $paramer[job1_son]";
- }elseif($paramer[job1]){
- $job_col = "job1";
- $cjwhere .= " AND cj.`$job_col`= $paramer[job1]";
- }
- //职位区间,不建议执行该查询
- if($paramer[jobin]){
- if($job_parent[$paramer[jobin]]=='0'){
- $job_col = "job1";
- $cjwhere .=" AND cj.`$job_col`= $paramer[jobin]";
- }elseif(in_array($job_parent[$paramer[jobin]],$job_index)){
- $job_col = "job1_son";
- $cjwhere .=" AND cj.`$job_col`= $paramer[jobin]";
- }elseif($job_parent[$paramer[jobin]]>0){
- $job_col = "job_post";
- $cjwhere .=" AND cj.`$job_col`= $paramer[jobin]";
- }
- }
- // 拼接唯一标识字段
- if($city_col || $job_col){
- if($city_col && $job_col){
- $cjwhere .= " AND cj.`{$city_col}_{$job_col}_num`= 1";
- }elseif($city_col){
- $cjwhere .= " AND cj.`{$city_col}_num`= 1";
- }elseif($job_col){
- $cjwhere .= " AND cj.`{$job_col}_num`= 1";
- }
- }
-
- //工作经验
- if($paramer[exp]){
-
- $expKey = $db->DB_select_once("userclass", "`variable` = 'user_word'", "`id`");
- $expReq = $db->DB_select_once("userclass", "`id` = $paramer[exp]", "`sort`,`name`");
- if($expReq[name] != "不限"){
-
- $expArr = $db->select_all("userclass", "`keyid` = $expKey[id] AND `sort` >= $expReq[sort]", "`id`");
- $expIds = array();
- foreach($expArr as $v){
- $expIds[] = $v[id];
- }
- $where .= " AND a.`exp` in (".@implode(",",$expIds).")";
- }
- }
- //学历
- if($paramer[edu]){
-
- $eduKey = $db->DB_select_once("userclass", "`variable` = 'user_edu'", "`id`");
- $eduReq = $db->DB_select_once("userclass", "`id` = $paramer[edu]", "`sort`,`name`");
- if($eduReq[name] != "不限"){
-
- $eduArr = $db->select_all("userclass", "`keyid` = $eduKey[id] AND `sort` >= $eduReq[sort]", "`id`");
- $eduIds = array();
- foreach($eduArr as $v){
- $eduIds[] = $v[id];
- }
-
- $where .= " AND a.`edu` in (".@implode(",",$eduIds).")";
- }
- }
- //性别
- if($paramer[sex]){
- $where .=" AND a.`sex`=$paramer[sex]";
- }
- //到岗时间
- if($paramer[report]){
- $where .=" AND a.`report`=$paramer[report]";
- }
- //工作性质
- if($paramer[type]){
- $where .= " AND a.`type`=$paramer[type]";
- }
- if($paramer[notid]){
- $where.= " and `id`<>$paramer[notid]";
- }
- //简历完整度
-
-
- if($paramer[integrity]){
- $integrityR = $arr_data["integrity_val"];
-
- $where.= " AND a.`integrity`>='".$integrityR[$paramer[integrity]]."'";
-
- }
-
- //关键字
- if($paramer[keyword]){
- $where1 = array();
- $where1[]="a.`name` LIKE '%$paramer[keyword]%'";
- $where1[]="a.`uname` LIKE '%$paramer[keyword]%'";
-
- //搜索工作经历
- $workList = $db->select_all('resume_work',"`title` LIKE '%$paramer[keyword]%' OR `content` LIKE '%$paramer[keyword]%' ORDER BY id DESC limit 500","`eid`");
- if(!empty($workList)){
- $workId = array();
- foreach($workList as $value){
- $workId[] = $value['eid'];
- }
- $where1[] = "a.id IN (".implode(',',$workId).")";
- }
-
- $where.=" AND (".@implode(" or ",$where1).")";
- }
- //薪资待遇
- if($paramer[minsalary]&&$paramer[maxsalary]){
- $where.= " AND ((a.`minsalary`<=".intval($paramer[minsalary])." and a.`maxsalary`>=".intval($paramer[minsalary]).")
- or (a.`minsalary`<=".intval($paramer[maxsalary])." and a.`maxsalary`>=".intval($paramer[maxsalary])."))";
- }elseif($paramer[minsalary]&&!$paramer[maxsalary]){
- $where.= " AND ((a.`minsalary`<=".intval($paramer[minsalary])." and a.`maxsalary`>=".intval($paramer[minsalary]).")
- or (a.`minsalary`>=".intval($paramer[minsalary])." and a.`maxsalary`>=".intval($paramer[minsalary]).")
- or (a.`minsalary`!=0 and a.`maxsalary`=0))";
- }elseif(!$paramer[minsalary]&&$paramer[maxsalary]){
- $where.= " AND ((a.`minsalary`<=".intval($paramer[maxsalary])." and a.`maxsalary`>=".intval($paramer[maxsalary]).")
- or (a.`minsalary`<=".intval($paramer[maxsalary])." and a.`maxsalary`<=".intval($paramer[maxsalary]).")
- or (a.`minsalary`<=".intval($paramer[maxsalary])." and a.`maxsalary`=0)
- or (a.`minsalary`=0 and a.`maxsalary`!=0)
- )";
- }
- //年龄
- if($paramer[minage]&&$paramer[maxage]){
- $mintime=date("Y-m-d",strtotime("-".$paramer[minage]." year"));
- $maxtime=date("Y-m-d",strtotime("-".$paramer[maxage]." year"));
- $where.= " AND a.`birthday`>= '".$maxtime."' and a.`birthday`<='".$mintime."'";
- }elseif($paramer[minage]&&!$paramer[maxage]){
- $mintime=date("Y-m-d",strtotime("-".$paramer[minage]." year"));
- $where.= " AND a.`birthday`<='".$mintime."'";
- }elseif(!$paramer[minage]&&$paramer[maxage]){
- $maxtime=date("Y-m-d",strtotime("-".$paramer[maxage]." year"));
- $where.= " AND a.`birthday`>='".$maxtime."'";
- }
- //排序字段默认为更新时间
- if($paramer[order] && $paramer[order]!="lastdate"){
- if($paramer[order]=='topdate'){
- $nowtime=time();
- $order = " ORDER BY if(a.`topdate`>$nowtime,a.`topdate`,a.`lastupdate`) ";
- }else{
- $order = " ORDER BY a.`".$paramer[order]."` ";
- }
- }else{
- $order = " ORDER BY a.`lastupdate` ";
- }
- //排序规则 默认为倒序
- $sort = $paramer[sort]?$paramer[sort]:"DESC";
- //查询条数
- if($paramer[limit]){
- $limit=" LIMIT ".$paramer[limit];
- }
- //自定义查询条件,默认取代上面任何参数直接使用该语句
- if($paramer[where]){
- $where = $paramer[where];
- }
- $pagewhere = "";$joinwhere = "";
- if($cjwhere){
- $pagewhere.=" ,`".$db_config[def]."resume_city_job_class` cj ";
- $joinwhere .= " a.`id`=cj.`eid` " . $cjwhere;
- }
-
- if($paramer[ispage]){
- // 查询分页
- if($paramer["height_status"]){
- $limit = PageNav($paramer,$_GET,"resume_expect",$where,$Purl,"",$paramer[islt]?$paramer[islt]:"3",$_smarty_tpl,$pagewhere,$joinwhere);
- }else{
- $limit = PageNav($paramer,$_GET,"resume_expect",$where,$Purl,"","0",$_smarty_tpl,$pagewhere,$joinwhere);
- }
- }
-
- if($paramer[topdate] && $_GET[page]>1){
- $user3 = array();
- }else{
-
- $select="a.`id`,a.`uid`,a.`name`,a.`hy`,a.`job_classid`,a.`city_classid`,a.`jobstatus`,a.`type`,a.`report`,a.`lastupdate`,a.`rec`,a.`top`,a.`topdate`,a.`rec_resume`,a.`ctime`,a.`uname`,a.`idcard_status`,a.`minsalary`,a.`maxsalary`";
- if($pagewhere!=""){
-
- $sql = "select ".$select." from `".$db_config[def]."resume_expect` a ".$pagewhere." where ".$joinwhere." and ".$where.$order.$sort.$limit;
-
- $user3=$db->DB_query_all($sql,"all");
-
- }else{
- $sql = "select ".$select." from `".$db_config[def]."resume_expect` a where ".$where.$order.$sort.$limit;
-
- $user3=$db->DB_query_all($sql,"all");
- }
- }
-
- if(!empty($user3) && is_array($user3)){
-
- //如果存在top,则说明请求来自排行榜页面
- if($paramer['top']){
- $uids=$m_name=array();
- foreach($user3 as $k=>$v){
- $uids[]=$v[uid];
- }
-
- $member=$db->select_all($db_config[def]."member","`uid` in(".@implode(',',$uids).")","uid,username");
- foreach($member as $val){
- $m_name[$val[uid]]=$val['username'];
- }
- }
- $uid = $eid = array();
- foreach($user3 as $key=>$value){
-
- $uid[] = $value['uid'];
- $eid[] = $value['id'];
- }
- $eids = @implode(',',$eid);
- $uids = @implode(',',$uid);
- $resume=$db->select_all("resume","`uid` in(".$uids.")","uid,name,nametype,tag,sex,moblie_status,edu,exp,defphoto,photo,phototype,photo_status,birthday");
- foreach($resume as $v){
- $ruids[] = $v['uid'];
- }
- foreach($user3 as $k=>$v){
- if(!in_array($v['uid'],$ruids)){
- unset($user3[$k]);
- continue;
- }
- }
- if($paramer[topdate]){
- $noids=array();
- }
-
- if($paramer[workexp] == 1){
- $eduList = $db -> select_all("resume_edu","`eid` in(".$eids.")");
- if(!empty($eduList)){
- foreach($eduList as $key=>$value){
- $eduListNew[$value['eid']][] = $value;
- }
- foreach($eduListNew as $k=>$eduv){
- $edumin = 0;
- $edumax = 0;
- $edutitle = array();
- $education = array();
- foreach($eduv as $v){
- if($v['sdate']>0 && $edumin==0){
- $edumin = $v['sdate'];
- }elseif($edumin>$v['sdate']){
- $edumin = $v['sdate'];
- }
- if($v['edate']==0 ){
- $edumax = 0;
- }elseif($edumax<$v['edate']){
- $edumax = $v['edate'];
- }
-
- $education[] = $userclass_name[$v['education']];
-
- $edutitle[] = $v['specialty'];
- }
- $return =array();
- $return['edumin'] = date('Y-m',$edumin);
- $return['edumax'] = $edumax == 0 ? '至今': date('Y',$edumax);
- $return['education'] = @implode(',',$education);
- $return['eduspecialty'] = @implode('、',$edutitle);
-
- $return['edu_time'] = $return['edumin']."-".$return['edumax'];
-
- if($return['eduspecialty']){
- $workexpList[$k]['edu_content'] = $return['education'].'学历 ▪ '.$return['eduspecialty'].' ▪ 毕业于'.$return['edumax'].'年';
- }else{
- $workexpList[$k]['edu_content'] = $return['education'].'学历 ▪ 毕业于'.$return['edumax'].'年';
- }
- }
-
- }
-
- $workList = $db -> select_all("resume_work","`eid` in(".$eids.")");
- if(!empty($workList)){
- foreach($workList as $key=>$value){
- $workListNew[$value['eid']][] = $value;
- }
- foreach($workListNew as $k=>$workv){
-
- $whour = 0;
- $hour = array();
- $time = time();
- $workmin = 0;
- $workmax = 0;
- $worknum = count($workv);
- $wtitle = array();
- foreach($workv as $v){
- /* 计算每份工作时长(按月) */
-
- if($v['sdate']>0 && $workmin==0){
- $workmin = $v['sdate'];
- }elseif($workmin>$v['sdate']){
- $workmin = $v['sdate'];
- }
-
- if($v['edate']==0 ){
- $workmax = 0;
- }elseif($workmax<$v['edate']){
- $workmax = $v['edate'];
- }
-
- $wtitle[] = $v['title'];
-
- $hour[] = $workTime;
- $whour += $workTime;
- }
-
- $workavg = ceil($whour/count($hour));
- $return = array();
- $return['worknum'] = $worknum > 0 ? $worknum:0;
- $return['workavg'] = $workavg > 0 ? $workavg:0;
- $return['workmin'] = date('Y-m',$workmin);
- $return['workmax'] = $workmax == 0 ? '至今': date('Y-m',$workmax);
- $return['worktit'] = @implode(',',$wtitle);
-
- $return['work_time'] = $return['workmin'].'-'.$return['workmax'];
-
- if($return['worktit']!=''){
- $workexpList[$k]['work_content'] = ' 参加过'.$return['worknum'].'份工作 ▪ 涉及'.$return['worktit'].'等岗位';
- }else{
- $workexpList[$k]['work_content'] = ' 参加过'.$return['worknum'].'份工作';
- }
- }
- }
- }
- foreach($user3 as $k=>$v){
- if($paramer[topdate]){
- $noids[] = $v[id];
- }
- //筛除重复
- if($paramer[noid]=='1' && !empty($noids) && in_array($v['id'],$noids)){
- unset($user3[$k]);
- continue;
- }
- foreach($resume as $val){
- if($v['uid']==$val['uid']){
- $user3[$k]['edu_n']=$userclass_name[$val['edu']];
- $user3[$k]['exp_n']=$userclass_name[$val['exp']];
- if($val['birthday']){
- $year = date("Y",strtotime($val['birthday']));
- $user3[$k]['age'] =date("Y")-$year;
- }
- if($val['sex']==152){
- $val['sex']='1';
- }elseif ($val['sex']==153){
- $val['sex']='2';
- }
- $user3[$k]['sex'] =$arr_data[sex][$val['sex']];
- $user3[$k]['phototype']=$val[phototype];
- $photo=$icon="";
- if($val['defphoto']==2){
- $photo=$val['photo'];
- }else{
- if($config['user_pic']==1 || empty($config['user_pic'])){
- if($val['photo'] && $val['photo_status']==0 && $val['phototype']!=1){
- $photo=$val['photo'];
- }else{
- if($val['sex']==1){
- $icon=$config['sy_member_icon'];
- }else{
- $icon=$config['sy_member_iconv'];
- }
- }
-
- }elseif($config['user_pic']==2){
- if($val['photo']&& $val['photo_status']==0){
- $photo=$val['photo'];
- }else{
- if($val['sex']==1){
- $icon=$config['sy_member_icon'];
- }else{
- $icon=$config['sy_member_iconv'];
- }
- }
- }elseif($config['user_pic']==3){
- if($val['sex']==1){
- $icon=$config['sy_member_icon'];
- }else{
- $icon=$config['sy_member_iconv'];
- }
- }
- }
- $user3[$k]['photo']=checkpic($photo,$icon);
- if($val['tag']){
- $user3[$k]['tag']=explode(',',$val['tag']);
- }
- $user3[$k]['nametype']=$val[nametype];
- $user3[$k]['moblie_status']=$val[moblie_status];
- //名称显示处理
- if($config['user_name']==1 || !$config['user_name']){
- if($val['nametype']==3){
- if($val['sex']==1){
- $user3[$k]['username_n'] = mb_substr($val['name'],0,1,'utf-8')."先生";
- }else{
- $user3[$k]['username_n'] = mb_substr($val['name'],0,1,'utf-8')."女士";
- }
- }elseif($val['nametype']==2){
- $user3[$k]['username_n'] = "NO.".$v['id'];
- }else{
- $user3[$k]['username_n'] = $val['name'];
- }
- }elseif($config['user_name']==3){
- if($val['sex']==1){
- $user3[$k]['username_n'] = mb_substr($val['name'],0,1,'utf-8')."先生";
- }else{
- $user3[$k]['username_n'] = mb_substr($val['name'],0,1,'utf-8')."女士";
- }
- }elseif($config['user_name']==2){
- $user3[$k]['username_n'] = "NO.".$v['id'];
- }elseif($config['user_name']==4){
- $user3[$k]['username_n'] = $val['name'];
- }
- }
- }
- //更新时间显示方式
- $time=$v['lastupdate'];
- //今天开始时间戳
- $beginToday=mktime(0,0,0,date('m'),date('d'),date('Y'));
- //昨天开始时间戳
- $beginYesterday=mktime(0,0,0,date('m'),date('d')-1,date('Y'));
- if($time>$beginYesterday && $time<$beginToday){
- $user3[$k]['time'] = "昨天";
- }elseif($time>$beginToday){
- $user3[$k]['time'] = lastupdateStyle($v['lastupdate']);
- $user3[$k]['redtime'] =1;
- }else{
- $user3[$k]['time'] = date("Y-m-d",$v['lastupdate']);
- }
-
- // 前天
- $beforeYesterday=mktime(0,0,0,date('m'),date('d')-2,date('Y'));
-
- if($v['ctime']>$beforeYesterday){
- $user3[$k]['newtime'] =1;
- }
- $user3[$k]['user_jobstatus_n']=$userclass_name[$v['jobstatus']];
-// $user3[$k]['job_city_one']=$city_name[$v['provinceid']];
-// $user3[$k]['job_city_two']=$city_name[$v['cityid']];
-// $user3[$k]['job_city_three']=$city_name[$v['three_cityid']];
- if($v['minsalary']&&$v['maxsalary']){
- if($config['resume_salarytype']==1){
- $user3[$k]["salary_n"] = $v['minsalary']."-".$v['maxsalary'];
- }else{
- if($v[maxsalary]<1000){
- if($config['resume_salarytype']==2){
- $user3[$k]["salary_n"] = "1千以下";
- }elseif($config['resume_salarytype']==3){
- $user3[$k]["salary_n"] = "1K以下";
- }elseif($config['resume_salarytype']==4){
- $user3[$k]["salary_n"] = "1k以下";
- }
- }else{
- $user3[$k]["salary_n"] = changeSalary($v['minsalary'])."-".changeSalary($v['maxsalary']);
- }
- }
- }else if($v['minsalary']){
- if($config['resume_salarytype']==1){
- $user3[$k]["salary_n"] = $v['minsalary'];
- }else{
- $user3[$k]["salary_n"] = changeSalary($v['minsalary']);
- }
- }else{
- $user3[$k]["salary_n"] = "面议";
- }
- $user3[$k]['report_n']=$userclass_name[$v['report']];
- $user3[$k]['type_n']=$userclass_name[$v['type']];
- $user3[$k]['lastupdate']=date("Y-m-d",$v['lastupdate']);
-
- $user3[$k]['user_url']=Url("resume",array("c"=>"show","id"=>$v['id']),"1");
- $user3[$k]["hy_info"]=$industry_name[$v['hy']];
- if($paramer['top']){
- $user3[$k]['m_name']=$m_name[$v['uid']];
- $user3[$k]['user_url']=Url("ask",array("c"=>"friend","a"=>"myquestion","uid"=>$v['uid']));
- }
- $user3[$k]['work_content']=$workexpList[$v['id']]['work_content'];
- $user3[$k]['edu_content']=$workexpList[$v['id']]['edu_content'];
-
- $kjob_classid=@explode(",",$v['job_classid']);
- $kjob_classid=array_unique($kjob_classid);
- $jobname=array();
- if(is_array($kjob_classid)){
- foreach($kjob_classid as $val){
- if($val!=''){
- if($paramer['keyword']){
- $jobname[]=str_replace($paramer['keyword'],"<font color=#FF6600 >".$paramer['keyword']."</font>",$job_name[$val]);
- }else{
- $jobname[]=$job_name[$val];
- }
- }
- }
- }
- //$user3[$k]['job_post']=@implode(",",$jobname);
- $user3[$k]['expectjob']=$jobname;
- $kcity_classid=@explode(",",$v['city_classid']);
- $kcity_classid=array_unique($kcity_classid);
- $cityname=array();
- if(is_array($kcity_classid)){
- foreach($kcity_classid as $val){
- if($val!=''){
-
- $cityname[]=$city_name[$val];
-
- }
- }
- }
- //$user3[$k]['citylist']=@implode("/",$cityname);
- $user3[$k]['expectcity']=$cityname;
- //截取标题
- if($paramer['post_len']){
- $postname[$k]=@implode(",",$jobname);
- $user3[$k]['job_post_n']=mb_substr($postname[$k],0,$paramer[post_len],"utf-8");
- }
- if($paramer['city_len']){
- $scityname[$k]=@implode("/",$cityname);
- $user3[$k]['city_name_n']=mb_substr($scityname[$k],0,$paramer[city_len],"utf-8");
- }
- }
- foreach($user3 as $k=>$v){
- if($paramer['keyword']){
- $user3[$k]['username_n']=str_replace($paramer['keyword'],"<font color=#FF6600 >".$paramer['keyword']."</font>",$v['username_n']);
- $user3[$k]['job_post']=str_replace($paramer['keyword'],"<font color=#FF6600 >".$paramer['keyword']."</font>",$user3[$k]['job_post']);
- $user3[$k]['job_post_n']=str_replace($paramer['keyword'],"<font color=#FF6600 >".$paramer['keyword']."</font>",$user3[$k]['job_post_n']);
- $user3[$k]['city_name_n']=str_replace($paramer['keyword'],"<font color=#FF6600 >".$paramer['keyword']."</font>",$user3[$k]['city_name_n']);
- }
- }
-
-
- if($paramer['keyword']!=""&&!empty($user3)){
- addkeywords('5',$paramer['keyword']);
- }
- }$user3 = $user3; if (!is_array($user3) && !is_object($user3)) { settype($user3, 'array');}
-foreach ($user3 as $_smarty_tpl->tpl_vars['user3']->key => $_smarty_tpl->tpl_vars['user3']->value) {
-$_smarty_tpl->tpl_vars['user3']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['user3']->key;
-?>
-<div class="search_job_list <?php if ($_smarty_tpl->tpl_vars['key']->value%2!='0') {
-}?>">
-
-
- <div class="resume_newlist"><?php if ($_smarty_tpl->tpl_vars['user3']->value['newtime']==1) {?><i class="yunjoblist_newicon" title="新简历"> </i><?php }?>
- <div class="resume_newlist_jobname">
- <?php if ($_smarty_tpl->tpl_vars['config']->value['com_search']==1&&!$_smarty_tpl->tpl_vars['uid']->value) {?>
- <a href="javascript:void(0);" onclick="showlogin('2');" class="resume_newlist_job"><?php echo $_smarty_tpl->tpl_vars['user3']->value['name'];?>
-</a>
- <?php } else { ?>
- <a href="<?php echo $_smarty_tpl->tpl_vars['user3']->value['user_url'];?>
-" target="_blank" class="resume_newlist_job"><?php echo $_smarty_tpl->tpl_vars['user3']->value['name'];?>
-</a>
- <?php }?>
-
- <?php if ($_smarty_tpl->tpl_vars['user3']->value['idcard_status']=='1') {?><img src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/images/sf.png" title="身份已认证" class="user_rz_img png fl" /><?php }?>
- <?php if ($_smarty_tpl->tpl_vars['user3']->value['ispic']) {?><img src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/images/profile.png" title="有形象照" class="user_rz_img png fl" /><?php }?>
-
- <?php if (in_array($_smarty_tpl->tpl_vars['user3']->value['id'],$_smarty_tpl->tpl_vars['talentpool']->value)) {?><span class="co_fav">已收藏</span><?php }?>
- <?php if (in_array($_smarty_tpl->tpl_vars['user3']->value['uid'],$_smarty_tpl->tpl_vars['useridmsg']->value)) {?><span class="co_fav">已邀请</span><?php }?>
- <?php if ($_smarty_tpl->tpl_vars['user3']->value['rec_resume']) {?>
- <img src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/images/jobtj.png" title="站长推荐" class="user_rz_img png fl" width="16"/>
- <?php }?>
- </div>
- <div class="resume_newlist_user">
- <?php if ($_smarty_tpl->tpl_vars['config']->value['com_search']==1&&!$_smarty_tpl->tpl_vars['uid']->value) {?>
- <a href="javascript:void(0);" onclick="showlogin('2');" class="resume_newlist_username"><?php if (in_array($_smarty_tpl->tpl_vars['user3']->value['id'],$_smarty_tpl->tpl_vars['eid']->value)) {
-echo $_smarty_tpl->tpl_vars['user3']->value['uname'];
-} else {
-echo $_smarty_tpl->tpl_vars['user3']->value['username_n'];
-}?></a>
- <?php } else { ?>
- <a href="<?php echo $_smarty_tpl->tpl_vars['user3']->value['user_url'];?>
-" target="_blank" class="resume_newlist_username"><?php if (in_array($_smarty_tpl->tpl_vars['user3']->value['id'],$_smarty_tpl->tpl_vars['eid']->value)) {
-echo $_smarty_tpl->tpl_vars['user3']->value['uname'];
-} else {
-echo $_smarty_tpl->tpl_vars['user3']->value['username_n'];
-}?></a>
- <?php }?>
- <span class="user_listinfo">
- <?php if ($_smarty_tpl->tpl_vars['user3']->value['age']==0) {?>保密<?php } else {
-echo $_smarty_tpl->tpl_vars['user3']->value['age'];?>
-岁<?php }?>
- ·
- <?php echo $_smarty_tpl->tpl_vars['user3']->value['exp_n'];?>
-经验
- ·
- <?php echo $_smarty_tpl->tpl_vars['user3']->value['edu_n'];?>
-学历
- </span>
-
- </div>
-
- <div class="resume_newlist_city">
- <?php if ($_smarty_tpl->tpl_vars['user3']->value['expectcity']) {?>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['user3']->value['expectcity']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <?php if ($_smarty_tpl->tpl_vars['key']->value<5) {?>
- <span class="user_tag"><?php echo $_smarty_tpl->tpl_vars['v']->value;?>
-</span>
- <?php }?>
- <?php } ?>
- <?php }?>
- </div>
- <?php if ($_smarty_tpl->tpl_vars['user3']->value['top']==1) {?>
- <div class="resume_newlist_date"><img src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/images/Top.gif"/></div>
- <?php } else { ?>
- <div class="resume_newlist_date">
- <?php if ($_smarty_tpl->tpl_vars['user3']->value['redtime']==1||$_smarty_tpl->tpl_vars['user']->value['time']=='昨天') {?>
- <span style="color:red;"><?php echo $_smarty_tpl->tpl_vars['user3']->value['time'];?>
-</span>
- <?php } else { ?>
- <?php echo $_smarty_tpl->tpl_vars['user3']->value['time'];?>
-
- <?php }?>
- </div>
- <?php }?>
-
- <a href="javascript:;" pid="<?php echo $_smarty_tpl->tpl_vars['user3']->value['id'];?>
-" class="yunjoblist_new_icon <?php if ($_GET['rtype']!='1') {?>yunjoblist_new_icon_cur<?php }?>" title="<?php if ($_GET['rtype']!='1') {?>收起<?php } else { ?>展开<?php }?>"></a>
- </div>
-
- <div class="resumeshow <?php if ($_GET['rtype']=='1') {?>none<?php }?>" id="resumeshow<?php echo $_smarty_tpl->tpl_vars['user3']->value['id'];?>
-">
- <div class="user_photo_left">
-
- <?php if ($_smarty_tpl->tpl_vars['config']->value['com_search']==1&&!$_smarty_tpl->tpl_vars['uid']->value) {?>
- <a href="javascript:void(0);" onclick="showlogin('2');"><img src="<?php echo $_smarty_tpl->tpl_vars['user3']->value['photo'];?>
-" width="60" height="60" onerror="showImgDelay(this,'<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_member_icon'];?>
-',2);" /></a>
- <?php } else { ?>
- <a href="<?php echo $_smarty_tpl->tpl_vars['user3']->value['user_url'];?>
-" target="_blank" ><img src="<?php echo $_smarty_tpl->tpl_vars['user3']->value['photo'];?>
-" width="60" height="60" onerror="showImgDelay(this,'<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_member_icon'];?>
-',2);" /></a>
- <?php }?>
-
- <i class="resume_list_xb resume_list_xb <?php if ($_smarty_tpl->tpl_vars['user3']->value['sex']=='女') {?>resume_list_xb_nv<?php }?>"></i>
- </div>
-
- <div class="usersearch_job_left_siaber">
-
- <div class="user_listinfo_job">工作职能:
- <?php if ($_smarty_tpl->tpl_vars['user3']->value['expectjob']) {?>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['user3']->value['expectjob']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <?php if ($_smarty_tpl->tpl_vars['key']->value<5) {?>
- <span class="user_tag"><?php echo $_smarty_tpl->tpl_vars['v']->value;?>
-</span>
- <?php }?>
- <?php } ?>
- <?php }?>
- </div>
-
- <?php if ($_smarty_tpl->tpl_vars['user3']->value['tag']) {?>
- <ul class="user_tag_user">
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['user3']->value['tag']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <?php if ($_smarty_tpl->tpl_vars['key']->value<5) {?> <li class="user_tag_user_a"><i class="user_tag_user_icon"></i><?php echo $_smarty_tpl->tpl_vars['v']->value;?>
-</li><?php }?>
- <?php } ?>
- </ul>
- <?php } else { ?>
- <div class="user_tag_user_p"><?php echo $_smarty_tpl->tpl_vars['user3']->value['user_jobstatus_n'];?>
-</div>
- <?php }?>
-
- </div>
- <div class="user_want">
- <!-- 填的情况 -->
- <?php if ($_smarty_tpl->tpl_vars['user3']->value['work_content']||$_smarty_tpl->tpl_vars['user3']->value['edu_content']) {?>
- <?php if ($_smarty_tpl->tpl_vars['user3']->value['edu_content']) {?>
- <div class="user_undergo"><?php echo $_smarty_tpl->tpl_vars['user3']->value['edu_content'];?>
- </div>
- <?php }?>
- <?php if ($_smarty_tpl->tpl_vars['user3']->value['work_content']) {?>
- <div class="user_undergo"><?php echo $_smarty_tpl->tpl_vars['user3']->value['work_content'];?>
- </div>
- <?php }?>
- <?php } else { ?>
- <div class="user_undergo">到岗时间:<?php echo $_smarty_tpl->tpl_vars['user3']->value['report_n'];?>
-</div>
- <div class=" user_undergo">期望薪资:<?php echo $_smarty_tpl->tpl_vars['user3']->value['salary_n'];?>
-</div>
- <?php }?>
- <!--填的情况 end-->
- </div>
- <div class="yun_look_right">
- <?php if ($_smarty_tpl->tpl_vars['config']->value['com_search']==1&&!$_smarty_tpl->tpl_vars['uid']->value) {?>
- <a href="javascript:void(0);" onclick="showlogin('2');" class="yun_look_bth">查看</a>
- <?php } else { ?>
- <a href="<?php echo $_smarty_tpl->tpl_vars['user3']->value['user_url'];?>
-" target="_blank" class="yun_look_bth">查看</a>
- <?php }?>
- </div>
- </div>
-
- <?php if (in_array($_smarty_tpl->tpl_vars['user3']->value['id'],$_smarty_tpl->tpl_vars['lookResumeIds']->value)) {?><div class="look_user">浏览过</div><?php }?>
-</div>
-<?php } ?><?php }} ?>
diff --git a/data/templates_c/942b1af51daf9555bfae11257fb3ff355b916d82.file.admin_web_config.htm.php b/data/templates_c/942b1af51daf9555bfae11257fb3ff355b916d82.file.admin_web_config.htm.php
deleted file mode 100644
index c6ba5dc..0000000
--- a/data/templates_c/942b1af51daf9555bfae11257fb3ff355b916d82.file.admin_web_config.htm.php
+++ /dev/null
@@ -1,1200 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:15:25
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\admin_web_config.htm" */ ?>
-<?php /*%%SmartyHeaderCode:3203567ff752de23ae7-36251139%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '942b1af51daf9555bfae11257fb3ff355b916d82' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\admin_web_config.htm',
- 1 => 1645272149,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '3203567ff752de23ae7-36251139',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'pytoken' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff752deabe01_30120755',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff752deabe01_30120755')) {function content_67ff752deabe01_30120755($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <link href="images/reset.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/system.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/table_form.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <?php echo '<script'; ?>
- src="../js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <link href="../js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <?php echo '<script'; ?>
- src="../js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="../js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="js/admin_public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type="text/javascript"><?php echo '</script'; ?>
->
- <title>后台管理</title>
- </head>
- <body class="body_ifm">
- <div class="infoboxp">
-
- <div class="main_tag">
-
- <div class="tabs_info">
- <ul>
- <li class="on">基本设置</li>
- <li>安全设置</li>
- <li>验证码设置</li>
- <li>网站LOGO</li>
- <li>地图设置</li>
- <li>缓存设置</li>
- <li>上传设置</li>
- </ul>
- </div>
- <div class="admin_new_tip">
- <a href="javascript:;" class="admin_new_tip_close"></a>
- <a href="javascript:;" class="admin_new_tip_open" style="display:none;"></a>
- <div class="admin_new_tit"><i class="admin_new_tit_icon"></i>操作提示</div>
- <div class="admin_new_tip_list_cont">
- <div class="admin_new_tip_list">基本设置由:“安全设置、验证码设置、网站LOGO、地图设置、缓存设置、上传设置”组成。</div>
- <div class="admin_new_tip_list">管理员设置后轻松掌控网站运营、企业、猎头和培训相关设置。请谨慎设置关系到网站运营和收入情况。</div>
- </div>
- </div>
- <div class="clear"></div>
- <div style="height:10px;"></div>
-
-
-
- <div class="tag_box tty_xitongshezhi">
-
- <div>
- <form class="layui-form">
-
- <div class="layui-form-item">
- <label class="layui-form-label">网站名称:</label>
- <div class="layui-input-inline t_w480">
- <input name="sy_webname" id="sy_webname" placeholder="请输入网站名称" autocomplete="off" class="layui-input" type="text"
- value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_webname'];?>
-" size="63" />
- </div>
- <div class="layui-form-mid layui-word-aux">如:维特人才网</div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">网站地址:</label>
- <div class="layui-input-inline t_w480">
- <input name="sy_weburl" id="sy_weburl" placeholder="请输入网址地址" autocomplete="off" class="layui-input" type="text"
- value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-" size="63" />
- </div>
- <div class="layui-form-mid layui-word-aux">如:http://www.weitenet.com</div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">网站开启:</label>
- <div class="layui-input-block">
- <input type="checkbox" name="sy_web_online" lay-skin="switch" lay-text="开启|关闭" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_web_online']=="1") {?> checked <?php }?> />
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">后台列表页显示条数:</label>
- <div class="layui-input-inline t_w480">
- <input name="sy_listnum" id="sy_listnum" placeholder="后台列表页显示条数" autocomplete="off" class="layui-input" type="text"
- value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_listnum'];?>
-" size="63" />
- </div>
- <span style="line-height:38px; display:inline-block">条</span>
- </div>
- <div class="layui-form-item layui-form-text">
- <label class="layui-form-label">网站关闭原因:</label>
- <div class="layui-input-inline t_w480">
- <textarea name="sy_webclose" id="sy_webclose" class="web_text_textarea" placeholder="请输入网站关闭原因"><?php echo $_smarty_tpl->tpl_vars['config']->value['sy_webclose'];?>
-</textarea>
- </div>
- </div>
- <div class="layui-form-item layui-form-text">
- <label class="layui-form-label">网站关键词:</label>
- <div class="layui-input-inline t_w480">
- <textarea name="sy_webkeyword" id="sy_webkeyword" rows="3" cols="50" class="web_text_textarea" placeholder="请输入网站关键词"><?php echo $_smarty_tpl->tpl_vars['config']->value['sy_webkeyword'];?>
-</textarea>
- <span class="admin_web_tip">提示:网站关键词作为公共部分详细设置请到系统-》SEO设置单独设置</span>
- </div>
- </div>
- <div class="layui-form-item layui-form-text">
- <label class="layui-form-label">网站描述:</label>
- <div class="layui-input-inline t_w480">
- <textarea name="sy_webmeta" id="sy_webmeta" class="web_text_textarea" placeholder="请输入网站描述"><?php echo $_smarty_tpl->tpl_vars['config']->value['sy_webmeta'];?>
-</textarea>
- <span class="admin_web_tip">提示:网站描述作为公共部分,详细设置请到系统-》SEO管理设置</span>
- </div>
- </div>
- <div class="layui-form-item layui-form-text">
- <label class="layui-form-label">网站版权信息:</label>
- <div class="layui-input-inline t_w480">
- <textarea name="sy_webcopyright" id="sy_webcopyright" placeholder="请输入网站版权信息" class="web_text_textarea"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['config']->value['sy_webcopyright']);?>
-</textarea>
- <span class="admin_web_tip">提示:© 可复制使用</span>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">站长EMAIL:</label>
- <div class="layui-input-inline t_w480">
- <input name="sy_webemail" id="sy_webemail" placeholder="请输入站长EMAIL" autocomplete="off" class="layui-input"
- type="text" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_webemail'];?>
-" size="63" />
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">站长手机:</label>
- <div class="layui-input-inline t_w480">
- <input name="sy_webmoblie" id="sy_webmoblie" placeholder="请输入站长手机" autocomplete="off" class="layui-input" type="text"
- value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_webmoblie'];?>
-" size="63" />
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">站长传真:</label>
- <div class="layui-input-inline t_w480">
- <input name="sy_webtel" id="sy_webtel" placeholder="请输入站长传真" autocomplete="off" class="layui-input" type="text"
- value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_webtel'];?>
-" size="63" />
- </div>
- <div class="layui-form-mid layui-word-aux">如:021-61190281</div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">ICP备案号:</label>
- <div class="layui-input-inline t_w480">
- <input name="sy_webrecord" id="sy_webrecord" placeholder="请输入ICP备案号" autocomplete="off" class="layui-input" type="text"
- value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_webrecord'];?>
-" size="63" />
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">网安备案号:</label>
- <div class="layui-input-inline t_w480">
- <input name="sy_websecord" id="sy_websecord" placeholder="请输入网安备案号" autocomplete="off" class="layui-input" type="text"
- value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_websecord'];?>
-" size="63" />
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">ICP经营许可证编号:</label>
- <div class="layui-input-inline t_w480">
- <input name="sy_perfor" id="sy_perfor" placeholder="请输入ICP经营许可证编号" autocomplete="off" class="layui-input" type="text"
- value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_perfor'];?>
-" size="63" />
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">人力资源证编号:</label>
- <div class="layui-input-inline t_w480">
- <input name="sy_hrlicense" id="sy_hrlicense" placeholder="请输入人力资源证编号" autocomplete="off" class="layui-input" type="text"
- value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_hrlicense'];?>
-" size="63" />
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">客服电话:</label>
- <div class="layui-input-inline t_w480">
- <input name="sy_freewebtel" id="sy_freewebtel" placeholder="请输入客服电话" autocomplete="off" class="layui-input"
- type="text" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_freewebtel'];?>
-" size="63" />
- </div>
- <div class="layui-form-mid layui-word-aux">如:400-8888-888</div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">工作时间:</label>
- <div class="layui-input-inline t_w480">
- <input name="sy_worktime" id="sy_worktime" placeholder="请输入工作时间" autocomplete="off" class="layui-input" type="text"
- value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_worktime'];?>
-" size="63" />
- </div>
- <div class="layui-form-mid layui-word-aux">如:工作日 9:00-18:00</div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">客服QQ:</label>
- <div class="layui-input-inline t_w480">
- <input name="sy_qq" id="sy_qq" placeholder="请输入客服QQ" autocomplete="off" class="layui-input" type="text" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_qq'];?>
-"
- size="63" />
- <span class="admin_web_tip">提示:多个则用半角逗号隔开</span>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">公司地址:</label>
- <div class="layui-input-inline t_w480">
- <input name="sy_webadd" id="sy_webadd" placeholder="请输入公司地址" autocomplete="off" class="layui-input" type="text"
- value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_webadd'];?>
-" size="63" />
- </div>
- <div class="layui-form-mid layui-word-aux">如:上海徐汇区零陵路爱和大厦14A座</div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">统计代码:</label>
- <div class="layui-input-inline t_w480">
- <textarea name="sy_webtongji" id="sy_webtongji" placeholder="请输入统计代码" class="web_text_textarea"><?php echo $_smarty_tpl->tpl_vars['config']->value['sy_webtongji'];?>
-</textarea>
- </div>
- </div>
- <div class="layui-form-item layui-form-text tty_form_btn" style="padding-left: 180px;">
- <input class="tty_sub layui-btn" id="config" type="button" name="config" value="提交" />
- <input class="tty_cz layui-btn" type="reset" value="重置" />
- </div>
-
- </form>
- </div>
-
- <div class="hiddendiv">
- <form class="layui-form">
- <div class="layui-form-item">
- <label class="layui-form-label">系统安全码:</label>
- <div class="layui-input-inline t_w480">
- <input name="sy_safekey" id="sy_safekey" placeholder="请输入系统安全码" autocomplete="off" class="layui-input" type="text"
- value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_safekey'];?>
-" size="63" />
- </div>
- <span class="admin_web_tip">系统加密串,请自定义修改,如:986jhgyutw.*x</span>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">CSRF防御:</label>
- <div class="layui-input-block">
- <input type="checkbox" name="sy_iscsrf" lay-skin="switch" lay-text="开启|关闭" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_iscsrf']=="1") {?>
- checked <?php }?> />
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">后台修改模板:</label>
- <div class="layui-input-block">
- <input type="checkbox" name="sy_istemplate" lay-skin="switch" lay-text="开启|关闭" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_istemplate']=="1") {?> checked <?php }?> />
- </div>
- </div>
- <div class="layui-form-item layui-form-text">
- <label class="layui-form-label">过滤关键词:</label>
- <div class="layui-input-inline">
- <textarea name="sy_fkeyword" id="sy_fkeyword" class="web_text_textarea"><?php echo $_smarty_tpl->tpl_vars['config']->value['sy_fkeyword'];?>
-</textarea>
- </div>
- <span class="admin_web_tip">如:台湾,台独</span>
- </div>
- <div class="layui-form-item layui-form-text">
- <label class="layui-form-label">替换过滤关键词:</label>
- <div class="layui-input-inline">
- <textarea name="sy_fkeyword_all" id="sy_fkeyword_all" class="web_text_textarea"><?php echo $_smarty_tpl->tpl_vars['config']->value['sy_fkeyword_all'];?>
-</textarea>
- </div>
- <span class="admin_web_tip">将敏感关键词替换</span>
- </div>
- <div class="layui-form-item layui-form-text">
- <label class="layui-form-label">USER_AGENT过滤:</label>
- <div class="layui-input-inline">
- <textarea name="sy_useragent" id="sy_useragent" class="web_text_textarea"><?php echo $_smarty_tpl->tpl_vars['config']->value['sy_useragent'];?>
-</textarea>
- </div>
- <span class="admin_web_tip">一行一条,屏蔽无意义的HTTP_USER_AGENT,可以防止恶意爬虫伪造蜘蛛造成的CC攻击</span>
- </div>
- <div class="layui-form-item layui-form-text">
- <label class="layui-form-label">禁止IP访问:</label>
- <div class="layui-input-inline">
- <textarea id="sy_bannedip" name="sy_bannedip" class="web_text_textarea"><?php echo $_smarty_tpl->tpl_vars['config']->value['sy_bannedip'];?>
-</textarea>
- </div>
- <span class="admin_web_tip">例:127.0.0.1|192.168.1.1</span>
- </div>
- <div class="layui-form-item layui-form-text">
- <label class="layui-form-label">禁止IP访问提示:</label>
- <div class="layui-input-inline">
- <textarea name="sy_bannedip_alert" id="sy_bannedip_alert" class="web_text_textarea"><?php echo $_smarty_tpl->tpl_vars['config']->value['sy_bannedip_alert'];?>
-</textarea>
- </div>
- <span class="admin_web_tip">禁止访问提示</span>
- </div>
- <div class="layui-form-item layui-form-text tty_form_btn" style="padding-left: 180px;">
- <input class="layui-btn tty_sub" id="otherconfig" type="button" name="otherconfig" value="提交" />
- <input class="layui-btn tty_cz" type="reset" value="重置" />
- </div>
-
- </form>
- </div>
-
- <div class="hiddendiv">
- <form class="layui-form">
-
- <div class="layui-form-item">
- <label class="layui-form-label">开启系统验证码:</label>
- <div class="layui-input-block">
- <input name="code_web" title="注册会员" value="注册会员" <?php if (strstr($_smarty_tpl->tpl_vars['config']->value['code_web'],'注册会员')) {?> checked <?php }?>
- type="checkbox" />
- <input name="code_web" title="前台登录" value="前台登录" <?php if (strstr($_smarty_tpl->tpl_vars['config']->value['code_web'],'前台登录')) {?> checked <?php }?>
- type="checkbox" />
- <input name="code_web" title="店铺招聘" value="店铺招聘" <?php if (strstr($_smarty_tpl->tpl_vars['config']->value['code_web'],'店铺招聘')) {?> checked <?php }?>
- type="checkbox" />
- <input name="code_web" title="后台登录" value="后台登录" <?php if (strstr($_smarty_tpl->tpl_vars['config']->value['code_web'],'后台登录')) {?> checked <?php }?>
- type="checkbox" />
- <input name="code_web" title="职场提问" value="职场提问" <?php if (strstr($_smarty_tpl->tpl_vars['config']->value['code_web'],'职场提问')) {?> checked <?php }?>
- type="checkbox" />
- <input name="code_web" title="意见反馈" value="意见反馈" <?php if (strstr($_smarty_tpl->tpl_vars['config']->value['code_web'],'意见反馈')) {?> checked <?php }?>
- type="checkbox" />
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">验证码类型:</label>
- <div class="layui-input-block">
- <input name="code_kind" value="1" title="文字验证码" <?php if ($_smarty_tpl->tpl_vars['config']->value['code_kind']=="1") {?> checked <?php }?>
- type="radio" />
- <input name="code_kind" value="4" title="顶象无感智能验证" <?php if ($_smarty_tpl->tpl_vars['config']->value['code_kind']=="4") {?> checked <?php }?>type="radio"/>
- <input name="code_kind" value="5" title="手势验证(vaptcha)" <?php if ($_smarty_tpl->tpl_vars['config']->value['code_kind']=="5") {?> checked <?php }?>
- type="radio" />
- <input name="code_kind" value="3" title="极验智能验证码" <?php if ($_smarty_tpl->tpl_vars['config']->value['code_kind']=="3") {?> checked <?php }?>
- type="radio" />
- </div>
- </div>
- <div class="layui-form-item character" <?php if ($_smarty_tpl->tpl_vars['config']->value['code_kind']!="1") {?>style="display:none;"<?php }?>>
- <label class="layui-form-label">文字验证码生成类型:</label>
- <div class="layui-input-block">
- <input name="code_type" value="1" title="数字" <?php if ($_smarty_tpl->tpl_vars['config']->value['code_type']=="1") {?> checked <?php }?>
- type="radio" />
- <input name="code_type" value="2" title="英文" <?php if ($_smarty_tpl->tpl_vars['config']->value['code_type']=="2") {?> checked <?php }?>
- type="radio" />
- <input name="code_type" value="3" title="英文+数字" <?php if ($_smarty_tpl->tpl_vars['config']->value['code_type']=="3") {?> checked <?php }?>
- type="radio" />
- </div>
- </div>
- <div class="layui-form-item character" <?php if ($_smarty_tpl->tpl_vars['config']->value['code_kind']!="1") {?>style="display:none;"<?php }?>>
- <label class="layui-form-label">选择验证码文件类型:</label>
- <div class="layui-input-block">
- <input name="code_filetype" value="jpg" title="JPG" <?php if ($_smarty_tpl->tpl_vars['config']->value['code_filetype']=="jpg") {?> checked
- <?php }?> type="radio" />
- <input name="code_filetype" value="png" title="PNG" <?php if ($_smarty_tpl->tpl_vars['config']->value['code_filetype']=="png") {?> checked
- <?php }?> type="radio" />
- <input name="code_filetype" value="gif" title="GIF" <?php if ($_smarty_tpl->tpl_vars['config']->value['code_filetype']=="gif") {?> checked
- <?php }?> type="radio" />
- </div>
- </div>
- <div class="layui-form-item character" <?php if ($_smarty_tpl->tpl_vars['config']->value['code_kind']!="1") {?>style="display:none;"<?php }?>>
- <label class="layui-form-label">验证码图片大小:</label>
- <div class="layui-input-block">
- <span>宽:</span>
- <input class="input-text" type="text" name="code_width" id="code_width" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['code_width'];?>
-"
- size="10" maxlength="255" />px
- <span style="margin-left: 30px;">高:</span>
- <input class="input-text" type="text" name="code_height" id="code_height" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['code_height'];?>
-"
- size="10" maxlength="255" />px
- </div>
- </div>
- <div class="layui-form-item character" <?php if ($_smarty_tpl->tpl_vars['config']->value['code_kind']!="1") {?>style="display:none;"<?php }?>>
- <label class="layui-form-label">验证码字符数:</label>
- <div class="layui-input-inline t_w480">
- <input class="layui-input" type="text" name="code_strlength" id="code_strlength" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['code_strlength'];?>
-"
- size="10" maxlength="1" onKeyUp="this.value=this.value.replace(/[^0-9]/g,'')" />
- </div>
- <span class="admin_web_tip">提示:字符数不要大于4</span>
- </div>
- <div class="layui-form-item dingxiang" <?php if ($_smarty_tpl->tpl_vars['config']->value['code_kind']!="4") {?>style="display:none;"<?php }?>>
- <label class="layui-form-label">顶象appId:</label>
- <div class="layui-input-inline t_w480">
- <input name="sy_dxappid" id="sy_dxappid" autocomplete="off" class="layui-input" type="text" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_dxappid'];?>
-"
- size="60" maxlength="255" />
- </div>
- <span class="admin_web_tip">
- 申请地址:<a href='https://user.dingxiang-inc.com/user/register' target='_blank'>https://www.dingxiang-inc.com</a>
- </span>
- </div>
- <div class="layui-form-item dingxiang" <?php if ($_smarty_tpl->tpl_vars['config']->value['code_kind']!="4") {?>style="display:none;"<?php }?>>
- <label class="layui-form-label">顶象appSecret:</label>
- <div class="layui-input-inline t_w480">
- <input name="sy_dxappsecret" id="sy_dxappsecret" autocomplete="off" class="layui-input" type="text" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_dxappsecret'];?>
-"
- size="60" maxlength="255" />
- </div>
- <span class="admin_web_tip">
- 申请地址:<a href='https://user.dingxiang-inc.com/user/register' target='_blank'>https://www.dingxiang-inc.com</a>
- </span>
- </div>
- <div class="layui-form-item vaptcha" <?php if ($_smarty_tpl->tpl_vars['config']->value['code_kind']!="5") {?>style="display:none;"<?php }?>>
- <label class="layui-form-label">VID:</label>
- <div class="layui-input-inline t_w480">
- <input name="sy_vaptcha_vid" id="sy_vaptcha_vid" autocomplete="off" class="layui-input" type="text" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_vaptcha_vid'];?>
-"
- size="60" maxlength="255" />
- </div>
-
- <span class="admin_web_tip">
- 申请地址:<a href='https://www.vaptcha.com' target='_blank'>https://www.vaptcha.com</a>
- </span>
- </div>
- <div class="layui-form-item vaptcha" <?php if ($_smarty_tpl->tpl_vars['config']->value['code_kind']!="5") {?>style="display:none;"<?php }?>>
- <label class="layui-form-label">KEY:</label>
-
- <div class="layui-input-inline t_w480">
- <input name="sy_vaptcha_key" id="sy_vaptcha_key" autocomplete="off" class="layui-input" type="text" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_vaptcha_key'];?>
-"
- size="60" maxlength="255" />
- </div>
-
- </div>
- <div class="layui-form-item geetest" <?php if ($_smarty_tpl->tpl_vars['config']->value['code_kind']!="3") {?>style="display:none;"<?php }?>>
- <label class="layui-form-label">极验ID:</label>
- <div class="layui-input-inline t_w480">
- <input name="sy_geetestid" id="sy_geetestid" autocomplete="off" class="layui-input" type="text" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_geetestid'];?>
-"
- size="60" maxlength="255" />
- </div>
- <span class="admin_web_tip">
- 申请地址:<a href='http://www.geetest.com/' target='_blank'>http://www.geetest.com/</a>
- </span>
- </div>
- <div class="layui-form-item geetest" <?php if ($_smarty_tpl->tpl_vars['config']->value['code_kind']!="3") {?>style="display:none;"<?php }?>>
- <label class="layui-form-label">极验KEY:</label>
- <div class="layui-input-inline t_w480">
- <input name="sy_geetestkey" id="sy_geetestkey" autocomplete="off" class="layui-input" type="text" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_geetestkey'];?>
-"
- size="60" maxlength="255" />
- </div>
- <span class="admin_web_tip">
- 申请地址:<a href='http://www.geetest.com/' target='_blank'>http://www.geetest.com/</a>
- </span>
- </div>
- <div class="layui-form-item layui-form-text tty_form_btn" style="padding-left: 180px;">
- <input class="layui-btn tty_sub" id="codeconfig" type="button" name="codeconfig" value="提交" />
- <input class="layui-btn tty_cz" type="reset" value="重置" />
- </div>
-
- </form>
- </div>
-
- <div class="hiddendiv">
- <iframe id="supportiframe" name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
- <form class="layui-form" action="index.php?m=config&c=save_logo" method="post" enctype="multipart/form-data" target="supportiframe">
-
- <div class="layui-form-item">
- <label class="layui-form-label">整站LOGO:</label>
- <div class="layui-input-inline t_w480">
-
-
- <button type="button" class="yun_bth_pic adminupload" lay-data="{name: 'sy_logo',imgid: 'imglogo',path: 'logo',source:'back'}">上传图片</button>
- <input type="hidden" id="layupload_type" value="2" />
- <img id="imglogo" src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_logo'];?>
-" style="max-width:300px;" <?php if (!$_smarty_tpl->tpl_vars['config']->value['sy_logo']) {?>class="none"<?php }?>>
- <div class="layui-form-mid layui-word-aux" style="font-size: 12px;">300px X 45px</div>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">猎头LOGO:</label>
- <div class="layui-input-inline t_w480">
-
- <button type="button" class="yun_bth_pic adminupload" lay-data="{name: 'sy_lt_logo',imgid: 'imglt',path: 'logo',source:'back'}">上传图片</button>
- <img id="imglt" src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_lt_logo'];?>
-" style="max-width:300px;"
- <?php if (!$_smarty_tpl->tpl_vars['config']->value['sy_lt_logo']) {?>class="none"<?php }?>>
-
- <div class="layui-form-mid layui-word-aux" style="font-size: 12px;">300px X 45px</div>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">个人会员中心LOGO:</label>
- <div class="layui-input-inline t_w480">
-
-
- <button type="button" class="yun_bth_pic adminupload" lay-data="{name: 'sy_member_logo',imgid: 'imgmember',path: 'logo',path: 'logo',source:'back'}">上传图片</button>
- <img id="imgmember" src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_member_logo'];?>
-" style="max-width:300px;"
- <?php if (!$_smarty_tpl->tpl_vars['config']->value['sy_member_logo']) {?>class="none"<?php }?>>
- <div class="layui-form-mid layui-word-aux" style="font-size: 12px;">300px X 45px</div>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">企业会员中心LOGO:</label>
- <div class="layui-input-inline t_w480">
-
- <button type="button" class="yun_bth_pic adminupload" lay-data="{name: 'sy_unit_logo',imgid: 'imgunit',path: 'logo',source:'back'}">上传图片</button>
- <img id="imgunit" src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_unit_logo'];?>
-" style="max-width:300px;"
- <?php if (!$_smarty_tpl->tpl_vars['config']->value['sy_unit_logo']) {?>class="none"<?php }?>>
- <div class="layui-form-mid layui-word-aux" style="font-size: 12px;">300px X 45px</div>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">猎头会员中心LOGO:</label>
- <div class="layui-input-inline t_w480">
- <button type="button" class="yun_bth_pic adminupload" lay-data="{name: 'sy_ltmember_logo',imgid: 'imgltmember',path: 'logo',source:'back'}">上传图片</button>
- <img id="imgltmember" src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ltmember_logo'];?>
-" style="max-width:300px;"
- <?php if (!$_smarty_tpl->tpl_vars['config']->value['sy_ltmember_logo']) {?>class="none"<?php }?>>
- <div class="layui-form-mid layui-word-aux" style="font-size: 12px;">300px X 45px</div>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">培训LOGO:</label>
- <div class="layui-input-inline t_w480">
- <button type="button" class="yun_bth_pic adminupload" lay-data="{name: 'sy_px_logo',imgid: 'imgpx',path: 'logo',source:'back'}">上传图片</button>
- <img id="imgpx" src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_px_logo'];?>
-" style="max-width:300px;" <?php if (!$_smarty_tpl->tpl_vars['config']->value['sy_px_logo']) {?>class="none"<?php }?>>
- <div class="layui-form-mid layui-word-aux" style="font-size: 12px;">300px X 45px</div>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">手机LOGO:</label>
- <div class="layui-input-inline t_w480">
-
- <button type="button" class="yun_bth_pic adminupload" lay-data="{name: 'sy_wap_logo',imgid: 'imgwaplogo',path: 'logo',source:'back'}">上传图片</button>
- <img id="imgwaplogo" src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_wap_logo'];?>
-" style="max-width:300px;"
- <?php if (!$_smarty_tpl->tpl_vars['config']->value['sy_wap_logo']) {?>class="none"<?php }?>>
- <div class="layui-form-mid layui-word-aux" style="font-size: 12px;">300px X 45px</div>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">WAP二维码:</label>
- <div class="layui-input-inline t_w480">
-
-
- <button type="button" class="yun_bth_pic adminupload" lay-data="{name: 'sy_wap_qcode',imgid: 'imgwapqcode',path: 'logo',source:'back'}">上传图片</button>
- <img id="imgwapqcode" src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_wap_qcode'];?>
-" style="max-width:100px;"
- <?php if (!$_smarty_tpl->tpl_vars['config']->value['sy_wap_qcode']) {?>class="none"<?php }?>>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">android二维码:</label>
- <div class="layui-input-inline t_w480">
-
-
- <button type="button" class="yun_bth_pic adminupload" lay-data="{name: 'sy_androidu_qcode',imgid: 'imgandroid',path: 'logo',source:'back'}">上传图片</button>
- <img id="imgandroid" src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_androidu_qcode'];?>
-" style="max-width:100px;"
- <?php if (!$_smarty_tpl->tpl_vars['config']->value['sy_androidu_qcode']) {?>class="none"<?php }?>>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">IOS二维码:</label>
- <div class="layui-input-inline t_w480">
-
- <button type="button" class="yun_bth_pic adminupload" lay-data="{name: 'sy_iosu_qcode',imgid: 'imgios',path: 'logo',source:'back'}">上传图片</button>
- <img id="imgios" src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_iosu_qcode'];?>
-" style="max-width:100px;"
- <?php if (!$_smarty_tpl->tpl_vars['config']->value['sy_iosu_qcode']) {?>class="none"<?php }?>>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">招聘会缩略图:</label>
- <div class="layui-input-inline t_w480">
-
- <button type="button" class="yun_bth_pic adminupload" lay-data="{name: 'sy_zph_icon',imgid: 'imgzph',path: 'logo',source:'back'}">上传图片</button>
- <img id="imgzph" src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_zph_icon'];?>
-" style="max-width:100px;"
- <?php if (!$_smarty_tpl->tpl_vars['config']->value['sy_zph_icon']) {?>class="none"<?php }?>>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">招聘会横幅:</label>
- <div class="layui-input-inline t_w480">
-
- <button type="button" class="yun_bth_pic adminupload" lay-data="{name: 'sy_zphbanner_icon',imgid: 'imgzphbanner',path: 'logo',source:'back'}">上传图片</button>
- <img id="imgzphbanner" src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_zphbanner_icon'];?>
-" style="max-width:100px;"
- <?php if (!$_smarty_tpl->tpl_vars['config']->value['sy_zphbanner_icon']) {?>class="none"<?php }?>>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">测评缩略图:</label>
- <div class="layui-input-inline t_w480">
-
-
- <button type="button" class="yun_bth_pic adminupload" lay-data="{name: 'sy_cplogo',imgid: 'cpimglogo',path: 'logo',source:'back'}">上传图片</button>
- <img id="cpimglogo" src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_cplogo'];?>
-" style="max-width:100px;"
- <?php if (!$_smarty_tpl->tpl_vars['config']->value['sy_cplogo']) {?>class="none"<?php }?>>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">公招缩略图:</label>
- <div class="layui-input-inline t_w480">
-
-
- <button type="button" class="yun_bth_pic adminupload" lay-data="{name: 'sy_gongzhaologo',imgid: 'gongzhaologo',path: 'logo',source:'back'}">上传图片</button>
- <img id="gongzhaologo" src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_gongzhaologo'];?>
-" style="max-width:100px;"
- <?php if (!$_smarty_tpl->tpl_vars['config']->value['sy_gongzhaologo']) {?>class="none"<?php }?>>
- <div class="layui-form-mid layui-word-aux" style="font-size: 12px;">410px X 170px</div>
- </div>
- </div>
- <div class="layui-form-item layui-form-text tty_form_btn" style="padding-left: 180px;">
- <input class="layui-btn tty_sub" type="submit" name="waterconfig" value="提交" />
- <input class="layui-btn tty_cz" type="reset" value="重置" />
- </div>
-
-
- <input type="hidden" name="pytoken" id='pytoken' value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- </form>
- </div>
-
- <div class="hiddendiv">
- <form class="layui-form">
-
- <div class="layui-form-item">
- <label class="layui-form-label">IP跳转到当前城市:</label>
- <div class="layui-input-block">
- <input name="map_tocity" value="1" title="跳转" <?php if ($_smarty_tpl->tpl_vars['config']->value['map_tocity']=="1") {?> checked <?php }?>
- type="radio" />
- <input name="map_tocity" value="2" title="保持默认坐标" <?php if ($_smarty_tpl->tpl_vars['config']->value['map_tocity']=="2") {?> checked <?php }?>
- type="radio" />
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">百度地图KEY:</label>
- <div class="layui-input-inline t_w480">
- <input name="map_key" id="map_key" autocomplete="off" class="layui-input" type="text" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['map_key'];?>
-"
- size="60" maxlength="255" />
- </div>
- <a href="http://lbsyun.baidu.com/apiconsole/key?application=key" target="_blank" class="set_bth" style=" float:left; margin-top:8px; margin-right:10px;">申请地址</a>
- <span class="admin_web_tip">
- 地图版本:1.5
- </span>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">默认坐标:</label>
- <div class="layui-input-block">
- <div class="layui-input-inline">
- <input class="input-text" type="text" name="map_x" id="map_x" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['map_x'];?>
-" size="20" maxlength="255" placeholder="X坐标" style="width: 130px; padding-left: 50px;"/>
- <span class="admin_comclass_add_n_dw" style="height: 36px; top: 1px; left: 0;border-right: 1px solid #dcdee2;">X</span>
- </div>
- <div class="layui-input-inline">
- <input class="input-text" type="text" name="map_y" id="map_y" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['map_y'];?>
-" size="20" maxlength="255" placeholder="Y坐标" style="width: 130px; padding-left: 50px;"/>
- <span class="admin_comclass_add_n_dw" style="height: 36px; top: 1px; left: 0;border-right: 1px solid #dcdee2;">Y</span>
- </div>
-
- <a href="javascript:;" id="getclick" class="set_bth"style=" float:left; margin-top:10px; margin-left:5px;">获取坐标</a>
- </div>
- </div>
-
- <div class="layui-form-item" id="getmapxy" style="display:none;" class="admin_table_trbg">
- <label class="layui-form-label">获取坐标:</label>
- <div class="layui-input-block" style=" position:relative; z-index:0px;width: 850px;left: 180px;top: -35px;">
- <div id="map_container" style="width:100%;height:300px; position:relative; z-index:1"></div>
- </div>
- </div>
-
-
-
- <div class="layui-form-item layui-form-text tty_form_btn" style="padding-left: 180px;">
- <input class="layui-btn tty_sub" id="mapconfig" type="button" name="mapconfig" value="提交" />
- <input class="layui-btn tty_cz" type="reset" value="重置" /></td>
- </div>
-
-
- </form>
- </div>
-
- <div class="hiddendiv">
- <form class="layui-form">
-
- <div class="layui-form-item">
- <label class="layui-form-label">Memcache缓存:</label>
- <div class="layui-input-inline">
- <input type="checkbox" name="ismemcache" lay-skin="switch" lay-text="开启|关闭" <?php if ($_smarty_tpl->tpl_vars['config']->value['ismemcache']=="1") {?> checked <?php }?> />
- </div>
- <span class="admin_web_tip">注:如果服务器上未安装Memcache,则不要开启此项。</span>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">Memcache服务器:</label>
- <div class="layui-input-inline t_w480">
- <input name="memcachehost" id="memcachehost3" autocomplete="off" class="layui-input" type="text" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['memcachehost'];?>
-"
- size="60" maxlength="255" />
- </div>
- <span class="admin_web_tip">服务器IP,本机127.0.0.1</span>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">Memcache端口:</label>
- <div class="layui-input-inline t_w480">
- <input name="memcacheport" id="memcacheport3" autocomplete="off" class="layui-input" type="text" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['memcacheport'];?>
-"
- size="60" maxlength="255" />
- </div>
- <span class="admin_web_tip">默认11211</span>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">Memcache缓存时间:</label>
- <div class="layui-input-inline t_w480">
- <input name="memcachetime" id="memcachetime" autocomplete="off" class="layui-input" type="text" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['memcachetime'];?>
-"
- size="60" maxlength="255" />
- </div>
- <span class="admin_web_tip">秒为单位,一般为3600秒</span>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">页面缓存:</label>
- <div class="layui-input-block t_w480">
- <input type="checkbox" name="webcache" lay-skin="switch" lay-text="开启|关闭" <?php if ($_smarty_tpl->tpl_vars['config']->value['webcache']=="1") {?>
- checked <?php }?> />
- <a href="?m=config&c=settplcache" class="set_bth">设置缓存模块</a>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">页面缓存时间:</label>
- <div class="layui-input-inline t_w480">
- <input name="webcachetime" id="webcachetime" autocomplete="off" class="layui-input" type="text" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['webcachetime'];?>
-"
- size="60" maxlength="255" />
- </div>
- <span class="admin_web_tip">秒为单位,一般为3600秒</span>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">smarty缓存:</label>
- <div class="layui-input-block t_w480">
- <input type="checkbox" name="issmartycache" lay-skin="switch" lay-text="开启|关闭" <?php if ($_smarty_tpl->tpl_vars['config']->value['issmartycache']=="1") {?> checked <?php }?> />
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">smarty缓存时间:</label>
- <div class="layui-input-inline t_w480">
- <input name="smartycachetime" id="smartycachetime" autocomplete="off" class="layui-input" type="text" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['smartycachetime'];?>
-"
- size="60" maxlength="255" />
- </div>
- <span class="admin_web_tip">秒为单位,一般为3600秒</span>
- </div>
- <div class="layui-form-item layui-form-text tty_form_btn" style="padding-left: 180px;">
- <input class="layui-btn tty_sub" id="cacheconfig" type="button" name="mapconfig" value="提交" />
- <input class="layui-btn tty_cz" type="reset" value="重置" /></td>
- </div>
-
- </form>
- </div>
-
- <div class="hiddendiv tty_uploadsz">
- <form class="layui-form">
-
- <div class="layui-form-item">
- <label class="layui-form-label">上传图片大小:</label>
- <div class="layui-input-inline t_w250">
- <input name="pic_maxsize" id="pic_maxsize" autocomplete="off" class="layui-input" type="text" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['pic_maxsize'];?>
-"
- size="30" />
- </div>
- <span style="line-height:38px; display:inline-block">M</span>
- <span class="admin_web_tip" style="margin-left: 20px;">允许上传文件的最大限制,单位为 M,不填则默认5M</span>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">上传文件大小:</label>
- <div class="layui-input-inline t_w250">
- <input name="file_maxsize" id="file_maxsize" autocomplete="off" class="layui-input" type="text" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['file_maxsize'];?>
-"
- size="30" />
- </div>
- <span style="line-height:38px; display:inline-block">M</span>
- <span class="admin_web_tip" style="margin-left: 20px;">允许上传文件的最大限制,单位为 M,不填则默认5M</span>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">上传图片类型:</label>
- <div class="layui-input-inline t_w250">
- <input name="pic_type" id="pic_type" autocomplete="off" class="layui-input" type="text" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['pic_type'];?>
-"
- size="30" />
- </div>
- <span class="admin_web_tip">允许上传图片的类型,多个类型以英文逗号(,)分隔,不填则默认jpg,png,jpeg,bmp,gif</span>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">上传文件类型:</label>
- <div class="layui-input-inline t_w250">
- <input name="file_type" id="file_type" autocomplete="off" class="layui-input" type="text" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['file_type'];?>
-"
- size="30" />
- </div>
- <span class="admin_web_tip">允许上传文件的类型,多个类型以英文逗号(,)分隔,不填则默认rar,zip,doc,docx,xls</span>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">图片安全验证:</label>
- <div class="layui-input-inline t_w250">
- <input type="checkbox" name="is_picself" lay-skin="switch" lay-text="开启|关闭" <?php if ($_smarty_tpl->tpl_vars['config']->value['is_picself']=="1") {?> checked <?php }?> />
- </div>
- <span class="admin_web_tip">对图片源码进行扫描,检测是否包含非法代码</span>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">强制压缩图片:</label>
- <div class="layui-input-inline t_w250">
- <input type="checkbox" name="is_picthumb" lay-skin="switch" lay-text="开启|关闭" <?php if ($_smarty_tpl->tpl_vars['config']->value['is_picthumb']=="1") {?> checked <?php }?> />
- </div>
- <span class="admin_web_tip">根据图片原始比例重新压缩成新图片,彻底去除图片中可能包含的非法代码,但有可能会影响图片清晰度</span>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">自动水印:</label>
- <div class="layui-input-inline t_w250">
- <input type="checkbox" name="is_watermark" lay-skin="switch" lay-text="开启|关闭" <?php if ($_smarty_tpl->tpl_vars['config']->value['is_watermark']=="1") {?> checked <?php }?> />
- </div>
- <span class="admin_web_tip">设置上传图片是否自动添加水印</span>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">水印位置:</label>
- <div class="layui-input-inline t_w250">
- <select name="wmark_position" lay-filter="wmark_position" id="wmark_position">
- <option value="0">请选择</option>
- <option value="1" <?php if ($_smarty_tpl->tpl_vars['config']->value['wmark_position']=='1') {?>selected<?php }?>>左上 </option>
- <option value="3" <?php if ($_smarty_tpl->tpl_vars['config']->value['wmark_position']=='3') {?>selected<?php }?>>右上 </option>
- <option value="5" <?php if ($_smarty_tpl->tpl_vars['config']->value['wmark_position']=='5') {?>selected<?php }?>>居中 </option>
- <option value="7" <?php if ($_smarty_tpl->tpl_vars['config']->value['wmark_position']=='7') {?>selected<?php }?>>左下 </option>
- <option value="9" <?php if ($_smarty_tpl->tpl_vars['config']->value['wmark_position']=='9') {?>selected<?php }?>>右下 </option>
- </select>
- </div>
- <span class="admin_web_tip">水印在上传图片中的位置</span>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">水印LOGO:</label>
- <div class="layui-input-inline">
- <div class="admin_uppicbox">
- <input type="hidden" id="layupload_type" value="2" />
-
- <div class="admin_uppicimg">
- <img id="imgwm" src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_ossurl'];?>
-/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_watermark'];?>
-" style="width: 140px; height: 140px;" <?php if (!$_smarty_tpl->tpl_vars['config']->value['sy_watermark']) {?>class="none"<?php }?>>
- </div>
-
- <span>
- <button type="button" class="adminupbtn adminupload" lay-data="{name: 'sy_watermark',imgid: 'imgwm',path: 'logo',source:'back'}">重新上传</button>
- </span>
- </div>
-
-
- </div>
- </div>
- <div class="layui-form-item layui-form-text tty_form_btn" style="padding-left: 180px;">
- <input class="layui-btn tty_sub" id="uploadconfig" type="button" name="uploadconfig" value="提交" />
- <input class="layui-btn tty_cz" type="reset" value="重置" />
- </div>
- </form>
- </div>
- </div>
-
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['mapurl'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/map.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
->
- layui.use(['layer', 'form'], function() {
- var layer = layui.layer,
- form = layui.form,
- $ = layui.$;
-
- $("input[name=code_kind]").each(function() {
- $(this).next().click(function() {
- var kindvalue = $(this).prev().val();
- if (kindvalue == 1) {
- $(".character").show();
- $(".geetest").hide();
- $(".dingxiang").hide();
- $(".vaptcha").hide();
- } else if (kindvalue == 3) {
- $(".geetest").show();
- $(".character").hide();
- $(".dingxiang").hide();
- $(".vaptcha").hide();
- } else if (kindvalue == 4) {
- $(".character").hide();
- $(".geetest").hide();
- $(".vaptcha").hide();
- $(".dingxiang").show();
- }else if (kindvalue == 5) {
- $(".character").hide();
- $(".geetest").hide();
- $(".dingxiang").hide();
- $(".vaptcha").show();
- }
- });
- }); //end each
-
- }); //end layui.use()
-
-
- if (window["context"] == undefined) {
- if (!window.location.origin) {
- window.location.origin = window.location.protocol + "//" + window.location.hostname + (window.location.port ? ':' +
- window.location.port : '');
- }
- window["context"] = location.origin + "/V6.0";
- }
- var weburl = '<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-';
- var $switchtag = $("div.main_tag ul li");
- $switchtag.click(function() {
- $(this).addClass("on").siblings().removeClass("on");
- var index = $switchtag.index(this);
- $("div.tag_box > div").eq(index).show().siblings().hide();
- });
- $(".tips_class").hover(function() {
- var msg_id = $(this).attr('id');
- var msg = $('#' + msg_id + ' + font').html();
- if ($.trim(msg) != '') {
- layer.tips(msg, this, {
- guide: 1,
- style: ['background-color:#5EA7DC; color:#fff;top:-7px', '#5EA7DC']
- });
- $(".xubox_layer").addClass("xubox_tips_border");
- }
- }, function() {
- var msg_id = $(this).attr('id');
- var msg = $('#' + msg_id + ' + font').html();
- if ($.trim(msg) != '') {
- layer.closeAll('tips');
- }
- });
-
- getmapnoshowcont('map_container',
- "<?php if ($_smarty_tpl->tpl_vars['config']->value['map_x']) {
-echo $_smarty_tpl->tpl_vars['config']->value['map_x'];
-} else { ?>116.404<?php }?>",
- "<?php if ($_smarty_tpl->tpl_vars['config']->value['map_y']) {
-echo $_smarty_tpl->tpl_vars['config']->value['map_y'];
-} else { ?>39.915<?php }?>", "map_x", "map_y");
- //地图默认缩放级别
- var map = new BMap.Map("map_container");
-
- setLocation('map_container',
- "<?php if ($_smarty_tpl->tpl_vars['config']->value['map_x']) {
-echo $_smarty_tpl->tpl_vars['config']->value['map_x'];
-} else { ?>116.404<?php }?>",
- "<?php if ($_smarty_tpl->tpl_vars['config']->value['map_y']) {
-echo $_smarty_tpl->tpl_vars['config']->value['map_y'];
-} else { ?>39.915<?php }?>", "map_x", "map_y");
-
- function setLocation(id, x, y, xid, yid) {
- var data = get_map_config();
- if (data) {
- var config = eval('(' + data + ')');
- var rating, map_control_type, map_control_anchor;
- if (!x && !y) {
- x = config.map_x;
- y = config.map_y;
- }
- var point = new BMap.Point(x, y);
- var marker = new BMap.Marker(point);
- var opts = {
- type: BMAP_NAVIGATION_CONTROL_LARGE
- }
- map.enableScrollWheelZoom(true);
- map.addControl(new BMap.NavigationControl(opts));
- map.centerAndZoom(point, 13);
- map.addOverlay(marker);
- map.addEventListener("click", function(e) {
- var info = new BMap.InfoWindow('', {
- width: 260
- });
- var projection = this.getMapType().getProjection();
- var lngLat = e.point;
- document.getElementById(xid).value = lngLat.lng;
- document.getElementById(yid).value = lngLat.lat;
- map.clearOverlays();
- var point = new BMap.Point(lngLat.lng, lngLat.lat);
- var marker = new BMap.Marker(point);
- map.addOverlay(marker);
- });
- }
- }
- $(function() {
-
- $("#getclick").click(function() {
-
- $('#getmapxy').toggle();
- var bodycont = $('#getmapxy').css("display");
- if (bodycont == "none") {
- $(this).html("点击获取坐标");
- } else {
-
- $(this).html("关闭获取坐标");
- }
- })
- $("#cacheconfig").click(function() {
- loadlayer();
- $.post("index.php?m=config&c=save", {
- config: $("#cacheconfig").val(),
- ismemcache: $("input[name=ismemcache]").is(":checked") ? 1 : 2,
- issmartycache: $("input[name=issmartycache]").is(":checked") ? 1 : 2,
- memcachehost: $("input[name=memcachehost]").val(),
- memcacheport: $("input[name=memcacheport]").val(),
- memcachetime: $("input[name=memcachetime]").val(),
- smartycachetime: $("input[name=smartycachetime]").val(),
- webcache: $("input[name=webcache]").is(":checked") ? 1 : 2,
- pytoken: $("#pytoken").val(),
- webcachetime: $("input[name=webcachetime]").val()
- }, function(data, textStatus) {
- parent.layer.closeAll('loading');
- config_msg(data);
- });
- });
-
-
- $("#mapconfig").click(function() {
- loadlayer();
- $.post("index.php?m=config&c=save", {
- config: $("#mapconfig").val(),
- map_tocity: $("input[name=map_tocity]:checked").val(),
- map_key: $("#map_key").val(),
- pytoken: $("#pytoken").val(),
- map_x: $("#map_x").val(),
- map_y: $("#map_y").val()
- }, function(data, textStatus) {
- parent.layer.closeAll('loading');
- config_msg(data);
- });
- });
- $("#otherconfig").click(function() {
- loadlayer();
- $.post("index.php?m=config&c=save", {
- config: $("#otherconfig").val(),
- sy_safekey: $("#sy_safekey").val(),
- sy_istemplate: $("input[name=sy_istemplate]").is(":checked") ? 1 : 2,
- sy_iscsrf: $("input[name=sy_iscsrf]").is(":checked") ? 1 : 2,
- sy_bannedip: $("#sy_bannedip").val(),
- sy_fkeyword_all: $("#sy_fkeyword_all").val(),
- sy_useragent : $('#sy_useragent').val(),
- sy_bannedip_alert: $("#sy_bannedip_alert").val(),
- pytoken: $("#pytoken").val(),
- sy_fkeyword: $("#sy_fkeyword").val()
- }, function(data, textStatus) {
- parent.layer.closeAll('loading');
- config_msg(data);
- });
- });
- $("#uploadconfig").click(function() {
- loadlayer();
- $.post("index.php?m=config&c=save", {
- config: 'uploadconfig',
- pic_maxsize: $("#pic_maxsize").val(),
- file_maxsize: $("#file_maxsize").val(),
- pic_type: $("#pic_type").val(),
- file_type: $("#file_type").val(),
- is_picself: $("input[name=is_picself]").is(":checked") ? 1 : 2,
- is_picthumb: $("input[name=is_picthumb]").is(":checked") ? 1 : 2,
- is_watermark: $("input[name=is_watermark]").is(":checked") ? 1 : 2,
- wmark_position: $("#wmark_position").val(),
- pytoken: $("#pytoken").val(),
- sy_fkeyword: $("#sy_fkeyword").val()
- }, function(data, textStatus) {
- parent.layer.closeAll('loading');
- config_msg(data);
- });
- });
- $("#codeconfig").click(function() {
- if ($("#code_strlength").val() > 4) {
- layer.msg("验证码字符数不要大于4!", 2, 8);
- return false;
- }
- loadlayer();
- var codewebarr = "";
- $("input[name=code_web]:checked").each(function() { //由于复选框一般选中的是多个,所以可以循环输出
- if (codewebarr == "") {
- codewebarr = $(this).val();
- } else {
- codewebarr = codewebarr + "," + $(this).val();
- }
- });
- $.post("index.php?m=config&c=save", {
- config: $("#codeconfig").val(),
- code_web: codewebarr,
- code_kind: $("input[name=code_kind]:checked").val(),
- code_type: $("input[name=code_type]:checked").val(),
- code_filetype: $("input[name=code_filetype]:checked").val(),
- code_width: $("#code_width").val(),
- code_height: $("#code_height").val(),
- sy_geetestid: $("#sy_geetestid").val(),
- sy_geetestkey: $("#sy_geetestkey").val(),
- sy_dxappid: $("#sy_dxappid").val(),
- sy_dxappsecret: $("#sy_dxappsecret").val(),
- sy_geetestmid: $("#sy_geetestmid").val(),
- sy_geetestmkey: $("#sy_geetestmkey").val(),
- sy_vaptcha_vid: $("#sy_vaptcha_vid").val(),
- sy_vaptcha_key: $("#sy_vaptcha_key").val(),
- pytoken: $("#pytoken").val(),
- code_strlength: $("#code_strlength").val()
- }, function(data, textStatus) {
- parent.layer.closeAll('loading');
- config_msg(data);
- });
- });
- $("#config").click(function() {
- loadlayer();
- $.post("index.php?m=config&c=save", {
- config: $("#config").val(),
- sy_webname: $("#sy_webname").val(),
- sy_weburl: $("#sy_weburl").val(),
- sy_webkeyword: $("#sy_webkeyword").val(),
- sy_webmeta: $("#sy_webmeta").val(),
- sy_webcopyright: $("#sy_webcopyright").val(),
- sy_webtongji: $("#sy_webtongji").val(),
- sy_webemail: $("#sy_webemail").val(),
- sy_webmoblie: $("#sy_webmoblie").val(),
- sy_webrecord: $("#sy_webrecord").val(),
- sy_websecord: $("#sy_websecord").val(),
- sy_perfor: $("#sy_perfor").val(),
- sy_hrlicense: $("#sy_hrlicense").val(),
- sy_webtel: $("#sy_webtel").val(),
- sy_qq: $("#sy_qq").val(),
- sy_freewebtel: $("#sy_freewebtel").val(),
- sy_worktime: $("#sy_worktime").val(),
- sy_listnum: $("#sy_listnum").val(),
- sy_webadd: $("#sy_webadd").val(),
- sy_webclose: $("#sy_webclose").val(),
- sy_web_online: $("input[name=sy_web_online]").is(":checked") ? 1 : 2,
- pytoken: $("#pytoken").val()
- }, function(data, textStatus) {
- parent.layer.closeAll('loading');
- config_msg(data);
- });
- });
- });
- <?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui.upload.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type='text/javascript'><?php echo '</script'; ?>
->
- </div>
- </body>
-</html>
-<?php }} ?>
diff --git a/data/templates_c/96886e946ca00ad9425159b3b1c37256e999e16b.file.admin_descclass.htm.php b/data/templates_c/96886e946ca00ad9425159b3b1c37256e999e16b.file.admin_descclass.htm.php
deleted file mode 100644
index ad6d0dd..0000000
--- a/data/templates_c/96886e946ca00ad9425159b3b1c37256e999e16b.file.admin_descclass.htm.php
+++ /dev/null
@@ -1,209 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-17 18:06:18
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\admin_descclass.htm" */ ?>
-<?php /*%%SmartyHeaderCode:323906800d29aa9ea59-58621641%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '96886e946ca00ad9425159b3b1c37256e999e16b' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\admin_descclass.htm',
- 1 => 1634883866,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '323906800d29aa9ea59-58621641',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'pytoken' => 0,
- 'list' => 0,
- 'key' => 0,
- 'v' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_6800d29aae52d4_25351864',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_6800d29aae52d4_25351864')) {function content_6800d29aae52d4_25351864($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet"
- type="text/css" />
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="js/admin_public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="js/show_pub.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <title>后台管理</title>
- </head>
- <?php echo '<script'; ?>
- type="text/javascript">
- $(document).ready(function() {
- $(".imghide").hover(function() {
- $(this).find('.class_xg').show();
- }, function() {
- $(this).find('.class_xg').hide();
- });
- })
- <?php echo '</script'; ?>
->
- <link href="images/reset.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/system.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/table_form.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
-
- <body class="body_ifm">
- <span id="temp"></span>
-
-
- <div class="infoboxp">
- <div class="tty-tishi_top">
- <div class="admin_new_tip">
- <a href="javascript:;" class="admin_new_tip_close"></a>
- <a href="javascript:;" class="admin_new_tip_open" style="display:none;"></a>
- <div class="admin_new_tit"><i class="admin_new_tit_icon"></i>操作提示</div>
- <div class="admin_new_tip_list_cont">
- <div class="admin_new_tip_list">根据网站运营情况可以添加单页面实现:“个性化”页面需求,如网站大记事、银行帐号等运营需求。</div>
- </div>
- </div>
-
- <div class="clear"></div>
- <div class="admin_new_search_box">
- <div class="admin_new_select">
- <a href="javascript:void(0)" onClick="add_class('添加类别','450','240','#houtai_div','')" class="admin_new_cz_tj">+
- 添加类别</a>
- </div>
- <div class="clear"></div>
- </div>
- </div>
-
- <div class="tty_table-bom">
- <div class="table-list">
- <div class="admin_table_border">
- <iframe id="supportiframe" name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
- <form action="index.php?m=desc_class&c=del" method="post" target="supportiframe" id='myform'>
- <input type="hidden" name="pytoken" id='pytoken' value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- <table width="100%" id="table_industry">
- <thead>
- <tr class="admin_table_top">
- <th width="50"><label for="chkall"> <input type="checkbox" id='chkAll' onclick='CheckAll(this.form)' /></label></th>
- <th width="60">编号</th>
- <th align="left">类别名称<span class="clickup">(点击修改)</span></th>
- <th>排序(越大越靠前)</th>
- <th width="180" class="admin_table_th_bg">操作</th>
- </tr>
- </thead>
- <tbody>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
-
- <tr align="center" <?php if (($_smarty_tpl->tpl_vars['key']->value+1)%2=='0') {?>class="admin_com_td_bg"<?php }?> id="list<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-">
- <td width="50"><input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" name='del[]' onclick='unselectall()' rel="del_chk" /></td>
- <td class="ud"><?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-</td>
- <td class="ud imghide" align="left">
- <span onClick="checkname('<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-');" id="name<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" style="cursor:pointer;"><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-</span>
- <input class="input-text hidden" type="text" id="inputname<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" value="<?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-"
- onBlur="subname('<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-','index.php?m=desc_class&c=ajax');">
- <img style="padding-left:5px;cursor:pointer;" title="" src="images/xg.png" onClick="checkname('<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-');" />
-
- </td>
- <td class="imghide"><span onClick="checksort('<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-');" id="sort<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" style="cursor:pointer;"><?php echo $_smarty_tpl->tpl_vars['v']->value['sort'];?>
-</span>
- <input class="input-text hidden citysort" type="text" id="input<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" size="10" value="<?php echo $_smarty_tpl->tpl_vars['v']->value['sort'];?>
-"
- onBlur="subsort('<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-','index.php?m=desc_class&c=ajax');">
- <img style="padding-left:5px;cursor:pointer;" title="" src="images/xg.png" onClick="checksort('<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-');" /></td>
- <td class="ud">
-
- <a href="javascript:void(0)" onClick="layer_del('确定要删除?', 'index.php?m=desc_class&c=del&delid=<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-');"
- class="admin_new_c_bth admin_new_c_bth_sc">删除</a></td>
- </tr>
-
- <?php } ?>
- <tr>
- <td align="center"><input type="checkbox" id='chkAll2' onclick='CheckAll2(this.form)' /></td>
- <td colspan="4">
- <label for="chkAll2">全选</label>
- <input class="admin_button" type="button" name="delsub" value="删除所选" onclick="return really('del[]')" /></td>
- </tr>
- </tbody>
- </table>
- </form>
- </div>
- </div>
- </div>
- </div>
- <div id="houtai_div" style=" display:none;margin-top: 10px;">
- <div class="admin_mt10">
- <table cellspacing='1' cellpadding='1' class="admin_examine_table">
- <tbody>
- <tr>
- <th width="90">类别名称:</th>
- <td><textarea id='position' class="add_class_textarea"></textarea></td>
- </tr>
- <tr class="ui_td_11">
- <th width="90"></th>
- <td>
- <span class="admin_web_tip">说明:可以添加多条分类(请按回车键换行,一行一个)</span>
- </td>
- </tr>
- <tr class="ui_td_11">
- <td class="ui_content_wrap" colspan='2'>
- <input class="admin_examine_bth" type="button" name="add" value=" 添加 " onClick="save_dclass('index.php?m=desc_class&c=add')" />
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </body>
-</html>
-<?php }} ?>
diff --git a/data/templates_c/9aa269d49f5808d4c8652e385a772866e25c3c20.file.web_config.htm.php b/data/templates_c/9aa269d49f5808d4c8652e385a772866e25c3c20.file.web_config.htm.php
deleted file mode 100644
index 0be5684..0000000
--- a/data/templates_c/9aa269d49f5808d4c8652e385a772866e25c3c20.file.web_config.htm.php
+++ /dev/null
@@ -1,695 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:16:09
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\web_config.htm" */ ?>
-<?php /*%%SmartyHeaderCode:563067ff75599493c6-17771098%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '9aa269d49f5808d4c8652e385a772866e25c3c20' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\web_config.htm',
- 1 => 1640333834,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '563067ff75599493c6-17771098',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'cache' => 0,
- 'v' => 0,
- 'pytoken' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff7559994550_07682120',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff7559994550_07682120')) {function content_67ff7559994550_07682120($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <link href="images/reset.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/system.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/table_form.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="js/admin_public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
- <link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet">
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <title>后台管理</title>
- </head>
- <body class="body_ifm">
- <div class="infoboxp">
- <div class="tty-tishi_top">
- <div class="admin_new_tip">
- <a href="javascript:;" class="admin_new_tip_close"></a>
- <a href="javascript:;" class="admin_new_tip_open" style="display:none;"></a>
- <div class="admin_new_tit"><i class="admin_new_tit_icon"></i>操作提示</div>
- <div class="admin_new_tip_list_cont">
- <div class="admin_new_tip_list">页面设置功能:实现“伪静态设置、前台列表最大展示数量、外部链接”等进行设置!伪静态可以增强网站收录友好度!运营者大部分都是开启的!</div>
- </div>
- </div>
- <div class="clear"></div>
-
- <div class="tag_box">
- <div>
- <form method="post" class="layui-form">
- <table width="100%" class="table_form">
-
- <tr class="admin_table_trbg">
- <th width="270">伪静态设置:</th>
- <td>
- <div class="layui-input-inline fl">
- <input type="checkbox" name="sy_seo_rewrite" lay-skin="switch" lay-text="开启|关闭" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_seo_rewrite']=="1") {?> checked <?php }?> />
- </div>
- <span class="admin_web_tip fl ml30">修改伪静态之前要先根据服务器添加伪静态规则</span>
- </td>
- </tr>
-
- <tr>
- <th width="270">头部浮动导航:</th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline">
- <input type="checkbox" name="sy_header_fix" lay-skin="switch" lay-text="开启|关闭" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_header_fix']=="1") {?> checked <?php }?> />
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <th width="270">首页底部浮动提示条:</th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline">
- <input type="checkbox" name="sy_footer_fix" lay-skin="switch" lay-text="开启|关闭" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_footer_fix']=="1") {?> checked <?php }?> />
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <th width="270">友情链接申请:</th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline">
- <input type="checkbox" name="sy_linksq" lay-skin="switch" lay-text="开启|关闭" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_linksq']=="1") {?> checked <?php }?> />
- </div>
- </div>
- </td>
- </tr>
- <tr class="admin_table_trbg">
- <th width="270">切换身份类型:</th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline">
- <input type="checkbox" name="sy_user_change" lay-skin="switch" lay-text="开启|关闭" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_user_change']=="1") {?> checked <?php }?> />
- </div>
- </div>
- </td>
- </tr>
- <tr class="admin_table_trbg">
- <th width="270">切换身份免审核:</th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline">
- <input type="checkbox" name="sy_change_noshen" lay-skin="switch" lay-text="开启|关闭" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_change_noshen']=="1") {?> checked <?php }?> />
- </div>
- </div>
- </td>
- </tr>
-
- <tr class="admin_table_trbg">
- <th width="270">手机端自动跳转到wap:</th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline">
- <input type="checkbox" name="sy_wap_jump" lay-skin="switch" lay-text="开启|关闭" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_wap_jump']=="1") {?> checked <?php }?> />
- </div>
- </div>
- </td>
- </tr>
-
- <tr class="admin_table_trbg">
- <th width="270">PC端允许访问WAP端:</th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline">
- <input type="checkbox" name="sy_pc_jump_wap" lay-skin="switch" lay-text="开启|关闭" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_pc_jump_wap']=="1") {?> checked <?php }?> />
- </div>
- </div>
- </td>
- </tr>
-
- <tr class="admin_table_trbg">
- <th width="270">h5分享:</th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline">
- <input type="checkbox" name="sy_h5_share" lay-skin="switch" lay-text="开启|关闭" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_h5_share']=="1") {?> checked <?php }?> />
- </div>
- </div>
- </td>
- </tr>
- <tr class="admin_table_trbg">
- <th width="270">意见反馈手机号验证:</th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline">
- <input type="checkbox" name="sy_advice_mobilecode" lay-skin="switch" lay-text="开启|关闭" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_advice_mobilecode']=="1") {?> checked <?php }?> />
- </div>
- </div>
- </td>
- </tr>
- <tr class="admin_table_trbg">
- <th width="270">竞争力分析:</th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline">
- <input type="checkbox" name="sy_job_lookfx" lay-skin="switch" lay-text="开启|关闭" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_job_lookfx']=="1") {?> checked <?php }?> />
- </div>
- </div>
- </td>
- </tr>
- <tr class="admin_table_trbg">
- <th width="270">微信浏览器列表形式:</th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline fl">
- <input name="sy_wxwap_list" value="1" title="分页" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_wxwap_list']=="1") {?> checked
- <?php }?> type="radio" />
- <input name="sy_wxwap_list" value="2" title="上拉加载" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_wxwap_list']=="2") {?> checked
- <?php }?> type="radio" />
- </div>
- </div>
- </td>
- </tr>
- <tr class="admin_table_trbg">
- <th width="270">新闻显示形式:</th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline fl">
- <input name="sy_news_rewrite" value="1" title="动态" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_news_rewrite']=="1") {?> checked
- <?php }?> type="radio" />
- <input name="sy_news_rewrite" value="2" title="静态" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_news_rewrite']=="2") {?> checked
- <?php }?> type="radio" />
- </div>
- <span class="admin_web_tip fl ml30">修改为静态,访问时显示静态页内容,提升效率</span>
- </div>
- </td>
- </tr>
- <tr class="admin_table_trbg">
- <th width="270">数据分享二维码形式:</th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline fl">
- <input name="sy_ewm_type" value="wap" title="默认" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_ewm_type']=="wap") {?> checked
- <?php }?> type="radio" />
- <input name="sy_ewm_type" value="weixin" title="场景码(公众号图文)" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_ewm_type']=="weixin") {?> checked
- <?php }?> type="radio" />
-
- <input name="sy_ewm_type" value="xcx" title="场景码(公众号小程序)" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_ewm_type']=="xcx") {?> checked
- <?php }?> type="radio" />
- </div>
-
- </div>
- <span class="admin_web_tip">功能支持:海报、职位、简历、企业、兼职、资讯、公告、公招。</span>
- <span class="admin_web_tip">默认:扫码打开WAP链接 公众号:关注公众号自动回复图文 小程序:关注公众号自动推荐小程序(30天有效期,公众号必须关联小程序)</span>
- </td>
- </tr>
- <tr>
- <th width="270">找人才页面默认显示类别:
- </th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline fl">
- <input name="sy_default_userclass" value="1" title="是" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_default_userclass']=="1") {?>
- checked <?php }?> type="radio" />
- <input name="sy_default_userclass" value="2" title="否" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_default_userclass']=="2") {?>
- checked <?php }?> type="radio" />
- </div>
- <span class="admin_web_tip fl ml30">
- 若选择"否",则直接显示简历列表
- </span>
- </div>
- </td>
- </tr>
-
- <tr class="admin_table_trbg">
- <th width="270">找工作页面默认显示类别:
- </th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline fl">
- <input name="sy_default_comclass" value="1" title="是" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_default_comclass']=="1") {?>
- checked <?php }?> type="radio" />
- <input name="sy_default_comclass" value="2" title="否" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_default_comclass']=="2") {?>
- checked <?php }?> type="radio" />
- </div>
- <span class="admin_web_tip fl ml30">
- 若选择"否",则直接显示职位列表
- </span>
- </div>
- </td>
- </tr>
- <tr>
- <th width="270" class="t_fr">薪资单位:
- </th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline">
- <select name="resume_salarytype" id="resume_salarytype">
- <option value="1" <?php if ($_smarty_tpl->tpl_vars['config']->value['resume_salarytype']==1) {?> selected<?php }?>>元</option>
- <option value="2" <?php if ($_smarty_tpl->tpl_vars['config']->value['resume_salarytype']==2) {?> selected<?php }?>>千元</option>
- <option value="3" <?php if ($_smarty_tpl->tpl_vars['config']->value['resume_salarytype']==3) {?> selected<?php }?>>K</option>
- <option value="4" <?php if ($_smarty_tpl->tpl_vars['config']->value['resume_salarytype']==4) {?> selected<?php }?>>k</option>
- </select>
- </div>
- </div>
- <span class="admin_web_tip">提示:薪资单位,该设置可以改变薪资显示单位</span>
- </td>
- </tr>
-
- <tr class="admin_table_trbg">
- <th width="270" class="t_fr">前台列表最大展示数量:</th>
- <td>
- <div class="layui-input-block t_w480">
- <input name="sy_indexpage" id="sy_indexpage" lay-verify="required|number" placeholder="请输入" autocomplete="off"
- class="layui-input" type="text" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_indexpage'];?>
-" size="30" maxlength="255" />
- </div>
- <span class="admin_web_tip">
- 提示:0为不限
- </span>
- </td>
- </tr>
- <tr>
- <th width="270" class="t_fr">数据周期:</th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline t_w480">
- <input name="sy_datacycle" id="sy_datacycle" lay-verify="required|number" placeholder="请输入" autocomplete="off" class="layui-input" type="text" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_datacycle'];?>
-" size="30" maxlength="255" />
- </div> 天
- </div>
- <span class="admin_web_tip">
- 提示:职位、简历仅展示N天内更新的数据,以解决数据冗余问题,0为不限;
- </span>
- </td>
- </tr>
- <tr>
- <th width="270" class="t_fr">登录时长:</th>
-
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline t_w480">
- <input name="sy_logintime" id="sy_logintime" placeholder="请输入" autocomplete="off" class="layui-input"
- type="text" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_logintime'];?>
-" size="30" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" />
- </div> 天
- </div>
- <span class="admin_web_tip">
- 提示:登录状态保持天数,默认1天
- </span>
- </td>
- </tr>
-
- <tr class="admin_table_trbg">
- <th width="270">默认登录方式:</th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline fl">
- <input name="sy_login_type" value="1" title="用户名登录" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_login_type']!="2") {?> checked
- <?php }?> type="radio" />
- <input name="sy_login_type" value="2" title="短信登录" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_login_type']=="2") {?> checked
- <?php }?> type="radio" />
- </div>
- <span class="admin_web_tip fl ml30">短信登录需要在短信设置中开启短信功能,并在短信模板设置中开启短信验证码登录。</span>
- </div>
- </td>
- </tr>
-
-
- <tr>
- <th width="270" class="t_fr">未登录用户可访问简历数量:</th>
- <td>
- <div class="layui-input-block t_w480">
- <input name="sy_resume_visitors" id="sy_resume_visitors" placeholder="请输入" autocomplete="off" class="layui-input"
- type="text" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_resume_visitors'];?>
-" size="30" maxlength="255" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" />
- </div>
- <span class="admin_web_tip">
- 提示:0为不限
- </span>
- </td>
- </tr>
-
- <tr>
- <th width="270" class="t_fr">同一IP点击广告记录间隔:</th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline t_w480">
- <input name="sy_adclick" id="sy_adclick" placeholder="请输入" autocomplete="off" class="tty_input" type="text"
- value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_adclick'];?>
-" size="30" maxlength="255" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" />
- </div> 小时
- </div>
- <span class="admin_web_tip">提示:0为不限,其他数字为期限内只记录一次</span>
- </td>
- </tr>
- <tr class="admin_table_trbg">
- <th width="270" class="t_fr">每天推荐职位/简历最大次数:</th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline t_w480">
- <input name="sy_recommend_day_num" id="sy_recommend_day_num" placeholder="请输入" autocomplete="off" class="layui-input"
- type="text" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_recommend_day_num'];?>
-" size="30" maxlength="255" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" />
- </div> 次
- </div>
- <span class="admin_web_tip">
- 提示:0为关闭
- </span>
- </td>
- </tr>
- <tr class="admin_table_trbg">
- <th width="270" class="t_fr">推荐职位/简历最小时间间隔(单位:秒):</th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline t_w480">
- <input name="sy_recommend_interval" id="sy_recommend_interval" placeholder="请输入" autocomplete="off" class="layui-input"
- type="text" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_recommend_interval'];?>
-" size="30" maxlength="255" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" />
- </div> 秒
- </div>
- <span class="admin_web_tip">
- 提示:0为不限
- </span>
- </td>
- </tr>
-
-
- <tr class="admin_table_trbg">
- <th width="270" class="t_fr">每天简历外发最大次数:</th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline t_w480">
- <input name="sy_resumeout_day_num" id="sy_resumeout_day_num" placeholder="请输入" autocomplete="off" class="layui-input"
- type="text" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_resumeout_day_num'];?>
-" size="30" maxlength="255" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" />
- </div> 次
- </div>
- <span class="admin_web_tip">
- 提示:0为关闭
- </span>
- </td>
- </tr>
-
- <tr class="admin_table_trbg">
- <th width="270" class="t_fr">简历外发最小时间间隔(单位:秒):</th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline t_w480">
- <input name="sy_resumeout_interval" id="sy_resumeout_interval" placeholder="请输入" autocomplete="off" class="layui-input"
- type="text" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_resumeout_interval'];?>
-" size="30" maxlength="255" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" />
- </div> 秒
- </div>
- <span class="admin_web_tip">
- 提示:0为不限
- </span>
- </td>
- </tr>
-
-
- <tr>
- <th width="270">
- <font>百度自动推送功能</font>:
- </th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline">
- <input name="sy_zhanzhang_baidu" value="1" title="是" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_zhanzhang_baidu']=="1") {?>
- checked <?php }?> type="radio" />
- <input name="sy_zhanzhang_baidu" value="2" title="否" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_zhanzhang_baidu']=="2") {?>
- checked <?php }?> type="radio" />
- </div>
- </div>
- </td>
- </tr>
-
- <tr class="admin_table_trbg">
- <th width="270">新闻内链(职位关键字):</th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline">
- <input name="sy_outlinks" value="1" title="是" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_outlinks']=="1") {?> checked <?php }?>
- type="radio" />
- <input name="sy_outlinks" value="2" title="否" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_outlinks']=="2") {?> checked <?php }?>
- type="radio" />
- </div>
- <span class="admin_web_tip">
- 提示:该设置可以改变新闻内容信息,涉及网站职位关键字内容添加链接
- </span>
- </div>
- </td>
- </tr>
-
- <tr>
- <th width="270" class="t_fr">特别申明:</th>
- <td>
- <div class="layui-input-block">
- <textarea type="radio" name="sy_shenming" id="sy_shenming" class="web_text_textarea"><?php echo $_smarty_tpl->tpl_vars['config']->value['sy_shenming'];?>
- </textarea>
- </div>
- <span class="admin_web_tip">如:用人单位不得以任何名义收取求职者任何形式的费用</span>
- </td>
- </tr>
- <tr class="admin_table_trbg">
- <th width="270" class="t_fr">职位简历点击器:</th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline">
- <input class="layui-input" type="text" value="1" size="10" disabled="disabled" style="width: 80px; background: #f5f7fb;"/>
- </div> -<div class="layui-input-inline">
- <input class="layui-input" style='margin-left: 10px;width: 80px;' type="text" name="sy_job_hits" id="sy_job_hits" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_job_hits'];?>
-" size="10"/>
- </div>
- </div>
- <span class="admin_web_tip">提示:最小为1,最大为100,每次在1-X范围随机增加</span>
- </td>
- </tr>
- <tr class="admin_table_trbg">
- <th width="270" class="t_fr">列表页区域默认设置:</th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline" style="width: 238px;">
- <select name="sy_web_city_one" id="sy_web_city_one" lay-filter="citys">
- <option value="">请选择</option>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['j'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['cache']->value['city_index']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['j']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
-" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_web_city_one']==$_smarty_tpl->tpl_vars['v']->value) {?> selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['cache']->value['city_name'][$_smarty_tpl->tpl_vars['v']->value];?>
-
- </option> <?php } ?>
- </select>
- </div>
- <div class="layui-input-inline" style="width: 238px;">
- <select name="sy_web_city_two" id="sy_web_city_two" lay-filter="citys">
- <option value="">请选择</option>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['j'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['cache']->value['city_type'][$_smarty_tpl->tpl_vars['config']->value['sy_web_city_one']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['j']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
-" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_web_city_two']==$_smarty_tpl->tpl_vars['v']->value) {?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['cache']->value['city_name'][$_smarty_tpl->tpl_vars['v']->value];?>
-
- </option> <?php } ?>
- </select>
- </div>
- </div>
- <span class="admin_web_tip">如:前台职位、简历、企业列表区域默认查询设置</span>
- </td>
- </tr>
-
- <tr class="admin_table_trbg">
- <th width="270">刷新时间格式:</th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline fl">
-
- <input name="sy_updates_set" value="1" title="xx时xx分" <?php if (!$_smarty_tpl->tpl_vars['config']->value['sy_updates_set']||$_smarty_tpl->tpl_vars['config']->value['sy_updates_set']=="1") {?> checked
- <?php }?> type="radio" />
- <input name="sy_updates_set" value="2" title="xx小时前(小于一小时:xx分钟前)" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_updates_set']=="2") {?> checked
- <?php }?> type="radio" />
-
- </div>
- <span class="admin_web_tip fl ml30">设置 人才/职位(详情页/列表页)刷新时间格式,仅当天可用</span>
- </div>
- </td>
- </tr>
-
- <tr>
- <th width="270" class="t_fr">充值订单超时自动关闭:</th>
-
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline t_w480">
- <input name="sy_closeOrder" id="sy_closeOrder" placeholder="请输入" autocomplete="off" class="layui-input"
- type="text" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_closeOrder'];?>
-" size="30" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" />
- </div> 天
- </div>
- <span class="admin_web_tip">
- 提示:充值订单超时天数,默认15天
- </span>
- </td>
- </tr>
-
-
- <th> </th>
- <td align="left">
- <input class="tty_sub" id="config" lay-submit="" lay-filter="demo1" type="button" name="config" value="提交" />
- <input class="tty_cz" type="reset" value="重置" /></td>
- </tr>
- </table>
- </form>
- </div>
- </div>
- </div>
- </div>
-
- <input type="hidden" name="pytoken" id='pytoken' value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- <?php echo '<script'; ?>
- language=javascript src='<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/data/plus/city.cache.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-'><?php echo '</script'; ?>
->
-
- <?php echo '<script'; ?>
- type="text/javascript">
- var weburl = "<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-";
- var form, url = weburl + "/index.php?m=ajax&c=get_city_option";
- layui.use(['layer', 'form'], function() {
- var layer = layui.layer,
- form = layui.form,
- $ = layui.$;
-
- form.on('select(citys)', function(data) {
- var html = "<option value=''>请选择</option>";
- if (data.value) {
- $.each(ct[data.value], function(k, v) {
- html += "<option value='" + v + "'>" + cn[v] + "</option>";
- });
- }
- if (data.elem.name == 'sy_web_city_one') {
-
- $("#sy_web_city_two").html(html);
- }
- form.render('select');
- });
-
- });
-
- $(function() {
- $(".tips_class").hover(function() {
- var msg_id = $(this).attr('id');
- var msg = $('#' + msg_id + ' + font').html();
- if ($.trim(msg) != '') {
- layer.tips(msg, this, {
- guide: 1,
- style: ['background-color:#5EA7DC; color:#fff;top:-7px', '#5EA7DC']
- });
- $(".xubox_layer").addClass("xubox_tips_border");
- }
- }, function() {
- var msg_id = $(this).attr('id');
- var msg = $('#' + msg_id + ' + font').html();
- if ($.trim(msg) != '') {
- layer.closeAll('tips');
- }
- });
-
- $("#config").click(function() {
- loadlayer();
- $.post("index.php?m=web_config&c=save", {
- config: $("#config").val(),
- sy_seo_rewrite: $("input[name=sy_seo_rewrite]").is(":checked") ? 1 : 0,
- sy_header_fix: $("input[name=sy_header_fix]").is(":checked") ? 1 : 0,
- sy_footer_fix: $("input[name=sy_footer_fix]").is(":checked") ? 1 : 0,
- sy_news_rewrite: $("input[name=sy_news_rewrite]:checked").val(),
- sy_linksq: $("input[name=sy_linksq]").is(":checked") ? 1 : 0,
- sy_wap_jump: $("input[name=sy_wap_jump]").is(":checked") ? 1 : 0,
- sy_user_change: $("input[name=sy_user_change]").is(":checked") ? 1 : 0,
- sy_change_noshen : $("input[name=sy_change_noshen]").is(":checked") ? 1 : 0,
- sy_pc_jump_wap: $("input[name=sy_pc_jump_wap]").is(":checked") ? 1 : 0,
- sy_default_comclass: $("input[name=sy_default_comclass]:checked").val(),
- sy_zhanzhang_baidu: $("input[name=sy_zhanzhang_baidu]:checked").val(),
- sy_default_userclass: $("input[name=sy_default_userclass]:checked").val(),
- sy_ewm_type: $("input[name=sy_ewm_type]:checked").val(),
- sy_job_hits: $("input[name=sy_job_hits]").val(),
- sy_indexpage: $("#sy_indexpage").val(),
- sy_resume_visitors: $("#sy_resume_visitors").val(),
- sy_datacycle: $("#sy_datacycle").val()?$("#sy_datacycle").val():0,
- sy_logintime: $("#sy_logintime").val()?$("#sy_logintime").val():1,
- sy_login_type:$("input[name=sy_login_type]:checked").val(),
- sy_closeOrder: $("#sy_closeOrder").val()?$("#sy_closeOrder").val():15,
- sy_h5_share: $("input[name=sy_h5_share]").is(":checked") ? 1 : 0,
- sy_advice_mobilecode:$("input[name=sy_advice_mobilecode]").is(":checked") ? 1 : 0,
- sy_job_lookfx:$("input[name=sy_job_lookfx]").is(":checked") ? 1 : 0,
- sy_wxwap_list:$("input[name=sy_wxwap_list]:checked").val(),
- sy_adclick: $("#sy_adclick").val(),
- sy_outlinks: $("input[name=sy_outlinks]:checked").val(),
- sy_shenming: $("#sy_shenming").val(),
- sy_autoref: $("#sy_autoref").val(),
- sy_autorefrand: $("input[name=sy_autorefrand]:checked").val(),
- sy_recommend_day_num: $("#sy_recommend_day_num").val(),
- sy_recommend_interval: $("#sy_recommend_interval").val(),
- sy_resumeout_day_num: $("#sy_resumeout_day_num").val(),
- sy_resumeout_interval: $("#sy_resumeout_interval").val(),
- sy_web_city_one: $("#sy_web_city_one").find("option:selected").val(),
- sy_web_city_two: $("#sy_web_city_two").find("option:selected").val(),
- resume_salarytype: $("#resume_salarytype").find("option:selected").val(),
- pytoken: $("#pytoken").val(),
- sy_updates_set:$("input[name=sy_updates_set]:checked").val()
- }, function(data, textStatus) {
- parent.layer.closeAll('loading');
- config_msg(data);
- });
- });
- });
- <?php echo '</script'; ?>
->
- </body>
-</html>
-<?php }} ?>
diff --git a/data/templates_c/a26ea299e121f1c6ae6868e82b35b1fa9843093e.file.checkdomain.htm.php b/data/templates_c/a26ea299e121f1c6ae6868e82b35b1fa9843093e.file.checkdomain.htm.php
deleted file mode 100644
index 0169439..0000000
--- a/data/templates_c/a26ea299e121f1c6ae6868e82b35b1fa9843093e.file.checkdomain.htm.php
+++ /dev/null
@@ -1,484 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:16:02
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\checkdomain.htm" */ ?>
-<?php /*%%SmartyHeaderCode:995567ff7552b9b219-01060440%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- 'a26ea299e121f1c6ae6868e82b35b1fa9843093e' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\checkdomain.htm',
- 1 => 1634883866,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '995567ff7552b9b219-01060440',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'Dname' => 0,
- 'key' => 0,
- 'dlist' => 0,
- 'pytoken' => 0,
- 'gwInfo' => 0,
- 'glist' => 0,
- 'crmlist' => 0,
- 'clist' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff7552ba5ec3_20317916',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff7552ba5ec3_20317916')) {function content_67ff7552ba5ec3_20317916($_smarty_tpl) {?><?php echo '<script'; ?>
- type="text/javascript">
-var weburl="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-";
-function checksiteall(url){
- var codewebarr="";
- $(".check_all:checked").each(function(){
- if(codewebarr==""){codewebarr=$(this).val();}else{codewebarr=codewebarr+","+$(this).val();}
- });
- if(codewebarr==""){
- parent.layer.msg('您还未选择任何信息!', 2, 8); return false;
- }else{
- checksite('',codewebarr,url);
- }
-}
-function checksite(name,id,url){
- if(name==''){
- $("#com_name").html("");
- }else if(url=='index.php?m=admin_news&c=checksitedid'){
- $("#com_name").html("新闻标题:");
- }else if(url=='index.php?m=zhaopinhui&c=checksitedid'){
- $("#com_name").html("招聘会标题:");
- }else if(url=='index.php?m=admin_announcement&c=checksitedid'){
- $("#com_name").html("公告标题:");
- }else{
- $("#com_name").html("用户名:");
- }
- name=name.substr(0,15);
- $('#formDomain').attr('action', url);
- $('#siteusername').html(name);
- $('#siteuid').val(id);
- $.layer({
- type : 1,
- title :'分配站点',
- closeBtn : [0 , true],
- border : [10 , 0.3 , '#000', true],
- area : ['350px','250px'],
- page : {dom :"#infoboxdomain"}
- });
-}
-
-function checkguwenall(url){
- var codewebarr="";
- $(".check_all:checked").each(function(){
- if(codewebarr==""){codewebarr=$(this).val();}else{codewebarr=codewebarr+","+$(this).val();}
- });
- if(codewebarr==""){
- parent.layer.msg('您还未选择任何信息!', 2, 8); return false;
- }else{
- checkguwen('',codewebarr,url);
- }
-}
-
-function checkguwen(name,id,url){
- if(name==''){
-
- $("#com_username").html("");
-
- }else if(url=='index.php?m=admin_company&c=checkguwen'){
-
- $("#com_username").html("企业用户名:");
-
- }
- name=name.substr(0,15);
- $('#formGuwen').attr('action', url);
- $('#comusername').html(name);
- $('#comid').val(id);
- $.layer({
- type : 1,
- title :'分配业务员',
- closeBtn : [0 , true],
- border : [10 , 0.3 , '#000', true],
- area : ['350px','260px'],
- page : {dom :"#infoguwen"}
- });
-}
-
-function checkCrmAll(url){
- var codewebarr="";
- $(".check_all:checked").each(function(){
- if(codewebarr==""){codewebarr=$(this).val();}else{codewebarr=codewebarr+","+$(this).val();}
- });
- if(codewebarr==""){
- parent.layer.msg('您还未选择任何信息!', 2, 8); return false;
- }else{
- checkCrm('',codewebarr,url);
- }
-}
-
-function checkCrm(name,id,url){
-
- if(name==''){
-
- $("#com_username").html("");
-
- }else if(url=='index.php?m=user_member&c=checkCrm'){
-
- $("#com_username").html("个人用户名:");
-
- }
- name=name.substr(0,15);
- $('#formGuwen').attr('action', url);
- $('#comusername').html(name);
- $('#comid').val(id);
- $.layer({
- type : 1,
- title :'分配业务员',
- closeBtn : [0 , true],
- border : [10 , 0.3 , '#000', true],
- area : ['350px','250px'],
- page : {dom :"#infoguwen"}
- });
-}
-function searchdomain(id){
- var pytoken = $('#pytoken').val();
- if(id==1){
- var keyword = $.trim($('#sitekeyword').val());
- }else{
- var keyword = $.trim($('#domainkeyword').val());
- }
- if(!keyword){
- parent.layer.msg('请输入搜索关键词!', 2, 8);return false;
- }
- loadlayer();
- $.post(weburl+"/index.php?m=ajax&c=selsite",{pytoken:pytoken,keyword:keyword,id:id},function(data){
- parent.layer.closeAll('loading');
- if(data==0){
- parent.layer.msg('请输入搜索关键词!', 2, 8);return false;
- }else if(data==1){
- parent.layer.msg('未查询到相关数据!', 2, 8);return false;
- }else{
- if(id==1){
- $('#did_val').html(data);
- layui.use(['form'],function(){
- var f = layui.form;
- f.render();
- });
-
- }else{
- $('#domain_val').html(data);
- layui.use(['form'],function(){
- var f = layui.form;
- f.render();
- });
-
- }
- }
- });
-
-}
-
-/* 搜索顾问姓名 */
-function searchguwen(id){
-
- var pytoken = $('#pytoken').val();
- var keyword = $.trim($('#guwenkeyword').val());
-
- if(!keyword){
- parent.layer.msg('请输入搜索关键词!', 2, 8);return false;
- }
- loadlayer();
- $.post(weburl+"/index.php?m=ajax&c=selcrm",{pytoken:pytoken,keyword:keyword,id:id},function(data){
- parent.layer.closeAll('loading');
- if(data==0){
- parent.layer.msg('请输入搜索关键词!', 2, 8);return false;
- }else if(data==1){
- parent.layer.msg('未查询到相关数据!', 2, 8);return false;
- }else{
- if(id==1){
- $('#gid_val').html(data);
- layui.use(['form'],function(){
- var f = layui.form;
- f.render();
- });
- }
- }
- });
-}
-
-function searchcrm(id){
- var pytoken = $('#pytoken').val();
- if(id==1){
- var keyword = $.trim($('#crmkeyword').val());
- }else{
- var keyword = $.trim($('#crmkeyword').val());
- }
- if(!keyword){
- parent.layer.msg('请输入搜索关键词!', 2, 8);return false;
- }
- var i=loadlayer();
- $.post(weburl+"/index.php?m=ajax&c=selcrm",{pytoken:pytoken,keyword:keyword,id:id},function(data){
- layer.close(i);
- if(data==0){
- parent.layer.msg('请输入搜索关键词!', 2, 8);return false;
- }else if(data==1){
- parent.layer.msg('未查询到相关数据!', 2, 8);return false;
- }else{
- if(id==1){
- $('#cid_val').html(data);
- layui.use(['form'],function(){
- var f = layui.form;
- f.render();
- });
- }
- }
- });
-}
-
-function add_site(id,name){
- if(id!=''){
- $("#domain_val").val(id);
- }
- if(name!=''){
- $("#domain_name").val(name);
- }
- $.layer({
- type : 1,
- title :'分配站点',
- closeBtn : [0 , true],
- border : [10 , 0.3 , '#000', true],
- area : ['400px','230px'],
- offset: ['20px', ''],
- page : {dom :"#domainlist"}
- });
-}
-function check_domain(){
-
- var domain_val=$("#domain_val").val();
- var domain_name = domain_val.split(',');
- var id=domain_name[0];
- var name=domain_name[1];
- $(".city_news_but").val(name);
- $("#did").val(id);
-
- layer.closeAll();
-}
-function domaincheck(){
- var did=$("#did_val").val();
- if(!did){
- layer.msg('请选择需要切换的站点',2,8);return false;
- }
-}
-function guwencheck(){
- var gid=$("#gid_val").val();
- if(!gid){
- layer.msg('请选择需要分配的顾问',2,8);return false;
- }
-}
-function crmcheck(){
- var cid=$("#cid_val").val();
- if(!cid){
- layer.msg('请选择需要绑定的业务员',2,8);return false;
- }
-}
-<?php echo '</script'; ?>
->
-<style>
- .admin_compay_fp{margin-top:15px;}
- .admin_compay_fp_s{width:100px; text-align:right; font-weight:bold; display:inline-block}
- .admin_compay_fp_sub{width:140px;height:25px;border:1px solid #ddd;}
- .admin_compay_fp_sub1{width:50px;height:36px; background:#3692cf;color:#fff;border:none; cursor:pointer;border-radius: 4px;}
-
- .layui-layer-page .layui-layer-content{
- overflow: visible !important;
- }
-</style>
-<div id="infoboxdomain" style="display:none; width: 350px; ">
- <form class="layui-form" action="" target="supportiframe" method="post" id="formDomain" onsubmit="return domaincheck()">
- <div class="admin_compay_fp">
- <span class="admin_compay_fp_s" id="com_name"></span>
- <em id="siteusername"></em>
- </div>
-
- <div class="admin_compay_fp">
- <span class="admin_compay_fp_s">分站搜索:</span>
- <input type="text" value="" id="sitekeyword" class="tty_input t_w150">
- <input type='button' onclick="searchdomain('1')" value="搜索" class="admin_compay_fp_sub1">
- </div>
- <div class="admin_compay_fp" style="height:37px;">
- <span class="admin_compay_fp_s" style="float:left; line-height:37px; display:inline-block; margin-right:3px;">切换站点:</span>
-
- <div class="yun_admin_select_box zindex100">
- <div class="layui-input-inline" style="width: 227px;">
- <select name="did" id="did_val" lay-filter="did">
- <option value="">请选择</option>
- <?php $_smarty_tpl->tpl_vars['dlist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['dlist']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['Dname']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['dlist']->key => $_smarty_tpl->tpl_vars['dlist']->value) {
-$_smarty_tpl->tpl_vars['dlist']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['dlist']->key;
-?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
-" ><?php echo $_smarty_tpl->tpl_vars['dlist']->value;?>
-</option>
- <?php } ?>
- </select>
- </div>
- </div>
- </div>
- <div class="admin_compay_fp" style="text-align: center;width: 100%;margin-top: 20px;">
- <input type="submit" value='确认' class="admin_examine_bth">
- <input type="button" onClick="layer.closeAll();" class="admin_examine_bth_qx" value='取消' style="margin-left:10px;">
- </div>
- <input type="hidden" name="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- <input name="uid" value="0" id="siteuid" type="hidden">
- </form>
-</div>
-
-<div id="infoguwen" style="display:none; width: 350px; ">
- <form class="layui-form" action="" target="supportiframe" method="post" id="formGuwen" onsubmit="return guwencheck()">
- <div class="admin_compay_fp">
- <span class="admin_compay_fp_s" id="com_username"></span>
- <em id="comusername"></em>
- </div>
-
- <div class="admin_compay_fp">
- <span class="admin_compay_fp_s">顾问搜索:</span>
- <input type="text" value="" id="guwenkeyword" class="tty_input t_w150">
- <input type='button' onclick="searchguwen('1')" value="搜索" class="admin_compay_fp_sub1">
- </div>
-
- <div class="admin_compay_fp">
- <span class="admin_compay_fp_s">选择顾问:</span>
- <div class="layui-input-inline" style="width: 226px;">
- <select name="gid" id="gid_val" lay-filter="gid">
- <option value="">请选择</option>
-
- <?php $_smarty_tpl->tpl_vars['glist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['glist']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['gwInfo']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['glist']->key => $_smarty_tpl->tpl_vars['glist']->value) {
-$_smarty_tpl->tpl_vars['glist']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['glist']->key;
-?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['glist']->value['uid'];?>
-" ><?php if ($_smarty_tpl->tpl_vars['glist']->value['name']) {
-echo $_smarty_tpl->tpl_vars['glist']->value['name'];
-} else {
-echo $_smarty_tpl->tpl_vars['glist']->value['username'];
-}?></option>
- <?php } ?>
- </select>
- </div>
- </div>
-
- <div class="admin_compay_fp">
- <span class="admin_compay_fp_s"> </span>
- <input type="submit" value='确认' class="admin_examine_bth"><input type="button" onClick="layer.closeAll();" class="admin_examine_bth_qx" value='取消' style="margin-left:10px;">
- </div>
- <input type="hidden" name="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- <input name="comid" value="0" id="comid" type="hidden">
- </form>
-</div>
-
-<div id="infocrm" style="display:none; width: 350px; ">
- <form class="layui-form" action="" target="supportiframe" method="post" id="formCrm" onsubmit="return crmcheck()">
- <div class="admin_compay_fp">
- <span class="admin_compay_fp_s" id="con_name"></span>
- <em id="crmusername"></em>
- </div>
-
- <div class="admin_compay_fp">
- <span class="admin_compay_fp_s">业务员搜索:</span>
- <input type="text" value="" id="crmkeyword" class="admin_compay_fp_sub">
- <input type='button' onclick="searchcrm('1')" value="搜索" class="admin_compay_fp_sub1">
- </div>
-
- <div class="admin_compay_fp" style="height:34px;">
- <span class="admin_compay_fp_s" style="float:left; line-height:34px; display:inline-block; margin-right:5px;">选择业务员:</span>
- <div class="yun_admin_select_box zindex100">
- <div class="layui-form-item">
- <div class="layui-input-inline" >
- <select name="cid" id="cid_val" lay-filter="cid">
- <option value="">请选择</option>
-
- <?php $_smarty_tpl->tpl_vars['clist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['clist']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['crmlist']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['clist']->key => $_smarty_tpl->tpl_vars['clist']->value) {
-$_smarty_tpl->tpl_vars['clist']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['clist']->key;
-?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['clist']->value['uid'];?>
-" ><?php echo $_smarty_tpl->tpl_vars['clist']->value['username'];?>
-</option>
- <?php } ?>
- </select>
- </div>
- </div>
- </div>
-
-
- </div>
- <div class="admin_compay_fp">
- <span class="admin_compay_fp_s"> </span>
- <input type="submit" value='确认' class="admin_examine_bth"><input type="button" onClick="layer.closeAll();" class="admin_examine_bth_qx" value='取消' style="margin-left:10px;">
- </div>
- <input type="hidden" name="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- <input name="conid" value="0" id="conid" type="hidden">
- </form>
-</div>
-
-<div id="domainlist" style="display:none;float:left;width: 100%;">
-<form class="layui-form">
- <div class="admin_compay_fp">
- <span class="admin_compay_fp_s">分站搜索:</span>
- <input type="text" value="" id="domainkeyword" class="tty_input" style="width: 150px;">
- <input type='button' onclick="searchdomain('2')" value="搜索" class="admin_compay_fp_sub1" style="border-radius: 4px;width: 60px;height: 36px;">
- </div>
- <div class="admin_compay_fp" style="height:37px;">
- <span class="admin_compay_fp_s" style="float:left; line-height:37px; display:inline-block; margin-right:3px;">切换站点:</span>
- <div class="yun_admin_select_box zindex100">
- <div class="layui-form-item">
- <div class="layui-input-inline" style="width: 235px;">
- <select name="did" id="domain_val" lay-filter="did">
- <option value="">请选择</option>
- <?php $_smarty_tpl->tpl_vars['dlist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['dlist']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['Dname']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['dlist']->key => $_smarty_tpl->tpl_vars['dlist']->value) {
-$_smarty_tpl->tpl_vars['dlist']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['dlist']->key;
-?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
-,<?php echo $_smarty_tpl->tpl_vars['dlist']->value;?>
-" ><?php echo $_smarty_tpl->tpl_vars['dlist']->value;?>
-</option>
- <?php } ?>
- </select>
- </div>
- </div>
- </div>
-
- </div>
- <div class="admin_compay_fp">
- <div style="width: 156px; margin: auto;">
- <input type="button" value='确认' onclick="check_domain()" class="admin_examine_bth">
- <input type="button" onClick="layer.closeAll();" class="admin_examine_bth_qx" value='取消' style="margin-left:10px;">
- </div>
- </div>
- </form>
-</div>
-<?php echo '<script'; ?>
->
-layui.use(['form'],function(form){form.render();});
-<?php echo '</script'; ?>
-><?php }} ?>
diff --git a/data/templates_c/bbe37c552ad210165d8d711871d36cae7adc6df6.file.index.htm.php b/data/templates_c/bbe37c552ad210165d8d711871d36cae7adc6df6.file.index.htm.php
deleted file mode 100644
index 34071c4..0000000
--- a/data/templates_c/bbe37c552ad210165d8d711871d36cae7adc6df6.file.index.htm.php
+++ /dev/null
@@ -1,1039 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:15:21
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\index.htm" */ ?>
-<?php /*%%SmartyHeaderCode:1971967ff75294da025-66803580%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- 'bbe37c552ad210165d8d711871d36cae7adc6df6' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\index.htm',
- 1 => 1634892927,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '1971967ff75294da025-66803580',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'indexurl' => 0,
- 'navigation' => 0,
- 'v' => 0,
- 'nav_user' => 0,
- 'power' => 0,
- 'admin_lasttime' => 0,
- 'crm_chat' => 0,
- 'pytoken' => 0,
- 'one_menu' => 0,
- 'val' => 0,
- 'menu' => 0,
- 'two_menu' => 0,
- 'value' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff752952a982_96394015',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff752952a982_96394015')) {function content_67ff752952a982_96394015($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date_format')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\modifier.date_format.php';
-?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" class="off">
-
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
- <title><?php echo $_smarty_tpl->tpl_vars['config']->value['sy_webname'];?>
- - 后台管理中心</title>
- <link href="images/reset.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/system.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/admin_new.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <?php echo '<script'; ?>
- language="javascript" type="text/javascript" src="../js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="js/admin_public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
- <link rel="stylesheet" href="../js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-">
- <?php echo '<script'; ?>
- src="../js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="../js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <!--[if IE 6]>
- <?php echo '<script'; ?>
- src="./js/png.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
->
- DD_belatedPNG.fix('.png,.header .logo,.header .nav li a,.header .nav li.on,.left_menu h3 span.on,.admin_adv_search_bth,admin_infoboxp_tj');
- <?php echo '</script'; ?>
->
- <![endif]-->
- <?php echo '<script'; ?>
- type="text/javascript">
- var pc_hash = 'l9Yqpa'
-
- function check_web(id) {
- $("html").removeClass("on");
- var timestamp = Math.round(new Date().getTime() / 1000);
- var pytoken = $("#pytoken").val();
- $.get("index.php?c=topmenu&id=" + id, function(data) {
- document.getElementById("current_pos").innerHTML = data;
- })
- }
- <?php echo '</script'; ?>
->
- </head>
-
- <body scroll="no">
- <div class="admin_new_heder">
- <div class="admin_new_logo"><img src="images/admin_new_logo.png?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"></div>
-
- <ul class="admin_new_heder_nav" id="top_menu">
- <li id="_M1000" class="on top_menu">
- <a href="javascript:_M(1000,'<?php echo $_smarty_tpl->tpl_vars['indexurl']->value;?>
-')" onclick="check_web('1000');" hidefocus="true" style="outline:none;">首页</a>
- </li>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['navigation']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
- <li id="_M<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" class="top_menu">
- <a class="<?php echo $_smarty_tpl->tpl_vars['v']->value['classname'];?>
-" href="javascript:_M('<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-')" hidefocus="true" style="outline:none;"><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-</a>
- </li>
- <?php } ?>
- </ul>
-
- <div class="admin_new_header_admin_box">
- <div class="admin_new_header_admin" onmouseenter="headerShow('show','admin_new_header_cz_box')" onmouseleave="headerShow('hide','admin_new_header_cz_box')">
-
- <div class="admin_new_header_admintx"><img src="images/mr.png" width="30" height="30" /></div>
- <div class=""><?php echo $_smarty_tpl->tpl_vars['nav_user']->value['name'];?>
-</div>
- <div class=""><?php echo $_smarty_tpl->tpl_vars['nav_user']->value['group_name'];?>
- </div>
- <i class="arrow"></i>
- <!-- <i class="news_add"></i> -->
- <div class="admin_new_header_cz_box" style="display:none">
- <div class="admin_new_header_cz_box_t">
- <span class="admin_new_header_cz_box_t_s">最近登录</span>
- <?php if (in_array('560',$_smarty_tpl->tpl_vars['power']->value)) {?>
- <a href="javascript:_MP(47,'index.php?m=admin_user&c=pass');" class="admin_new_header_cz_xg">修改密码</a>
- <?php }?>
- </div>
- <div class="admin_new_header_cz_date"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['admin_lasttime']->value,"%Y-%m-%d %H:%M:%S");?>
- </div>
- <?php if (in_array('16',$_smarty_tpl->tpl_vars['power']->value)||in_array('33',$_smarty_tpl->tpl_vars['power']->value)||in_array('41',$_smarty_tpl->tpl_vars['power']->value)||in_array('55',$_smarty_tpl->tpl_vars['power']->value)) {?>
- <div class="admin_new_header_cz_box_t"><span class="admin_new_header_cz_box_t_s">常用操作</span></div>
- <div class="admin_new_header_cd">
- <a href="javascript:_MP(16,'index.php?m=admin_company');">公司管理</a>
- <a href="javascript:_MP(33,'index.php?m=admin_resume');">简历管理</a>
- <a href="javascript:_MP(41,'index.php?m=admin_hotjob');">名企管理</a>
- <a href="javascript:_MP(55,'index.php?m=admin_news&c=news')">添加新闻</a>
- </div>
- <?php }?>
- </div>
- </div>
- <div class="admin_new_header_cz">
- <?php if (isset($_smarty_tpl->tpl_vars['crm_chat']->value)) {?>
- <div class="admin_new_header_msg">
- <a href="javascript:_MP(857,'index.php?m=crm_chat&ly=index');" class="admin_new_header_msg_icon5t" style="height:53px" title="客勤"></a>
- <em id="crm_chat_num" class="admin_new_header_msg_new" style="display:none;"></em>
- </div>
- <?php }?>
- <div class="admin_new_header_msg" onmouseenter="headerShow('show','admin_new_msg_box')" onmouseleave="headerShow('hide','admin_new_msg_box')">
- <a class="admin_new_header_msg_icon" style="height:53px" title="查看消息"></a>
- <em id="msg_new" class="admin_new_header_msg_new" style="display:none;"></em>
- <div class="admin_new_msg_box" style="display:none" >
- <div class="admin_new_msg_h1">待审核提示</div>
- <ul class="admin_new_msg_list">
- <li class="c_xx1">
- <a href="javascript:_MP(40,'index.php?m=admin_company_job&state=4');">待审核职位<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx1">0</em> )</span></a>
- </li>
- <li class="c_xx2">
- <a href="javascript:_MP(16,'index.php?m=admin_company&status=4')">待审核企业<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx2">0</em> )</span></a>
- </li>
- <li class="c_xx3">
- <a href="javascript:_MP(47,'index.php?m=comcert&status=3')">待审核企业资质<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx3">0</em> )</span></a>
- </li>
- <li class="c_xx4">
- <a href="javascript:_MP(48,'index.php?m=admin_once&status=3');">待审核店铺招聘<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx4">0</em> )</span></a>
- </li>
- <li class="c_xx5">
- <a href="javascript:_MP(44,'index.php?m=productnews&status=3');">待审核企业产品<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx5">0</em> )</span></a>
- </li>
- <li class="c_xx6">
- <a href="javascript:_MP(45,'index.php?m=productnews&c=comnews&status=3');">待审核企业新闻<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx6">0</em> )</span></a>
- </li>
- <li class="c_xx7">
- <a href="javascript:_MP(33,'index.php?m=admin_resume&status=4')">待审核简历<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx7">0</em> )</span></a>
- </li>
- <li class="c_xx8">
- <a href="javascript:_MP(184,'index.php?m=admin_appeal');">会员申诉<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx8">0</em> )</span></a>
- </li>
- <li class="c_xx9">
- <a href="javascript:_MP(165,'index.php?m=invoice&status=0');">待审核企业发票<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx9">0</em> )</span></a>
- </li>
- <li class="c_xx10">
- <a href="javascript:_MP(167,'index.php?m=admin_withdraw&order_state=0');">待审核赏金提现<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx10">0</em> )</span></a>
- </li>
- <li class="c_xx11">
- <a href="javascript:_MP(34,'index.php?m=usercert&status=2')">待审核个人认证<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx11">0</em> )</span></a>
- </li>
- <li class="c_xx12">
- <a href="javascript:_MP(194,'index.php?m=link&state=2');">待审核友情链接<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx12">0</em> )</span></a>
- </li>
- <li class="c_xx13"><a href="javascript:_MP(42,'index.php?m=admin_partjob&state=4');">待审核兼职<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx13">0</em> )</span></a></li>
- <li class="c_xx14"><a href="javascript:_MP(345,'index.php?m=admin_company_pic&status=1');">待审核企业LOGO<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx14">0</em> )</span></a></li>
- <li class="c_xx15"><a href="javascript:_MP(17,'index.php?m=user_member&status=4');">待审核个人会员<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx15">0</em> )</span></a></li>
- <li class="c_xx16"><a href="javascript:_MP(35,'index.php?m=admin_trust&status=3');">待审核委托简历<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx16">0</em> )</span></a></li>
- <li class="c_xx17"><a href="javascript:_MP(346,'index.php?m=admin_user_pic&status=1');">待审核个人头像<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx17">0</em> )</span></a></li>
- <li class="c_xx18"><a href="javascript:_MP(18,'index.php?m=admin_lt_member&status=4');">待审核猎头会员<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx18">0</em> )</span></a></li>
- <li class="c_xx19"><a href="javascript:_MP(19,'index.php?m=admin_lt_job&status=4');">待审核猎头职位<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx19">0</em> )</span></a></li>
- <li class="c_xx20"><a href="javascript:_MP(20,'index.php?m=height_user&status=1');">待审核优质简历<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx20">0</em> )</span></a></li>
- <li class="c_xx21"><a href="javascript:_MP(21,'index.php?m=admin_lt_cert&status=0');">待审核猎头认证<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx21">0</em> )</span></a></li>
- <li class="c_xx22"><a href="javascript:_MP(25,'index.php?m=train_member&status=4');">待审核培训会员<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx22">0</em> )</span></a></li>
- <li class="c_xx23"><a href="javascript:_MP(26,'index.php?m=teacher&status=3');">待审核培训师<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx23">0</em> )</span></a></li>
- <li class="c_xx24"><a href="javascript:_MP(27,'index.php?m=admin_subject&status=3');">待审核培训课程<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx24">0</em> )</span></a></li>
- <li class="c_xx25"><a href="javascript:_MP(28,'index.php?m=traincert&status=3');">待审核培训认证<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx25">0</em> )</span></a></li>
- <li class="c_xx26"><a href="javascript:_MP(30,'index.php?m=trainnews&status=3');">待审核培训新闻<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx26">0</em> )</span></a></li>
-
- <li class="c_xx27"><a href="javascript:_MP(36,'index.php?m=admin_tiny&status=2');">待审核普工简历<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx27">0</em> )</span></a></li>
- <li class="c_xx28"><a href="javascript:_MP(341,'index.php?m=admin_school_graduate&state=4');">待审核应届毕业生职位<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx28">0</em> )</span></a></li>
- <li class="c_xx29"><a href="javascript:_MP(342,'index.php?m=admin_school_xjh&status=3');">待审核校招宣讲会<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx29">0</em> )</span></a></li>
- <li class="c_xx30"><a href="javascript:_MP(63,'index.php?m=zhaopinhui&c=com&status=3');">待审核参会企业<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx30">0</em> )</span></a></li>
- <li class="c_xx31"><a href="javascript:_MP(66,'index.php?m=admin_question&status=0');">待审核问答<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx31">0</em> )</span></a></li>
- <li class="c_xx32"><a href="javascript:_MP(77,'index.php?m=reward_list&status=-1');">待审核商品兑换<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx32">0</em> )</span></a></li>
- <li class="c_xx33"><a href="javascript:_MP(162,'index.php?m=company_order&order_state=1');">待处理充值订单<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx33">0</em> )</span></a></li>
- <li class="c_xx34"><a href="javascript:_MP(85,'index.php?m=ad_order&status=-1');">待审核广告订单<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx34">0</em> )</span></a></li>
- <li class="c_xx35"><a href="javascript:_MP(49,'index.php?m=special');">待审核企业专题<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx35">0</em> )</span></a></li>
- <li class="c_xx36"><a href="javascript:_MP(178,'index.php?m=report');">待处理举报职位<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx36">0</em> )</span></a></li>
- <li class="c_xx37"><a href="javascript:_MP(178,'index.php?m=report&ut=2');">待处理举报简历<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx37">0</em> )</span></a></li>
- <li class="c_xx38"><a href="javascript:_MP(180,'index.php?m=report&type=1');">待处理举报问答<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx38">0</em> )</span></a></li>
- <li class="c_xx39"><a href="javascript:_MP(181,'index.php?m=report&type=2');">待处理投诉顾问<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx39">0</em> )</span></a></li>
- <li class="c_xx40"><a href="javascript:_MP(353,'index.php?m=report&type=3');">待处理校招宣讲会<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx40">0</em> )</span></a></li>
- <li class="c_xx41"><a href="javascript:_MP(394,'index.php?m=admin_gqmember&status=4');">待审核供求会员<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx41">0</em> )</span></a></li>
- <li class="c_xx42"><a href="javascript:_MP(398,'index.php?m=admin_gqtask&status=3');">待审核供求任务<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx42">0</em> )</span></a></li>
- <li class="c_xx43"><a href="javascript:_MP(400,'index.php?m=admin_gqinfo_pic&status=1');">待审核供求头像<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx43">0</em> )</span></a></li>
-
- <li class="c_xx44"><a href="javascript:_MP(8,'index.php?m=admin_lt_pic&status=1');">待审核猎头LOGO<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx44">0</em> )</span></a></li>
-
- <li class="c_xx45"><a href="javascript:_MP(348,'index.php?m=admin_px_pic&status=1');">待审核培训LOGO<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx45">0</em> )</span></a></li>
-
- <li class="c_xx46"><a href="javascript:_MP(348,'index.php?m=admin_px_pic&c=show&status=1');">待审核培训环境<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx46">0</em> )</span></a></li>
- <li class="c_xx47"><a href="javascript:_MP(348,'index.php?m=admin_px_pic&c=banner&status=1');">待审核培训横幅<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx47">0</em> )</span></a></li>
- <li class="c_xx48"><a href="javascript:_MP(345,'index.php?m=admin_company_pic&c=show&status=1');">待审核企业环境<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx48">0</em> )</span></a></li>
- <li class="c_xx49"><a href="javascript:_MP(345,'index.php?m=admin_company_pic&c=banner&status=1');">待审核企业横幅<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx49">0</em> )</span></a></li>
- <li class="c_xx50"><a href="javascript:_MP(346,'index.php?m=admin_user_pic&c=show&status=1');">待审核作品案例<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx50">0</em> )</span></a></li>
- <li class="c_xx51"><a href="javascript:_MP(601,'index.php?m=admin_userchange&status=3');">待审核身份转换会员<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx51">0</em> )</span></a></li>
- <li class="c_xx52"><a href="javascript:_MP(65,'index.php?m=admin_message&status=1');">待处理意见反馈<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx52">0</em> )</span></a></li>
- <li class="c_xx53"><a href="javascript:_MP(65,'index.php?m=admin_member_logout&status=1');">待处理注销账号<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx53">0</em> )</span></a></li>
- <li class="c_xx54"><a href="javascript:_MP(802,'index.php?m=admin_zphnet');">待处理网招报名<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx54">0</em> )</span></a></li>
- <li class="c_xx55"><a href="javascript:_MP(814,'index.php?m=errlog');">错误日志<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx55">0</em> )</span></a></li>
- <li class="c_xx56"><a href="javascript:_MP(824,'index.php?m=admin_spview&status=3');">待审核视频面试<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx56">0</em> )</span></a></li>
- <li class="c_xx57"><a href="javascript:_MP(46,'index.php?m=com_pl&status=0');">待审核面试评价<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx57">0</em> )</span></a></li>
- <li class="c_xx58"><a href="javascript:_MP(821,'index.php?m=admin_yqmb&status=0');">待审核面试模板<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx58">0</em> )</span></a></li>
- <li class="c_xx59"><a href="javascript:_MP(37,'index.php?m=admin_msg&status=0');">待审核求职咨询<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx59">0</em> )</span></a></li>
- <li class="c_xx60"><a href="javascript:_MP(66,'index.php?m=admin_question&c=getanswer&status=0');">待审核问答回复<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx60">0</em> )</span></a></li>
- <li class="c_xx61"><a href="javascript:_MP(66,'index.php?m=admin_question&c=getcomment&status=0');">待审核问答评论<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx61">0</em> )</span></a></li>
- <li class="c_xx62"><a href="javascript:_MP(855,'index.php?m=admin_concheck_log&status=0');">待处理内容检测<span class="admin_new_msg_list_n">( <em class="admin_new_msg_list_n_cur" id="xx62">0</em> )</span></a></li>
- </ul>
- </div>
- </div>
-
-
- <div class="admin_new_header_home">
- <a class="admin_new_header_home_icon" title="新窗口打开人才网首页" href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-" target="_blank" id="site_homepage"></a>
- </div>
- <?php if (in_array('161',$_smarty_tpl->tpl_vars['power']->value)) {?>
- <div class="admin_new_header_map">
- <a class="admin_new_header_map_icon" href="javascript:void(0)" onclick="adminmap()" title="后台地图"></a>
- </div>
- <?php }?>
- <div class="admin_new_header_hc">
- <a class="admin_new_header_hc_icon" title="清除缓存" href="javascript:void(0)" target="right" onclick="layer_del('','index.php?m=index&c=del_cache');"></a>
- </div>
- <div class="admin_new_header_close">
- <a class="admin_new_header_close_icon" href="javascript:void(0)" onclick="layer_logout('index.php?m=index&c=logout');" title="安全退出管理中心"></a>
- </div>
- </div>
- </div>
- </div>
-
- <div class="clear"></div>
-
- <input type="hidden" name="pytoken" id='pytoken' value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-" />
-
- <div id="content" style="width:auto;">
- <div class="col-left left_menu">
- <div class="navLeftTab">
- <ul class="navLeftTab_list" id="leftid_1000">
- <li class="navLeftTab_cur" aid=1000>
- <a href="javascript:M_left('1000');"><i class="navLeftTab_list_icon navLeftTab_list_icon_sj" onclick="shortcut_menu()"></i><span class="navLeftTab_list_name">快捷</span></a>
- </li>
- </ul>
-
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['navigation']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
- <ul class="navLeftTab_list" style="display:none;" id="leftid_<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-">
- <?php $_smarty_tpl->tpl_vars['val'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['val']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['one_menu']->value[$_smarty_tpl->tpl_vars['v']->value['id']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['val']->key => $_smarty_tpl->tpl_vars['val']->value) {
-$_smarty_tpl->tpl_vars['val']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['val']->key;
-?>
- <li aid="<?php echo $_smarty_tpl->tpl_vars['val']->value['id'];?>
-" id="leftstyle_<?php echo $_smarty_tpl->tpl_vars['val']->value['id'];?>
-">
- <a href="javascript:M_left('<?php echo $_smarty_tpl->tpl_vars['val']->value['id'];?>
-');"><i class="navLeftTab_list_icon <?php echo $_smarty_tpl->tpl_vars['val']->value['classname'];?>
-"></i><span class="navLeftTab_list_name"><?php echo $_smarty_tpl->tpl_vars['val']->value['name'];?>
-</span></a>
- </li>
- <?php } ?>
- </ul>
- <?php } ?>
- </div>
- <div id="leftMain"> </div>
- <a href="javascript:;" id="openClose" style="outline-style:none;outline-color:invert;outline-width:medium;height:539px;" hidefocus="hidefocus" class="open" title="展开与关闭"><span class="hidden"> </span></a>
- </div>
- <div class="col-1 lf cat-menu" id="display_center_id" style="display:none" height="100%">
- <div class="content">
-
- </div>
- </div>
- <div class="col-auto">
- <div class="crumbs-admin-top">
- <div class="crumbs">
- <span id="current_pos">管理首页</span> </div>
- </div>
- <div>
- <div style="position:relative; overflow:hidden">
- <iframe name="right" id="rightMain" src="<?php echo $_smarty_tpl->tpl_vars['indexurl']->value;?>
-" frameborder="false" scrolling="auto" style="border:none;" width="100%" height="470" allowtransparency="true"></iframe>
- </div>
- </div>
- </div>
- </div>
- <ul class="tab-web-panel hidden" style="position: absolute; z-index: 999; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); left: 680px; top: 82px; display: none; background-position: initial initial; background-repeat: initial initial; ">
- <li style="margin:0">
- <a href="javascript:site_select(1, '默认站点', '#', '1')">默认站点</a>
- </li>
- </ul>
- <div style="display:none;">
- <div id="DIV_M1000">
- <ul id='keyid_1000' class="left_mune_ul">
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['menu']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
- <li id="_MP<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" class="sub_menu" name='<?php echo $_smarty_tpl->tpl_vars['v']->value['keyid'];?>
-' data_id='<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-' data_url='<?php echo $_smarty_tpl->tpl_vars['v']->value['url'];?>
-'>
- <a href="javascript:_MP(<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-,'<?php echo $_smarty_tpl->tpl_vars['v']->value['url'];?>
-');" onclick="check_web(<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-);" hidefocus="true" style="outline:none;"><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-</a>
- </li>
- <?php } ?>
- </ul>
- </div>
-
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['navigation']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
- <div id="DIV_M<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-">
- <?php $_smarty_tpl->tpl_vars['val'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['val']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['one_menu']->value[$_smarty_tpl->tpl_vars['v']->value['id']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['val']->key => $_smarty_tpl->tpl_vars['val']->value) {
-$_smarty_tpl->tpl_vars['val']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['val']->key;
-?>
- <ul id="keyid_<?php echo $_smarty_tpl->tpl_vars['val']->value['id'];?>
-" class="left_mune_ul" style="display:none;">
- <?php $_smarty_tpl->tpl_vars['value'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['value']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['two_menu']->value[$_smarty_tpl->tpl_vars['val']->value['id']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['value']->key => $_smarty_tpl->tpl_vars['value']->value) {
-$_smarty_tpl->tpl_vars['value']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['value']->key;
-?>
- <li id="_MP<?php echo $_smarty_tpl->tpl_vars['value']->value['id'];?>
-" class="sub_menu" data_id='<?php echo $_smarty_tpl->tpl_vars['value']->value['id'];?>
-' data_url='<?php echo $_smarty_tpl->tpl_vars['value']->value['url'];?>
-'>
- <a href="javascript:_MP(<?php echo $_smarty_tpl->tpl_vars['value']->value['id'];?>
-,'<?php echo $_smarty_tpl->tpl_vars['value']->value['url'];?>
-');" onclick="check_web(<?php echo $_smarty_tpl->tpl_vars['value']->value['id'];?>
-);" hidefocus="true" style="outline:none;"><?php echo $_smarty_tpl->tpl_vars['value']->value['name'];?>
-</a>
- </li>
- <?php } ?>
- </ul>
- <?php } ?>
- </div>
- <?php } ?>
- </div>
- <div id="shortcut_menu" style="display:none; width:710px;top:0px ">
- <div style="height:450px; overflow:auto;overflow-x:hidden;_width:710px">
- <div class="common-form">
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['navigation']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
- <table width="100%" bgcolor="#dfdfdf">
- <tr>
- <td height="30" style="padding-left:10px"><strong><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-</strong></td>
- </tr>
- <tr>
- <td>
- <?php $_smarty_tpl->tpl_vars['val'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['val']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['one_menu']->value[$_smarty_tpl->tpl_vars['v']->value['id']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['val']->key => $_smarty_tpl->tpl_vars['val']->value) {
-$_smarty_tpl->tpl_vars['val']->_loop = true;
-?>
- <table width="100%" bgcolor="#f7f7f7">
- <tr>
- <td height="30" style="padding-left:40px;"><strong><?php echo $_smarty_tpl->tpl_vars['val']->value['name'];?>
-</strong></td>
- </tr>
- <tr>
- <td bgcolor="#fdfeff" height="30" style="padding-left:70px;"> <?php $_smarty_tpl->tpl_vars['value'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['value']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['two_menu']->value[$_smarty_tpl->tpl_vars['val']->value['id']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['value']->key => $_smarty_tpl->tpl_vars['value']->value) {
-$_smarty_tpl->tpl_vars['value']->_loop = true;
-?>
- <div style="float:left; width:100px; height:30px; line-height:30px; "><input name='shortcut_menu[]' value='<?php echo $_smarty_tpl->tpl_vars['value']->value['id'];?>
-' type='checkbox' <?php if ($_smarty_tpl->tpl_vars['value']->value['menu']=='2') {?>checked<?php }?>><?php echo $_smarty_tpl->tpl_vars['value']->value['name'];?>
-</div>
- <?php } ?> </td>
- </tr>
- <?php } ?>
- </table>
- </td>
- </tr>
- </table>
- <?php } ?>
- <div style="text-align:center"><input class="layui-btn layui-btn-normal" type="button" value="提交" onclick="check_menu();"/></div>
- </div>
- </div>
- </div>
- <?php echo '<script'; ?>
- type="text/javascript">
- $(document).ready(function() {
- $(".admin_index_city_list").hover(function() {
- $(".admin_index_city_list").show();
- }, function() {
- $(".admin_index_city_list").hide();
- });
- getMsgnum();
-
- })
- function getMsgnum(){
- $.get("index.php?c=msgNum", function(data) {
- var datas = eval('(' + data + ')');
- if(datas.msgNum) {
- if(datas.msgNum > 99) {
- datas.msgNum = '99+';
- $('#msg_new').width(28);
- }
- $('#msg_new').html(datas.msgNum);
- $('#msg_new').show();
- }else{
- $('#msg_new').html(0);
- $('#msg_new').hide();
- }
- if(datas.company_job) {
- $('.c_xx1').show();
- $('#xx1').html(datas.company_job);
- }else{
- $('.c_xx1').hide();
- }
- if(datas.company) {
- $('.c_xx2').show();
- $('#xx2').html(datas.company);
- }else{
- $('.c_xx2').hide();
- }
- if(datas.company_cert) {
- $('.c_xx3').show();
- $('#xx3').html(datas.company_cert);
- }else{
- $('.c_xx3').hide();
- }
- if(datas.once_job) {
- $('.c_xx4').show();
- $('#xx4').html(datas.once_job);
- }else{
- $('.c_xx4').hide();
- }
- if(datas.company_product) {
- $('.c_xx5').show();
- $('#xx5').html(datas.company_product);
- }else{
- $('.c_xx5').hide();
- }
- if(datas.company_news) {
- $('.c_xx6').show();
- $('#xx6').html(datas.company_news);
- }else{
- $('.c_xx6').hide();
- }
- if(datas.resume_expect) {
- $('.c_xx7').show();
- $('#xx7').html(datas.resume_expect);
- }else{
- $('.c_xx7').hide();
- }
- if(datas.appealnum) {
- $('.c_xx8').show();
- $('#xx8').html(datas.appealnum);
- }else{
- $('.c_xx8').hide();
- }
- if(datas.invoiceNum) {
- $('.c_xx9').show();
- $('#xx9').html(datas.invoiceNum);
- }else{
- $('.c_xx9').hide();
- }
- if(datas.withdrawNum) {
- $('.c_xx10').show();
- $('#xx10').html(datas.withdrawNum);
- }else{
- $('.c_xx10').hide();
- }
- if(datas.usercertNum) {
- $('.c_xx11').show();
- $('#xx11').html(datas.usercertNum);
- }else{
- $('.c_xx11').hide();
- }
- if(datas.linkNum) {
- $('.c_xx12').show();
- $('#xx12').html(datas.linkNum);
- }else{
- $('.c_xx12').hide();
- }
-
- if(datas.partjob) {
- $('.c_xx13').show();
- $('#xx13').html(datas.partjob);
- }else{
- $('.c_xx13').hide();
- }
-
- if(datas.comlogo) {
- $('.c_xx14').show();
- $('#xx14').html(datas.comlogo);
- }else{
- $('.c_xx14').hide();
- }
- if(datas.userNum) {
- $('.c_xx15').show();
- $('#xx15').html(datas.userNum);
- }else{
- $('.c_xx15').hide();
- }
- if(datas.resumetrust) {
- $('.c_xx16').show();
- $('#xx16').html(datas.resumetrust);
- }else{
- $('.c_xx16').hide();
- }
- if(datas.userpic) {
- $('.c_xx17').show();
- $('#xx17').html(datas.userpic);
- }else{
- $('.c_xx17').hide();
- }
- if(datas.ltNum) {
- $('.c_xx18').show();
- $('#xx18').html(datas.ltNum);
- }else{
- $('.c_xx18').hide();
- }
- if(datas.ltjob) {
- $('.c_xx19').show();
- $('#xx19').html(datas.ltjob);
- }else{
- $('.c_xx19').hide();
- }
- if(datas.ltheightuser) {
- $('.c_xx20').show();
- $('#xx20').html(datas.ltheightuser);
- }else{
- $('.c_xx20').hide();
- }
- if(datas.ltcert) {
- $('.c_xx21').show();
- $('#xx21').html(datas.ltcert);
- }else{
- $('.c_xx21').hide();
- }
- if(datas.trainNum) {
- $('.c_xx22').show();
- $('#xx22').html(datas.trainNum);
- }else{
- $('.c_xx22').hide();
- }
- if(datas.teacher) {
- $('.c_xx23').show();
- $('#xx23').html(datas.teacher);
- }else{
- $('.c_xx23').hide();
- }
- if(datas.subject) {
- $('.c_xx24').show();
- $('#xx24').html(datas.subject);
- }else{
- $('.c_xx24').hide();
- }
- if(datas.traincert) {
- $('.c_xx25').show();
- $('#xx25').html(datas.traincert);
- }else{
- $('.c_xx25').hide();
- }
- if(datas.trainnews) {
- $('.c_xx26').show();
- $('#xx26').html(datas.trainnews);
- }else{
- $('.c_xx26').hide();
- }
- if(datas.tiny) {
- $('.c_xx27').show();
- $('#xx27').html(datas.tiny);
- }else{
- $('.c_xx27').hide();
- }
- if(datas.schooljob) {
- $('.c_xx28').show();
- $('#xx28').html(datas.schooljob);
- }else{
- $('.c_xx28').hide();
- }
- if(datas.schoolxjh) {
- $('.c_xx29').show();
- $('#xx29').html(datas.schoolxjh);
- }else{
- $('.c_xx29').hide();
- }
- if(datas.zphcom) {
- $('.c_xx30').show();
- $('#xx30').html(datas.zphcom);
- }else{
- $('.c_xx30').hide();
- }
- if(datas.ask) {
- $('.c_xx31').show();
- $('#xx31').html(datas.ask);
- }else{
- $('.c_xx31').hide();
- }
- if(datas.redeem) {
- $('.c_xx32').show();
- $('#xx32').html(datas.redeem);
- }else{
- $('.c_xx32').hide();
- }
- if(datas.order) {
- $('.c_xx33').show();
- $('#xx33').html(datas.order);
- }else{
- $('.c_xx33').hide();
- }
- if(datas.adorder) {
- $('.c_xx34').show();
- $('#xx34').html(datas.adorder);
- }else{
- $('.c_xx34').hide();
- }
- if(datas.specialcom) {
- $('.c_xx35').show();
- $('#xx35').html(datas.specialcom);
- }else{
- $('.c_xx35').hide();
- }
- if(datas.reportjob) {
- $('.c_xx36').show();
- $('#xx36').html(datas.reportjob);
- }else{
- $('.c_xx36').hide();
- }
- if(datas.reportresume) {
- $('.c_xx37').show();
- $('#xx37').html(datas.reportresume);
- }else{
- $('.c_xx37').hide();
- }
- if(datas.reportask) {
- $('.c_xx38').show();
- $('#xx38').html(datas.reportask);
- }else{
- $('.c_xx38').hide();
- }
- if(datas.reportgw) {
- $('.c_xx39').show();
- $('#xx39').html(datas.reportgw);
- }else{
- $('.c_xx39').hide();
- }
- if(datas.reportxjh) {
- $('.c_xx40').show();
- $('#xx40').html(datas.reportxjh);
- }else{
- $('.c_xx40').hide();
- }
- if(datas.gqNum) {
- $('.c_xx41').show();
- $('#xx41').html(datas.gqNum);
- }else{
- $('.c_xx41').hide();
- }
- if(datas.gqtask) {
- $('.c_xx42').show();
- $('#xx42').html(datas.gqtask);
- }else{
- $('.c_xx42').hide();
- }
- if(datas.gqpic) {
- $('.c_xx43').show();
- $('#xx43').html(datas.gqpic);
- }else{
- $('.c_xx43').hide();
- }
- if(datas.ltlogo) {
- $('.c_xx44').show();
- $('#xx44').html(datas.ltlogo);
- }else{
- $('.c_xx44').hide();
- }
- if(datas.pxlogo) {
- $('.c_xx45').show();
- $('#xx45').html(datas.pxlogo);
- }else{
- $('.c_xx45').hide();
- }
- if(datas.pxshow) {
- $('.c_xx46').show();
- $('#xx46').html(datas.pxshow);
- }else{
- $('.c_xx46').hide();
- }
- if(datas.pxbanner) {
- $('.c_xx47').show();
- $('#xx47').html(datas.pxbanner);
- }else{
- $('.c_xx47').hide();
- }
- if(datas.comshow) {
- $('.c_xx48').show();
- $('#xx48').html(datas.comshow);
- }else{
- $('.c_xx48').hide();
- }
- if(datas.combanner) {
- $('.c_xx49').show();
- $('#xx49').html(datas.combanner);
- }else{
- $('.c_xx49').hide();
- }
- if(datas.usershow) {
- $('.c_xx50').show();
- $('#xx50').html(datas.usershow);
- }else{
- $('.c_xx50').hide();
- }
- if(datas.userchangenum) {
- $('.c_xx51').show();
- $('#xx51').html(datas.userchangenum);
- }else{
- $('.c_xx51').hide();
- }
- if(datas.handlenum) {
- $('.c_xx52').show();
- $('#xx52').html(datas.handlenum);
- }else{
- $('.c_xx52').hide();
- }
- if(datas.logout) {
- $('.c_xx53').show();
- $('#xx53').html(datas.logout);
- }else{
- $('.c_xx53').hide();
- }
- if(datas.zphnetcomtrust) {
- $('.c_xx54').show();
- $('#xx54').html(datas.zphnetcomtrust);
- }else{
- $('.c_xx54').hide();
- }
- if(datas.errlog) {
- $('.c_xx55').show();
- $('#xx55').html(datas.errlog);
- }else{
- $('.c_xx55').hide();
- }
- if(datas.spview) {
- $('.c_xx56').show();
- $('#xx56').html(datas.spview);
- }else{
- $('.c_xx56').hide();
- }
-
- if(datas.company_msg) {
- $('.c_xx57').show();
- $('#xx57').html(datas.company_msg);
- }else{
- $('.c_xx57').hide();
- }
- if(datas.yqmb_msg) {
- $('.c_xx58').show();
- $('#xx58').html(datas.yqmb_msg);
- }else{
- $('.c_xx58').hide();
- }
- if(datas.usermsg_msg) {
- $('.c_xx59').show();
- $('#xx59').html(datas.usermsg_msg);
- }else{
- $('.c_xx59').hide();
- }
- if(datas.answer_msg) {
- $('.c_xx60').show();
- $('#xx60').html(datas.answer_msg);
- }else{
- $('.c_xx60').hide();
- }
- if(datas.answerreview_msg) {
- $('.c_xx61').show();
- $('#xx61').html(datas.answerreview_msg);
- }else{
- $('.c_xx61').hide();
- }
- if(datas.concheck_msg) {
- $('.c_xx62').show();
- $('#xx62').html(datas.concheck_msg);
- }else{
- $('.c_xx62').hide();
- }
- if(datas.chatNum) {
- if(datas.chatNum > 99) {
- datas.chatNum = '99+';
- $('#crm_chat_num').width(28);
- }
- $('#crm_chat_num').html(datas.chatNum);
- $('#crm_chat_num').show();
- }else{
- $('#crm_chat_num').html(0);
- $('#crm_chat_num').hide();
- }
- })
- }
- function check_menu() {
- var chk_value = [];
- var pytoken = $("#pytoken").val();
- $('input[name="shortcut_menu[]"]:checked').each(function() {
- chk_value.push($(this).val());
- });
- if(chk_value.length == 0) {
- parent.layer.msg('请至少选择一个!', 2, 8);
- return false;
- } else {
- loadlayer();
- $.post("index.php?c=shortcut_menu", {
- chk_value: chk_value,
- pytoken: pytoken
- }, function(msg) {
- parent.layer.closeAll('loading');
- parent.layer.msg('设置成功!', 2, 9, function() {
- location = location;
- });
- return false;
- });
- }
- }
-
- function shortcut_menu() {
- $.layer({
- type: 1,
- title: '快捷菜单管理',
- closeBtn: [0, true],
- border: [10, 0.3, '#000', true],
- shade: [0.5, '#000'],
- area: ['710px', '510px'],
- page: {
- dom: '#shortcut_menu'
- }
- });
- }
- //左侧菜单
- //clientHeight-0; 空白值 iframe自适应高度
- $('#DIV_M1000').clone().appendTo('#leftMain');
-
- function windowW() {
- if($(window).width() < 980) {
- $('.header').css('width', 980 + 'px');
- $('#content').css('width', 980 + 'px');
- $('body').attr('scroll', '');
- $('body').css('overflow', '');
- }
- }
- windowW();
- $(window).resize(function() {
- if($(window).width() < 980) {
- windowW();
- } else {
- $('.header').css('width', 'auto');
- $('#content').css('width', 'auto');
- $('body').attr('scroll', 'no');
- $('body').css('overflow', 'hidden');
- }
- });
- window.onresize = function() {
- var heights = document.documentElement.clientHeight - 135;
- document.getElementById('rightMain').height = heights + 30;
- var openClose = $("#rightMain").height() + 39;
- $('#center_frame').height(openClose + 9);
- $("#openClose").height(openClose + 30);
- }
- window.onresize();
- //左侧开关
- $("#openClose").click(function() {
- if($(this).data('clicknum') == 1) {
- $("html").removeClass("on");
- $(".left_menu").removeClass("left_menu_on");
- $(this).removeClass("close");
- $(this).data('clicknum', 0);
- } else {
- $(".left_menu").addClass("left_menu_on");
- $(this).addClass("close");
- $("html").addClass("on");
- $(this).data('clicknum', 1);
- }
- return false;
- });
-
- function _M(menuid, targetUrl) {
- $('.top_menu').removeClass("on");
- $('#_M' + menuid).addClass("on");
- $("#menuid").val(menuid);
- $("#bigid").val(menuid);
- var menu = "#DIV_M" + menuid;
- $('#leftMain').html("");
- $(menu).clone().appendTo($("#leftMain"));
- $(".left_menu").removeClass("left_menu_on"); //显示左侧菜单,当点击顶部时,展开左侧
- $("#openClose").removeClass("close");
- $("#openClose").data('clicknum', 0);
- $('#keyid_' + menuid).find("li:lt(1)").addClass("on fb blue");
- $("#rightMain").attr('src', targetUrl);
-
- //后加
- $(".navLeftTab_list").hide();
- $("#leftid_" + menuid).show();
- $("#leftid_" + menuid).find("li:lt(1)").addClass("navLeftTab_cur");
- var aid = $("#leftid_" + menuid).find("li:lt(1)").attr("aid");
- M_left(aid);
- }
-
- function M_left(id) {
- $(".left_mune_ul").hide();
- $("#keyid_" + id).show();
- $(".navLeftTab_list>li").attr("class", '');
- $('.sub_menu').removeClass("on fb blue");
- $("#leftstyle_" + id).addClass("navLeftTab_cur");
- $('.sub_menu').removeClass("on fb blue");
- $("#keyid_" + id).find("li:lt(1)").addClass("sub_menu on fb blue");
- var url = $("#keyid_" + id).find("li:lt(1)").attr("data_url");
- var data_id = $("#keyid_" + id).find("li:lt(1)").attr("data_id");
- if(id != '1000') {
- check_web(data_id);
- } else {
- url = '<?php echo $_smarty_tpl->tpl_vars['indexurl']->value;?>
-';
- }
- $("#rightMain").attr('src', url);
- }
-
- function _MP(menuid, targetUrl) {
- $("#menuid").val(menuid);
- $("#paneladd").html('<a class="panel-add" href="javascript:add_panel();"><em>添加</em></a>');
- $("#rightMain").attr('src', targetUrl);
- $('.sub_menu').removeClass("on fb blue");
- $('#_MP' + menuid).addClass("on fb blue");
- $("#current_pos").data('clicknum', 1);
- }
-
- function for_menu(id) {
- $("#keyid_" + id).slideToggle();
- $("#span_" + id).toggleClass("on");
- return false;
- }
- $(function() {
- $.get('<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/index.php?m=cron');
- });
-
- function headerShow(type, cla) {
- if(type == 'show') {
- $('.' + cla).show();
- if(cla == 'admin_new_msg_box'){
- getMsgnum();
- }
- } else {
- $('.' + cla).hide();
- }
- }
- <?php echo '</script'; ?>
->
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_chat_open']==1&&isset($_smarty_tpl->tpl_vars['crm_chat']->value)) {?>
- <?php echo '<script'; ?>
->
- var socketUrl = "<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_chat_weburl'];?>
-";
- var pytoken = $("#pytoken").val();
- <?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/app/template/chat/custom/socket.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php }?>
- </body>
-
-</html><?php }} ?>
diff --git a/data/templates_c/c06c62faa1c191544eece3fbedc66e059f2cab81.file.admin_myuser.htm.php b/data/templates_c/c06c62faa1c191544eece3fbedc66e059f2cab81.file.admin_myuser.htm.php
deleted file mode 100644
index 1e87e9d..0000000
--- a/data/templates_c/c06c62faa1c191544eece3fbedc66e059f2cab81.file.admin_myuser.htm.php
+++ /dev/null
@@ -1,269 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:17:45
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\admin_myuser.htm" */ ?>
-<?php /*%%SmartyHeaderCode:1149867ff75b95dfa38-40639344%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- 'c06c62faa1c191544eece3fbedc66e059f2cab81' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\admin_myuser.htm',
- 1 => 1634883865,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '1149867ff75b95dfa38-40639344',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'pytoken' => 0,
- 'pass_div' => 0,
- 'adminuser' => 0,
- 'user_group' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff75b960bbb5_32798597',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff75b960bbb5_32798597')) {function content_67ff75b960bbb5_32798597($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date_format')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\modifier.date_format.php';
-?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <link href="./images/reset.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="./images/system.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet"
- type="text/css" />
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="js/admin_public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
- <link href="./images/table_form.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
-
- <?php echo '<script'; ?>
- type="text/javascript">
- function getcode() {
- var setval;
- var pytoken = '<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-';
- $.post('index.php?m=index&c=wxbind', {
- pytoken: pytoken
- }, function(data) {
- status_div('扫描二维码', '320', '260');
- if (data == 0) {
- $('#wx_login_qrcode').html('二维码获取失败..');
- } else {
- $('#wx_login_qrcode').html('<img src="' + data + '" width="140" height="140">');
- setval = setInterval("wxorderstatus()", 2000);
- }
- });
- }
-
- function wxorderstatus() {
- var pytoken = '<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-';
- $.post('index.php?m=index&c=getwxbindstatus', {
- pytoken: pytoken
- }, function(data) {
-
- if (data == 1) {
- $('#status_div').hide();
- layer.msg('绑定成功', 2, 9, function() {
- window.location.reload();
- return;
- });
- }
-
- });
- }
-
- function delwxid() {
- var pytoken = '<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-';
- $.post('index.php?m=index&c=delAdminWxBind', {
- pytoken: pytoken
- }, function(data) {
-
- if (data == 1) {
- layer.msg('解绑成功', 2, 9, function() {
- window.location.reload();
- return;
- });
- }
-
- });
- }
- <?php echo '</script'; ?>
->
- <title></title>
- </head>
- <body class="body_ifm">
- <div class="infoboxp">
- <div class="tty-tishi_top">
-
- <div class="tabs_info">
- <ul>
- <li <?php if ($_smarty_tpl->tpl_vars['pass_div']->value!='1') {?>class="curr"<?php }?>>基本信息</li>
- <li <?php if ($_smarty_tpl->tpl_vars['pass_div']->value=='1') {?>class="curr"<?php }?>>修改密码</li>
- </ul>
- </div>
-
- <div class="admin_new_tip">
- <a href="javascript:;" class="admin_new_tip_close"></a>
- <a href="javascript:;" class="admin_new_tip_open" style="display:none;"></a>
- <div class="admin_new_tit"><i class="admin_new_tit_icon"></i>操作提示</div>
- <div class="admin_new_tip_list_cont">
-
- <div class="admin_new_tip_list">我的帐号主要显示网站当前的管理员帐号信息,如用户名、姓名和管理员姓名参数!</div>
-
- <div class="admin_new_tip_list">当前管理员还可以修改自己的密码操作,修改成功以后,需重新登录。</div>
- </div>
- </div>
- <div class="clear"></div>
-
- <div class="con_form">
-
- <form action="" class="layui-form" <?php if ($_smarty_tpl->tpl_vars['pass_div']->value=='1') {?>style="display: none;"<?php }?>>
- <table width="100%" class="table_form ">
- <tr>
- <th width="150">用户名:</th>
- <td>
- <div class="admin_td_h"><?php echo $_smarty_tpl->tpl_vars['adminuser']->value['username'];?>
-</div>
- </td>
- </tr>
- <tr class="admin_table_trbg">
- <th>真实姓名:</th>
- <td>
- <div class="admin_td_h"><?php echo $_smarty_tpl->tpl_vars['adminuser']->value['name'];?>
-</div>
- </td>
- </tr>
- <tr>
- <th>权限:</th>
- <td>
- <div class="admin_td_h"><?php echo $_smarty_tpl->tpl_vars['user_group']->value['group_name'];?>
-</div>
- </td>
- </tr>
- <tr class="admin_table_trbg">
- <th>微信绑定:</th>
- <td>
- <div class="admin_td_h">
- <?php if ($_smarty_tpl->tpl_vars['adminuser']->value['wxid']=='') {?>
- <a href="javascript:void(0)" onclick="getcode();"class="admin_logout_bth">绑定</a>
- <?php } else { ?>
- <a href="javascript:void(0)" onclick="delwxid()" class="admin_logout_bth">解除绑定</a>
- <?php }?>
- </div>
- </td>
- </tr>
- <tr class="admin_table_trbg">
- <th>上一次登录时间:</th>
- <td>
- <div class="admin_td_h"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['adminuser']->value['lasttime'],'%Y-%m-%d %H:%M:%S');?>
-</div>
- </td>
- </tr>
-
- <div id="status_div" style="display:none; width: 320px; ">
- <div id="wx_login_qrcode" class="admin_census">正在获取二维码...</div>
- <div class="admin_census_bd">请使用微信扫描二维码绑定</div>
- </div>
-
- </table>
- </form>
-
- <iframe id="supportiframe" name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
- <form action="index.php?m=admin_user&c=savePass" class="layui-form" target="supportiframe" method="post" id="myform" <?php if ($_smarty_tpl->tpl_vars['pass_div']->value!='1') {?>style="display: none;"<?php }?>>
- <table width="100%" class="table_form table_form_thr" style="background:#fff;">
- <tr>
- <th width="140">原始密码:</th>
- <td width="100%">
- <div class="layui-input-inline t_w480">
- <input type="password" value="" name="oldpass" class="layui-input" placeholder="请输入原始密码">
- </div>
- </td>
- </tr>
- <tr>
- <th width="140">新密码:</th>
- <td width="100%">
- <div class="layui-input-inline t_w480">
- <input type="password" value="" name="password" class="layui-input" placeholder="请输入新密码">
- </div>
- </td>
- </tr>
- <tr>
- <th width="140">确认密码:</th>
- <td width="100%">
- <div class="layui-input-inline t_w480">
- <input type="password" value="" name="okpassword" class="layui-input" placeholder="确认密码">
- </div>
- </td>
- </tr>
-
- <tr>
- <th></th>
- <td colspan="3">
- <input class="tty_sub" type="submit" name="useradd" value=" 修 改 " />
- <input class="tty_cz" type="reset" name="reset" value=" 重 置 " />
- </td>
- </tr>
- </table>
- <input type="hidden" name="pytoken" id="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- </form>
- </div>
- </div>
- </div>
- <?php echo '<script'; ?>
->
-
- var ah2 = $(".tabs_info li")
- var ap = $(".con_form form")
-
- for (var i = 0; i < ah2.length; i++) {
- ah2[i].index = i;
-
- ah2[i].onclick = function () {
- for (var j = 0; j < ap.length; j++) {
- ap[j].style.display = "none"
- }
- ap[this.index].style.display = "block";
- }
- }
- ah2.each(function(){
-
- $(this).click(function(){
- ah2.removeClass("curr")
- $(this).addClass("curr")
- })
- })
-
- <?php echo '</script'; ?>
->
- </body>
-</html>
-<?php }} ?>
diff --git a/data/templates_c/c32bb702ce1cfaf01d5a51b472f6d406c77b5407.file.admin_userclass.htm.php b/data/templates_c/c32bb702ce1cfaf01d5a51b472f6d406c77b5407.file.admin_userclass.htm.php
deleted file mode 100644
index 1b7906c..0000000
--- a/data/templates_c/c32bb702ce1cfaf01d5a51b472f6d406c77b5407.file.admin_userclass.htm.php
+++ /dev/null
@@ -1,215 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:18:20
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\admin_userclass.htm" */ ?>
-<?php /*%%SmartyHeaderCode:2959667ff75dc544d74-31129906%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- 'c32bb702ce1cfaf01d5a51b472f6d406c77b5407' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\admin_userclass.htm',
- 1 => 1634883866,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '2959667ff75dc544d74-31129906',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'id' => 0,
- 'position' => 0,
- 'key' => 0,
- 'v' => 0,
- 'class1' => 0,
- 'class2' => 0,
- 'pytoken' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff75dc590957_04895911',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff75dc590957_04895911')) {function content_67ff75dc590957_04895911($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="js/admin_public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
-<link href="images/reset.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
-<link href="images/system.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
-<link href="images/table_form.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
-<link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet">
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
-<title>后台管理</title>
-</head>
-<body class="body_ifm">
-<?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['adminstyle']->value)."/add_class.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-<span id="temp"></span>
-<div class="infoboxp">
-<div class="tty-tishi_top">
- <div class="admin_new_search_box">
- <a href="javascript:void(0)" onClick="add_class('个人会员分类','465','370','#wname','index.php?m=userclass&c=save')" class="admin_new_cz_tj" style="margin-left:0px;">+ 添加类别</a>
- <?php if ($_smarty_tpl->tpl_vars['id']->value) {?>
- <a href=" javascript:history.back(-1);" class="admin_new_cz_tj" style="margin-left:0px;"> 返回</a>
- <?php }?>
- </div>
- <div class="clear"></div>
-</div>
-
-
-<iframe id="supportiframe" name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
-
-<div class="tty_table-bom">
-<div class="table-list">
-<div class="admin_table_border">
-<form action="index.php?m=userclass&c=del" method="post" id='myform' target="supportiframe">
-<table width="100%">
- <thead>
- <tr class="admin_table_top">
- <th width="50"><label for="chkall"> <input type="checkbox" id='chkAll' onclick='CheckAll(this.form)' /></label></th>
- <th width="60">分类编号</th>
- <th align="left">分类名称<span class="clickup">(点击修改)</span></th>
- <th>
- <?php if (empty($_smarty_tpl->tpl_vars['id']->value)) {?>
- 分类变量名
- <?php } else { ?>
- 分类排序
- <?php }?>
- </th>
- <th width="180" class="admin_table_th_bg">操作</th>
- </tr>
- </thead>
- <tbody>
- <?php if (empty($_smarty_tpl->tpl_vars['id']->value)) {?>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['position']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <tr align="center" <?php if (($_smarty_tpl->tpl_vars['key']->value+1)%2=='0') {?>class="admin_com_td_bg"<?php }?> id="list<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-">
- <td width="50"><input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" name='del[]' onclick='unselectall()' rel="del_chk" /></td>
- <td class="ud"><?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-</td>
- <td align="left" class="imghide">一级分类:<span onClick="checkname('<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-');" id="name<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" style="cursor:pointer;"><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-</span>
- <input class="input-text hidden" type="text" id="inputname<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" value="<?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-" onBlur="subname('<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-','index.php?m=userclass&c=ajax');">
- <img class="" src="images/xg.png" onClick="checkname('<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-');" style="padding-left:5px;cursor:pointer;"/>
-
- </td>
- <td class="ud"><input type="text" name="variable" class="input-text" value="<?php echo $_smarty_tpl->tpl_vars['v']->value['variable'];?>
-" size="20" disabled/></td>
- <td class="ud">
- <A href="index.php?m=userclass&c=up&id=<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" class="admin_new_c_bth ">管理</A>
- <A href="javascript:void(0)" onClick="layer_del('确定要删除?', '?m=userclass&c=del&delid=<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-');" class="admin_new_c_bth admin_new_c_bth_sc">删除</A></td>
- </tr>
- <?php } ?>
- <?php }?>
- <?php if ($_smarty_tpl->tpl_vars['id']->value) {?>
- <tr align="center">
- <td width="50"><input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['class1']->value['id'];?>
-" name='del[]' onclick='unselectall()' rel="del_chk" /></td>
- <td class="ud" width="60"><?php echo $_smarty_tpl->tpl_vars['class1']->value['id'];?>
-</td>
- <td align="left">一级分类:<span onClick="checkname('<?php echo $_smarty_tpl->tpl_vars['class1']->value['id'];?>
-');" id="name<?php echo $_smarty_tpl->tpl_vars['class1']->value['id'];?>
-" style="cursor:pointer;"><?php echo $_smarty_tpl->tpl_vars['class1']->value['name'];?>
-</span>
- <input class="input-text hidden" type="text" id="inputname<?php echo $_smarty_tpl->tpl_vars['class1']->value['id'];?>
-" value="<?php echo $_smarty_tpl->tpl_vars['class1']->value['name'];?>
-" onBlur="subname('<?php echo $_smarty_tpl->tpl_vars['class1']->value['id'];?>
-','index.php?m=userclass&c=ajax');"></td>
- <td class="ud"></td>
- <td class="ud" width="180"><A href="javascript:void(0)" onClick="layer_del('确定要删除?', 'index.php?m=userclass&c=del&delid=<?php echo $_smarty_tpl->tpl_vars['class1']->value['id'];?>
-');"class="admin_new_c_bth admin_new_c_bth_sc">删除</A></td>
- </tr>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['class2']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
- <tr align="center" id="msg<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-">
- <td width="50"><input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" name='del[]' onclick='unselectall()' rel="del_chk" /></td>
- <td class="ud"><?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-</td>
- <td align="left"> ┗<span onClick="checkname('<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-');" id="name<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" style="cursor:pointer;"><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-</span>
- <input class="input-text hidden" style="width:500px" type="text" id="inputname<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" value="<?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-" onBlur="subname('<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-','index.php?m=userclass&c=ajax');">
- <img class="" src="images/xg.png" onClick="checkname('<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-');" style="padding-left:5px;cursor:pointer;"/>
- </td>
- <td><span onClick="checksort('<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-');" id="sort<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" style="cursor:pointer;"><?php if (!$_smarty_tpl->tpl_vars['v']->value['sort']) {?>0<?php } else {
-echo $_smarty_tpl->tpl_vars['v']->value['sort'];
-}?></span>
- <input class="input-text hidden" type="text" id="input<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" size="10" value="<?php echo $_smarty_tpl->tpl_vars['v']->value['sort'];?>
-" onBlur="subsort('<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-','index.php?m=userclass&c=ajax');">
- <img style="padding-left:5px;cursor:pointer;" title="" src="images/xg.png" onClick="checksort('<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-');"/></td>
- <td class="ud"><A href="javascript:void(0)" onClick="layer_del('确定要删除?', 'index.php?m=userclass&c=del&delid=<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-');"class="admin_new_c_bth admin_new_c_bth_sc">删除</A></td>
- </tr>
-
- <?php } ?>
- <?php }?>
- <tr>
- <td align="center"><input type="checkbox" id='chkAll2' onclick='CheckAll2(this.form)' /></td>
- <td colspan="4" >
- <label for="chkAll2">全选</label>
- <input class="admin_button" type="button" name="delsub" value="删除所选" onclick="return really('del[]')"/></td>
- </tr>
- </tbody>
-</table>
-<input type="hidden" name="pytoken" id='pytoken' value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
-</form>
-</div>
-</div>
-</div>
-</div>
-</body>
-</html><?php }} ?>
diff --git a/data/templates_c/c6b248bdf4e16306c55fe3ea3e0cc660bafb9f2f.file.admin_model_config.htm.php b/data/templates_c/c6b248bdf4e16306c55fe3ea3e0cc660bafb9f2f.file.admin_model_config.htm.php
deleted file mode 100644
index fb5e64b..0000000
--- a/data/templates_c/c6b248bdf4e16306c55fe3ea3e0cc660bafb9f2f.file.admin_model_config.htm.php
+++ /dev/null
@@ -1,254 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:16:08
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\admin_model_config.htm" */ ?>
-<?php /*%%SmartyHeaderCode:2769267ff75580b8993-36266246%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- 'c6b248bdf4e16306c55fe3ea3e0cc660bafb9f2f' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\admin_model_config.htm',
- 1 => 1634883865,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '2769267ff75580b8993-36266246',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'newModel' => 0,
- 'mconfig' => 0,
- 'key' => 0,
- 'pytoken' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff75580ef8a2_18918828',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff75580ef8a2_18918828')) {function content_67ff75580ef8a2_18918828($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <link href="images/reset.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/system.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/table_form.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="js/admin_public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
- <link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet"
- type="text/css" />
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <title>后台管理</title>
- <?php echo '<script'; ?>
->
- function tip(id){
- layer.tips('关闭模块后请在导航设置中对相应导航作隐藏或删除处理!', '#'+id,{time:2,guide: 2,style: ['background-color:#5EA7DC; color:#fff;top:-7px', '#5EA7DC']});
- $(".xubox_layer").addClass("xubox_tips_border");
- }
- <?php echo '</script'; ?>
->
- </head>
- <style>
- .table_border{
- border-collapse: separate;
- border-spacing: 0px 0px;
- margin-top: 5px;
- }
- .table_form tr{
- display: block;
- height: 56px;
- line-height: 56px;
- border-bottom: 1px solid #e8eaec;
- }
- .table_border input{
- height: 32px;
- }
- .table_form tbody td{
- }
- .navset{width: 74px;height: 22px;border: 1px solid #dcdee2;color: #515a6e;border-radius: 2px;background: #fff;}
- </style>
- <body class="body_ifm">
- <div class="infoboxp">
- <div class="tty-tishi_top">
- <div class="admin_new_tip">
- <a href="javascript:;" class="admin_new_tip_close"></a>
- <a href="javascript:;" class="admin_new_tip_open" style="display:none;"></a>
- <div class="admin_new_tit"><i class="admin_new_tit_icon"></i>操作提示</div>
- <div class="admin_new_tip_list_cont">
- <div class="admin_new_tip_list">如果关闭模块,请对系统->导航管理里面删除或取消显示!</div>
- </div>
- </div>
- <div class="clear"></div>
-
- <div class="tag_box">
- <iframe id="supportiframe" name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
- <form name="myform" target="supportiframe" action="index.php?m=model_config&c=save" method="post" onsubmit="return checkForm()" class="layui-form">
- <table width="100%" class="table_form table_border">
- <tr class="admin_table_trbg" bgcolor="#f8f8f9" style="height: 44px;line-height: 44px;color: #515a6e;">
- <td width="160" bgcolor="#f0f6fb" align="left"><span class="">模块名称</span></td>
- <td width="170" bgcolor="#f0f6fb" align="left"><span class="">状态</span></td>
- <td width="450" bgcolor="#f0f6fb" align="left"><span class="">二级域名(默认HTTP,未绑定则留空)</span></td>
- <td width="230" bgcolor="#f0f6fb" align="left"><span class="">指向目录</span></td>
- <td width="250" bgcolor="#f0f6fb" align="left"><span class="">综合设置</span></td>
- </tr>
- <?php $_smarty_tpl->tpl_vars['mconfig'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['mconfig']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['newModel']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['mconfig']->key => $_smarty_tpl->tpl_vars['mconfig']->value) {
-$_smarty_tpl->tpl_vars['mconfig']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['mconfig']->key;
-?>
- <tr class="admin_com_td_bg">
- <td width="160"><?php echo $_smarty_tpl->tpl_vars['mconfig']->value['value'];?>
-:</td>
- <td width="153">
- <div class="layui-input-inline">
- <input type="checkbox" lay-skin="primary" lay-filter="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
-" title="开启" <?php if ($_smarty_tpl->tpl_vars['mconfig']->value['web']=="1") {?>checked<?php }?> value='1' />
- <input type="hidden" name="sy_<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
-_web" id="sy_<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
-_web" value='<?php echo $_smarty_tpl->tpl_vars['mconfig']->value['web'];?>
-' />
- </div>
- </td>
- <td width="450">
-
- <div class="layui-input-inline">
- <div class="layui-input-inline" style="float:left;width: 94px;margin-right: 5px;">
- <select name="sy_<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
-ssl">
- <option value="1" <?php if ($_smarty_tpl->tpl_vars['mconfig']->value['ssl']=="1") {?>selected<?php }?>>https://</option>
- <option value="0" <?php if ($_smarty_tpl->tpl_vars['mconfig']->value['ssl']!="1") {?>selected<?php }?>>http://</option>
- </select>
- </div>
-
- <div class="layui-input-inline">
- <input name="sy_<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
-domain" autocomplete="off" class="layui-input" type="text" value="<?php echo $_smarty_tpl->tpl_vars['mconfig']->value['domain'];?>
-"
- size="30" maxlength="255" />
- </div>
- </div>
- </td>
-
- <td width="230">
- <div class="layui-input-inline">
- <input name="sy_<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
-dir" autocomplete="off" class="layui-input" type="text" value="<?php echo $_smarty_tpl->tpl_vars['mconfig']->value['dir'];?>
-" size="20" maxlength="255" />
- </div>
- </td>
- <td width="250">
- <?php if ($_smarty_tpl->tpl_vars['key']->value!='error') {?>
- <input type='button' value='导航设置' class='navset btn_nav' data-config='<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
-' data-name='<?php echo $_smarty_tpl->tpl_vars['mconfig']->value['value'];?>
-'>
- <input type='button' value='SEO设置' class="navset btn_seo" data-config='<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
-'>
- <?php }?>
- </td>
- </tr>
- <?php } ?>
- <input type="hidden" value="company" name="sy_companydir">
- <tr class="admin_com_td_bg">
- <th> </th>
- <td colspan="3" align="left">
- <input type="hidden" name="pytoken" id='pytoken' value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- <input class="tty_sub" type="submit" name="config" value="保存" />
- <input class="tty_cz" type="reset" value="重置" />
- </td>
- </tr>
- </table>
- </form>
- </div>
-
- </div>
- </div>
-
- <?php echo '<script'; ?>
->
- layui.use(['layer', 'form'], function() {
-
- var layer = layui.layer,
- form = layui.form,
- $ = layui.$;
-
- '<?php $_smarty_tpl->tpl_vars['mconfig'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['mconfig']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['newModel']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['mconfig']->key => $_smarty_tpl->tpl_vars['mconfig']->value) {
-$_smarty_tpl->tpl_vars['mconfig']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['mconfig']->key;
-?>'
- form.on('checkbox(<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
-)', function(data){
- if(data.elem.checked){
- $("#sy_<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
-_web").val('1');
- }else{
- $("#sy_<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
-_web").val('2');
- }
- });
- '<?php } ?>'
- });
-
- $(function() {
- $('.btn_nav').click(function() {
- var config = $(this).attr('data-config');
- var name = $(this).attr('data-name');
- layer.open({
- type: 2,
- title: '设置导航',
- content: 'index.php?m=model_config&c=setnav&config=' + config + '&name=' + name,
- skin: 'layui-layer-molv',
- maxmin: true,
- area: ['900px', '450px']
- });
- });
-
- $('.btn_seo').click(function() {
- var config = $(this).attr('data-config');
- layer.open({
- type: 2,
- title: '设置SEO',
- content: 'index.php?m=model_config&c=setseo&config=' + config,
- skin: 'layui-layer-lan',
- maxmin: true,
- area: ['900px', '450px'],
- moveOut: true
- });
- });
- });
- function checkForm(){
- loadlayer();
- }
- <?php echo '</script'; ?>
->
-
- </body>
-</html>
-<?php }} ?>
diff --git a/data/templates_c/cc863ec85d93dc03912af0a1f91c359543ad5131.file.admin_domain_config.htm.php b/data/templates_c/cc863ec85d93dc03912af0a1f91c359543ad5131.file.admin_domain_config.htm.php
deleted file mode 100644
index 3d345c1..0000000
--- a/data/templates_c/cc863ec85d93dc03912af0a1f91c359543ad5131.file.admin_domain_config.htm.php
+++ /dev/null
@@ -1,173 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:16:22
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\admin_domain_config.htm" */ ?>
-<?php /*%%SmartyHeaderCode:790067ff7566476bf5-05073180%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- 'cc863ec85d93dc03912af0a1f91c359543ad5131' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\admin_domain_config.htm',
- 1 => 1645272363,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '790067ff7566476bf5-05073180',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'pytoken' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff75664b0045_63996995',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff75664b0045_63996995')) {function content_67ff75664b0045_63996995($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <link href="images/reset.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/system.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/table_form.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <?php echo '<script'; ?>
- src="../js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="js/admin_public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type="text/javascript"><?php echo '</script'; ?>
->
- <link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" />
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <title>后台管理</title>
- </head>
- <body class="body_ifm">
- <div class="infoboxp">
- <div class="tty-tishi_top">
- <div class="admin_new_tip">
- <a href="javascript:;" class="admin_new_tip_close"></a>
- <a href="javascript:;" class="admin_new_tip_open" style="display:none;"></a>
- <div class="admin_new_tit"><i class="admin_new_tit_icon"></i>操作提示</div>
- <div class="admin_new_tip_list_cont">
- <div class="admin_new_tip_list">分站列表,主要显示已添加成功的分站列表。管理员通过分站列表轻松查询到网站开通多少家分站。同时根据运营情况也可以自由调整设置。</div>
- </div>
- </div>
- <div class="clear"></div>
-
- <div class="tag_box">
- <div>
- <form class="layui-form">
- <table width="100%" class="table_form">
- <tr class="admin_table_trbg">
- <th width="160" class="t_fr">开启分站:</th>
- <td>
- <div class="layui-input-block t_w480">
- <input name="sy_web_site" lay-filter="sy_web_site" lay-skin="switch" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_web_site']=="1") {?>
- checked<?php }?> lay-text="开启|关闭" type="checkbox">
- </div>
- <span class="admin_web_tip">
- 提示:开启多城市并且绑定域名不支持2级目录,本地测试如 http://localhost/weitenet 请解析测试域名
- </span>
- </td>
- </tr>
-
- <tr class="admin_table_trbg">
- <th width="160" class="t_fr">分站根据IP自动跳转:</th>
- <td>
- <div class="layui-input-block">
- <input name="sy_gotocity" lay-filter="sy_gotocity" lay-skin="switch" <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_gotocity']=="1") {?>
- checked<?php }?> lay-text="开启|关闭" type="checkbox">
- </div>
- </td>
- </tr>
- <tr>
- <th width="160" class="t_fr">设定默认城市:</th>
- <td>
- <div class="layui-input-block t_w480">
- <input class="layui-input" type="text" name="sy_indexcity" id="sy_indexcity" size="40" maxlength="255" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_indexcity'];?>
-" />
- </div>
- <span class="admin_web_tip">提示:开启分站后默认城市 如:全国、总站</span></td>
-
- </tr>
- <tr class="admin_table_trbg">
- <th width="160" class="t_fr">一级域名:</th>
- <td>
- <div class="layui-input-block t_w480">
- <input class="layui-input" type="text" name="sy_onedomain" id="sy_onedomain" size="40" maxlength="255" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_onedomain'];?>
-" />
- </div>
- <span class="admin_web_tip">提示:如果默认域名为二级域名,则请填写一级域名</span>
- </td>
-
- </tr>
-
- <tr>
- <th width="160" class="t_fr">默认域名:</th>
- <td>
- <div class="layui-input-block t_w480">
- <input class="layui-input" type="text" name="sy_indexdomain" id="sy_indexdomain" size="40" maxlength="255" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_indexdomain'];?>
-" />
- </div>
- <span class="admin_web_tip">提示:默认城市对应的域名 如全站对应域名 http://www.weitenet.com 而不是 beijing.weitenet.com</span>
- </td>
-
- </tr>
- <tr>
- <th style="border-bottom:none;"> </th>
- <td align="left" style="border-bottom:none;">
- <input class="tty_sub" id="config" type="button" name="config" value="提交">
- <input class="tty_cz" type="reset" value="重置" />
- <input type="hidden" name="pytoken" id='pytoken' value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- </td>
- </tr>
- </table>
- </form>
- </div>
-
- </div>
- </div>
- <?php echo '<script'; ?>
->
- $(function() {
- $("#config").click(function() {
- loadlayer();
- $.post("index.php?m=admin_domain&c=savecf", {
- config: $("#config").val(),
- sy_indexcity: $("#sy_indexcity").val(),
- sy_gotocity: $("input[name=sy_gotocity]").is(":checked") ? 1 : 0,
- sy_onedomain: $("#sy_onedomain").val(),
- sy_indexdomain: $("#sy_indexdomain").val(),
- pytoken: $("#pytoken").val(),
- sy_web_site: $("input[name=sy_web_site]").is(":checked") ? 1 : 0
- }, function(data, textStatus) {
- parent.layer.closeAll('loading');
- config_msg(data);
- });
- });
- });
-
- layui.use(['form'], function() {});
- <?php echo '</script'; ?>
->
- </div>
- </body>
-</html>
-<?php }} ?>
diff --git a/data/templates_c/d185eb9fb3f5e0e2f2217e255a7b35b29c523c21.file.admin_right.htm.php b/data/templates_c/d185eb9fb3f5e0e2f2217e255a7b35b29c523c21.file.admin_right.htm.php
deleted file mode 100644
index 08e413e..0000000
--- a/data/templates_c/d185eb9fb3f5e0e2f2217e255a7b35b29c523c21.file.admin_right.htm.php
+++ /dev/null
@@ -1,928 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:15:21
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\admin_right.htm" */ ?>
-<?php /*%%SmartyHeaderCode:2997967ff7529721168-58936989%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- 'd185eb9fb3f5e0e2f2217e255a7b35b29c523c21' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\admin_right.htm',
- 1 => 1645285932,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '2997967ff7529721168-58936989',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'index_lookstatistc' => 0,
- 'dirname' => 0,
- 'mruser' => 0,
- 'power' => 0,
- 'soft' => 0,
- 'kongjian' => 0,
- 'banben' => 0,
- 'phpbanben' => 0,
- 'yonghu' => 0,
- 'server' => 0,
- 'pytoken' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff752974ab63_08603766',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff752974ab63_08603766')) {function content_67ff752974ab63_08603766($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
-
- <link href="images/reset.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
-
- <?php echo '<script'; ?>
- src="../js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="js/admin_public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
-
- <title>后台管理</title>
-
- <?php echo '<script'; ?>
->
- /*屏蔽所有的js错误*/
- function killerrors() {return true;}
- window.onerror = killerrors;
- function logout(){
- if (confirm("您确定要退出控制面板吗?"))
- top.location = 'index.php?c=logout';
- return false;
- }
- var integral_pricename='<?php echo $_smarty_tpl->tpl_vars['config']->value['integral_pricename'];?>
-';
- <?php echo '</script'; ?>
->
-
- <!--[if IE 6]>
- <?php echo '<script'; ?>
- src="./js/png.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
->
- DD_belatedPNG.fix('.png,.header .logo,.header .nav li a,.header .nav li.on,.left_menu h3 span.on');
- <?php echo '</script'; ?>
->
- <![endif]-->
-
-</head>
-<?php if ($_smarty_tpl->tpl_vars['index_lookstatistc']->value==2) {?>
-<body style="font-size:14px; padding-bottom:0; ">
-
- <div id="yunshengji"></div>
-
- <div class="clear"></div>
-
- <?php if (($_smarty_tpl->tpl_vars['dirname']->value||$_smarty_tpl->tpl_vars['mruser']->value==1)&&in_array('161',$_smarty_tpl->tpl_vars['power']->value)) {?>
- <div class="admin_indextip">
- <?php if ($_smarty_tpl->tpl_vars['dirname']->value) {?>为了您的网站安全考虑,强烈建议将 admin,install 文件夹名改为其它名称!<?php }?>
- <?php if ($_smarty_tpl->tpl_vars['mruser']->value==1) {?>您还没有更改默认的管理员用户名和密码!<a href="index.php?m=admin_user&c=pass" class="admin_index_info_box_a">【马上修改】</a><?php }?>
- </div>
- <?php }?>
-
-
- <div class="adminR_profit">
- <div class="adminR_profit_r">
- <div class="adminR_profit_r_box">
- <div class="adminR_profit_r_todayuser">
- <div class="adminR_profit_r_todayuser_name">今日新增会员总数</div>
- <div class="adminR_profit_r_todayuser_n" id="ajax_new_member_num">0</div>
- </div>
- <div class="adminR_profit_r_todaymoney">
- <div class="adminR_profit_r_todayuser_name">今日总收益</div>
- <?php if (!in_array('161',$_smarty_tpl->tpl_vars['power']->value)) {?>
- <div class="admin_index_today_sy_tip">您的权限未能查看,请联系管理员开通财务权限。</div>
- <?php } else { ?>
- <div class="adminR_profit_r_todayuser_n" id="ajax_money_total">0</div>
- <?php }?>
- </div>
-* </div>
- </div>
-
- <div class="adminR_profit_m">
- <div class="adminR_profit_m_box">
- <div class="adminR_profit_m_todayqy">
- <div class="adminR_profit_tit"><i class="adminR_profit_todayqy_i3 adminR_profit_todayqy_i"></i>今日新增企业</div>
- <div class="adminR_profit_m_con">
- <div class="d_con">
- <div class="d_con_c_box">
- <i class="adminR_profit_m_con_i1"></i>
- <div class="d_con_c">
- <div class="nub" id='ajax_new_company_num'>0</div>
- <a href="index.php?m=admin_company&adtime=1" class="name">新增企业会员</a>
- </div>
- </div>
- </div>
- <div class="d_con">
- <div class="d_con_c_box">
- <i class="adminR_profit_m_con_i2"></i>
- <div class="d_con_c">
- <div class="nub" id="ajax_new_job_num">0</div>
- <a href="index.php?m=admin_company_job&adtime=1" class="name">新增职位</a>
- </div>
- </div>
- </div>
- </div>
- </div>
-
- <div class="adminR_profit_m_todayqy" style="margin-top: 15px;">
- <div class="adminR_profit_tit"><i class="adminR_profit_todauser_i5 adminR_profit_todauser_i"></i>今日新增人才</div>
- <div class="adminR_profit_m_con">
- <div class="d_con">
- <div class="d_con_c_box">
- <i class="adminR_profit_m_con_i3"></i>
- <div class="d_con_c">
- <div class="nub" id="ajax_new_user_num">0</div>
- <a href="index.php?m=user_member&adtime=1" class="name">新增个人会员</a>
- </div>
- </div>
- </div>
- <div class="d_con">
- <div class="d_con_c_box">
- <i class="adminR_profit_m_con_i4"></i>
- <div class="d_con_c">
- <div class="nub" id="ajax_new_resume_num">0</div>
- <a href="index.php?m=admin_resume&adtime=1" class="name">新增个人简历</a>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
-
- <div class="adminR_profit_l">
- <div class="adminR_profit_l_box">
- <div class="adminR_profit_tit"><i class="adminR_profit_qk_i adminR_profit_qk_i"></i>今日收益情况</div>
- <div class="adminR_profit_l_con">
- <div class="d_con">
- <div class="d_con_box">
- <i class="adminR_profit_l_i1"></i>
- <div class="nub" id="ajax_money_vip">¥0.00</div>
- <a href="index.php?m=company_order&typedd=1&order_state=2&time=1" class="name">会员套餐</a>
- </div>
- </div>
- <div class="d_con">
- <div class="d_con_box">
- <i class="adminR_profit_l_i2"></i>
- <div class="nub" id="ajax_money_service">¥0.00</div>
- <a href="index.php?m=company_order&typedd=5&order_state=2&time=1" class="name">增值服务</a>
- </div>
- </div>
- <div class="d_con">
- <div class="d_con_box">
- <i class="adminR_profit_l_i3"></i>
- <div class="nub" id="ajax_money_integral">¥0.00</div>
- <a href="index.php?m=company_order&order_state=2&time=1" class="name">其他服务</a>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
-
- <div class="clear"></div>
-
- <div class="adminR_tj">
- <div class="adminR_tj_Data_cont" style=" position:relative">
- <div class="admin_index_Data_cont_box">
-
- <div class="adminR_profit_tit"><i class="adminR_profit_todayqy_i adminR_profit_todayqy_i4"></i>月数据统计</div>
-
- <div class="admin_index_date_list">
- <ul style="width: 100.1%;">
- <li class="admin_index_tj_gr admin_index_date_list_cur"><a href="javascript:clicktb('getweb');"><div class="admin_tj_n"><span class="ajax_user">0</span></div>个人注册统计</a><i class="tj_line"></i></li>
- <li class="admin_index_tj_jl"><a href="javascript:clicktb('resumetj');"><div class="admin_tj_n"><span class="ajax_resume">0</span></div>简历统计</a><i class="tj_line"></i></li>
- <li class="admin_index_tj_qy"><a href="javascript:clicktb('comtj');"><div class="admin_tj_n"><span class="ajax_company">0</span></div>企业注册统计</a><i class="tj_line"></i></li>
- <li class="admin_index_tj_zw"><a href="javascript:clicktb('jobtj');"><div class="admin_tj_n"><span class="ajax_job">0</span></div>职位统计</a><i class="tj_line"></i></li>
- <li class="admin_index_tj_ujob"><a href="javascript:clicktb('ujobtj');"><div class="admin_tj_n"><span class="ajax_uj">0</span></div>简历投递统计</a><i class="tj_line"></i></li>
- <li class="admin_index_tj_yqms"><a href="javascript:clicktb('yqmstj');"><div class="admin_tj_n"><span class="ajax_yqms">0</span></div>邀请面试统计</a><i class="tj_line"></i></li>
- <li class="admin_index_tj_downresume"><a href="javascript:clicktb('downresumetj');"><div class="admin_tj_n"><span class="ajax_downresume">0</span></div>简历下载统计</a><i class="tj_line"></i></li>
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_chat_open']==1) {?>
- <li class="admin_index_tj_pg"><a href="javascript:clicktb('chattj');"><div class="admin_tj_n"><span class="ajax_chat">0</span></div>聊天统计</a></li>
- <?php } else { ?>
- <li class="admin_index_tj_gg"><a href="javascript:clicktb('adtj');"><div class="admin_tj_n"><span class="ajax_gg">0</span></div>广告点击统计</a></li>
- <?php }?>
- </ul>
- </div>
-
- <div class="admin_index_Data_cont_left">
- <div class="admin_index_fw" id="main22">
- <iframe name="right" id="tbrightMain" src="index.php?m=admin_right&c=getweb" frameborder="false" scrolling="auto" style="border:none;" width="100%" height="350" allowtransparency="true"></iframe>
- </div>
- </div>
- </div>
- </div>
-
-
- <div class="admin_index_bgboxpd">
-
- <div class="admin_index_bgbox">
- <div class="adminR_profit_tit"><i class="adminR_profit_todayqy_i adminR_profit_todayqy_i5"></i>待处理事项</div>
- <div class="ajax_msgnum">
- <?php if (in_array('999',$_smarty_tpl->tpl_vars['power']->value)) {?>
- <div class="admin_index_dshbox">
- <a href="index.php?m=admin_message&status=1" class="admin_index_dsh_xw ajaxhandle_hide"><div class="admin_index_db_n"><span class="ajaxhandle" >0</span></div>待处理意见反馈</a>
- <a href="index.php?m=admin_userchange&status=3" class="admin_index_dsh_xw ajaxuserchange_hide"><div class="admin_index_db_n"><span class="ajaxuserchange" >0</span></div>待审核身份转换会员</a>
- <a href="index.php?m=admin_company&status=4" class="admin_index_dsh_qy ajaxcompany_hide"><div class="admin_index_db_n"><span class="ajaxcompany" >0</span></div>待审核企业会员</a>
- <a href="index.php?m=admin_company_job&state=4" class="admin_index_dsh_zw ajaxjob_hide"><div class="admin_index_db_n"><span class="ajaxjob" >0</span></div>待审核职位</a>
- <a href="index.php?m=admin_partjob&state=4" class="admin_index_dsh_jz ajaxpartjob_hide"><div class="admin_index_db_n"><span class="ajaxpartjob" >0</span></div>待审核兼职</a>
- <a href="index.php?m=productnews&status=3" class="admin_index_dsh_cp ajaxcomproduct_hide"><div class="admin_index_db_n"><span class="ajaxcomproduct" >0</span></div>待审核企业产品</a>
- <a href="index.php?m=productnews&c=comnews&status=3" class="admin_index_dsh_xw ajaxcomnews_hide"><div class="admin_index_db_n"><span class="ajaxcomnews" >0</span></div>待审核企业新闻</a>
- <a href="index.php?m=comcert&status=3" class="admin_index_dsh_rz ajaxcomcert_hide"><div class="admin_index_db_n"><span class="ajaxcomcert" >0</span></div>待审核企业资质</a>
- <a href="index.php?m=admin_company_pic&status=1" class="admin_index_dsh_logo ajaxcomlogo_hide"><div class="admin_index_db_n"><span class="ajaxcomlogo" >0</span></div>待审核企业LOGO</a>
- <a href="index.php?m=admin_company_pic&c=show&status=1" class="admin_index_dsh_logo ajaxcomshow_hide"><div class="admin_index_db_n"><span class="ajaxcomshow" >0</span></div>待审核企业环境</a>
- <a href="index.php?m=admin_company_pic&c=banner&status=1" class="admin_index_dsh_logo ajaxcombanner_hide"><div class="admin_index_db_n"><span class="ajaxcombanner" >0</span></div>待审核企业横幅</a>
- <a href="index.php?m=user_member&status=4" class="admin_index_dsh_user ajaxuser_hide"><div class="admin_index_db_n"><span class="ajaxuser" >0</span></div>待审核个人会员</a>
- <a href="index.php?m=admin_resume&status=4" class="admin_index_dsh_jl ajaxresume_hide"><div class="admin_index_db_n"><span class="ajaxresume" >0</span></div>待审核简历</a>
- <a href="index.php?m=usercert&status=2" class="admin_index_dsh_rz ajaxusercert_hide"><div class="admin_index_db_n"><span class="ajaxusercert" >0</span></div>待审核个人认证</a>
- <a href="index.php?m=admin_trust&status=3" class="admin_index_dsh_wt ajaxresumetrust_hide"><div class="admin_index_db_n"><span class="ajaxresumetrust" >0</span></div>待审核委托简历</a>
- <a href="index.php?m=admin_user_pic&status=1" class="admin_index_dsh ajaxuserpic_hide"><div class="admin_index_db_n"><span class="ajaxuserpic" >0</span></div>待审核个人头像</a>
- <a href="index.php?m=admin_user_pic&c=show&status=1" class="admin_index_dsh ajaxusershow_hide"><div class="admin_index_db_n"><span class="ajaxusershow" >0</span></div>待审核个人作品</a>
- <a href="index.php?m=admin_lt_member&status=4" class="admin_index_dsh_lt ajaxlt_hide"><div class="admin_index_db_n"><span class="ajaxlt" >0</span></div>待审核猎头会员</a>
- <a href="index.php?m=admin_lt_job&status=4" class="admin_index_dsh_ltzw ajaxltjob_hide"><div class="admin_index_db_n"><span class="ajaxltjob" >0</span></div>待审核猎头职位</a>
- <a href="index.php?m=height_user&status=1" class="admin_index_dsh_gjrc ajaxheightuser_hide"><div class="admin_index_db_n"><span class="ajaxheightuser" >0</span></div>待审核优质人才简历</a>
- <a href="index.php?m=admin_lt_cert&status=0" class="admin_index_dsh_rz ajaxltcert_hide"><div class="admin_index_db_n"><span class="ajaxltcert" >0</span></div>待审核猎头认证</a>
- <a href="index.php?m=admin_lt_pic&status=1" class="admin_index_dsh_rz ajaxltlogo_hide"><div class="admin_index_db_n"><span class="ajaxltlogo" >0</span></div>待审核猎头LOGO</a>
- <a href="index.php?m=train_member&status=4" class="admin_index_dsh_px ajaxtrain_hide"><div class="admin_index_db_n"><span class="ajaxtrain" >0</span></div>待审核培训会员</a>
- <a href="index.php?m=teacher&status=3" class="admin_index_dsh_pxs ajaxteacher_hide"><div class="admin_index_db_n"><span class="ajaxteacher" >0</span></div>待审核培训师</a>
- <a href="index.php?m=admin_subject&status=3" class="admin_index_dsh_pxkc ajaxsubject_hide"><div class="admin_index_db_n"><span class="ajaxsubject" >0</span></div>待审核培训课程</a>
- <a href="index.php?m=traincert&status=3" class="admin_index_dsh_rz ajaxtraincert_hide"><div class="admin_index_db_n"><span class="ajaxtraincert" >0</span></div>待审核培训认证</a>
- <a href="index.php?m=trainnews&status=3" class="admin_index_dsh_xw ajaxtrainnews_hide"><div class="admin_index_db_n"><span class="ajaxtrainnews" >0</span></div>待审核培训新闻</a>
- <a href="index.php?m=admin_px_pic&status=1" class="admin_index_dsh_xw ajaxtrainlogo_hide"><div class="admin_index_db_n"><span class="ajaxtrainlogo" >0</span></div>待审核培训LOGO</a>
- <a href="index.php?m=admin_px_pic&c=show&status=1" class="admin_index_dsh_xw ajaxtrainbanner_hide"><div class="admin_index_db_n"><span class="ajaxtrainshow" >0</span></div>待审核培训环境</a>
- <a href="index.php?m=admin_px_pic&c=banner&status=1" class="admin_index_dsh_xw ajaxtrainbanner_hide"><div class="admin_index_db_n"><span class="ajaxtrainbanner" >0</span></div>待审核培训横幅</a>
- <a href="index.php?m=admin_once&status=3" class="admin_index_dsh_dp ajaxonce_hide"><div class="admin_index_db_n"><span class="ajaxonce" >0</span></div>待审核店铺招聘</a>
- <a href="index.php?m=admin_tiny&status=2" class="admin_index_dsh_pg ajaxtiny_hide"><div class="admin_index_db_n"><span class="ajaxtiny" >0</span></div>待审核普工简历</a>
- <a href="index.php?m=admin_school_graduate&state=4" class="admin_index_dsh_yjs ajaxschoolgraduate_hide"><div class="admin_index_db_n"><span class="ajaxschoolgraduate" >0</span></div>待审核应届毕业生职位</a>
- <a href="index.php?m=admin_school_xjh&status=3" class="admin_index_dsh_xjh ajaxschoolxjh_hide"><div class="admin_index_db_n"><span class="ajaxschoolxjh" >0</span></div>待审核校招宣讲会</a>
- <a href="index.php?m=zhaopinhui&c=com&status=3" class="admin_index_dsh_ch ajaxzphcom_hide"><div class="admin_index_db_n"><span class="ajaxzphcom" >0</span></div>待审核参会企业</a>
- <a href="index.php?m=admin_question&status=0" class="admin_index_dsh_wd ajaxask_hide"><div class="admin_index_db_n"><span class="ajaxask" >0</span></div>待审核问答</a>
- <a href="index.php?m=reward_list&status=-1" class="admin_index_dsh_dh ajaxredeem_hide"><div class="admin_index_db_n"><span class="ajaxredeem" >0</span></div>待审核商品兑换</a>
- <a href="index.php?m=invoice&status=0" class="admin_index_dsh_fp ajaxinvoice_hide"><div class="admin_index_db_n"><span class="ajaxinvoice" >0</span></div>待审核发票</a>
- <a href="index.php?m=company_order&order_state=1" class="admin_index_dsh_cz ajaxorder_hide"><div class="admin_index_db_n"><span class="ajaxorder" >0</span></div>待处理充值订单</a>
- <a href="index.php?m=admin_withdraw&order_state=0" class="admin_index_dsh_tx ajaxwithdraw_hide"><div class="admin_index_db_n"><span class="ajaxwithdraw" >0</span></div>待审核赏金提现</a>
- <a href="index.php?m=ad_order&status=-1" class="admin_index_dsh_gg ajaxadorder_hide"><div class="admin_index_db_n"><span class="ajaxadorder" >0</span></div>待审核广告订单</a>
- <a href="index.php?m=special" class="admin_index_dsh_qyzt ajaxspecialcom_hide"><div class="admin_index_db_n"><span class="ajaxspecialcom" >0</span></div>待审核企业专题</a>
-
- <a href="index.php?m=report" class="admin_index_dsh_jb ajaxreportjob_hide"><div class="admin_index_db_n"><span class="ajaxreportjob" >0</span></div>待处理举报职位</a>
- <a href="index.php?m=report&ut=2" class="admin_index_dsh_jb ajaxreportresume_hide"><div class="admin_index_db_n"><span class="ajaxreportresume" >0</span></div>待处理举报简历</a>
- <a href="index.php?m=report&type=1 "class="admin_index_dsh_jb ajaxreportask_hide"><div class="admin_index_db_n"><span class="ajaxreportask" >0</span></div>待处理举报问答</a>
- <a href="index.php?m=admin_appeal" class="admin_index_dsh_ss ajaxappeal_hide"><div class="admin_index_db_n"><span class="ajaxappeal" >0</span></div>待处理账号申诉</a>
- <a href="index.php?m=report&type=2" class="admin_index_dsh_ts ajaxreportgw_hide"><div class="admin_index_db_n"><span class="ajaxreportgw" >0</span></div>待处理投诉顾问</a>
- <a href="index.php?m=report&type=3" class="admin_index_dsh_jb ajaxreportxjh_hide"><div class="admin_index_db_n"><span class="ajaxreportxjh" >0</span></div>待处理举报校招宣讲会</a>
- <a href="index.php?m=admin_zphnet" class="admin_index_dsh_jb ajaxzphnetcom_hide"><div class="admin_index_db_n"><span class="ajaxzphnetcom" >0</span></div>待处理网络招聘会报名</a>
- <a href="index.php?m=link&state=2" class="admin_index_dsh_lj ajaxlink_hide"><div class="admin_index_db_n"><span class="ajaxlink" >0</span></div>待审核友情链接</a>
- <a href="index.php?m=admin_gqmember&status=4" class="admin_index_dsh_jb ajaxgq_hide"><div class="admin_index_db_n"><span class="ajaxgq" >0</span></div>待审核供求会员</a>
- <a href="index.php?m=admin_gqtask&status=3" class="admin_index_dsh_qyzt ajaxgqtask_hide"><div class="admin_index_db_n"><span class="ajaxgqtask" >0</span></div>待审核供求项目任务</a>
- <a href="index.php?m=admin_gqinfo_pic&status=1" class="admin_index_dsh_pg ajaxgqphoto_hide"><div class="admin_index_db_n"><span class="ajaxgqphoto" >0</span></div>待审核供求会员头像</a>
-
- <a href="index.php?m=admin_member_logout&status=1" class="admin_index_dsh_pg ajaxlogout_hide"><div class="admin_index_db_n"><span class="ajaxlogout" >0</span></div>待处理注销账号</a>
- <a href="index.php?m=admin_spview&status=3" class="admin_index_dsh_xw ajaxspview_hide"><div class="admin_index_db_n"><span class="ajaxspview" >0</span></div>待审核视频面试</a>
- <a href="index.php?m=com_pl&status=0" class="admin_index_dsh_xw ajaxcomment_hide"><div class="admin_index_db_n"><span class="ajaxcomment" >0</span></div>待审核面试评价</a>
- <a href="index.php?m=admin_yqmb&status=0" class="admin_index_dsh_xw ajaxyqmb_hide"><div class="admin_index_db_n"><span class="ajaxyqmb" >0</span></div>待审核面试模板</a>
- <a href="index.php?m=admin_msg&status=0" class="admin_index_dsh_xw ajaxusermsg_hide"><div class="admin_index_db_n"><span class="ajaxusermsg" >0</span></div>待审核求职咨询</a>
- <a href="index.php?m=admin_question&c=getanswer&status=0" class="admin_index_dsh_xw ajaxanswer_hide"><div class="admin_index_db_n"><span class="ajaxanswer" >0</span></div>待审核问答回复</a>
- <a href="index.php?m=admin_question&c=getcomment&status=0" class="admin_index_dsh_xw ajaxanswerreview_hide"><div class="admin_index_db_n"><span class="ajaxanswerreview" >0</span></div>待审核问答评论</a>
- <a href="index.php?m=admin_concheck_log&status=0" class="admin_index_dsh_xw ajaxconcheck_hide"><div class="admin_index_db_n"><span class="ajaxconcheck" >0</span></div>待处理内容检测</a>
- </div>
-
- <?php }?>
- </div>
- <div class="zwtip">暂时没有待处理事项哦</div>
-
- </div>
- </div>
-
- </div>
-
- <div class="admin_index_center">
- <div class="admin_index_Data">
- <div class="admin_index_Data_bor">
- <div class="admin_message_h1">
- <div class="admin_message_h1_tit">
- <span class="admin_message_h1_s admin_message_h1_cur" data-a="index_dt">网站动态</span>
- <span class="admin_message_h1_s" data-a="index_rz">会员日志</span>
- </div>
- </div>
-
- <div class="admin_index_Data_cont" style="position:relative; display:block" id="index_dt">
-
- <div class="admin_index_Data_cont_rz">
-
- <div class="admin_index_Data_cont_rz_tit admin_dt1">
- <ul>
- <li><a href="javascript:clicktbdt('downresumedt');" class="admin_index_Data_cont_rz_tit_li">下载简历动态</a></li>
- <li><a href="javascript:clicktbdt('useridjobdt');">职位申请动态</a></li>
- <li><a href="javascript:clicktbdt('lookjobdt');" >职位浏览动态</a></li>
- <li><a href="javascript:clicktbdt('lookresumedt');" >简历浏览动态</a></li>
- <li><a href="javascript:clicktbdt('favjobdt');" >职位收藏动态</a></li>
- <li><a href="javascript:clicktbdt('payorderdt');" >充值动态</a></li>
- </ul>
- </div>
-
- <div class="admin_index_Data_cont_left">
- <div class="" id="main22">
- <iframe name="right" id="tbrightMaindt" src="index.php?m=admin_right&c=downresumedt" frameborder="false" scrolling="auto" style="border:none;" width="100%" height="300" allowtransparency="true"></iframe>
- </div>
- </div>
-
- </div>
- </div>
-
- <div class="admin_index_Data_cont" style="position:relative; display:none" id="index_rz">
- <div class="admin_index_Data_cont_rz">
- <div class="admin_index_Data_cont_rz_tit admin_dt2">
- <ul>
- <li><a href="javascript:clicktbrz('userrz');" class="admin_index_Data_cont_rz_tit_li">个人会员日志</a></li>
- <li><a href="javascript:clicktbrz('comrz');">企业会员日志</a></li>
- <li><a href="javascript:clicktbrz('lietoutz');">猎头会员日志</a></li>
- <li><a href="javascript:clicktbrz('traintz');">培训会员日志</a></li>
- <li><a href="javascript:clicktbrz('gqtz');">供求会员日志</a></li>
- </ul>
- </div>
-
- <div class="admin_index_Data_cont_left" >
- <div class="" id="main22">
- <iframe name="right" id="tbrightMainrz" src="index.php?m=admin_right&c=userrz" frameborder="false" scrolling="auto" style="border:none;" width="100%" height="300" allowtransparency="true"></iframe>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
-
- <div class="mainindex_box">
- <div class="mainindex_box_cont_c">
- <div class="mainindex_box_cont">
-
-
- <div class="mainleft">
- <div class="maininfo" style="margin: 0;">
- <div class="admin_indexdt">
- <div class="mainboxtop">
- <i class="admin_index_bgbox_tit_icon"></i>
- <h6>服务信息</h6>
- </div>
- <div class="maincontent">
- <p>系统名称:6.03VIP人才招聘系统</p>
- <p>技术支持:维特网络</p>
- <p>联系电话:18668215192微信同号</p>
- <p>维特官网:<a href="http://www.weitenet.com/" target="_blank">http://www.weitenet.com/</a></p>
- <p>咨询QQ:360222653</p>
- </div>
- </div>
- </div>
- </div>
-
- <div class="mainright">
- <div class="maininfo">
- <div class="admin_indexdt">
- <div class="mainboxtop">
- <i class="admin_index_bgbox_tit_icon"></i>
- <h6>更多服务</h6>
- </div>
- <div class="maincontent">
- <p>网站建设、仿站开发、服务器空间租售、网站维护</p>
- <p>网站托管、网站优化、百度推广、自媒体营销</p>
- <p>微信公众号分销商城、如有意向-联系我们</p>
- <p>联系电话:18668215192 (微信同号)</p>
- <p>咨询QQ:360222653</p>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
-
- <div class="mainindex_box" style="margin-top:20px;">
- <div class="mainindex_box_cont_c">
- <div class="mainindex_box_cont">
- <div class="mainmsg">
- <div class="mainboxtop">
- <i class="admin_index_bgbox_tit_icon"></i>
- <h6>系统信息</h6>
- </div>
-
- <div class="" style="padding-left: 15px;">
- <span class="mainmsg_list">程序版本: 6.03VIP版本</span>
- <span class="mainmsg_list">服务器软件:<?php echo $_smarty_tpl->tpl_vars['soft']->value;?>
-</span>
- <span class="mainmsg_list">可用空间(磁盘区):<?php echo $_smarty_tpl->tpl_vars['kongjian']->value;?>
- M</span>
- <span class="mainmsg_list">MySQL 版本:<?php echo $_smarty_tpl->tpl_vars['banben']->value;?>
-</span>
- <span class="mainmsg_list">PHP 版本:<?php echo $_smarty_tpl->tpl_vars['phpbanben']->value;?>
-</span>
- <span class="mainmsg_list">用户 - 服务器:<?php echo $_smarty_tpl->tpl_vars['yonghu']->value;?>
- - <?php echo $_smarty_tpl->tpl_vars['server']->value;?>
-</span>
- </div>
- </div>
- </div>
- </div>
- </div>
-
- <input type="hidden" name="pytoken" id="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-"/>
-
- <?php echo '<script'; ?>
->
- var pytoken = $('#pytoken').val();
- function dk(){$("#edition_box_yun").show();$(".edition_box_bg").show();}
- function gb(){$("#edition_box_yun").hide();$(".edition_box_bg").hide();}
- function clicktb(name){
- $("#tbrightMain").attr("src","index.php?m=admin_right&c="+name);
- }
- function clicktbdt(name){
- $("#tbrightMaindt").attr("src","index.php?m=admin_right&c="+name);
- }
- function clicktbrz(name){
- $("#tbrightMainrz").attr("src","index.php?m=admin_right&c="+name);
- }
- $(document).ready(function(){
- $(".admin_message_h1_s").click(function(){
- $(".admin_message_h1_s").attr("class","admin_message_h1_s");
- $(this).attr("class","admin_message_h1_s admin_message_h1_cur");
- var a=$(this).attr("data-a");
- $(".admin_index_Data_cont").hide();
- $("#"+a).show();
- });
- })
- <?php echo '</script'; ?>
->
-
- <link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet">
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
-
- <?php echo '<script'; ?>
- type="text/javascript">
-
- $(document).ready(function(){
- $.post("index.php?m=admin_right&c=ajax_statis", {pytoken: '<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-'}, function(data){
- var o = eval( '(' + data + ')' );
-
- $('#ajax_new_member_num').html(o.memberNum);
-
- if(o.moneyTotal){
- $('#ajax_money_total').html(o.moneyTotal);
- }
-
- $('#ajax_new_company_num').html(o.companyNum);
- $('#ajax_new_job_num').html(o.jobNum);
-
- $('#ajax_new_user_num').html(o.userNum);
- $('#ajax_new_resume_num').html(o.resumeNum);
-
- if(o.moneyVip){
- $('#ajax_money_vip').html('¥'+o.moneyVip);
- }
- if(o.moneyService){
- $('#ajax_money_service').html('¥'+o.moneyService);
- }
- if(o.moneyIntegral){
- $('#ajax_money_integral').html('¥'+o.moneyIntegral);
- }
-
- if(o.resumeNumMon) {
- $('.ajax_resume').html(o.resumeNumMon);
- }
- if(o.jobNumMon) {
- $('.ajax_job').html(o.jobNumMon);
- }
- if(o.companyNumMon) {
- $('.ajax_company').html(o.companyNumMon);
- }
- if(o.userNumMon) {
- $('.ajax_user').html(o.userNumMon);
- }
- if(o.newsNumMon) {
- $('.ajax_news').html(o.newsNumMon);
- }
- if(o.userjobNumMon){
- $('.ajax_uj').html(o.userjobNumMon);
- }
- if(o.ggNumMon) {
- $('.ajax_gg').html(o.ggNumMon);
- }
- if(o.onceNumMon) {
- $('.ajax_once').html(o.onceNumMon);
- }
- if(o.yqmsNumMon){
- $('.ajax_yqms').html(o.yqmsNumMon);
- }
- if(o.downreusmeNumMon){
- $('.ajax_downresume').html(o.downreusmeNumMon);
- }
- if(o.tinyNumMon) {
- $('.ajax_tiny').html(o.tinyNumMon);
- }
- if(o.chatNumMon){
- $('.ajax_chat').html(o.chatNumMon);
- }
- });
-
- $.get("index.php?c=msgNum", function(data) {
- var datas = eval('(' + data + ')');
- if(datas.handlenum > 0){
- $('.ajaxhandle').html(datas.handlenum);
- }else{
- $('.ajaxhandle_hide').hide();
- }
-
- if(datas.msgNum > 0){
- $('.ajax_msgnum').show();
- }else{
- $('.ajax_msgnum').hide();
- }
-
- if(datas.company_job) {
- $('.ajaxjob').html(datas.company_job);
- }else{
- $('.ajaxjob_hide').hide();
- }
- if(datas.userchangenum){
- $('.ajaxuserchange').html(datas.userchangenum);
- }else{
- $('.ajaxuserchange_hide').hide();
- }
- if(datas.company) {
- $('.ajaxcompany').html(datas.company);
- }else{
- $('.ajaxcompany_hide').hide();
- }
-
- if(datas.partjob) {
- $('.ajaxpartjob').html(datas.partjob);
- }else{
- $('.ajaxpartjob_hide').hide();
- }
-
- if(datas.company_product) {
- $('.ajaxcomproduct').html(datas.company_product);
- }else{
- $('.ajaxcomproduct_hide').hide();
- }
-
- if(datas.company_news) {
- $('.ajaxcomnews').html(datas.company_news);
- }else{
- $('.ajaxcomnews_hide').hide();
- }
-
- if(datas.company_cert) {
- $('.ajaxcomcert').html(datas.company_cert);
- }else{
- $('.ajaxcomcert_hide').hide();
- }
-
- if(datas.comlogo) {
- $('.ajaxcomlogo').html(datas.comlogo);
- }else{
- $('.ajaxcomlogo_hide').hide();
- }
-
- if(datas.comshow) {
- $('.ajaxcomshow').html(datas.comshow);
- }else{
- $('.ajaxcomshow_hide').hide();
- }
-
- if(datas.combanner) {
- $('.ajaxcombanner').html(datas.combanner);
- }else{
- $('.ajaxcombanner_hide').hide();
- }
-
- if(datas.userNum) {
- $('.ajaxuser').html(datas.userNum);
- }else{
- $('.ajaxuser_hide').hide();
- }
-
- if(datas.resume_expect) {
- $('.ajaxresume').html(datas.resume_expect);
- }else{
- $('.ajaxresume_hide').hide();
- }
-
- if(datas.usercertNum) {
- $('.ajaxusercert').html(datas.usercertNum);
- }else{
- $('.ajaxusercert_hide').hide();
- }
-
- if(datas.resumetrust) {
- $('.ajaxresumetrust').html(datas.resumetrust);
- }else{
- $('.ajaxresumetrust_hide').hide();
- }
-
- if(datas.userpic) {
- $('.ajaxuserpic').html(datas.userpic);
- }else{
- $('.ajaxuserpic_hide').hide();
- }
-
- if(datas.usershow) {
- $('.ajaxusershow').html(datas.usershow);
- }else{
- $('.ajaxusershow_hide').hide();
- }
-
- if(datas.ltNum) {
- $('.ajaxlt').html(datas.ltNum);
- }else{
- $('.ajaxlt_hide').hide();
- }
-
- if(datas.ltjob) {
- $('.ajaxltjob').html(datas.ltjob);
- }else{
- $('.ajaxltjob_hide').hide();
- }
-
- if(datas.ltheightuser) {
- $('.ajaxheightuser').html(datas.ltheightuser);
- }else{
- $('.ajaxheightuser_hide').hide();
- }
-
- if(datas.ltcert) {
- $('.ajaxltcert').html(datas.ltcert);
- }else{
- $('.ajaxltcert_hide').hide();
- }
-
- if(datas.ltlogo) {
- $('.ajaxltlogo').html(datas.ltlogo);
- }else{
- $('.ajaxltlogo_hide').hide();
- }
-
- if(datas.trainNum) {
- $('.ajaxtrain').html(datas.trainNum);
- }else{
- $('.ajaxtrain_hide').hide();
- }
- if(datas.teacher) {
- $('.ajaxteacher').html(datas.teacher);
- }else{
- $('.ajaxteacher_hide').hide();
- }
- if(datas.subject) {
- $('.ajaxsubject').html(datas.subject);
- }else{
- $('.ajaxsubject_hide').hide();
- }
- if(datas.traincert) {
- $('.ajaxtraincert').html(datas.traincert);
- }else{
- $('.ajaxtraincert_hide').hide();
- }
- if(datas.trainnews) {
- $('.ajaxtrainnews').html(datas.trainnews);
- }else{
- $('.ajaxtrainnews_hide').hide();
- }
- if(datas.pxlogo) {
- $('.ajaxtrainlogo').html(datas.pxlogo);
- }else{
- $('.ajaxtrainlogo_hide').hide();
- }
- if(datas.pxshow) {
- $('.ajaxtrainshow').html(datas.pxshow);
- }else{
- $('.ajaxtrainshow_hide').hide();
- }
- if(datas.pxbanner) {
- $('.ajaxtrainbanner').html(datas.pxbanner);
- }else{
- $('.ajaxtrainbanner_hide').hide();
- }
- if(datas.once_job) {
- $('.ajaxonce').html(datas.once_job);
- }else{
- $('.ajaxonce_hide').hide();
- }
- if(datas.tiny) {
- $('.ajaxtiny').html(datas.tiny);
- }else{
- $('.ajaxtiny_hide').hide();
- }
- if(datas.schooljob) {
- $('.ajaxschoolgraduate').html(datas.schooljob);
- }else{
- $('.ajaxschoolgraduate_hide').hide();
- }
- if(datas.schoolxjh) {
- $('.ajaxschoolxjh').html(datas.schoolxjh);
- }else{
- $('.ajaxschoolxjh_hide').hide();
- }
- if(datas.zphcom) {
- $('.ajaxzphcom').html(datas.zphcom);
- }else{
- $('.ajaxzphcom_hide').hide();
- }
- if(datas.ask) {
- $('.ajaxask').html(datas.ask);
- }else{
- $('.ajaxask_hide').hide();
- }
- if(datas.redeem) {
- $('.ajaxredeem').html(datas.redeem);
- }else{
- $('.ajaxredeem_hide').hide();
- }
- if(datas.invoiceNum) {
- $('.ajaxinvoice').html(datas.invoiceNum);
- }else{
- $('.ajaxinvoice_hide').hide();
- }
- if(datas.order) {
- $('.ajaxorder').html(datas.order);
- }else{
- $('.ajaxorder_hide').hide();
- }
- if(datas.withdrawNum) {
- $('.ajaxwithdraw').html(datas.withdrawNum);
- }else{
- $('.ajaxwithdraw_hide').hide();
- }
- if(datas.adorder) {
- $('.ajaxadorder').html(datas.adorder);
- }else{
- $('.ajaxadorder_hide').hide();
- }
- if(datas.specialcom) {
- $('.ajaxspecialcom').html(datas.specialcom);
- }else{
- $('.ajaxspecialcom_hide').hide();
- }
- if(datas.reportjob) {
- $('.ajaxreportjob').html(datas.reportjob);
- }else{
- $('.ajaxreportjob_hide').hide();
- }
- if(datas.reportresume) {
- $('.ajaxreportresume').html(datas.reportresume);
- }else{
- $('.ajaxreportresume_hide').hide();
- }
- if(datas.reportask) {
- $('.ajaxreportask').html(datas.reportask);
- }else{
- $('.ajaxreportask_hide').hide();
- }
- if(datas.reportgw) {
- $('.ajaxreportgw').html(datas.reportgw);
- }else{
- $('.ajaxreportgw_hide').hide();
- }
- if(datas.reportxjh) {
- $('.ajaxreportxjh').html(datas.reportxjh);
- }else{
- $('.ajaxreportxjh_hide').hide();
- }
- if(datas.zphnetcomtrust) {
- $('.ajaxzphnetcom').html(datas.zphnetcomtrust);
- }else{
- $('.ajaxzphnetcom_hide').hide();
- }
-
-
- if(datas.appealnum) {
- $('.ajaxappeal').html(datas.appealnum);
- }else{
- $('.ajaxappeal_hide').hide();
- }
- if(datas.linkNum) {
- $('.ajaxlink').html(datas.linkNum);
- }else{
- $('.ajaxlink_hide').hide();
- }
-
- if(datas.gqNum) {
- $('.ajaxgq').html(datas.gqNum);
- }else{
- $('.ajaxgq_hide').hide();
- }
- if(datas.gqpic) {
- $('.ajaxgqphoto').html(datas.gqpic);
- }else{
- $('.ajaxgqphoto_hide').hide();
- }
- if(datas.gqtask) {
- $('.ajaxgqtask').html(datas.gqtask);
- }else{
- $('.ajaxgqtask_hide').hide();
- }
- if(datas.logout) {
- $('.ajaxlogout').html(datas.logout);
- }else{
- $('.ajaxlogout_hide').hide();
- }
- if(datas.spview) {
- $('.ajaxspview').html(datas.spview);
- }else{
- $('.ajaxspview_hide').hide();
- }
- if(datas.company_msg) {
- $('.ajaxcomment').html(datas.company_msg);
- }else{
- $('.ajaxcomment_hide').hide();
- }
- if(datas.yqmb_msg) {
- $('.ajaxyqmb').html(datas.yqmb_msg);
- }else{
- $('.ajaxyqmb_hide').hide();
- }
- if(datas.usermsg_msg) {
- $('.ajaxusermsg').html(datas.usermsg_msg);
- }else{
- $('.ajaxusermsg_hide').hide();
- }
- if(datas.answer_msg) {
- $('.ajaxanswer').html(datas.answer_msg);
- }else{
- $('.ajaxanswer_hide').hide();
- }
- if(datas.answerreview_msg) {
- $('.ajaxanswerreview').html(datas.answerreview_msg);
- }else{
- $('.ajaxanswerreview_hide').hide();
- }
- if(datas.concheck_msg) {
- $('.ajaxconcheck').html(datas.concheck_msg);
- }else{
- $('.ajaxconcheck_hide').hide();
- }
-
- });
- });
-
-
- $('.admin_index_date_list li').each(function(){
- $(this).click(function(){
- $('.admin_index_date_list li').removeClass("admin_index_date_list_cur")
- $(this).addClass("admin_index_date_list_cur")
- })
- })
-
- $('.admin_dt1 li a').each(function(){
- $(this).click(function(){
- $('.admin_dt1 li a').removeClass("admin_index_Data_cont_rz_tit_li")
- $(this).addClass("admin_index_Data_cont_rz_tit_li")
- })
- })
- $('.admin_dt2 li a').each(function(){
- $(this).click(function(){
- $('.admin_dt2 li a').removeClass("admin_index_Data_cont_rz_tit_li")
- $(this).addClass("admin_index_Data_cont_rz_tit_li")
- })
- })
-
-
- <?php echo '</script'; ?>
->
-</body>
-<?php } else { ?>
-<body style="font-size:14px; padding-bottom:0; ">
- <div class="layui-form-item">
- <div class="zwtip">可点击所需栏目,开启工作哟~ </div>
-
- </div>
-</body>
-<?php }?>
-
-</html><?php }} ?>
diff --git a/data/templates_c/d5f587720e2920b8f0b3b7d7a256da2a77d4240a.file.login.htm.php b/data/templates_c/d5f587720e2920b8f0b3b7d7a256da2a77d4240a.file.login.htm.php
deleted file mode 100644
index 6229dfa..0000000
--- a/data/templates_c/d5f587720e2920b8f0b3b7d7a256da2a77d4240a.file.login.htm.php
+++ /dev/null
@@ -1,151 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 16:45:32
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\login.htm" */ ?>
-<?php /*%%SmartyHeaderCode:450667ff6e2ce04d93-89571959%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- 'd5f587720e2920b8f0b3b7d7a256da2a77d4240a' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\login.htm',
- 1 => 1634883865,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '450667ff6e2ce04d93-89571959',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'pytoken' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff6e2ce2ed22_13302062',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff6e2ce2ed22_13302062')) {function content_67ff6e2ce2ed22_13302062($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <link href="images/admin.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
-
- <title><?php echo $_smarty_tpl->tpl_vars['config']->value['sy_webname'];?>
- - 后台管理中心</title>
-</head>
-
-<body>
- <div class="admin_logo_bg">
- <div class="logoin_top"></div>
- <div class="logoin_cont">
- <div class="login_box">
- <div class="logoin_c">
- <div class="logoin_logo"><img src="images/logoin_logo.png"></div>
- <div class="logoin_title"><div class=""><img src="images/logo_t.png?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"></div></div>
- <div id="bind-captcha" data-id='sublogin' data-type='submit'></div>
- <div class="login_iptbox">
- <form action="" method="post" target="supportiframe" autocomplete="off" id='sublogin' onsubmit='return checkform();'>
- <ul class="logoin_list">
- <li><span class="admin_login_s"><label for="username">用户名:</label></span><input type="text" class="ipt" size="10" name="username" id="username" value="" /></li>
- <li><span class="admin_login_s"><label for="password">密 码:</label></span><input type="password" class="ipt" name="password" id="password" value="" /></li>
-
- <?php if (strpos($_smarty_tpl->tpl_vars['config']->value['code_web'],"后台登录")!==false) {?>
- <li>
- <?php if ($_smarty_tpl->tpl_vars['config']->value['code_kind']>2) {?>
- <div class="gtdx-captcha">
- <div id="bind-captcha" data-id='subreg' data-type='click'></div>
- <input type='hidden' id="verify_token" name="verify_token" value="">
- <input type='hidden' id="popup-submit">
- <input type='hidden' id="bind-submit">
- </div>
- <?php } else { ?>
- <span class="admin_login_s"><label for="code">验证码:</label></span>
- <input type="text" id="ipt_code" class="ipt" style="width:125px;" name="authcode" value="" />
- <img src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/app/include/authcode.inc.php" align="absmiddle" id='vcode_imgs' onclick="checkCode('vcode_imgs');">
- <?php }?>
- </li>
- <?php }?>
-
- <li><span class="admin_login_s"> </span><input type="submit" class="admin_login_sub" name="login_sub" value="登录" /><input type="reset" class="admin_login_sub admin_login_sub1" name="login_sub" value="重置" /></li>
- </ul>
- <input type="hidden" name="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- </form>
- </div>
- </div>
- </div>
- </div>
- </div>
-
- <?php echo '<script'; ?>
- src="../js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="js/admin_public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
- <iframe id="supportiframe" name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
-
-
- <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/verify/verify_js.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
- <?php echo '<script'; ?>
->
- var weburl="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-",code_web='<?php echo $_smarty_tpl->tpl_vars['config']->value['code_web'];?>
-',code_kind='<?php echo $_smarty_tpl->tpl_vars['config']->value['code_kind'];?>
-';
- function checkform(){
- if($('#username').val()==''){
- layer.msg('请填写管理员账户!', 2, 8);return false;
- }
-
- if($('#password').val()==''){
- layer.msg('请填写登录密码!', 2, 8);return false;
- }
-
- var codesear=new RegExp('后台登录');
- if(codesear.test(code_web)){
- if(code_kind==1){
- authcode=$("#ipt_code").val();
- if(authcode==''){
- layer.msg('请填写验证码!', 2, 8);return false;
- }
- }else if(code_kind > 2){
- var verify_token = $('input[name="verify_token"]').val();
-
- if(verify_token ==''){
- $("#bind-submit").trigger("click");
- return false;
- }
- }
- }
- return true;
- }
-
- function checkCode(id){
- if(document.getElementById(id)){
- document.getElementById(id).src=weburl+"/app/include/authcode.inc.php?"+Math.random();
- }
- }
- <?php echo '</script'; ?>
->
-</body>
-</html><?php }} ?>
diff --git a/data/templates_c/d6f831c1f0620e090932efd34d3ec6be3c06e54a.file.admin_resumetpl.htm.php b/data/templates_c/d6f831c1f0620e090932efd34d3ec6be3c06e54a.file.admin_resumetpl.htm.php
deleted file mode 100644
index 327806a..0000000
--- a/data/templates_c/d6f831c1f0620e090932efd34d3ec6be3c06e54a.file.admin_resumetpl.htm.php
+++ /dev/null
@@ -1,118 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-17 18:06:30
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\admin_resumetpl.htm" */ ?>
-<?php /*%%SmartyHeaderCode:103116800d2a6a31ad7-20167994%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- 'd6f831c1f0620e090932efd34d3ec6be3c06e54a' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\admin_resumetpl.htm',
- 1 => 1634883866,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '103116800d2a6a31ad7-20167994',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'list' => 0,
- 'v' => 0,
- 'pytoken' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_6800d2a6a72dc0_28934013',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_6800d2a6a72dc0_28934013')) {function content_6800d2a6a72dc0_28934013($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <link href="images/reset.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/system.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/table_form.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet"
- type="text/css" />
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="js/admin_public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
- <title>后台管理</title>
- </head>
- <body class="body_ifm">
- <div class="infoboxp">
- <div class="tty-tishi_top">
- <div class="admin_new_tip">
- <a href="javascript:;" class="admin_new_tip_close"></a>
- <a href="javascript:;" class="admin_new_tip_open" style="display:none;"></a>
- <div class="admin_new_tit"><i class="admin_new_tit_icon"></i>操作提示</div>
- <div class="admin_new_tip_list_cont">
- <div class="admin_new_tip_list">可以为个人用户提供个性化简历模板,管理员把个人简历模板后上传到个人简历模板目录即可!可以设置模板价格,提供个人用户自由选择!</div>
- </div>
- </div>
- <div class="clear"></div>
- <div class="admin_new_search_box" style="padding-bottom:10px;">
- <div class="admin_new_select">
- <a href="index.php?m=admin_tpl&c=resumetpladd" class="admin_new_cz_tj" style="margin-left:0px;">+ 添加模板</a>
- </div>
- </div>
- <div class="clear"></div>
- </div>
-
- <div class="tty_table-bom">
- <div class="table-list" style="overflow: hidden;">
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
- <div class="" style="float: left; width: 260px;border:1px solid #ddd; text-align: center; padding: 15px; line-height: 180%; margin-top:10px; margin-right:5px; background:#fff">
- <div style="width:100%;height:330px;">
- <img border="1" alt="<?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-" src="<?php echo $_smarty_tpl->tpl_vars['v']->value['pic'];?>
-" width="238" height="315">
- </div>
- <strong><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-</strong>
- <br>
- 风格目录名称:<?php echo $_smarty_tpl->tpl_vars['v']->value['url'];?>
-
- <br>
- 状态:<?php if ($_smarty_tpl->tpl_vars['v']->value['status']==1) {?>正在使用<?php } else { ?>已停止<?php }?>
- <br>
- <input name="" value="修改" type="submit" class="admin_button" onClick="location.href='index.php?m=admin_tpl&c=resumetpladd&id=<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-'">
- <input name="" value="删除" type="submit" class="admin_button" onclick="layer_del('确定要删除?', 'index.php?m=admin_tpl&c=resumetpldel&id=<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-');">
- </div>
- <?php } ?>
- </div>
- </div>
- </div>
- <input type="hidden" name="pytoken" id='pytoken' value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- </body>
-</html>
-<?php }} ?>
diff --git a/data/templates_c/df1c9da67eefc370faf1f7d60a3e2a65a54b0759.file.admin_reward.htm.php b/data/templates_c/df1c9da67eefc370faf1f7d60a3e2a65a54b0759.file.admin_reward.htm.php
deleted file mode 100644
index 41ad4cf..0000000
--- a/data/templates_c/df1c9da67eefc370faf1f7d60a3e2a65a54b0759.file.admin_reward.htm.php
+++ /dev/null
@@ -1,227 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:16:01
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\admin_reward.htm" */ ?>
-<?php /*%%SmartyHeaderCode:1565767ff7551a7c5c7-86259727%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- 'df1c9da67eefc370faf1f7d60a3e2a65a54b0759' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\admin_reward.htm',
- 1 => 1634883866,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '1565767ff7551a7c5c7-86259727',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'pytoken' => 0,
- 'rows' => 0,
- 'key' => 0,
- 'v' => 0,
- 'total' => 0,
- 'pagenum' => 0,
- 'pages' => 0,
- 'pagenav' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff7551ac5505_95202580',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff7551ac5505_95202580')) {function content_67ff7551ac5505_95202580($_smarty_tpl) {?><?php if (!is_callable('smarty_function_searchurl')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\function.searchurl.php';
-?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <link href="images/reset.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/system.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/table_form.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet"
- type="text/css" />
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="js/admin_public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
- <title>后台管理</title>
- </head>
- <body class="body_ifm">
- <div class="infoboxp">
-
- <div class="tty-tishi_top">
- <div class="admin_new_search_box">
- <form action="index.php" name="myform" method="get">
- <input name="m" value="reward" type="hidden" />
- <div class="admin_new_search_name">搜索类型:</div>
-
- <div class="admin_Filter_text formselect" did="dctype">
- <input type="button" <?php if ($_GET['ctype']=='2') {?> value="兑换<?php echo $_smarty_tpl->tpl_vars['config']->value['integral_pricename'];?>
-"
- <?php } else { ?> value="商品名称" <?php }?> class="admin_Filter_but" id="bctype">
- <input type="hidden" name="ctype" id="ctype" />
- <div class="admin_Filter_text_box" style="display:none" id="dctype">
- <ul>
- <li><a href="javascript:void(0)" onClick="formselect('1','ctype','商品名称')">商品名称</a></li>
- <li><a href="javascript:void(0)" onClick="formselect('2','ctype','兑换<?php echo $_smarty_tpl->tpl_vars['config']->value['integral_pricename'];?>
-')">兑换<?php echo $_smarty_tpl->tpl_vars['config']->value['integral_pricename'];?>
-</a></li>
- </ul>
- </div>
- </div>
- <input type="text" placeholder="输入你要搜索的关键字" value="<?php echo $_GET['keyword'];?>
-" name='keyword' class="admin_Filter_search">
- <input type="submit" name='search' value="搜索" class="admin_Filter_bth">
- <a href="javascript:void(0)" onclick="$('.admin_screenlist_box').toggle();" class="admin_new_search_gj">高级搜索</a>
- <a href="index.php?m=reward&c=add" class="admin_new_cz_tj">+ 添加商品</a>
- </form>
- <?php echo $_smarty_tpl->getSubTemplate ("admin/admin_search.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
- </div>
- <div class="clear"></div>
- </div>
-
- <div class="tty_table-bom">
- <div class="table-list">
- <div class="admin_table_border">
- <iframe id="supportiframe" name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
- <form action="index.php" name="myform" method="get" id='myform' target="supportiframe">
- <input type="hidden" name="m" value="reward">
- <input type="hidden" name="c" value="del">
- <input type="hidden" name="pytoken" id='pytoken' value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- <table width="100%">
- <thead>
- <tr class="admin_table_top">
- <th width="5%"><label for="chkall">
- <input type="checkbox" id='chkAll' onclick='CheckAll(this.form)' />
- </label></th>
- <th> <?php if ($_GET['t']=="id"&&$_GET['order']=="asc") {?> <a href="<?php echo smarty_function_searchurl(array('order'=>'desc','t'=>'id','m'=>'reward','untype'=>'order,t'),$_smarty_tpl);?>
-">编号<img
- src="images/sanj.jpg" /></a> <?php } else { ?> <a href="<?php echo smarty_function_searchurl(array('order'=>'asc','t'=>'id','m'=>'reward','untype'=>'order,t'),$_smarty_tpl);?>
-">编号<img
- src="images/sanj2.jpg" /></a> <?php }?> </th>
- <th align="left">商品名称</th>
- <th>类别</th>
- <th>兑换<?php echo $_smarty_tpl->tpl_vars['config']->value['integral_pricename'];?>
-</th>
- <th>限购数量</th>
- <th>库存</th>
- <th>排序</th>
- <th>状态</th>
- <th>推荐</th>
- <th>热门</th>
- <th class="admin_table_th_bg" width="120">操作</th>
- </tr>
- </thead>
- <tbody>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['rows']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <tr align="center" <?php if (($_smarty_tpl->tpl_vars['key']->value+1)%2=='0') {?>class="admin_com_td_bg"<?php }?> id="list<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-">
- <td><input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" name='del[]' onclick='unselectall()' rel="del_chk" /></td>
- <td><span><?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-</span></td>
- <td align="left"><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-</td>
- <td><?php echo $_smarty_tpl->tpl_vars['v']->value['classname'];?>
-</td>
- <td><?php echo $_smarty_tpl->tpl_vars['v']->value['integral'];?>
-</td>
- <td><?php if ($_smarty_tpl->tpl_vars['v']->value['restriction']=="0") {?>不限<?php } else {
-echo $_smarty_tpl->tpl_vars['v']->value['restriction'];
-}?></td>
- <td><?php echo $_smarty_tpl->tpl_vars['v']->value['stock'];?>
-</td>
- <td><?php echo $_smarty_tpl->tpl_vars['v']->value['sort'];?>
-</td>
- <td id="status<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-"><?php if ($_smarty_tpl->tpl_vars['v']->value['status']=="1") {?><a href="javascript:void(0);" onClick="rec_up('index.php?m=reward&c=status','<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-','0','status');"><img
- src="../config/ajax_img/doneico.gif"></a><?php } else { ?><a href="javascript:void(0);" onClick="rec_up('index.php?m=reward&c=status','<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-','1','status');"><img
- src="../config/ajax_img/errorico.gif"></a><?php }?></td>
- <td id="rec<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-"><?php if ($_smarty_tpl->tpl_vars['v']->value['rec']=="1") {?><a href="javascript:void(0);" onClick="rec_up('index.php?m=reward&c=rec','<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-','0','rec');"><img
- src="../config/ajax_img/doneico.gif"></a><?php } else { ?><a href="javascript:void(0);" onClick="rec_up('index.php?m=reward&c=rec','<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-','1','rec');"><img
- src="../config/ajax_img/errorico.gif"></a><?php }?></td>
- <td id="hot<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-"><?php if ($_smarty_tpl->tpl_vars['v']->value['hot']=="1") {?><a href="javascript:void(0);" onClick="rec_up('index.php?m=reward&c=hot','<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-','0','hot');"><img
- src="../config/ajax_img/doneico.gif"></a><?php } elseif ($_smarty_tpl->tpl_vars['v']->value['hot']=="0") {?><a href="javascript:void(0);"
- onClick="rec_up('index.php?m=reward&c=hot','<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-','1','hot');"><img src="../config/ajax_img/errorico.gif"></a><?php }?></td>
- <td><a href="index.php?m=reward&c=add&id=<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" class="admin_new_c_bth admin_n_sc mt5">修改</a> <a
- href="javascript:void(0)" class="admin_new_c_bth admin_new_c_bth_sc" onClick="layer_del('确定要删除?', 'index.php?m=reward&c=del&del=<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-');">删除</a></td>
- </tr>
- <?php } ?>
- <tr>
- <td align="center"><input type="checkbox" id='chkAll2' onclick='CheckAll2(this.form)' /></td>
- <td colspan="11"><label for="chkAll2">全选</label>
-
- <input class="admin_button" type="button" name="delsub" value="删除所选" onclick="return really('del[]')" /></td>
- </tr>
- <?php if ($_smarty_tpl->tpl_vars['total']->value>$_smarty_tpl->tpl_vars['config']->value['sy_listnum']) {?>
- <tr>
- <?php if ($_smarty_tpl->tpl_vars['pagenum']->value==1) {?>
- <td colspan="3"> 从 1 到 <?php echo $_smarty_tpl->tpl_vars['config']->value['sy_listnum'];?>
- ,总共 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
- 条</td>
- <?php } elseif ($_smarty_tpl->tpl_vars['pagenum']->value>1&&$_smarty_tpl->tpl_vars['pagenum']->value<$_smarty_tpl->tpl_vars['pages']->value) {?> <td colspan="3"> 从 <?php echo ($_smarty_tpl->tpl_vars['pagenum']->value-1)*$_smarty_tpl->tpl_vars['config']->value['sy_listnum']+1;?>
- 到 <?php echo $_smarty_tpl->tpl_vars['pagenum']->value*$_smarty_tpl->tpl_vars['config']->value['sy_listnum'];?>
- ,总共 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
- 条</td>
- <?php } elseif ($_smarty_tpl->tpl_vars['pagenum']->value==$_smarty_tpl->tpl_vars['pages']->value) {?>
- <td colspan="3"> 从 <?php echo ($_smarty_tpl->tpl_vars['pagenum']->value-1)*$_smarty_tpl->tpl_vars['config']->value['sy_listnum']+1;?>
- 到 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
- ,总共
- <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
- 条</td>
- <?php }?>
- <td colspan="9" class="digg"><?php echo $_smarty_tpl->tpl_vars['pagenav']->value;?>
-</td>
- </tr>
- <?php }?>
- </tbody>
- </table>
- </form>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div id="bg" class="admin_bg"></div>
- </body>
-</html>
-<?php }} ?>
diff --git a/data/templates_c/df324bff9cd508c18553c8a74f5c2c4f445f4a46.file.admin_company.htm.php b/data/templates_c/df324bff9cd508c18553c8a74f5c2c4f445f4a46.file.admin_company.htm.php
deleted file mode 100644
index fef31d2..0000000
--- a/data/templates_c/df324bff9cd508c18553c8a74f5c2c4f445f4a46.file.admin_company.htm.php
+++ /dev/null
@@ -1,2220 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-17 15:25:30
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\admin_company.htm" */ ?>
-<?php /*%%SmartyHeaderCode:32206800acea3e7781-50855124%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- 'df324bff9cd508c18553c8a74f5c2c4f445f4a46' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\admin_company.htm',
- 1 => 1644196793,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '32206800acea3e7781-50855124',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'pytoken' => 0,
- 'hbBgA' => 0,
- 'k' => 0,
- 'v' => 0,
- 'ratingarr' => 0,
- 'key' => 0,
- 'ratlist' => 0,
- 'total' => 0,
- 'rows' => 0,
- 'today' => 0,
- 'source' => 0,
- 'Dname' => 0,
- 'email_promiss' => 0,
- 'moblie_promiss' => 0,
- 'pagenum' => 0,
- 'pages' => 0,
- 'pagenav' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_6800acea4a9b29_31191099',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_6800acea4a9b29_31191099')) {function content_6800acea4a9b29_31191099($_smarty_tpl) {?><?php if (!is_callable('smarty_function_searchurl')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\function.searchurl.php';
-if (!is_callable('smarty_modifier_date_format')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\modifier.date_format.php';
-?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <!--[if IE 6]>
- <?php echo '<script'; ?>
- src="./js/png.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
->
- DD_belatedPNG.fix('.png,.admin_infoboxp_tj,');
- <?php echo '</script'; ?>
->
- <![endif]-->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- type="text/javascript" src="js/admin_public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- type="text/javascript" src="js/show_pub.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/viewer/viewer.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
-
- <link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/viewer/viewer.min.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/reset.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/system.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/table_form.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <title>后台管理</title>
-</head>
-
-<body class="body_ifm">
-
- <!--管理弹出框-->
- <div id="manage" class="" style="display:none;">
- <div class="admin_comtck_box">
- <div class="admin_comtck_hd">
- <div class="comtck_hd_name">
- <a class="name" id="m_name" target="_blank"></a>
- <div class="comtck_hd_btn">
- <a href="" class="b1" id="m_center" target="_blank">企业中心</a>
- <a href="javascript:;" onClick="resetpassword();" class="b2">重置密码</a>
- <a href="javascript:;" class="b3" id="m_ztstatus" data-rstatus="" data-zttime="">企业暂停</a>
- </div>
- </div>
- <div class="comtck_hd_userInfo">
- <span>用户名:<em id="m_username"></em></span>
- <span>用户ID:<em id="m_comid"></em></span>
- <span>IP:<em id="m_regip"></em></span>
- </div>
- </div>
-
- <div class="admin_comtck_md">
- <ul class="comtck_md_list">
- <li><a href="javascript:void(0)" id="m_integral"><div id="m_integral_num">10</div><span>积分管理</span></a></li>
- <li><a href="javascript:void(0)" id="m_order"><div id="m_order_num">10</div><span>充值订单</span></a></li>
- <li><a href="javascript:void(0)" id="m_down"><div id="m_down_num">10</div><span>下载简历</span></a></li>
- <li><a href="javascript:void(0)" id="m_apply"><div id="m_apply_num">10</div><span>收到简历</span></a></li>
- <li><a href="javascript:void(0)" id="m_invite"><div id="m_invite_num">10</div><span>面试邀请</span></a></li>
- <li><a href="javascript:void(0)" id="m_job"><div id="m_job_num">10</div><span>职位管理</span></a></li>
- <li><a href="javascript:void(0)" id="m_show"><div id="m_show_num">10</div><span>企业环境</span></a></li>
- <li><a href="javascript:void(0)" id="sonMsgAId"><div id="sonMsgId">10</div><span>子账号</span></a></li>
- </ul>
- <div class="comtck_md_gn">
- <a href="javascript:;" id="m_tongji"><i class="comtck_md_i1"></i>招聘效果</a>
- <a href="javascript:;" id="m_whb"><i class="comtck_md_i2"></i>微海报</a>
- <a href="javascript:;" id="m_comtpl"><i class="comtck_md_i3"></i>企业模板</a>
- <a href="javascript:;" id="m_sendmsg"><i class="comtck_md_i4"></i>发短信</a>
- <a href="javascript:;" id="m_sendemail" style="margin-right: 0;"><i class="comtck_md_i5"></i>发邮件</a>
- </div>
- </div>
-
- <div class="com_telbox">
- <span class="com_tel"><em id="m_linkman"></em></span>
- <span class="com_tel"><em id="m_phone"></em> </span>
- <span class="com_tel"><em id="m_email"></em> </span>
- <span class="com_tel">企业顾问:<em id="m_adviser"></em></span>
- </div>
- <input type="hidden" id="m_linktel" value="" />
- <input type="hidden" id="m_linkmail" value="" />
- <input type="hidden" id="m_uid" value="" />
- </div>
- </div>
- <!--管理弹出框 end-->
-
- <!-- 邮箱认证弹出框 -->
- <div id="renemail" style="display:none;text-align:center; ">
- <div class="mt10">
- <form class="layui-form" action="index.php?m=admin_company&c=emaillock" target="supportiframe" method="post" autocomplete="off">
- <table cellspacing='1' cellpadding='1' class="admin_examine_table">
- <tr>
- <th width="80">邮箱:</th>
- <td align="left">
- <div class="layui-input-block">
- <input type="text" id="comemail" class="tty_input t_w200" name="comemail" value="">
- </div>
- </td>
- </tr>
- <tr>
- <th width="80">认证操作:</th>
- <td align="left">
- <div class="layui-input-block">
- <input name="estatus" id="estatus0" value="0" title="待认证" type="radio" />
- <input name="estatus" id="estatus1" value="1" title="已认证" type="radio" />
- </div>
- </td>
- </tr>
-
- <tr>
- <td colspan='2' align="center">
- <input type="submit" onclick="loadlayer();" value='确认' class="admin_examine_bth">
- <input type="button" class="admin_examine_bth_qx closebutton" value='取消'>
- </td>
- </tr>
- </table>
-
- <input type="hidden" name="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- <input type="hidden" name="uid" id="uid" value="0" >
- </form>
- </div>
- </div>
- <!-- 邮箱认证弹出框END -->
-
- <!--手机认证弹出框-->
- <div id="renphone" style="display:none;text-align:center; ">
- <div class="mt10">
- <form class="layui-form" action="index.php?m=admin_company&c=phonelock" target="supportiframe" method="post" autocomplete="off">
- <table cellspacing='1' cellpadding='1' class="admin_examine_table">
- <tr>
- <th width="80">手机号码:</th>
- <td align="left">
- <div class="layui-input-block">
- <input type="text" class="tty_input t_w200" id="comlinktel" name="comlinktel" value="">
- </div>
- </td>
- </tr>
- <tr>
- <th width="80">认证操作:</th>
- <td align="left">
- <div class="layui-input-block">
- <input name="mstatus" id="pstatus0" value="0" title="待认证" type="radio" />
- <input name="mstatus" id="pstatus1" value="1" title="已认证" type="radio" />
- </div>
- </td>
- </tr>
-
- <tr>
- <td colspan='2' align="center">
- <input type="submit" onclick="loadlayer();" value='确认' class="admin_examine_bth">
- <input type="button" class="admin_examine_bth_qx closebutton" value='取消'>
- </td>
- </tr>
- </table>
-
- <input type="hidden" name="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- <input type="hidden" name="uid" id="phoneuid" value="0" >
- </form>
- </div>
- </div>
- <!-- 手机认证end -->
-
- <!-- 证书认证弹出框 -->
- <div id="preview" style="display:none;width:450px ">
- <div style="height:500px; overflow:auto;width:650px;">
- <form class="layui-form" name="formstatus" action="index.php?m=admin_company&c=comStatus" target="supportiframe" method="post" onsubmit="return tcdiv();">
-
- <input type="hidden" name="pytoken" id='pytoken' value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
-
- <table cellspacing='1' cellpadding='1' class="admin_examine_table">
- <tr>
- <th>公司名称:</th>
- <td align="left"><span id="comname"></span></td>
- </tr>
- <?php if ($_smarty_tpl->tpl_vars['config']->value['com_social_credit']=="1") {?>
- <tr>
- <th>统一社会信用代码:</th>
- <td align="left"><span id="social_credit"></span></td>
- </tr>
- <tr>
- <?php }?>
- <th class="t_fr">证件照片:</th>
- <td align="left">
- <div class="zj_box_list">
- <div id="preview_show" class="zj_box"></div>
- <div class="zj_box_name">营业执照/代码证</div>
- </div>
- <?php if ($_smarty_tpl->tpl_vars['config']->value['com_cert_owner']=="1") {?>
- <div class="zj_box_list">
- <div id="owner_cert_show" class="zj_box"></div>
- <div class="zj_box_name"> 经办人身份证</div>
- </div>
-
- <?php }?>
- <?php if ($_smarty_tpl->tpl_vars['config']->value['com_cert_wt']=="1") {?>
-
- <div class="zj_box_list">
- <div id="wt_cert_show" class="zj_box"></div>
- <div class="zj_box_name"> 委托书/承诺函</div>
- </div>
- <?php }?>
- <?php if ($_smarty_tpl->tpl_vars['config']->value['com_cert_other']=="1") {?>
- <div class="zj_box_list">
- <div id="other_cert_show" class="zj_box"></div>
- <div class="zj_box_name"> 其他材料</div>
- </div>
- <?php }?>
- <div class="clear"></div>
- <div class=""><span class="admin_web_tip">说明:点击图片查看原图</span></div>
- </td>
- </tr>
-
- <tr>
- <th width="130">审核操作:</th>
- <td align="left">
- <div class="layui-input-block">
- <input name="r_status" id="comstatus1" value="1" title="正常" type="radio" />
- <input name="r_status" id="comstatus2" value="2" title="未通过" type="radio" />
- </div>
- </td>
- </tr>
- <?php if ($_smarty_tpl->tpl_vars['config']->value['com_free_status']=='1') {?>
- <tr>
- <th>同步操作:</th>
- <td align="left">
- <div class="layui-input-block">
- <input name="job_status" value="1" title="审核" type="checkbox" />
- 【说明:所有未审核职位同步审核成功】
- </div>
- </td>
- </tr>
- <?php }?>
-
- <tr>
- <th class="t_fr">审核说明:</th>
- <td align="left"><textarea id="renzhencontent" name="statusbody" class="admin_explain_textarea"></textarea></td>
- </tr>
- <tr>
- <td colspan='2' align="center">
- <div class=""> <input type="submit" value='确认' class="admin_examine_bth"> <input type="button" onClick="layer.closeAll();" class="admin_examine_bth_qx" value='取消'></div>
- </td>
- </tr>
- </table>
- <input name="noyyzz" id="noyyzz" value="" type="hidden">
- <input name="uid" id="comuid" value="0" type="hidden">
- </form>
-
- </div>
- </div>
- <!-- 证书认证弹出框end -->
-
- <!-- 批量认证 -->
- <div id="batchrezhen" style="display:none;width:360px ">
- <div style="overflow:auto;width:360px;">
- <form class="layui-form" action="index.php?m=admin_company&c=batchfirm" target="supportiframe" method="post">
- <table cellspacing='1' cellpadding='1' class="admin_examine_table">
- <tr>
- <th width="80">认证类型:</th>
- <td align="left">
- <input name="comname_email" title="邮箱" type="checkbox" lay-skin="primary"/>
- <input name="comname_moblie" title="手机" type="checkbox" lay-skin="primary"/>
- <input name="comname_yyzz" title="企业资质" type="checkbox" lay-skin="primary"/>
- </td>
- </tr>
- <tr>
- <th width="80">认证操作:</th>
- <td align="left">
- <input name="plstatus" id="batchstatis0" value="0" title="待认证" type="radio" />
- <input name="plstatus" id="batchstatis1" value="1" title="已认证" type="radio" />
- </td>
- </tr>
-
- <tr>
- <td colspan='2' align="center">
- <div class="admin_Operating_sub">
- <input type="submit" onclick="loadlayer();" value='确认' class="admin_examine_bth">
- <input type="button" onClick="layer.closeAll();" class="admin_examine_bth_qx" value='取消'>
- </div>
- </td>
- </tr>
- </table>
- <input name="uid" id="btachuid" value="0" type="hidden">
- <input type="hidden" name="pytoken" id="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- </form>
- </div>
- </div>
- <!-- 批量认证End -->
-
- <div id="export" style="display:none;">
- <div style=" margin-top:10px;">
- <div>
- <form action="index.php?m=admin_company&c=xls" target="supportiframe" method="post" class="myform">
- <input type="hidden" name="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- <input name="uid" value="0" type="hidden">
-
- <div class="admin_resume_dc">
- <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="uid"> 企业UID</span></label>
- <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="name"> 企业名称</span></label>
- <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="hy"> 从事行业</span></label>
- <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="pr"> 企业性质</span></label>
- <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="rating"> 会员等级</span></label>
- <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="provinceid"> 省</span></label>
- <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="cityid"> 市</span></label>
- <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="mun"> 规模</span></label>
- <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="sdate"> 创办时间</span></label>
- <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="money"> 注册资金</span></label>
- <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="address"> 公司地址</span></label>
- <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="linkman"> 联系人</span></label>
- <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="linkjob"> 所属职位</span></label>
- <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="linkqq"> 联系QQ</span></label>
- <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="linkphone"> 固定电话</span></label>
- <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="linktel"> 联系手机</span></label>
- <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="linkmail"> 邮件</span></label>
- <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="website"> 网址</span></label>
- <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="rec"> 知名企业</span></label>
- <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="lastdate"> 更新时间</span></label>
- <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" name="type[]" value="vip_stime">会员开始时间</span></label>
- <label><span class="admin_resume_dc_s"><input type="checkbox" class="type" id="xlsAllCheck" onclick="xlsAll(this.form)"> 全选</span></label>
-
- </div>
-
- <div class="admin_resume_dc_p" style=" padding:10px 0;">
- <span class="admin_resume_dc_n">导出数量:</span>
- <input name='limit' type='text' class="admin_resume_dc_ntext">
- <span class="admin_web_tip admin_resume_dc_tip">数字太大会导致运行缓慢,请慎重填写。</span>
- </div>
-
- <div class="admin_resume_dc_sub" style="margin-top:10px;">
- <input type="button" onClick="check_xls();" value='确认' class="admin_resume_dc_bth1">
- <input type="button" onClick="layer.closeAll();" class="admin_resume_dc_bth2" value='取消'>
- </div>
- </form>
- </div>
- </div>
- </div>
-
- <!-- 生成LOGO -->
- <div id="logoHb" style="display:none;">
- <div class=" ">
- <ul id="logo_ul" class="comlogo_tit">
- <li class="curr" data-id="one">智能生成</li>
- <li data-id="two">上传图片</li>
- </ul>
- <div class="logo_box logo_one">
- <table cellspacing='1' cellpadding='1' class="admin_examine_table">
- <tr>
- <th width="80">文字说明:</th>
- <td align="left">
- <div class="layui-input-block">
- <input type="text" id="logoComName" class="tty_input t_w200" value="" placeholder="在此输入名称最多四个汉字 ">
- </div>
- </td>
- </tr>
- <tr>
- <th width="80">背景模板:</th>
- <td>
- <ul id="hb_ul">
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['hbBgA']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <li class="logo_box_img" data-hb="<?php echo $_smarty_tpl->tpl_vars['k']->value+1;?>
-">
- <img src="<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
-" width="40" height="40" />
- </li>
- <?php } ?>
- </ul>
- <div class="logo_box_imgtip ">点击颜色选择背景模板</div>
- </td>
- </tr>
- <tr>
- <th width="80"></th>
- <td align="left">
- <div class="logo_box_bthbox">
- <input type="button" onclick="makeLogoHb();" class="logo_box_bth" value='生成'>
- <input type="submit" onclick="previewLogoHb();" value='预览' class="logo_box_bth_y">
- </div>
- </td>
- </tr>
- </table>
- </div>
- <div class="logo_box logo_two none">
- <div class="" id="logoTd">
- <div class="logo_box_sc">
- <div class="logo_box_sc_c"><img id="logo" src="" width="140" height="140" class="none"></div>
- </div>
- <div class="logo_box_button">
- <div class="logo_box_button_c">
- <button type="button" class="yun_bth_pic adminupload">上传图片</button>
- <input type="hidden" id="layupload_type" value="2"/>
- <input type="hidden" id="notoken" value="1"/>
- </div>
- </div>
- <div class="logo_box_p">直接上传企业logo</div>
- </div>
- </div>
- <input id="logoUid" value="" type="hidden"/>
- <input id="logoBg" value="" type="hidden"/>
- </div>
- </div>
- <!-- 生成LOGOend -->
-
- <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['adminstyle']->value)."/member_send_email.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
- <div id="comrating" style="display: none;">
- <div style="width: 710px;">
- <form class="layui-form" action="index.php?m=admin_company&c=uprating" target="supportiframe" method="post" autocomplete="off">
- <table cellspacing='1' cellpadding='1' class="table_form contentWrap" width="100%" style="border-spacing: 5px 18px;margin: 0;">
- <tr>
- <th align="right">会员等级:</th>
- <td align="left">
- <div class="layui-input-block" style="width: 162px;">
- <select name="rating" id="ratingid" lay-filter="rating">
- <?php $_smarty_tpl->tpl_vars['ratlist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['ratlist']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['ratingarr']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['ratlist']->key => $_smarty_tpl->tpl_vars['ratlist']->value) {
-$_smarty_tpl->tpl_vars['ratlist']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['ratlist']->key;
-?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
-"><?php echo $_smarty_tpl->tpl_vars['ratlist']->value;?>
-</option>
- <?php } ?>
- </select>
- </div>
- </td>
- <th align="right" class="comp_hotjob_line">账户<?php echo $_smarty_tpl->tpl_vars['config']->value['integral_pricename'];?>
-:</th>
- <td>
- <div class="admin_company_width220">
- <input type="text" name="integral" id="integral" size="15" class="tty_input t_w150" value="" />
- </div>
- </td>
- </tr>
- <tr class="admin_table_trbg">
- <th align="right">到期时间:</th>
- <td id="vipetime_container">
- <input type="text" name="vipetime" id="vipetime" lay-verify="required" autocomplete="off" class="tty_input t_w150 t_w150time">
- </td>
- <th align="right" class="comp_hotjob_line">企业推广:</th>
- <td>
- <input type="checkbox" name="hotjob" id="hotjob" title="设为名企" />
- </td>
- </tr>
- <tr>
- <th align="right">发布职位数:</th>
- <td>
- <input type="text" name="job_num" id="job_num" size="15" class="tty_input t_w150" onKeyUp="this.value=this.value.replace(/[^0-9]/g,'')" />
- </td>
- <th align="right" class="comp_hotjob_line">刷新职位数:</th>
- <td>
- <input type="text" name="breakjob_num" id="breakjob_num" size="15" class="tty_input t_w150" onKeyUp="this.value=this.value.replace(/[^0-9]/g,'')" />
- </td>
- </tr>
- <tr class="admin_table_trbg">
- <th align="right">剩余下载数:</th>
- <td><input type="text" name="down_resume" id="down_resume" size="15" class="tty_input t_w150" onKeyUp="this.value=this.value.replace(/[^0-9]/g,'')" /></td>
- <th align="right" class="comp_hotjob_line">邀请面试:</th>
- <td><input type="text" name="invite_resume" id="invite_resume" size="15" class="tty_input t_w150" onKeyUp="this.value=this.value.replace(/[^0-9]/g,'')" /></td>
- </tr>
- <tr class="admin_table_trbg">
- <th align="right">招聘会报名次数:</th>
- <td><input type="text" name="zph_num" id="zph_num" size="15" class="tty_input t_w150" onKeyUp="this.value=this.value.replace(/[^0-9]/g,'')" /></td>
- <th align="right" class="comp_hotjob_line">置顶天数:</th>
- <td><input type="text" name="top_num" id="top_num" size="15" class="tty_input t_w150" onKeyUp="this.value=this.value.replace(/[^0-9]/g,'')" /></td>
-
- </tr>
- <tr>
- <th align="right">紧急天数:</th>
- <td>
- <input type="text" name="urgent_num" id="urgent_num" size="15" class="tty_input t_w150" onKeyUp="this.value=this.value.replace(/[^0-9]/g,'')" />
- </td>
- <th align="right" class="comp_hotjob_line">推荐天数:</th>
- <td>
- <input type="text" name="rec_num" id="rec_num" size="15" class="tty_input t_w150" onKeyUp="this.value=this.value.replace(/[^0-9]/g,'')" />
- </td>
- </tr>
- <tr>
- <th align="right">子账号数量:</th>
- <td>
- <input type="text" name="sons_num" id="sons_num" size="15" class="tty_input t_w150" onKeyUp="this.value=this.value.replace(/[^0-9]/g,'')" />
- </td>
- <th align="right" class="comp_hotjob_line"><?php echo $_smarty_tpl->tpl_vars['config']->value['sy_chat_name'];?>
-对象数:</th>
- <td>
- <input type="text" name="chat_num" id="chat_num" size="15" class="tty_input t_w150" onKeyUp="this.value=this.value.replace(/[^0-9]/g,'')" />
- </td>
- </tr>
- <tr>
- <th align="right">视频面试数</th>
- <td>
- <input type="text" name="spview_num" id="spview_num" size="15" class="tty_input t_w150" onKeyUp="this.value=this.value.replace(/[^0-9]/g,'')" />
- </td>
- </tr>
- <tr>
- <th align="center" colspan="4" style="text-align: center; border-right: 0px;">
- <input type="submit" value='确认' class="admin_examine_bth" />
- <input type="button" class="admin_examine_bth_qx closebutton" value='取消' />
- </th>
- </tr>
- </table>
- <input type="hidden" name="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- <input type="hidden" name="rating_name" id="rating_name" value="">
- <input type="hidden" name="oldetime" id="oldetime" value="">
- <input name="ratuid" id="ratuid" value="0" type="hidden">
- </form>
- </div>
- </div>
-
- <!-- 审核弹出框 -->
- <div id="infobox2" style="display:none;">
- <form class="layui-form" action="index.php?m=admin_company&c=status" target="supportiframe" method="post" onsubmit="return htStatus()">
- <table cellspacing='1' cellpadding='1' class="admin_examine_table">
- <tr>
- <th width="80">审核操作:</th>
- <td align="left">
- <div class="layui-input-block">
- <input name="status" id="status0" value="0" title="未审核" type="radio" />
- <input name="status" id="status1" value="1" title="已审核" type="radio" />
- <input name="status" id="status3" value="3" title="未通过" type="radio" />
- </div>
- </td>
- </tr>
- <tr>
- <th class="t_fr">审核说明:</th>
- <td align="left"><textarea id="statusbody" name="statusbody" class="admin_explain_textarea"></textarea></td>
- </tr>
- <tr>
- <td colspan='2' align="center">
- <input type="submit" value='确认' class="admin_examine_bth">
- <input type="button" class="admin_examine_bth_qx closebutton" value='取消'>
- </td>
- </tr>
- </table>
- <input type="hidden" name="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- <input name="uid" value="0" type="hidden">
- </form>
- </div>
- <!-- 审核弹出框End -->
-
- <div id="deleS_div" style="display:none; width: 390px; ">
- <form class="layui-form" action="index.php?m=admin_company&c=del" target="supportiframe" method="post" onsubmit="return loadlayer();">
- <table cellspacing='1' cellpadding='1' class="admin_examine_table">
- <tr>
- <td align="center">
- <input type="checkbox" value='1' name="delAccount" title="同步删除账号" lay-skin="primary" />
- </td>
- </tr>
- <tr>
- <td align="center">
- <span class="admin_web_tip">勾选删除账号所有数据信息</span>
- </td>
- </tr>
- <tr>
- <td colspan='2' align="center">
- <input type="submit" value='确认' class="admin_examine_bth">
- <input type="button" id="zxxCancelBtn" onClick="layer.closeAll();" class="admin_examine_bth_qx" value='取消'>
- </td>
- </tr>
- </table>
- <input type="hidden" name="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- <input name="del" value="0" type="hidden">
- </form>
- </div>
-
- <div class="infoboxp">
-
- <div class="tty-tishi_top">
- <div class="tabs_info">
- <ul>
- <li <?php if ($_GET['time']!=5&&!$_GET['c']) {?>class="curr" <?php }?>>
- <a href="index.php?m=admin_company">全部会员</a>
- </li>
- <li <?php if ($_GET['time']==5&&!$_GET['c']) {?>class="curr" <?php }?>>
- <a href="index.php?m=admin_company&time=5">过期会员</a>
- </li>
- <li <?php if ($_GET['c']) {?>class="curr" <?php }?>>
- <a href="index.php?m=user_member&c=writtenOffLog&utype=2" >解绑记录</a>
- </li>
- <li <?php if ($_GET['c']) {?>class="curr" <?php }?>>
- <a href="index.php?m=admin_company&c=member_log">会员日志</a>
- </li>
- </ul>
- </div>
-
-
-
- <div class="clear"></div>
-
- <div class="admin_new_search_box">
-
- <div class="admin_new_search_name">搜索类型:</div>
-
- <form action="index.php" name="myform" method="get">
-
- <input type="hidden" name="m" value="admin_company" />
- <input type="hidden" name="status" value="<?php echo $_GET['status'];?>
-" />
- <input type="hidden" name="rec" value="<?php echo $_GET['rec'];?>
-" />
- <input type="hidden" name="time" value="<?php echo $_GET['time'];?>
-" />
- <input type="hidden" name="rating" value="<?php echo $_GET['rating'];?>
-" />
-
- <div class="admin_Filter_text formselect" did="dcom_type">
- <input type="button" <?php if ($_GET['type']=='1'||$_GET['type']=='') {?> value="企业名称" <?php } elseif ($_GET['type']=='2') {?> value="用户名称" <?php } elseif ($_GET['type']=='3') {?> value="联系人" <?php } elseif ($_GET['type']=='4') {?> value="联系电话" <?php } elseif ($_GET['type']=='5') {?> value="用户邮箱" <?php } elseif ($_GET['type']=='6') {?> value="用户ID" <?php }?> class="admin_new_select_text" id="bcom_type">
-
- <input type="hidden" name="type" id="com_type" value="<?php if ($_GET['type']) {
-echo $_GET['type'];
-} else { ?>1<?php }?>" />
-
- <div class="admin_Filter_text_box" style='display: none' id="dcom_type">
- <ul>
- <li><a href="javascript:void(0)" onClick="formselect('1','com_type','企业名称')">企业名称</a></li>
- <li><a href="javascript:void(0)" onClick="formselect('2','com_type','用户名称')">用户名称</a></li>
- <li><a href="javascript:void(0)" onClick="formselect('3','com_type','联系人')">联系人</a></li>
- <li><a href="javascript:void(0)" onClick="formselect('4','com_type','联系电话')">联系电话</a></li>
- <li><a href="javascript:void(0)" onClick="formselect('5','com_type','用户邮箱')">用户邮箱</a></li>
- <li><a href="javascript:void(0)" onClick="formselect('6','com_type','用户ID')">用户ID</a></li>
- </ul>
- </div>
- </div>
- <input type="text" placeholder="输入你要搜索的关键字" name="keyword" class="admin_new_text">
- <input type="submit" name='news_search' value="搜索" class="admin_new_bth" />
-
- <a href="javascript:void(0)" onclick="$('.admin_screenlist_box').toggle();" class="admin_new_search_gj">高级搜索</a>
- <a href="index.php?m=admin_company&c=add" class="admin_new_cz_tj">+ 添加企业</a>
- </form>
-
- <?php echo $_smarty_tpl->getSubTemplate ("admin/admin_search.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-
- </div>
-
- <div class="clear"></div>
- </div>
-
- <div class="tty_table-bom">
- <div class="admin_statistics">
- <span class="tty_sjtj_color">数据统计:</span>
- <em class="admin_statistics_s">总数:<a href="index.php?m=admin_company" class="ajaxcompanyall">0</a></em>
- <em class="admin_statistics_s">未审核:<a href="index.php?m=admin_company&status=4" class="ajaxcompanystatus1">0</a></em>
- <em class="admin_statistics_s">未通过:<a href="index.php?m=admin_company&status=3" class="ajaxcompanystatus2">0</a></em>
- <em class="admin_statistics_s">已锁定:<a href="index.php?m=admin_company&status=2" class="ajaxcompanystatus3">0</a></em>
- 搜索结果:<span><?php echo $_smarty_tpl->tpl_vars['total']->value;?>
-</span>;
- </div>
-
- <div class="clear"></div>
-
- <div class="table-list" style="color:#898989">
- <div class="admin_table_border">
- <iframe id="supportiframe" name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
- <form action="index.php" name="myform" method="get" id='myform' target="supportiframe">
-
- <input type="hidden" name="pytoken" id='pytoken' value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- <input name="m" value="admin_company" type="hidden" />
- <input name="c" value="del" type="hidden" />
- <table width="100%">
- <thead>
- <tr class="admin_table_top">
- <th style="width: 20px;">
- <label for="chkall"><input type="checkbox" id='chkAll' onclick='CheckAll(this.form)' /></label>
- </th>
- <th>
- <?php if ($_GET['t']=="uid"&&$_GET['order']=="asc") {?>
- <a href="<?php echo smarty_function_searchurl(array('order'=>'desc','t'=>'uid','m'=>'admin_company','untype'=>'order,t'),$_smarty_tpl);?>
-">用户ID<img src="images/sanj.jpg" /></a>
- <?php } else { ?>
- <a href="<?php echo smarty_function_searchurl(array('order'=>'asc','t'=>'uid','m'=>'admin_company','untype'=>'order,t'),$_smarty_tpl);?>
-">用户ID<img src="images/sanj2.jpg" /></a>
- <?php }?>
- </th>
- <th align="left" width="150">名称/用户名/邮箱</th>
- <th align="left">等级/到期时间</th>
- <th align="left">联系电话/邮箱/认证</th>
- <th align="left">企业Logo</th>
- <th>登录/注册/来源</th>
- <th>职位数</th>
- <th>设为名企</th>
- <th>站点</th>
- <th>企业顾问</th>
- <th width="60">审核</th>
- <th width="120">操作</th>
- </tr>
- </thead>
- <tbody>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['rows']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <tr align="center" <?php if (($_smarty_tpl->tpl_vars['key']->value+1)%2=='0') {?>class="admin_com_td_bg"<?php }?> id="list<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-">
- <td><input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-" class="check_all" name='del[]' onclick='unselectall()' rel="del_chk" /></td>
- <td align="left" class="td1" style="text-align: center;">
- <span><?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-</span>
- </td>
- <td align="left">
- <div class="">
- <a href="<?php echo $_smarty_tpl->tpl_vars['v']->value['comUrl'];?>
-" target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
- <?php if ($_smarty_tpl->tpl_vars['v']->value['shortname']) {?>【简称:<?php echo $_smarty_tpl->tpl_vars['v']->value['shortname'];?>
-】<?php }?>">
- <?php echo mb_substr($_smarty_tpl->tpl_vars['v']->value['name'],0,10,"utf-8");?>
-
- <?php if (strlen($_smarty_tpl->tpl_vars['v']->value['name'])>10) {?>...<?php }?>
- <?php if ($_smarty_tpl->tpl_vars['v']->value['shortname']) {?>【<?php echo $_smarty_tpl->tpl_vars['v']->value['shortname'];?>
-】<?php }?>
- </a>
- </div>
- <div class="mt5">
- <a href="javascript:void(0)" class="admin_com_name" onclick="toMember('index.php?m=admin_company&c=Imitate&uid=<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-','<?php echo $_smarty_tpl->tpl_vars['v']->value['usertype'];?>
-')"><?php echo $_smarty_tpl->tpl_vars['v']->value['username'];?>
-</a>
- <?php if ($_smarty_tpl->tpl_vars['v']->value['status']==2) {?> <img src="../config/ajax_img/suo.png" title="已锁定" width="15"><?php }?>
- </div>
- </td>
-
- <td align="left">
- <?php if ($_smarty_tpl->tpl_vars['today']->value<=$_smarty_tpl->tpl_vars['v']->value['vipetime']||($_smarty_tpl->tpl_vars['v']->value['vipetime']=='0'&&$_smarty_tpl->tpl_vars['v']->value['rating']>'0')) {?>
- <?php echo $_smarty_tpl->tpl_vars['v']->value['rating_name'];?>
-
- <?php } else { ?>
- <b style="color: red;" class="oldrating">
- <?php if ($_smarty_tpl->tpl_vars['v']->value['oldrating_name']) {?>
- <?php echo $_smarty_tpl->tpl_vars['v']->value['oldrating_name'];?>
-
- <?php } else { ?>
- <?php echo $_smarty_tpl->tpl_vars['v']->value['rating_name'];?>
-
- <?php }?>
- </b>
- <?php }?>
- <a data-uid="<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-" href="javascript:void(0);" class="comrating">
- <span class="admin_company_xg_icon">[修改]</span>
- </a>
- <?php if ($_smarty_tpl->tpl_vars['v']->value['vipetime']=='0') {?>
- <div class="mt5">不限</div>
- <?php } else { ?>
- <?php if ($_smarty_tpl->tpl_vars['today']->value<=$_smarty_tpl->tpl_vars['v']->value['vipetime']) {?>
- <div class="mt5"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['v']->value['vipetime'],"%Y-%m-%d");?>
-</div>
- <?php } else { ?>
- <div class="mt5" style="color: red;"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['v']->value['vipetime'],"%Y-%m-%d");?>
-</div>
- <?php }?>
- <?php }?>
- </td>
- <td align="left">
- <div>
- <?php if ($_smarty_tpl->tpl_vars['v']->value['linktel']) {?>
- <span class="admin_new_sj"><?php echo $_smarty_tpl->tpl_vars['v']->value['linktel'];?>
-</span>
-
-
- <?php } elseif ($_smarty_tpl->tpl_vars['v']->value['linkphone']) {?>
- <span class="admin_new_sj"><?php echo $_smarty_tpl->tpl_vars['v']->value['linkphone'];?>
-</span>
-
- <?php }?>
- </div>
- <?php if ($_smarty_tpl->tpl_vars['v']->value['linkmail']) {?>
- <div class="mt5">
- <span class="admin_new_yx"><?php echo $_smarty_tpl->tpl_vars['v']->value['linkmail'];?>
-</span>
- </div>
- <?php }?>
- <div class="mt5">
- <?php if ($_smarty_tpl->tpl_vars['v']->value['moblie_status']==1) {?>
- <img src="../config/ajax_img/2-1.png" msg="手机已绑定" data-status="<?php echo $_smarty_tpl->tpl_vars['v']->value['moblie_status'];?>
-" data-url="<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-" data-phone="<?php echo $_smarty_tpl->tpl_vars['v']->value['linktel'];?>
-" data-name="<?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-" class="company_rzpng mt_phone" width="20" height="20">
- <?php } else { ?>
- <img src="../config/ajax_img/2-2.png" msg="手机未绑定" data-status="<?php echo $_smarty_tpl->tpl_vars['v']->value['moblie_status'];?>
-" data-url="<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-" data-phone="<?php echo $_smarty_tpl->tpl_vars['v']->value['linktel'];?>
-" data-name="<?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-" class="company_rzpng mt_phone" width="20" height="20">
- <?php }?>
-
- <?php if ($_smarty_tpl->tpl_vars['v']->value['wxid']!=''||$_smarty_tpl->tpl_vars['v']->value['wxopenid']!=''||$_smarty_tpl->tpl_vars['v']->value['app_wxid']!='') {?>
- <img src="../config/ajax_img/4-1.png" class="wxBindmsgs" msg="<?php echo $_smarty_tpl->tpl_vars['v']->value['wxBindmsg'];?>
-" onclick="showQrcode('<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-','<?php echo $_smarty_tpl->tpl_vars['v']->value['wxid'];?>
-')" width="20" height="20" />
- <?php } else { ?>
- <img src="../config/ajax_img/4-2.png" class="wxBindmsgs" msg="<?php echo $_smarty_tpl->tpl_vars['v']->value['wxBindmsg'];?>
-" onclick="showQrcode('<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-','<?php echo $_smarty_tpl->tpl_vars['v']->value['wxid'];?>
-')" width="20" height="20" />
- <?php }?>
-
- <?php if ($_smarty_tpl->tpl_vars['v']->value['yyzz_status']==1) {?>
- <img src="../config/ajax_img/3-1.png" msg="企业资质已认证" data-url="<?php echo $_smarty_tpl->tpl_vars['v']->value['yyzzurl'];?>
-" data-ourl="<?php echo $_smarty_tpl->tpl_vars['v']->value['owner_cert_url'];?>
-" data-wurl="<?php echo $_smarty_tpl->tpl_vars['v']->value['wt_cert_url'];?>
-" data-otherurl="<?php echo $_smarty_tpl->tpl_vars['v']->value['other_cert_url'];?>
-" data-uid="<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-" data-name="<?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-" data-status="<?php echo $_smarty_tpl->tpl_vars['v']->value['yyzz_status'];?>
-" data-scredit="<?php echo $_smarty_tpl->tpl_vars['v']->value['social_credit'];?>
-" class="company_rzpng m_yyzz" width="20" height="20">
- <?php } else { ?>
- <img src="../config/ajax_img/3-2.png" msg="企业资质未认证" data-url="<?php echo $_smarty_tpl->tpl_vars['v']->value['yyzzurl'];?>
-" data-ourl="<?php echo $_smarty_tpl->tpl_vars['v']->value['owner_cert_url'];?>
-" data-wurl="<?php echo $_smarty_tpl->tpl_vars['v']->value['wt_cert_url'];?>
-" data-otherurl="<?php echo $_smarty_tpl->tpl_vars['v']->value['other_cert_url'];?>
-" data-uid="<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-" data-name="<?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-" data-status="<?php echo $_smarty_tpl->tpl_vars['v']->value['yyzz_status'];?>
-" data-scredit="<?php echo $_smarty_tpl->tpl_vars['v']->value['social_credit'];?>
-" class="company_rzpng m_yyzz" width="20" height="20">
- <?php }?>
- <?php if ($_smarty_tpl->tpl_vars['v']->value['email_status']==1) {?>
- <img src="../config/ajax_img/1-1.png" msg="邮箱已认证" data-status="<?php echo $_smarty_tpl->tpl_vars['v']->value['email_status'];?>
-" data-url="<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-" data-mail="<?php echo $_smarty_tpl->tpl_vars['v']->value['linkmail'];?>
-" data-name="<?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-" class="company_rzpng mt_email" width="20" height="20">
- <?php } else { ?>
-
- <img src="../config/ajax_img/1-2.png" msg="邮箱未认证" data-status="<?php echo $_smarty_tpl->tpl_vars['v']->value['email_status'];?>
-" data-url="<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-" data-mail="<?php echo $_smarty_tpl->tpl_vars['v']->value['linkmail'];?>
-" data-name="<?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-" class="company_rzpng mt_email" width="20" height="20">
- <?php }?>
- </div>
- </td>
- <td align="left">
- <?php if ($_smarty_tpl->tpl_vars['v']->value['logo']) {?>
- <a href="javascript:;" onclick="makeLogo('<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-', '<?php echo $_smarty_tpl->tpl_vars['v']->value['shortname'];?>
-', '<?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-', 2);">
- <img src="<?php echo $_smarty_tpl->tpl_vars['v']->value['logo'];?>
-" width="88px" height="88px" style="height: 88px; width: 88px; border-radius: 10px;" />
- </a>
- <?php } else { ?>
- <a href="javascript:void(0);" onclick="makeLogo('<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-', '<?php echo $_smarty_tpl->tpl_vars['v']->value['shortname'];?>
-', '<?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-', 1);" class="layui-btn layui-btn-small">生成LOGO</a>
- <?php }?>
- </td>
- <td>
- <?php if ($_smarty_tpl->tpl_vars['v']->value['login_date']) {?>
- <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['v']->value['login_date'],"%Y-%m-%d %H:%M");?>
-
- <?php } else { ?>
- 未登录
- <?php }?>
- <div class=""><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['v']->value['reg_date'],"%Y-%m-%d %H:%M");?>
-</div>
- <div class=""><?php echo $_smarty_tpl->tpl_vars['source']->value[$_smarty_tpl->tpl_vars['v']->value['source']];?>
-</div>
- </td>
-
- <td align="center">
- <div>
- <a href="index.php?m=admin_company_job&uid=<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-" class="admin_cz_sc"><?php if ($_smarty_tpl->tpl_vars['v']->value['jobnum']>0) {
-echo $_smarty_tpl->tpl_vars['v']->value['jobnum'];
-} else { ?><font color="red">0</font><?php }?>个</a>
- </div>
- <div>
- <a href="index.php?m=admin_company_job&c=show&uid=<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-" class="admin_cz_sc"><span class="admin_company_xg_icon">添加</span></a>
- </div>
- </td>
- <td>
- <div style="width: 84px;">
- <?php if ($_smarty_tpl->tpl_vars['v']->value['hottime']&&$_smarty_tpl->tpl_vars['v']->value['rec']==1) {?>
- <div class="">
- <?php if ($_smarty_tpl->tpl_vars['v']->value['hottime']>=time()) {?>
- <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['v']->value['hottime'],"%Y-%m-%d");?>
-
- <?php } else { ?>
- <font color='red'><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['v']->value['hottime'],"%Y-%m-%d");?>
-</font>
- <?php }?>
- </div>
- <a href="javascript:void(0);" onClick="showdiv3('<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-');" class="admin_cz_sc">
- <span class="admin_company_xg_icon">修改</span>
- </a>/
- <a href="javascript:void(0);" onClick="layer_del('确定要取消该名企?','index.php?m=admin_hotjob&c=del&del=<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-');" class="admin_cz_sc">
- <span class="admin_company_xg_icon">取消</span>
- </a>
-
- <?php } else { ?>
- <?php if ($_smarty_tpl->tpl_vars['v']->value['name']) {?>
- <a href="javascript:void(0);" onClick="showdiv('<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-');" class="admin_cz_sc">
- <span class="admin_company_xg_icon">设为名企</span></a>
- <?php } else { ?>
- <a href="javascript:void(0);" onClick="layer.msg('请先完善企业资料',2,8);" class="admin_cz_sc">
- <span class="admin_company_xg_icon">设为名企</span></a>
- <?php }?>
- <?php }?>
- </div>
- </td>
-
- <td>
- <div><?php echo $_smarty_tpl->tpl_vars['Dname']->value[$_smarty_tpl->tpl_vars['v']->value['did']];?>
-</div>
- <div>
- <a href="javascript:;" onclick="checksite('<?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-','<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-','index.php?m=admin_company&c=checksitedid');" class="admin_company_xg_icon">
- <span class="admin_company_xg_icon">分配</span>
- </a>
- </div>
- </td>
-
- <td align="center">
- <?php if ($_smarty_tpl->tpl_vars['v']->value['crm_uid']) {?>
- <div><?php echo $_smarty_tpl->tpl_vars['v']->value['crm_name'];?>
-</div>
- <div>
- <a href="javascript:void(0);" onclick="checkguwen('<?php echo $_smarty_tpl->tpl_vars['v']->value['username'];?>
-','<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-','index.php?m=admin_company&c=checkguwen');" class="admin_company_xg_icon">
- <span class="admin_company_xg_icon">分配</span>
- </a>
- </div>
- <?php } else { ?>
- <div>未分配</div>
- <div>
- <a href="javascript:void(0);" onclick="checkguwen('<?php echo $_smarty_tpl->tpl_vars['v']->value['username'];?>
-','<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-','index.php?m=admin_company&c=checkguwen');" class="admin_company_xg_icon">
- <span class="admin_company_xg_icon">分配</span>
- </a>
- </div>
- <?php }?>
- </td>
-
- <td>
- <?php if ($_smarty_tpl->tpl_vars['v']->value['r_status']=='1') {?>
- <span class="admin_com_Audited">已审核</span>
- <?php } elseif ($_smarty_tpl->tpl_vars['v']->value['r_status']=='2') {?>
- <span class="admin_com_Lock">已锁定</span>
- <?php } elseif ($_smarty_tpl->tpl_vars['v']->value['r_status']=='3') {?>
- <span class="admin_com_tg">未通过</span>
- <?php } elseif ($_smarty_tpl->tpl_vars['v']->value['r_status']=='4') {?>
- <span class="admin_com_tg">已暂停</span>
- <?php } else { ?>
- <span class="admin_com_noAudited">未审核</span>
- <?php }?>
-
- </td>
-
- <td align="left">
- <a href="javascript:void(0);" uid="<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-" status="<?php echo $_smarty_tpl->tpl_vars['v']->value['r_status'];?>
-" class="admin_new_c_bth admin_new_c_bthsh status" title="审核">审核</a>
- <a href="index.php?m=admin_company&c=edit&id=<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-&rating=<?php echo $_smarty_tpl->tpl_vars['v']->value['rating'];?>
-" class="admin_new_c_bth" title="修改密码、信息、套餐">修改</a>
-
- <br>
- <a href="index.php?m=admin_company&c=member_log&uid=<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-" class="admin_new_c_bth admin_new_c_rz mt5" title="查看企业操作记录">日志</a>
-
-
- <a href="javascript:void(0);" class="admin_new_c_bth admin_new_c_bth_sc deleS" uid="<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-" title="删除关于该企业所有记录">删除</a>
-
-
- <br>
- <a href="javascript:void(0)" class="admin_new_c_bth admin_new_c_rz mt5 logtj" loguid='<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-' logusertype='2'>轨迹</a>
- <a href="javascript:;" onclick="manage('<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
-','<?php echo $_smarty_tpl->tpl_vars['v']->value['comUrl'];?>
-')" class="admin_new_c_bth admin_new_c_bth_more mt5" title="包括积分管理、订单记录、下载简历、收到简历、面试邀请、企业环境、企业模板、招聘分析、短信邮箱联系会员">更多</a>
- </td>
- </tr>
- <?php } ?>
- <tr>
- <td align="center"><label for="chkall2"><input type="checkbox" id='chkAll2' onclick='CheckAll2(this.form)' /></label></td>
- <td colspan="12">
- <label for="chkAll2">全选</label>
- <input class="admin_button" type="button" name="delsub" value="批量审核" onClick="audall();" />
-
- <?php if ($_smarty_tpl->tpl_vars['email_promiss']->value) {?>
- <input class="admin_button" type="button" value="发邮件" onclick="return confirm_email('确定发邮件吗?','email_div')" />
- <?php }?>
-
- <?php if ($_smarty_tpl->tpl_vars['moblie_promiss']->value) {?>
- <input class="admin_button" type="button" value="发信息" onclick="return confirm_email('确定发信息吗?','moblie_div')" />
- <?php }?>
-
- <input class="admin_button" type="button" name="delsub" value="删除所选" onClick="return delUser('del[]')" />
-
- <input class="admin_button" type="button" name="delsub" value="导出" onClick="Export();" />
- <input class="admin_button" type="button" name="delsub" value="批量选择分站" onClick="checksiteall('index.php?m=admin_company&c=checksitedid');" />
- <input class="admin_button" type="button" name="delsub" value="批量分配顾问" onClick="checkguwenall('index.php?m=admin_company&c=checkguwen');" />
- <input class="admin_button" type="button" name="delsub" value="批量认证" onclick="return batch('del[]')" />
- </td>
- </tr>
-
- <?php if ($_smarty_tpl->tpl_vars['total']->value>$_smarty_tpl->tpl_vars['config']->value['sy_listnum']) {?>
- <tr>
- <?php if ($_smarty_tpl->tpl_vars['pagenum']->value==1) {?>
- <td colspan="3">从 1 到 <?php echo $_smarty_tpl->tpl_vars['config']->value['sy_listnum'];?>
- ,总共 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
- 条</td>
- <?php } elseif ($_smarty_tpl->tpl_vars['pagenum']->value>1&&$_smarty_tpl->tpl_vars['pagenum']->value<$_smarty_tpl->tpl_vars['pages']->value) {?>
- <td colspan="3">从 <?php echo ($_smarty_tpl->tpl_vars['pagenum']->value-1)*$_smarty_tpl->tpl_vars['config']->value['sy_listnum']+1;?>
- 到 <?php echo $_smarty_tpl->tpl_vars['pagenum']->value*$_smarty_tpl->tpl_vars['config']->value['sy_listnum'];?>
- ,总共 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
- 条</td>
- <?php } elseif ($_smarty_tpl->tpl_vars['pagenum']->value==$_smarty_tpl->tpl_vars['pages']->value) {?>
- <td colspan="3">从 <?php echo ($_smarty_tpl->tpl_vars['pagenum']->value-1)*$_smarty_tpl->tpl_vars['config']->value['sy_listnum']+1;?>
- 到 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
- ,总共 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
- 条</td>
- <?php }?>
- <td colspan="10" class="digg"><?php echo $_smarty_tpl->tpl_vars['pagenav']->value;?>
-</td>
- </tr>
- <?php }?>
- </tbody>
- </table>
- </form>
- </div>
- </div>
- </div>
- </div>
- <div id="acwxbind" class="wx_login_show none">
- <div class="job_tel_wx_box">
- <div id="wx_login_qrcode" class=" job_tel_wx_zs">正在获取二维码...</div>
- <div class="job_tel_wx_p"><span class="job_tel_wx_bth">将二维码发给企业,企业扫码后绑定</span></div>
- <div id="wx_sx" class="none">
- <div class="fast_login_show_sxbox"><a href="javascript:void(0);" onclick="getwxlogincode()" class="fast_login_show_sxicon"></a>二维码已失效点击刷新</div>
- </div>
- </div>
- </div>
-
- <?php echo '<script'; ?>
->
-
- $(document).ready(function() {
- $('body').click(function(evt) {
- if ($(evt.target).parents("#gw_name").length == 0 && evt.target.id != "gw_name") {
- $('#gw_select').hide();
- }
- });
-
- $(".preview").hover(function(){
- var pic_url=$(this).attr('url');
- layer.tips("<img src="+pic_url+" style='max-width:120px'>", this, {
- guide:3,
- style: ['background-color:#5EA7DC; color:#fff;top:-7px;left:-20px', '#5EA7DC']
- });
- $(".xubox_layer").addClass("xubox_tips_border");
- },function(){layer.closeAll('tips');});
- $(".oldrating").hover(function(){
- if($(this).text().trim() != '过期会员'){
- layer.tips("过期前会员套餐", this, {tips:1});
- }
- },function(){layer.closeAll('tips');});
- });
- /* 删掉已经绑定时间插件的旧输入框,重新添加一个新的输入框 */
- function updateVipEtimeInput(){
- $("input[name='vipetime']").remove();
- $('#vipetime_container').append('<input type="text" name="vipetime" id="vipetime" lay-verify="required" autocomplete="off" class="tty_input t_w150 t_w150time">');
- }
-
- /* 批量审核 */
- function audall() {
- var codewebarr = "";
-
- $(".check_all:checked").each(function() {
- if (codewebarr == "") {
- codewebarr = $(this).val();
- } else {
- codewebarr = codewebarr + "," + $(this).val();
- }
- });
-
- if (codewebarr == "") {
- parent.layer.msg('您还未选择需要审核的用户!', 2, 8);
- return false;
- } else {
- $("input[name=uid]").val(codewebarr);
- $("#statusbody").val('');
- $("input[name='status']").attr('checked', false);
- $.layer({
- type : 1,
- title : '企业用户审核',
- closeBtn : [ 0, true ],
- border : [ 10, 0.3, '#000', true ],
- area : [ '410px', '240px' ],
- page : {
- dom : "#infobox2"
- }
- });
- }
- }
-
- $(function() {
- /* 审核操作 */
- $(".status").click(function() {
- var uid = $(this).attr("uid");
- var status = $(this).attr("status");
- if(status==2 || status==4){
- var status_msg = '锁定';
- if(status==4){
- status_msg = '暂停';
- }
- parent.layer.msg('当前用户为已'+ status_msg +'状态,无法进行审核操作', 2, 8);
- return false;
- }
- $("input[name='status']").attr('checked', false);
- $("#status" + status).attr("checked", true);
- layui.use([ 'form' ], function() {
- var form = layui.form;
- form.render();
- });
- var pytoken = $("#pytoken").val();
-
- $("input[name=uid]").val(uid);
- $.post("index.php?m=admin_company&c=lockinfo", {
- uid : uid,
- pytoken : pytoken
- }, function(msg) {
- $("#statusbody").val(msg);
- $.layer({
- type : 1,
- title : '企业用户审核',
- closeBtn : [ 0, true ],
- border : [ 10, 0.3, '#000', true ],
- area : [ '400px', '240px' ],
- page : {
- dom : "#infobox2"
- }
- });
- });
- });
-
- /* 公众号,微信小程序和APP微信绑定状态显示 */
- $(".wxBindmsgs").hover(function(){
- var msg=$(this).attr('msg');
- msg += '<br/>点击图标,可弹出绑定微信二维码';
- layer.tips(msg, this, {guide: 1, style: ['background-color:#5EA7DC; color:#fff;top:-7px', '#5EA7DC'],area: ['250px', 'auto'],time:5000});
- $(".xubox_layer").addClass("xubox_tips_border");
- },function(){
-
- layer.closeAll('tips');
-
- });
-
- /* 邮箱绑定状态显示 */
- $(".mt_email").hover(function(){
- var msg=$(this).attr('msg');
- msg += '<br/>点击图标,可弹出绑定邮箱';
- layer.tips(msg, this, {guide: 1, style: ['background-color:#5EA7DC; color:#fff;top:-7px', '#5EA7DC'],area: ['200px', 'auto'],time:5000});
- $(".xubox_layer").addClass("xubox_tips_border");
- },function(){
-
- layer.closeAll('tips');
-
- });
-
- /* 手机号绑定状态显示 */
- $(".mt_phone").hover(function(){
- var msg=$(this).attr('msg');
- msg += '<br/>点击图标,可弹出绑定手机号';
- layer.tips(msg, this, {guide: 1, style: ['background-color:#5EA7DC; color:#fff;top:-7px', '#5EA7DC'],area: ['200px', 'auto'],time:5000});
- $(".xubox_layer").addClass("xubox_tips_border");
- },function(){
-
- layer.closeAll('tips');
-
- });
-
- /* 企业资质绑定状态显示 */
- $(".m_yyzz").hover(function(){
- var msg=$(this).attr('msg');
- msg += '<br/>点击图标,可查看企业资质认证';
- layer.tips(msg, this, {guide: 1, style: ['background-color:#5EA7DC; color:#fff;top:-7px', '#5EA7DC'],area: ['200px', 'auto'],time:5000});
- $(".xubox_layer").addClass("xubox_tips_border");
- },function(){
- layer.closeAll('tips');
- });
-
- /* 邮件认证 */
- $(".mt_email").click(function(data){
- var status = $(this).attr("data-status");
- var uid = $(this).attr("data-url");
- var email = $(this).attr("data-mail");
- $('#comname').html(name);
- $('#comemail').val(email);
- $('#uid').val(uid);
- $("#estatus" + status).attr("checked", true);
- layui.use([ 'form' ], function() {
- var form = layui.form;
- form.render();
- });
- $.layer({
- type : 1,
- title : '邮箱认证',
- closeBtn : [ 0, true ],
- offset : [ '80px', '' ],
- border : [ 10, 0.3, '#000', true ],
- area : [ '350px', '220px' ],
- page : {
- dom : '#renemail'
- }
- });
- })
-
- /* 手机认证 */
- $(".mt_phone").click(function(data){
- var status = $(this).attr("data-status");
- var uid = $(this).attr("data-url");
- var linktel = $(this).attr("data-phone");
- $('#comlinktel').val(linktel);
- $('#phoneuid').val(uid);
- $("#pstatus" + status).attr("checked", true);
- layui.use([ 'form' ], function() {
- var form = layui.form;
- form.render();
- });
- $.layer({
- type : 1,
- title : '手机认证',
- closeBtn : [ 0, true ],
- offset : [ '80px', '' ],
- border : [ 10, 0.3, '#000', true ],
- area : [ '350px', '220px' ],
- page : {
- dom : '#renphone'
- }
- });
- })
-
- /* 企业资质 */
- $(".m_yyzz").click( function() {
- var url = $(this).attr("data-url");
- var ourl = $(this).attr("data-ourl");
- var wurl = $(this).attr("data-wurl");
- var otherurl = $(this).attr("data-otherurl");
- var name = $(this).attr("data-name");
- var social_credit = $(this).attr("data-scredit");
- var uid = $(this).attr("data-uid");
- var pytoken = $('#pytoken').val();
- var picobj = {
- 'preview':url,
- <?php if ($_smarty_tpl->tpl_vars['config']->value['com_cert_owner']=="1") {?>'owner_cert':ourl,<?php }?>
- <?php if ($_smarty_tpl->tpl_vars['config']->value['com_cert_wt']=="1") {?>'wt_cert' :wurl,<?php }?>
- <?php if ($_smarty_tpl->tpl_vars['config']->value['com_cert_other']=="1") {?>'other_cert':otherurl<?php }?>
- };
- $("#comname").html(name);
- if($("#social_credit")){
- $("#social_credit").html(social_credit);
- }
- $("#comuid").val(uid);
- $("#comstatus" + status).attr("checked", true);
- layui.use([ 'form' ], function() {
- var form = layui.form;
- form.render();
- });
- $.post("index.php?m=comcert&c=sbody", {uid: uid,pytoken: pytoken}, function(msg) {
- $("#renzhencontent").val(msg);
- });
-
- for(let i in picobj){
- if($("#"+i+"_show")){
- $("#"+i+"_show").html("<img src='" + picobj[i] + "' style='width:100px;height:100px' />");
- if(picobj[i]){
- // $("#"+i+"_url").attr("href",picobj[i]);
- $("#zw_"+i).hide();
- $("#"+i+"_url").show();
- }else{
- $("#"+i+"_url").hide();
- $("#noyyzz").val('1');
- $("#zw_"+i).show();
- }
- }
-
- }
-
-
- $.layer({
- type : 1,
- title : '查看图片',
- closeBtn : [ 0, true ],
- offset : [ '80px', '' ],
- border : [ 10, 0.3, '#000', true ],
- area : [ '650px', 'auto' ],
- page : {
- dom : '#preview'
- }
- });
- var viewer = new Viewer(document.getElementById('preview'), {
- url: 'lay-src',
- toolbar: true, //显示工具条
- show: function (){ // 动态加载图片后,更新实例
- viewer.update();
- },
- });
- });
-
- /* 发短信 */
- $("#m_sendmsg").click(function() {
- var linktel = $('#m_linktel').val();
- if (!linktel) {
- parent.layer.msg('该企业未填写联系手机!', 2, 8);
- } else {
- send_moblie(linktel);
- }
- });
-
- /* 发邮件 */
- $("#m_sendemail").click(function() {
- var linkmail = $('#m_linkmail').val();
- if (!linkmail) {
- parent.layer.msg('该企业未填写联系邮箱!', 2, 8);
- } else {
- send_email(linkmail);
- }
- });
-
- /* 暂停和解除暂停 */
- $("#m_ztstatus").click(function() {
-
- var rstatus = $(this).attr('data-rstatus'),
- zttime = $(this).attr('data-zttime'),
- comid = $("#m_uid").val(),
- pytoken = $('#pytoken').val();
-
- if(rstatus!='4'){
-
- if(rstatus=='2'){
- parent.layer.msg('该企业已被锁定,请先解锁后再暂停!', 2, 8);
- return false;
- }
-
- var pwcf = parent.layer.confirm("确定要暂停该企业吗?",function(){
- loadlayer();
- $.post("index.php?m=admin_company&c=suspend",{uid:comid,pytoken:pytoken},function(data){
-
- parent.layer.closeAll('loading');
- var dataJson = eval("(" + data + ")");
-
- if(dataJson.st=='9'){
- parent.layer.msg('暂停成功!', 2, 9,function(mdata){
- location.href = dataJson.url;
- });
- }else{
- parent.layer.msg('暂停失败请重试!', 2, 8);
- }
-
- });
-
- });
-
- }else{
- var pwcf = parent.layer.confirm('已暂停' + zttime + '天,是否为客户延续会员有效期?', {
- btn: ['是', '否', '取消']
- },
- function () {
-
- setupcom(comid, 1);
- },
- function () {
-
- setupcom(comid, 0);
- },
- function () {
- parent.layer.closeAll();
- }
- );
- }
- });
-
- //解除暂停
- function setupcom(comid,addzttime){
- var pytoken = $('#pytoken').val();
- loadlayer();
- $.post("index.php?m=admin_company&c=setupcom",{uid:comid,addzttime:addzttime,pytoken:pytoken},function(data){
-
- parent.layer.closeAll();
- var dataJson = eval("(" + data + ")");
-
- if(dataJson.errcode=='9'){
- parent.layer.msg('企业解除暂停成功!', 2, 9,function(mdata){
- location.href = dataJson.url;
- });
- }else{
- parent.layer.msg('操作失败请重试!', 2, 8);
- }
-
- });
- }
-
- /* 会员等级修改 */
- $(".comrating").click(function() {
-
- var uid = $(this).attr("data-uid");
- var pytoken = $("#pytoken").val();
- $.post("index.php?m=admin_company&c=getstatis", {
- uid : uid,
- pytoken : pytoken
- },function(data) {
- if (data) {
-
- var dataJson = eval("(" + data + ")");
-
- $('#top_num').val(dataJson.top_num);
- $('#urgent_num').val(dataJson.urgent_num);
- $('#rec_num').val(dataJson.rec_num);
- $('#sons_num').val(dataJson.sons_num);
- $('#job_num').val(dataJson.job_num);
- $('#down_resume').val(dataJson.down_resume);
- $('#invite_resume').val(dataJson.invite_resume);
- $('#breakjob_num').val(dataJson.breakjob_num);
- $('#zph_num').val(dataJson.zph_num);
- $('#oldetime').val(dataJson.vip_etime);
- $('#pay').val(dataJson.pay);
- $('#integral').val(dataJson.integral);
- $('#ratuid').val(uid);
- $("#ratingid").val(dataJson.rating);
- $('#chat_num').val(dataJson.chat_num);
- $('#spview_num').val(dataJson.spview_num);
-
- if(dataJson.hotjob==1){
- $('#hotjob').prop("checked",true);
- }else{
- $('#hotjob').prop("checked",false);
- }
- updateVipEtimeInput()
- layui.use(['laydate'], function() {
- var laydate = layui.laydate;
- if (dataJson.vipetime != '不限') {
- laydate.render({
- elem: '#vipetime',
- min: dataJson.vip_etime*1000,
- value:dataJson.vipetime,
- });
- } else {
- $('#vipetime').val('不限')
- }
- });
-
- var ratingname = $("#ratingid").find("option:selected").text();
-
- $('#rating_name').val(ratingname);
-
- layui.form.render();
- $.layer({
- type : 1,
- title : '企业会员等级修改',
- closeBtn : [ 0, true ],
- border : [ 10, 0.3, '#000', true ],
- area : [ '710px', 'auto' ],
- offset : [ '20px', '' ],
- page : {
- dom : "#comrating"
- }
- });
-
- } else {
- parent.layer.msg('用户信息获取失败!', 2, 8);
- return false;
- }
- });
- });
-
- /* 删除会员信息 */
- $(".deleS").click(function() {
-
- var uid = $(this).attr("uid");
-
- layui.use(['form'], function() {
- var form = layui.form;
- form.render();
- });
-
- $("input[name=del]").val(uid);
-
- $.layer({
- type: 1,
- title: '删除企业数据',
- closeBtn: [0, true],
- border: [10, 0.3, '#000', true],
- area: ['390px', '240px'],
- page: {
- dom: "#deleS_div"
- }
- });
-
- });
-
- $(".logtj").click(function() {
-
- $('body').css('overflow-y', 'hidden');
- var uid = $(this).attr("loguid");
- var usertype = $(this).attr("logusertype");
- $.layer({
- type: 2,
- shadeClose: true,
- title: '行为分析',
- area: [($(window).width() - 30) +'px', ($(window).height() - 30) +'px'],
- iframe: {src: 'index.php?m=admin_weblog&c=tj&uid='+uid+'&usertype='+usertype},
- close: function(){
- $('body').css('overflow-y', '');
- }
- });
- });
- });
-
- /* 导出企业数据 */
- function Export() {
- var codewebarr = "";
- $(".check_all:checked").each(function() {
- if (codewebarr == "") {
- codewebarr = $(this).val();
- } else {
- codewebarr = codewebarr + "," + $(this).val();
- }
- });
- $("input[name=uid]").val(codewebarr);
- add_class('选择导出字段', '650', '370', '#export', '');
- }
-
- // 获取cookie值
- function getCookie(name) {
- var prefix = name + "="
- var start = document.cookie.indexOf(prefix)
- if (start == -1) {
- return null;
- }
- var end = document.cookie.indexOf(";", start + prefix.length)
- if (end == -1) {
- end = document.cookie.length;
- }
- var value = document.cookie.substring(start + prefix.length, end)
- return decodeURI(value);
- }
-
- function check_xls() {
- var type = [];
- $(".type:checked").each(function() {
- if ($(this).val() != 'on') {
- type.push($(this).val())
- }
- });
- if (type.length == 0) {
- layer.msg("请选择导出字段!", 2, 8);
- return false;
- }
- var params = {
- pytoken: $( "input[name='pytoken']").val(),
- uid: $( "input[name='uid']").val(),
- limit: $( "input[name='limit']").val(),
- type: type
- }
- $.post("index.php?m=admin_company&c=export_check",params,function(data){
- var rt = JSON.parse(data)
- if (rt.code == '400') {
- layer.msg("暂无要导出的数据!", 2, 8);
- return false;
- } else {
- layer.load();
- var elemIF = document.createElement('iframe');
- elemIF.src = "index.php?m=admin_company&c=xls"
- elemIF.style.display = 'none';
- document.body.appendChild(elemIF)
- // 获取到后台设置的cookie值后关闭加载动画
- var time = setInterval(function(){
- if (getCookie('companyXls')) {
- layer.closeAll('loading');
- clearInterval(time)
- }
- },1000);
- }
- })
- layer.closeAll();
- }
-
- /* 在管理中重置密码 */
- function resetpassword() {
- var pytoken = $('#pytoken').val();
- var username = $("#m_username").html(); //通过管理获取用户名称的值
- var uid = $("#m_uid").val(); //通过管理获取用户名称的ID值
- parent.layer.confirm("确定要重置密码?", function() { //重置程序
- parent.layer.closeAll();
- loadlayer();
- $.get("index.php?m=admin_company&c=reset_companypassword&uid=" + uid + "&pytoken=" + pytoken, function(data) {
- parent.layer.closeAll('loading');
- parent.layer.alert("企业会员:" + username + "密码已经重置为123456!", 9);
- return false;
- });
-
- });
- }
-
- function showDIVMore(url, title) {
- layer.open({
- type : 2,
- title : title,
- shadeClose : true,
- shade : false,
- maxmin : true, //开启最大化最小化按钮
- area : [ '1100px', '495px' ],
- content : url
- });
- }
-
- function manage(comid, url) {
- var pytoken = $("#pytoken").val();
- $('#m_comid').html(comid);
- $('#m_uid').val(comid);
- $('#m_name').attr('href', url);
- $('#m_taocan').attr('data-uid', comid);
- $('#m_zengzhi').attr('data-uid', comid);
- $('#m_center').attr('href', 'index.php?m=admin_company&c=Imitate&uid=' + comid);
- $('#m_integral').attr('onclick', "showDIVMore('index.php?m=company_pay&comid=" + comid + "','积分管理')");
- $('#m_order').attr('onclick', "showDIVMore('index.php?m=company_order&comid=" + comid + "','充值/订单')");
- $('#m_apply').attr('onclick', "showDIVMore('index.php?m=admin_comlog&comid=" + comid + "','收到简历')");
- $('#m_down').attr('onclick', "showDIVMore('index.php?m=admin_userlog&comid=" + comid + "','下载简历')");
- $('#m_invite').attr( 'onclick', "showDIVMore('index.php?m=admin_comlog&c=useridmsg&comid=" + comid + "','面试邀请')");
- $('#m_job').attr('onclick', "showDIVMore('index.php?m=admin_company_job&uid=" + comid + "','职位管理')");
- $('#m_show').attr('onclick', "showDIVMore('index.php?m=admin_company_pic&c=show&comid=" + comid + "','企业环境')");
- $('#m_comtpl').attr('onclick',"showDIVMore('index.php?m=admin_company&c=mcomtpl&comid=" + comid + "','企业模板')");
- $('#m_memberlog').attr('href','index.php?m=admin_company&c=member_log&comid=' + comid);
-
- $('#m_tongji').attr('href', 'index.php?m=admin_company&c=Imitate&uid=' + comid + '&type=tongji');
- $('#m_tongji').attr('target', '_blank');
-
- $('#m_whb').attr('href','index.php?m=admin_company&c=mwhb&comid='+comid);
-
- $('#m_addjob').attr('href', 'index.php?m=admin_company_job&c=show&uid=' + comid);
- $('#sonMsgAId').attr('href', 'index.php?m=admin_company&c=child&com_id=' + comid)
- var i = loadlayer();
- $.post("index.php?m=admin_company&c=getinfo", {
- comid : comid,
- pytoken : pytoken
- }, function(data) {
- parent.layer.closeAll();
- if (data) {
- var comdata = eval("(" + data + ")");
- if (comdata.name != "") {
- $('#m_name').html(comdata.name);
- } else {
- $('#m_name').html("企业尚未完善资料");
- }
-
- $('#m_ztstatus').attr('data-rstatus',comdata.r_status);
- if(comdata.r_status=='4'){
- $('#m_ztstatus').html('解除暂停');
- $('#m_ztstatus').attr('data-zttime',comdata.zt_days);
- }else{
- $('#m_ztstatus').html('企业暂停');
- $('#m_ztstatus').attr('data-zttime','');
- }
-
-
- $('#m_username').html(comdata.username);
- if (comdata.linkman != "") {
- $('#m_linkman').html("联系人:" + comdata.linkman + " ");
- } else {
- $('#m_linkman').html("联系人:" + "暂未填写");
- }
- if (comdata.linktel != "") {
- $('#m_linktel').html("手机:" + comdata.linktel);
- } else {
- $('#m_linktel').html("手机:" + "暂未填写");
- }
- if (comdata.phone != "") {
- $('#m_phone').html("电话:" + comdata.phone);
- } else {
- $('#m_phone').html("电话:" + "暂未填写");
- }
- if (comdata.linkmail != "") {
- $('#m_email').html("邮箱:" + comdata.linkmail);
- } else {
- $('#m_email').html("邮箱:" + "暂未填写");
- }
- if (comdata.adviser != "") {
- $('#m_adviser').html(comdata.adviser);
- } else {
- $('#m_adviser').html("该企业尚未分配顾问");
- }
- if (comdata.integralNum != "") {
- $('#m_integral_num').html(comdata.integralNum);
- }
- if (comdata.orderNum != "") {
- $('#m_order_num').html(comdata.orderNum);
- }
- if (comdata.downNum != "") {
- $('#m_down_num').html(comdata.downNum);
- }
- if (comdata.applyNum != "") {
- $('#m_apply_num').html(comdata.applyNum);
- }
- if (comdata.inviteNum != "") {
- $('#m_invite_num').html(comdata.inviteNum);
- }
- if (comdata.showNum != "") {
- $('#m_show_num').html(comdata.showNum);
- }
- if (comdata.jobNum != "") {
- $('#m_job_num').html(comdata.jobNum);
- }
- if (comdata.sonsNum != "") {
- $('#sonMsgId').html(comdata.sonsNum);
- }
-
- $('#m_status').val(comdata.status);
- $('#m_regip').html(comdata.reg_ip);
- $('#m_rating').val(comdata.rating);
- $('#m_info').attr('href','index.php?m=admin_company&c=edit&id=' + comid+ '&rating=' + comdata.rating);
- $('#m_password').attr('href','index.php?m=admin_company&c=edit&id=' + comid+ '&rating=' + comdata.rating);
- $('#m_yyzzurl').val(comdata.yyzzurl);
- $('#m_yyzz').attr('data-name', comdata.name);
- $('#m_yyzz').attr('data-status', comdata.comyyzzstatus);
- $('#m_linktel').val(comdata.linktel);
- $('#m_linkmail').val(comdata.linkmail);
- $('#m_user').val(comdata.username);
- $('#m_resetpassword').val(comdata.username);
-
- $.layer({
- type : 1,
- title : '企业管理',
- closeBtn : [ 0, true ],
- border : [ 10, 0.3, '#000', true ],
- area : [ '610px', 'auto' ],
- offset : [ '20px', '' ],
- page : {
- dom : "#manage"
- }
- });
- }
- });
- }
-
- layui.use(['layer', 'form'], function() {
- var layer = layui.layer,
- form = layui.form,
- $ = layui.$,
- url = "index.php?m=admin_company&c=getrating";
-
- var pytoken = $("#pytoken").val();
- form.on('select(rating)', function(data) {
- $.post(url, {
- id: data.value,
- uid:$('#ratuid').val(),
- pytoken: pytoken
- }, function(htm) {
- if(htm) {
- var dataJson = eval("(" + htm + ")");
- $('#top_num').val(dataJson.top_num);
- $('#urgent_num').val(dataJson.urgent_num);
- $('#rec_num').val(dataJson.rec_num);
- $('#sons_num').val(dataJson.sons_num);
- $('#job_num').val(dataJson.job_num);
- $('#down_resume').val(dataJson.down_resume);
- $('#invite_resume').val(dataJson.invite_resume);
- $('#breakjob_num').val(dataJson.breakjob_num);
- $('#zph_num').val(dataJson.zph_num);
- $('#oldetime').val(dataJson.oldetime);
- $('#rating_name').val(dataJson.rating_name);
- $('#com_rating_val').val(dataJson.rating);
- $('#chat_num').val(dataJson.chat_num);
- $('#spview_num').val(dataJson.spview_num);
- updateVipEtimeInput()
- layui.use(['laydate'], function() {
- var laydate = layui.laydate;
- if (dataJson.vipetime != '不限') {
- laydate.render({
- elem: '#vipetime',
- min: dataJson.oldetime*1000,
- value:dataJson.vipetime,
- ready: function () {},
- });
- } else {
- $('#vipetime').val('不限');
- }
- });
-
-
- } else {
- parent.layer.msg('请选择会员等级',2,8);
- }
- form.render('select');
- });
- });
- });
-
- $(document).ready(function(){
- $.get("index.php?m=admin_company&c=companyNum", function(data) {
- var datas = eval('(' + data + ')');
- if(datas.companyAllNum) {
- $('.ajaxcompanyall').html(datas.companyAllNum);
- }
- if(datas.companyStatusNum1) {
- $('.ajaxcompanystatus1').html(datas.companyStatusNum1);
- }
- if(datas.companyStatusNum2) {
- $('.ajaxcompanystatus2').html(datas.companyStatusNum2);
- }
- if(datas.companyStatusNum3) {
- $('.ajaxcompanystatus3').html(datas.companyStatusNum3);
- }
- });
- });
-
- function xlsAll(form){
- for (var i=0;i<form.elements.length;i++){
- var e = form.elements[i];
- if (e.name == 'type[]' && e.disabled == false){
- e.checked = form.xlsAllCheck.checked;
- }
- }
- for (var i=0;i<form.elements.length;i++){
- var e = form.elements[i];
- if (e.name == 'rtype[]' && e.disabled == false){
- e.checked = form.xlsAllCheck.checked;
- }
- }
- }
-
- //批量认证
- function batch(name){
- var chk_value =[];
-
- $('input[name="'+name+'"]:checked').each(function(){
- chk_value.push($(this).val());
- });
-
- if(chk_value.length==0){
- layer.msg("请选择要批量认证的数据!",2,8);return false;
- }else{
-
- $('#btachuid').val(chk_value);
- $.layer({
- type : 1,
- title : '批量认证',
- closeBtn : [ 0, true ],
- offset : [ '80px', '' ],
- border : [ 10, 0.3, '#000', true ],
- area : [ '350px', '235px' ],
- page : {
- dom : '#batchrezhen'
- }
- });
- }
- }
-
- function toMember(url, usertype){
- if (usertype !='2'){
- if(usertype == '0'){
- parent.layer.confirm("该账户当前没有设置身份,以招聘者身份模拟进入可能导致部分功能无法正常使用,是否确认进入?", function() {
- parent.layer.closeAll();
- window.open(url);
- });
- }else{
- if(usertype == '1'){
- var u = '求职者';
- }else if (usertype == '3'){
- var u = '猎头';
- }else if (usertype == '4'){
- var u = '培训';
- }
- parent.layer.confirm("该账户当前身份为"+u+",以招聘者身份模拟进入可能导致部分功能无法正常使用,是否确认进入?", function() {
- parent.layer.closeAll();
- window.open(url);
- });
- }
- }else{
- window.open(url);
- }
- }
-
- // 获取微信绑定二维码
- var setval,
- setwout;
- function acwxbind(comid){
- var pytoken = $("#pytoken").val();
- $.post('index.php?m=admin_company&c=acwxbind', {
- comid: comid,
- pytoken: pytoken
- }, function(data) {
- if(data == 0) {
- $('#wx_login_qrcode').html('二维码获取失败..');
- } else {
- $('#wx_login_qrcode').html('<img src="' + data + '" width="140" height="140">');
- setval = setInterval(function(){
- $.post('index.php?m=admin_company&c=getacbindstatus', {
- comid: comid,
- pytoken: pytoken
- }, function(data) {
- var data = eval('(' + data + ')');
- if(data.msg != '') {
- clearInterval(setval);
- setval = null;
- layer.msg(data.msg, 2, 9, function() {
- window.location.reload();
- });
- }
- });
- }, 2000);
- if(setwout){
- clearTimeout(setwout);
- setwout = null;
- }
- setwout = setTimeout(function(){
- if(setval){
- clearInterval(setval);
- setval = null;
- }
- var wx_sx = $("#wx_sx").html();
- $('#wx_login_qrcode').html(wx_sx);
- },300*1000);
- }
- });
- }
-
- // 显示微信绑定弹窗
- function showQrcode(comid,wxid){
- if(wxid == ''){
- acwxbind(comid);
- $.layer({
- type: 1,
- title: '微信扫码绑定',
- closeBtn: [0, true],
- offset: ['100px', ''],
- border: [10, 0.3, '#000', true],
- area: ['300px', '300px'],
- page: {
- dom: "#acwxbind"
- },
- close: function(){
- if(setval){
- clearInterval(setval);
- setval = null;
- }
- if(setwout){
- clearTimeout(setwout);
- setwout = null;
- }
- }
- });
- }else{
- layer.msg('企业已绑定微信',2,9);
- }
- }
-
- /* 企业Logo Start */
- function makeLogo(uid, short, name, type) {
-
- $('#logoUid').val(uid);
-
- if (short != '' && short != undefined){
-
- $('#logoComName').val(short);
- }else{
-
- $('#logoComName').val(name);
- }
-
- if (type == 1){
-
- $('.logo_box_bth').val('生成');
- }else if(type==2){
-
- $('.logo_box_bth').val('修改');
- }
-
- var btn = document.getElementsByClassName('adminupload')[0];
- btn.setAttribute ('lay-data', "{path: 'company',usertype: 2, uid: "+uid+", imgid: 'logo'}");
-
- $.layer({
- type : 1,
- title : '企业LOGO',
- closeBtn : [ 0, true ],
- offset : [ '80px', '' ],
- border : [ 10, 0.3, '#000', true ],
- area : [ '450px', 'auto' ],
- page : {
- dom : '#logoHb'
- }
- });
- }
-
- $(function() {
- var switchtag = $("ul#logo_ul li");
- switchtag.click(function() {
- $(this).addClass("curr").siblings().removeClass("curr");
- var index = this.getAttribute('data-id');
- $(".logo_box").addClass('none');
- $(".logo_" + index).removeClass('none');
- });
-
- var switchImg = $("ul#hb_ul li");
- switchImg.click(function() {
- $(this).addClass("logo_box_img_cur").siblings().removeClass("logo_box_img_cur");
- var index = this.getAttribute('data-hb');
- $('#logoBg').val(index);
- });
- })
-
- function previewLogoHb() {
-
- var name = $('#logoComName').val();
- var bg = $('#logoBg').val();
-
- if (name == ''){
-
- layer.msg('文字描述不能为空',2,8);
- return false;
- }else if (name.length < 2 || name.length > 4){
-
- layer.msg('请填写2-4个字',2,8);
- return false;
- }else if(bg == ''){
-
- layer.msg('请选择背景模板',2,8);
- return false;
- }
-
- loadlayer('加载中');
-
- var weburl = '<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-';
- const url = weburl + '/index.php?m=ajax&c=getLogoHb&name=' + name +'&hb=' + bg;
-
- setTimeout(function () {
-
- parent.layer.closeAll('loading');
- layer.open({
- type: 1,
- title: false,
- content: '<div><img src="' + url + '" style="max-width: 100%;"></div>',
- area: ['200px', '200px'],
- offset: '155px',
- closeBtn: 0,
- shadeClose: true
- });
- }, 1000);
-
- }
-
- function makeLogoHb() {
-
- var name = $('#logoComName').val();
- var bg = $('#logoBg').val();
-
-
- if (name == ''){
-
- layer.msg('文字描述不能为空',2,8);
- return false;
- }else if (name.length < 2 || name.length > 4){
-
- layer.msg('请填写2-4个字',2,8);
- return false;
- }else if(bg == ''){
-
- layer.msg('请选择背景模板',2,8);
- return false;
- }
-
- loadlayer('生成中');
-
- var weburl = '<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-';
- const url = weburl + '/index.php?m=ajax&c=getLogoHb&name='+name+'&hb='+bg+'&out=1';
- $.get(url, function(data) {
-
- if (data){
- setLogo(data);
- }else{
- parent.layer.closeAll();
- parent.layer.msg('生成LOGO出错',2, 8);
- return false;
- }
- });
- }
-
- function setLogo(logo) {
-
- var uid = $('#logoUid').val();
- var formdata = new FormData();
- formdata.append('logo',logo);
- formdata.append('uid',uid);
- formdata.append('pytoken',$("#pytoken").val());
-
- $.ajax({
- url: 'index.php?m=admin_company&c=setLogo',
- type:'post',
- processData:false,
- contentType:false,
- data: formdata,
- success:function (res) {
- var data=eval('('+res+')');
- parent.layer.closeAll();
- parent.layer.msg(data.msg,2, data.errcode, function () {
- window.location.reload();
- });
- }
- })
- }
- /* 企业Logo End */
-
- <?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui.upload.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type='text/javascript'><?php echo '</script'; ?>
->
-
- <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['adminstyle']->value)."/checkdomain.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-
- </body>
-</html>
-<?php }} ?>
diff --git a/data/templates_c/e07e6d79d2f7dadaed434b33af44500b85a4b913.file.admin_search.htm.php b/data/templates_c/e07e6d79d2f7dadaed434b33af44500b85a4b913.file.admin_search.htm.php
deleted file mode 100644
index d2acb73..0000000
--- a/data/templates_c/e07e6d79d2f7dadaed434b33af44500b85a4b913.file.admin_search.htm.php
+++ /dev/null
@@ -1,426 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:16:01
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\admin_search.htm" */ ?>
-<?php /*%%SmartyHeaderCode:668667ff7551ad0ad2-31452865%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- 'e07e6d79d2f7dadaed434b33af44500b85a4b913' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\admin_search.htm',
- 1 => 1643012867,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '668667ff7551ad0ad2-31452865',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'style' => 0,
- 'config' => 0,
- 'search_list' => 0,
- 'rows' => 0,
- 't' => 0,
- 'k' => 0,
- 'rs' => 0,
- 'job_name' => 0,
- 'city_name' => 0,
- 'row' => 0,
- 'v' => 0,
- 'r' => 0,
- 'userclass_name' => 0,
- 'userdata' => 0,
- 'comclass_name' => 0,
- 'comdata' => 0,
- 'expect' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff7551b2a515_86394003',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff7551b2a515_86394003')) {function content_67ff7551b2a515_86394003($_smarty_tpl) {?><?php if (!is_callable('smarty_function_searchurl')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\function.searchurl.php';
-?><?php if ($_GET['m']=='admin_resume'||$_GET['m']=='admin_company_job'||$_GET['m']=='crm_chat') {?>
-<link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/style/newclass.public.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type="text/css" />
-<link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/css/formSelects-v4.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
-
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/data/plus/job.cache.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type="text/javascript"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/data/plus/jobparent.cache.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type="text/javascript"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src='<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/data/plus/city.cache.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-'><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/data/plus/cityparent.cache.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type="text/javascript"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/newclass.public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type="text/javascript"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/formSelects-v4.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
->var weburl = '<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-'<?php echo '</script'; ?>
->
-
-<style>
- .xm-select-parent .xm-select{
- min-height: 32px;padding: 1px 10px;
- }
- .news_expect_text_new_nth{height: 30px;}
- .news_expect_text_newcity_nth{height: 30px;}
- .xm-select-parent .xm-select .xm-select-input{width: 100px;}
-</style>
-<?php }?>
-<div class="search_select">
- <div class="search_select_pdd" id="show_search">
-
- <?php if ($_GET['keyword']!='') {?>
- <a class="Search_jobs_c_a" href="<?php echo smarty_function_searchurl(array('m'=>$_GET['m'],'c'=>$_GET['c'],'untype'=>'keyword'),$_smarty_tpl);?>
-">关键字:<?php echo $_GET['keyword'];?>
-</a>
- <?php }?>
-
- <?php $_smarty_tpl->tpl_vars['rows'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['rows']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['search_list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['rows']->key => $_smarty_tpl->tpl_vars['rows']->value) {
-$_smarty_tpl->tpl_vars['rows']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['rows']->key;
-?>
- <?php $_smarty_tpl->tpl_vars["t"] = new Smarty_variable($_smarty_tpl->tpl_vars['rows']->value['param'], null, 0);?>
- <?php if ($_GET[$_smarty_tpl->tpl_vars['t']->value]!==false&&$_GET[$_smarty_tpl->tpl_vars['t']->value]!='') {?>
- <?php $_smarty_tpl->tpl_vars['rs'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['rs']->_loop = false;
- $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['rows']->value['value']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['rs']->key => $_smarty_tpl->tpl_vars['rs']->value) {
-$_smarty_tpl->tpl_vars['rs']->_loop = true;
- $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['rs']->key;
-?>
- <?php if ($_GET[$_smarty_tpl->tpl_vars['t']->value]==$_smarty_tpl->tpl_vars['k']->value) {?>
- <a class="Search_jobs_c_a" href="<?php echo smarty_function_searchurl(array('m'=>$_GET['m'],'c'=>$_GET['c'],'untype'=>$_smarty_tpl->tpl_vars['t']->value),$_smarty_tpl);?>
-">
- <?php echo $_smarty_tpl->tpl_vars['rows']->value['name'];?>
-:<?php echo $_smarty_tpl->tpl_vars['rs']->value;?>
-
- </a>
- <?php }?>
- <?php } ?>
- <?php }?>
- <?php } ?>
-
- <?php if (($_GET['m']=='admin_resume'||$_GET['m']=='admin_company_job'||$_GET['m']=='crm_chat')&&$_GET['job_class']) {?>
- <a class="Search_jobs_c_a" href="<?php echo smarty_function_searchurl(array('m'=>$_GET['m'],'c'=>$_GET['c'],'untype'=>'job_class'),$_smarty_tpl);?>
-">工作职能:<?php echo $_smarty_tpl->tpl_vars['job_name']->value[$_GET['job_class']];?>
-</a>
- <?php }?>
-
- <?php if (($_GET['m']=='admin_resume'||$_GET['m']=='admin_company_job'||$_GET['m']=='crm_chat')&&$_GET['city_class']) {?>
- <a class="Search_jobs_c_a" href="<?php echo smarty_function_searchurl(array('m'=>$_GET['m'],'c'=>$_GET['c'],'untype'=>'city_class'),$_smarty_tpl);?>
-">城市地区:<?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_GET['city_class']];?>
-</a>
- <?php }?>
- </div>
-</div>
-
-<div class="clear"></div>
-
-<div class="admin_screenlist_box">
-
- <?php $_smarty_tpl->tpl_vars["v"] = new Smarty_variable(0, null, 0);?>
-
-
- <?php $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['row']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['search_list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['row']->key => $_smarty_tpl->tpl_vars['row']->value) {
-$_smarty_tpl->tpl_vars['row']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['row']->key;
-?>
- <?php $_smarty_tpl->tpl_vars["t"] = new Smarty_variable($_smarty_tpl->tpl_vars['row']->value['param'], null, 0);?>
- <?php $_smarty_tpl->tpl_vars["v"] = new Smarty_variable($_smarty_tpl->tpl_vars['v']->value+1, null, 0);?>
-
- <?php if (!(($_GET['m']=='admin_resume'||$_GET['m']=='crm_chat')&&($_smarty_tpl->tpl_vars['t']->value=='edu'||$_smarty_tpl->tpl_vars['t']->value=='exp'))&&!($_GET['m']=='admin_company_job'&&($_smarty_tpl->tpl_vars['t']->value=='edu'||$_smarty_tpl->tpl_vars['t']->value=='exp'))) {?>
-
- <div class="admin_screenlist">
- <span class="admin_screenlist_name"><?php echo $_smarty_tpl->tpl_vars['row']->value['name'];?>
-:</span>
- <a href="<?php echo smarty_function_searchurl(array('m'=>$_GET['m'],'c'=>$_GET['c'],'untype'=>$_smarty_tpl->tpl_vars['t']->value),$_smarty_tpl);?>
-" <?php if ($_GET[$_smarty_tpl->tpl_vars['t']->value]!==true&&$_GET[$_smarty_tpl->tpl_vars['t']->value]=='') {?>class="admin_screenlist_cur"<?php }?>>全部</a>
- <?php $_smarty_tpl->tpl_vars['r'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['r']->_loop = false;
- $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['row']->value['value']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['r']->key => $_smarty_tpl->tpl_vars['r']->value) {
-$_smarty_tpl->tpl_vars['r']->_loop = true;
- $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['r']->key;
-?>
- <a href="<?php echo smarty_function_searchurl(array('m'=>$_GET['m'],'c'=>$_GET['c'],'adv'=>$_smarty_tpl->tpl_vars['k']->value,'adt'=>$_smarty_tpl->tpl_vars['t']->value,'untype'=>$_smarty_tpl->tpl_vars['t']->value),$_smarty_tpl);?>
-" <?php if ($_GET[$_smarty_tpl->tpl_vars['t']->value]!==false&&$_GET[$_smarty_tpl->tpl_vars['t']->value]!=''&&$_GET[$_smarty_tpl->tpl_vars['t']->value]==$_smarty_tpl->tpl_vars['k']->value) {?> class="admin_screenlist_cur"<?php }?>><?php echo $_smarty_tpl->tpl_vars['r']->value;?>
-</a>
- <?php } ?>
- </div>
- <?php }?>
-
- <?php } ?>
-
- <?php if ($_GET['m']=='admin_resume'||$_GET['m']=='admin_company_job'||$_GET['m']=='crm_chat') {?>
- <div class="gjsousuo_qt">
- <div class="gjsousuo_qt_label">其他条件:</div>
- <div class="gjsousuo_qt_tj">
- <div class="gjsousuo_list" style="width: auto;margin-right: 15px;">
- <div class="admin_td_h" style="width:255px;position:relative">
-
- <input id="job_class" type="hidden" value="<?php echo $_GET['job_class'];?>
-" name="job_class">
- <select id="jobclass_search" class="expect_text" name="jobclass_search" xm-select-type="jobclass" xm-select="jobclass_search"
- xm-select-search="" xm-select-radio="" xm-select-skin="default" xm-select-direction="down" style="width: 250px;margin-top: 0;">
- <option value="">输入搜索职能</option>
- </select>
- <div onclick="index_job_new(1,'#workadds_job','#job_class','left:100px;top:100px; position:absolute;','1');" class="news_expect_text_new_nth" title="选择职位类别"></div>
- </div>
- </div>
-
- <div class="gjsousuo_list" style="width: auto;margin-right: 15px;">
- <div style="width:255px;position:relative">
- <select id="cityclass_search" class="expect_text" name="cityclass_search" xm-select-type="cityclass" xm-select="cityclass_search" xm-select-search="" xm-select-radio="" xm-select-skin="default" xm-select-direction="down">
- <option value="">输入搜索城市</option>
- </select>
- <div onclick="index_city_new(1,'#workadds_city','#city_class','left:100px;top:100px; position:absolute;')" class="news_expect_text_newcity_nth" title="选择城市"></div>
- <input type="hidden" name="city_class" id="city_class" value="<?php echo $_GET['city_class'];?>
-" />
- </div>
- </div>
-
- <?php if ($_GET['m']=='admin_resume'||$_GET['m']=='crm_chat') {?>
- <div class="gjsousuo_list">
- <input type="button" class="admin_new_select_text gjsousuo_index" value="<?php if ($_GET['edu']) {
-echo $_smarty_tpl->tpl_vars['userclass_name']->value[$_GET['edu']];
-} else { ?>学历要求<?php }?>">
-
- <div class="admin_Filter_text_box" style='display: none' id="">
- <ul>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['userdata']->value['user_edu']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
- <li><a href="<?php echo smarty_function_searchurl(array('m'=>$_GET['m'],'edu'=>$_smarty_tpl->tpl_vars['v']->value,'untype'=>'edu'),$_smarty_tpl);?>
-"><?php echo $_smarty_tpl->tpl_vars['userclass_name']->value[$_smarty_tpl->tpl_vars['v']->value];?>
-</a></li>
- <?php } ?>
- </ul>
- </div>
- </div>
-
- <div class="gjsousuo_list">
- <input type="button" class="admin_new_select_text gjsousuo_index" value="<?php if ($_GET['exp']) {
-echo $_smarty_tpl->tpl_vars['userclass_name']->value[$_GET['exp']];
-} else { ?>工作经验<?php }?>">
-
- <div class="admin_Filter_text_box" style='display: none' id="">
- <ul>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['userdata']->value['user_word']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
- <li><a href="<?php echo smarty_function_searchurl(array('m'=>$_GET['m'],'exp'=>$_smarty_tpl->tpl_vars['v']->value,'untype'=>'exp'),$_smarty_tpl);?>
-"><?php echo $_smarty_tpl->tpl_vars['userclass_name']->value[$_smarty_tpl->tpl_vars['v']->value];?>
-</a></li>
- <?php } ?>
- </ul>
- </div>
- </div>
- <?php } elseif ($_GET['m']=='admin_company_job') {?>
-
- <div class="gjsousuo_list">
- <input type="button" class="admin_new_select_text gjsousuo_index" value="<?php if ($_GET['edu']) {
-echo $_smarty_tpl->tpl_vars['comclass_name']->value[$_GET['edu']];
-} else { ?>学历要求<?php }?>">
-
- <div class="admin_Filter_text_box" style='display: none' id="">
- <ul>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['comdata']->value['job_edu']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
- <li><a href="<?php echo smarty_function_searchurl(array('m'=>'admin_company_job','edu'=>$_smarty_tpl->tpl_vars['v']->value,'untype'=>'edu'),$_smarty_tpl);?>
-"><?php echo $_smarty_tpl->tpl_vars['comclass_name']->value[$_smarty_tpl->tpl_vars['v']->value];?>
-</a></li>
- <?php } ?>
- </ul>
- </div>
- </div>
-
- <div class="gjsousuo_list">
- <input type="button" class="admin_new_select_text gjsousuo_index" value="<?php if ($_GET['exp']) {
-echo $_smarty_tpl->tpl_vars['comclass_name']->value[$_GET['exp']];
-} else { ?>工作经验<?php }?>">
-
- <div class="admin_Filter_text_box" style='display: none' id="">
- <ul>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['comdata']->value['job_exp']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
- <li><a href="<?php echo smarty_function_searchurl(array('m'=>'admin_company_job','exp'=>$_smarty_tpl->tpl_vars['v']->value,'untype'=>'exp'),$_smarty_tpl);?>
-"><?php echo $_smarty_tpl->tpl_vars['comclass_name']->value[$_smarty_tpl->tpl_vars['v']->value];?>
-</a></li>
- <?php } ?>
- </ul>
- </div>
- </div>
- <?php }?>
-
- </div>
- </div>
- <?php }?>
- <div class="admin_screenlist_more"><a href="javascript:;" onclick="searchmore()">收起更多条件</a></div>
-</div>
-
-<?php echo '<script'; ?>
->
- function searchmore(){
- var html=$(".admin_screenlist_box").toggle();
- }
-
- var sheight = document.getElementById("show_search").offsetHeight;
-
- if(sheight > 12){
-
- $("#show_search").show();
- }else{
-
- $("#show_search").hide();
- }
-<?php echo '</script'; ?>
->
-<?php if ($_GET['m']=='admin_resume'||$_GET['m']=='admin_company_job'||$_GET['m']=='crm_chat') {?>
-<?php echo '<script'; ?>
->
- function searchmore(){
- var html=$(".admin_screenlist_box").toggle();
- }
-
- var sheight = document.getElementById("show_search").offsetHeight;
-
- if(sheight > 12){
-
- $("#show_search").show();
- }else{
-
- $("#show_search").hide();
- }
- $(function(){
- $('.gjsousuo_list').mouseover(function(){
- $(this).find(".admin_Filter_text_box").show()
- })
- $('.gjsousuo_list').mouseout(function(){
- $(this).find(".admin_Filter_text_box").hide()
- })
- $('.admin_Filter_text_box li a').click(function(){
- var listhtml = $(this).html()
- $(this).parent().parent().parent().parent().find(".gjsousuo_index").val(listhtml)
- $('.admin_Filter_text_box').hide()
- })
- })
-
- var form = null,
- formSelects = null;
-
- layui.use(['layer', 'form'], function() {
- formSelects = layui.formSelects;
- form = layui.form;
-
- formSelects.btns('cityclass_search', []);
- formSelects.btns('jobclass_search', []);
-
- //实时获取选中值
- formSelects.on('jobclass_search', function(id, vals, val, isAdd, isDisabled){
- var jobvalue = [];
- vals.forEach(function(item,index){
- jobvalue.push(item.value);
- })
- $('#job_class').val(jobvalue.join(','));
- }, true);
-
- formSelects.on('cityclass_search', function(id, vals, val, isAdd, isDisabled){
- var cityvalue = [];
- vals.forEach(function(item,index){
- cityvalue.push(item.value);
- })
- $('#city_class').val(cityvalue.join(','));
- }, true);
-
- //重设职位类别数据
- '<?php if ($_smarty_tpl->tpl_vars['expect']->value['job_classid']) {?>'
- jobSearchReset();
- '<?php }?>'
-
- //重设城市类别数据
- '<?php if ($_smarty_tpl->tpl_vars['expect']->value['city_classid']) {?>'
- citySearchReset();
- '<?php }?>'
-
- formSelects.maxTips('jobclass_search', function(id, vals, val, max){
- layer.msg('最多只能选择1个!', 2, 8);
- });
- formSelects.maxTips('cityclass_search', function(id, vals, val, max){
- layer.msg('最多只能选择1个!', 2, 8);
- });
- });
-
- function jobSearchReset(){
-
- var formSelects = layui.formSelects,
- jobclassArr= $("#job_class").val()!='' ? $("#job_class").val().split(",") : [],
- jarr = [];
-
- for(var i=0;i<jobclassArr.length;i++){
- jarr.push({"name":jn[jobclassArr[i]],"value":jobclassArr[i],"selected":'selected'});
- }
-
- formSelects.data('jobclass_search', 'local', {
- arr: jarr
- });
- }
-
- function citySearchReset(){
-
- var formSelects = layui.formSelects,
- cityclassArr= $("#city_class").val()!='' ? $("#city_class").val().split(",") : [],
- carr = [];
-
- for(var i=0;i<cityclassArr.length;i++){
- carr.push({"name":cn[cityclassArr[i]],"value":cityclassArr[i],"selected":'selected'});
- }
- formSelects.data('cityclass_search', 'local', {
- arr: carr
- });
- }
-<?php echo '</script'; ?>
->
-<?php }?>
-<div class="clear"></div><?php }} ?>
diff --git a/data/templates_c/e81a185a5882542bcab41612413ad9e6a40b813b.file.index_search.htm.php b/data/templates_c/e81a185a5882542bcab41612413ad9e6a40b813b.file.index_search.htm.php
deleted file mode 100644
index 6e5b356..0000000
--- a/data/templates_c/e81a185a5882542bcab41612413ad9e6a40b813b.file.index_search.htm.php
+++ /dev/null
@@ -1,33 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:17:07
- compiled from "E:\ishangstudywebs\zhaopin\app\template\default\public_search\index_search.htm" */ ?>
-<?php /*%%SmartyHeaderCode:1665867ff759363cd93-68991207%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- 'e81a185a5882542bcab41612413ad9e6a40b813b' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\default\\public_search\\index_search.htm',
- 1 => 1634883842,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '1665867ff759363cd93-68991207',
- 'function' =>
- array (
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff759363d811_40018572',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff759363d811_40018572')) {function content_67ff759363d811_40018572($_smarty_tpl) {?><!--弹出框-->
-<!--职位类别start-->
-<div class="sPopupDiv none" id="jobdiv" style="float:left;"></div>
-<!--职位类别end-->
-<!--工作地点start-->
-<div class="sPopupDiv none" id="citydiv"></div>
-<!--工作地点end-->
-<!--行业类别start-->
-<div class="sPopupDiv none" id="industrydiv"></div>
-<!--行业类别end-->
-
-<?php }} ?>
diff --git a/data/templates_c/e8eb7d27f330b71c0eb944709c031f8cdc47c231.file.crm_index.htm.php b/data/templates_c/e8eb7d27f330b71c0eb944709c031f8cdc47c231.file.crm_index.htm.php
deleted file mode 100644
index bef1c50..0000000
--- a/data/templates_c/e8eb7d27f330b71c0eb944709c031f8cdc47c231.file.crm_index.htm.php
+++ /dev/null
@@ -1,443 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:15:25
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\crm_index.htm" */ ?>
-<?php /*%%SmartyHeaderCode:3050967ff752d33a068-70160748%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- 'e8eb7d27f330b71c0eb944709c031f8cdc47c231' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\crm_index.htm',
- 1 => 1643012867,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '3050967ff752d33a068-70160748',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'month' => 0,
- 'pytoken' => 0,
- 'time' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff752d376011_95009486',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff752d376011_95009486')) {function content_67ff752d376011_95009486($_smarty_tpl) {?><!DOCTYPE htmlPUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-
-<head>
-
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
- <link href="images/reset.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css"/>
- <link href="images/system.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css"/>
- <link href="images/table_form.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css"/>
- <link href="images/workspace.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css"/>
- <link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet"/>
-
- <?php echo '<script'; ?>
- src="../js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="js/admin_public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="js/crm.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
-
- <title>后台管理</title>
-
-</head>
-
-<body style="overflow:auto">
-
-<div class="infoboxp">
-
- <form class='layui-form'>
-
- <div class="crm_newly_build">
- <div class="crm_newly_build_tit"><span class="crm_newly_build_tit_n">快速新建</span></div>
- <table class="crm_newly_build_table">
- <tr>
- <td>
- <div class="crm_newly_build_list crm_newly_build_listkh" id="newCustomer"><i class="crm_newly_build_icon"></i>录用户</div>
- </td>
- <td>
- <div class="crm_newly_build_list crm_newly_build_listgj CrmnewFollow"><i class="crm_newly_build_icon"></i>写跟进</div>
- </td>
- <td>
- <div class="crm_newly_build_list crm_newly_build_listdd" id="newDeal"><i class="crm_newly_build_icon"></i>录订单</div>
- </td>
- <td>
- <div class="crm_newly_build_list crm_newly_build_listrw CrmnewTask"><i class="crm_newly_build_icon"></i>建任务</div>
- </td>
- <td>
- <div class="crm_newly_build_list crm_newly_build_listrz" id="newWorkLog"><i class="crm_newly_build_icon"></i>写日志</div>
- </td>
- </tr>
- </table>
- </div>
-
- <div style="display: flex;">
- <div class="crm_left">
-
- <div class="crm_mypre">
- <div class="crm_newly_build_tit_news">
- <span class="crm_newly_build_tit_n">消息提醒</span>
- </div>
-
- <div class="crm_newly_build_body">
- <div class="crm_msg_tx">
- <div class="crm_msg_tx_c"><span>今日待跟进</span>
- <a href="index.php?m=crm_customer&self=1&nextFtime=1" class="crm_msg_tx_n"><span id="todayFollowNum">0</span></a>
- </div>
- </div>
-
- <div class="crm_msg_tx">
- <div class="crm_msg_tx_c"><span>过期未续费</span>
- <a href="index.php?m=crm_customer&self=1&vipetime=5" class="crm_msg_tx_n"><span id="vipedNum">0</span></a>
- </div>
- </div>
-
- <div class="crm_msg_tx">
- <div class="crm_msg_tx_c">
- <span>15天内到期</span>
- <a href="index.php?m=crm_customer&self=1&vipetime=3" class="crm_msg_tx_n"><span id="willDownNum">0</span></a>
- </div>
- </div>
-
- <div class="crm_msg_tx">
- <div class="crm_msg_tx_c"><span>从未跟进</span>
- <a href="index.php?m=crm_customer&self=1&lastFtime=1" class="crm_msg_tx_n"><span id="noFollowNum">0</span></a>
- </div>
- </div>
- </div>
- </div>
-
- <div class="crm_mypre">
- <div class="crm_newly_build_tit_news">
- <span class="crm_newly_build_tit_n">释放客户提醒</span>
- </div>
- <div class="crm_mytx">
- <div id="crmHtml"></div>
- </div>
- </div>
-
- <div class="crm_mypre">
- <div class="crm_newly_build_tit_news">
- <span class="crm_newly_build_tit_n">我的简报</span>
-
- <div class="layui-input-inline">
- <select name="jbtime" lay-filter='jbtime'>
- <option value="1" <?php if ($_GET['jbtime']==1) {?>selected<?php }?>>今天</option>
- <option value="2" <?php if ($_GET['jbtime']==2) {?>selected<?php }?>>昨天</option>
- <option value="3" <?php if ($_GET['jbtime']==3) {?>selected<?php }?>>本周</option>
- <option value="4" <?php if ($_GET['jbtime']==4||!$_GET['jbtime']) {?>selected<?php }?>>本月</option>
- </select>
- </div>
- </div>
-
- <div class="crm_newly_build_body">
- <div class="crm_mypre_datalist">
- <div class="fz14 panel-banner-box-title"></i>新增客户</div>
- <div class="fz20">
- <?php if ($_GET['jbtime']) {?>
- <a href="index.php?m=crm_customer&self=1&jbtime=<?php echo $_GET['jbtime'];?>
-" class='newKh'>0</a>
- <?php } else { ?>
- <a href="index.php?m=crm_customer&self=1&jbtime=4" class='newKh'>0</a>
- <?php }?>
- </div>
- </div>
- <div class="crm_mypre_datalist">
- <div class="fz14 panel-banner-box-title">联系跟进</div>
- <div class="fz20">
- <?php if ($_GET['jbtime']) {?>
- <a href="index.php?m=crm_concern&day=<?php echo $_GET['jbtime'];?>
-" class='newFollow'>0</a>
- <?php } else { ?>
- <a href="index.php?m=crm_concern&day=4" class='newFollow'>0</a>
- <?php }?>
- </div>
- </div>
- <div class="crm_mypre_datalist">
- <div class="fz14 panel-banner-box-title">成交金额</div>
- <div class="fz20">
- <a href="index.php?m=crm_my_performance&c=amount" class='totalDealPrice'>0</a>
- </div>
- </div>
- <div class="crm_mypre_datalist">
- <div class="fz14 panel-banner-box-title">成交订单</div>
- <div class="fz20">
- <a href="index.php?m=crm_my_performance&c=amount" class='orderNum'>0</a>
- </div>
- </div>
- </div>
- </div>
- </div>
-
- <div class="crm_right">
- <div class="crm_mypre_ranking_list" style="position: relative; padding-bottom:30px;">
- <div class="crm_newly_build_tit" style="padding:0px 0px 5px 10px">
- <span class="crm_newly_build_tit_n">新增客户排行榜<span id="khM" class="data_box"><?php echo $_smarty_tpl->tpl_vars['month']->value;?>
-</span></span>
- <span class="data_boxtime" id="khTime" style="cursor:pointer;"><input type="text" autocomplete="false" placeholder="年月" style="cursor:pointer;"/></span>
- </div>
- <div class="crm_space_box crm_space_box_ml">
- <div class="crm_space_boxtableall" id="khTable">
- <table class="crm_space_boxtablelist">
- </table>
- </div>
- </div>
- </div>
- <div class="crm_mypre_ranking_list" style="position: relative; padding-bottom:30px;">
- <div class="crm_newly_build_tit" style="padding:0px 0px 5px 10px">
- <span class="crm_newly_build_tit_n">月成交金额榜<span id="jeM" class="data_box"><?php echo $_smarty_tpl->tpl_vars['month']->value;?>
-</span></span>
- <span class="data_boxtime" id="jeTime" style="cursor:pointer;"> <input type="text" autocomplete="false" placeholder="年月" style="cursor:pointer;"/></span>
- </div>
- <div class="crm_space_box crm_space_box_ml">
- <div class="crm_space_boxtableall" id="jeTable">
- <table class="crm_space_boxtablelist">
- </table>
- </div>
- </div>
- </div>
- </div>
- </div>
- </form>
-
-</div>
-
-<input type="hidden" name="pytoken" id="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-"/>
-<input type="hidden" id="handel_status" value=""/>
-
-<iframe id="supportiframe" name="supportiframe" onload="returnmessage('supportiframe');"
- style="display:none"></iframe>
-
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
-
-<?php echo '<script'; ?>
- type="text/javascript">
-
- var weburl = "<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-";
- var pytoken = $('#pytoken').val();
-
- var xxUrl = "index.php?m=crm_index&c=getNotice";
- var jbUrl = "index.php?m=crm_index&c=getWorkReport";
- var khbUrl = "index.php?m=crm_index&c=getKhb";
- var jebUrl = "index.php?m=crm_index&c=getJeb";
-
- var Ytime = "<?php echo $_smarty_tpl->tpl_vars['time']->value;?>
-";
-
- layui.use(['form', 'laydate', 'element'], function () {
- var form = layui.form
- , element = layui.element
- , laydate = layui.laydate
- , $ = layui.$;
-
- laydate.render({
- elem: '#khTime'
- , type: 'month'
- , value: Ytime
- , done: function (value, date) {
- $('#khM').html('('+date.month+'月)');
- Ytime = value;
- $.post(khbUrl, {pytoken: pytoken, time: Ytime}, function (result) {
- if (result) {
- var result = eval('(' + result + ')');
- var data = result.data;
- var khbHtml = '<table class="crm_space_boxtablelist">';
-
- if (data.length > 0) {
-
- for (var i = 0; i < data.length; i++) {
- if(i < 10) {
- var j = i + 1;
- khbHtml += '<tr>';
- khbHtml += '<td style="width: 5%;"> ' + j + '</td>';
- khbHtml += '<td> ' + data[i].name + '</td>';
- khbHtml += '<td style="width: 10%; text-align: right;"><a href="'+data[i].url+'">' + data[i].khnum + '</a></td>';
- khbHtml += '</tr>';
- }
- }
- }
- khbHtml += '<table>';
- khbHtml += '<div>';
- khbHtml += '<span style="color: #707070;position: absolute;right: 20;bottom: 20px;">总计 : '+result.total+'</span>';
- khbHtml += '</div>';
-
- $('#khTable').html(khbHtml);
- }
- });
- }
- });
- laydate.render({
- elem: '#jeTime'
- , type: 'month'
- , value: Ytime
- , done: function (value, date) {
- $('#jeM').html('('+date.month+'月)');
- Ytime = value;
- $.post(jebUrl, {pytoken: pytoken, time: Ytime}, function (result) {
-
- if (result) {
- var result = eval('(' + result + ')');
- var data = result.data;
-
- var jebHtml = '<table class="crm_space_boxtablelist">';
-
- if (data.length > 0) {
-
- for (var i = 0; i < data.length; i++) {
- if(i < 10) {
- var j = i + 1;
- jebHtml += '<tr>';
- jebHtml += '<td style="width: 5%;"> ' + j + '</td>';
- jebHtml += '<td> ' + data[i].name + '</td>';
- jebHtml += '<td style="width: 10%; text-align: right;"><a href="'+data[i].url+'">' + data[i].total + '</a></td>';
- jebHtml += '</tr>';
- }
- }
- }
- jebHtml += '</table>';
- jebHtml += '<div>';
- jebHtml += '<span style="color: #707070;position: absolute;right: 20;bottom: 20px;">总计 : '+result.total+'</span>';
- jebHtml += '</div>';
-
- $('#jeTable').html(jebHtml);
- }
- });
- }
- });
-
- form.on('select(jbtime)', function (data) {
- $.post(jbUrl, {pytoken: pytoken, time: data.value}, function (data) {
- if (data) {
- var data = eval('(' + data + ')');
-
- $('.newFollow').html(data.followNum);
- $('.newKh').html(data.khNum);
- $('.totalDealPrice').html(data.orderDealPrice);
- $('.orderNum').html(data.orderNum);
- }
- });
- });
- $.post(jbUrl, {pytoken: pytoken, time: 4}, function (data) {
- if (data) {
- var data = eval('(' + data + ')');
-
- $('.newFollow').html(data.followNum);
- $('.newKh').html(data.khNum);
- $('.totalDealPrice').html(data.orderDealPrice);
- $('.orderNum').html(data.orderNum);
- }
- });
-
- $.post(xxUrl, {pytoken: pytoken}, function (data) {
- if (data) {
- var data = eval('(' + data + ')');
-
-
- $('#todayFollowNum').html(data.todayFollowNum);
- $('#vipedNum').html(data.vipedNum);
- $('#willDownNum').html(data.willDoneNum);
- $('#noFollowNum').html(data.noFollowNum);
-
- if (data.html) {
- $('#crmHtml').html(data.html);
- }
- }
- });
-
- $.post(khbUrl, {pytoken: pytoken, time: Ytime}, function (result) {
- if (result) {
- var result = eval('(' + result + ')');
- var data = result.data;
- var khbHtml = '<table class="crm_space_boxtablelist">';
-
- if (data.length > 0) {
-
- for (var i = 0; i < data.length; i++) {
- if(i < 10) {
- var j = i + 1;
- khbHtml += '<tr>';
- khbHtml += '<td style="width: 5%;"> ' + j + '</td>';
- khbHtml += '<td> ' + data[i].name + '</td>';
- khbHtml += '<td style="width: 10%; text-align: right;"><a href="'+data[i].url+'">' + data[i].khnum + '</a></td>';
- khbHtml += '</tr>';
- }
- }
- }
- khbHtml += '</table>';
- khbHtml += '<div>';
- khbHtml += '<span style="color: #707070;position: absolute;right: 20;bottom: 20px;">总计 : '+result.total+'</span>';
- khbHtml += '</div>';
-
- $('#khTable').html(khbHtml);
- }
- });
-
- $.post(jebUrl, {pytoken: pytoken, time: Ytime}, function (result) {
- if (result) {
- var result = eval('(' + result + ')');
- var data = result.data;
-
- var jebHtml = '<table class="crm_space_boxtablelist">';
-
- if (data.length > 0) {
-
- for (var i = 0; i < data.length; i++) {
- if(i < 10) {
- var j = i + 1;
- jebHtml += '<tr>';
- jebHtml += '<td style="width: 5%;"> ' + j + '</td>';
- jebHtml += '<td> ' + data[i].name + '</td>';
- jebHtml += '<td style="width: 10%; text-align: right;"><a href="'+data[i].url+'">' + data[i].total + '</a></td>';
- jebHtml += '</tr>';
- }
- }
- jebHtml += '</table>';
- jebHtml += '<div>';
- jebHtml += '<span style="color: #707070;position: absolute;right: 20;bottom: 20px;">总计 : '+result.total+'</span>';
- jebHtml += '</div>';
- }
-
- $('#jeTable').html(jebHtml);
- }
- });
-
- });
-<?php echo '</script'; ?>
->
-
-<?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['adminstyle']->value)."/crm_public.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-
-</body>
-
-</html><?php }} ?>
diff --git a/data/templates_c/e986efe7bf7e5328177e4d211979c0c68efd9edd.file.login.htm.php b/data/templates_c/e986efe7bf7e5328177e4d211979c0c68efd9edd.file.login.htm.php
deleted file mode 100644
index 44cd446..0000000
--- a/data/templates_c/e986efe7bf7e5328177e4d211979c0c68efd9edd.file.login.htm.php
+++ /dev/null
@@ -1,329 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:09:55
- compiled from "E:\ishangstudywebs\zhaopin\app\template\default\public_search\login.htm" */ ?>
-<?php /*%%SmartyHeaderCode:460967ff73e36195c2-55596098%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- 'e986efe7bf7e5328177e4d211979c0c68efd9edd' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\default\\public_search\\login.htm',
- 1 => 1634883842,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '460967ff73e36195c2-55596098',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'admincache' => 0,
- 'style' => 0,
- 'config' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff73e362e8b8_66460581',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff73e362e8b8_66460581')) {function content_67ff73e362e8b8_66460581($_smarty_tpl) {?><?php if (!is_callable('smarty_function_url')) include 'E:\\ishangstudywebs\\zhaopin\\app\\include\\libs\\plugins\\function.url.php';
-?><?php if (!$_COOKIE['uid']||$_smarty_tpl->tpl_vars['admincache']->value=='1') {?>
-<!--当前登录-->
-<link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/style/tck_logoin.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type="text/css" />
-<div class="none" id="onlogin">
- <!-- 登录弹出框-->
- <div class="login_pop_up_box">
- <div class="login_pop_up_box_right">
-
-
- <div id="login_normal">
- <div class="login_pop_up_box_title">
- <div class="login_pop_up_box_title_b">
- <input type="hidden" name="act" id="act_login" value="0" />
- <ul>
- <li id="acount_login" class="login_pop_up_cur">账号登录<i class="login_pop_up_curline"></i></li>
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_msg_isopen']==1&&$_smarty_tpl->tpl_vars['config']->value['sy_msg_login']==1) {?>
- <li id="mobile_login">短信登录<i class="login_pop_up_curline"></i></li>
- <?php }?>
- <?php if ($_smarty_tpl->tpl_vars['config']->value['wx_author']=='1') {?>
- <li id="code_login" >扫码登录<i class="login_pop_up_curline"></i></li>
- <?php }?>
- </ul>
- </div></div>
- <!---------------扫码登录页面---------------------->
- <div class="wx_login_show none">
- <div class="fast_login_box">
- <div id="wx_login_qrcode" class="wxlogintext">正在获取二维码...</div>
- <div class="wxlogintxt">请使用微信扫一扫登录</div>
- <div id="wx_sx" class="none">
- <div class="fast_login_show_sxbox"><a href="javascript:void(0);" onclick="getwxlogincode()" class="fast_login_show_sxicon"></a>二维码已失效点击刷新</div>
- </div>
- </div>
- </div>
- <!------------------扫码登录页面end-->
- <div id="login_normal_box">
- <div class="login_pop_up_box_text"><i class="login_pop_up_box_icon login_pop_up_box_icon_zh"></i>
- <input type="text" id="username" placeholder="手机/会员名/邮箱" name="username" class="login_pop_up_box_t" autocomplete="off" />
- <!--提示-->
- <div class="login_pop_up_msg none" id="show_name">
- <div class="login_pop_up_msg_tx">请填写用户名</div>
- <div class="login_pop_up_msg_icon"></div>
- </div>
- </div>
- <div class="login_pop_up_box_text"><i class="login_pop_up_box_icon login_pop_up_box_icon_mm"></i>
- <input type="password" id="password" name="password" placeholder="请输入密码" class="login_pop_up_box_t" autocomplete="off" />
- <div class="login_pop_up_msg none" id="show_pass">
- <div class="login_pop_up_msg_tx">请填写密码</div>
- <div class="login_pop_up_msg_icon"></div>
- </div>
- </div>
- </div>
- <!-- 手机动态码登录样式-->
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_msg_isopen']==1&&$_smarty_tpl->tpl_vars['config']->value['sy_msg_login']==1) {?>
- <div class="none" id="login_sj_box">
- <div class="login_pop_up_box_text"><i class="login_pop_up_box_icon login_pop_up_box_icon_sj"></i>
- <input type="text" id="usermoblie" placeholder="请输入手机号码" name="username" class="login_pop_up_box_t" autocomplete="off" />
- <div class="login_pop_up_msg none" id="show_mobile">
- <div class="login_pop_up_msg_tx">请填写正确手机号</div>
- <div class="login_pop_up_msg_icon"></div>
- </div>
- </div>
- </div>
- <?php }?>
-
- <?php if (strpos($_smarty_tpl->tpl_vars['config']->value['code_web'],"前台登录")!==false) {?>
- <?php if ($_smarty_tpl->tpl_vars['config']->value['code_kind']>2) {?>
-
-
- <div class="gtdx-captcha">
- <input type='hidden' id="verify_token" name="verify_token" value="">
- <input type='hidden' id="popup-submit">
- <input type='hidden' id="bind-submit">
- </div>
-
- <?php } else { ?>
- <div class="login_pop_up_box_yztext"><i class="login_pop_up_box_icon login_pop_up_box_icon_yz"></i>
- <input id="txt_CheckCode" type="text" maxlength="6" name="authcode" autocomplete="off" placeholder="请输入验证码" class="login_pop_up_box_t">
- <div class="login_pop_up_box_yzimg">
- <img id="vcode_img" src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/app/include/authcode.inc.php" onclick="checkCode('vcode_img');" style="margin-right:5px; margin-left:5px;cursor:pointer;" />
- </div>
- <div class="login_pop_up_msg none" id="show_code">
- <div class="login_pop_up_msg_tx">请填写验证码</div>
- <div class="login_pop_up_msg_icon"></div>
- </div>
- <input type="hidden" id="login_codekind" value="1" />
- </div>
- <?php }?>
- <?php } else { ?>
- <input type="hidden" id="login_codekind" value="0" />
- <?php }?>
- <div class="clear"></div>
- <div class="none" id="login_sjyz_box">
- <div class="login_pop_up_box_sjtext"><i class="login_pop_up_box_icon login_pop_up_box_icon_dx"></i>
- <input id="dynamiccode" type="text" tabindex="3" maxlength="6" name="authcode" autocomplete="off" placeholder="请输入短信验证码" class="login_pop_up_box_t">
- <div class="login_pop_up_msg none" id="show_dynamiccode">
- <div class="login_pop_up_msg_tx">请填写短信动态码</div>
- <div class="login_pop_up_msg_icon"></div>
- </div>
- <a href="javascript:void(0);" class=" login_pop_up_box_yztext_hq" id="send_msg_tip" onclick="send_msg2('<?php echo smarty_function_url(array('m'=>'login','c'=>'sendmsg'),$_smarty_tpl);?>
-');">发送动态码</a>
- <i class="login_pop_up_box_yztext_line"></i>
- </div>
- </div>
- <input type="hidden" id="login_usertype" />
- <input id="sublogin" class="login_pop_up_box_bth" type="button" onclick="check_login('<?php echo smarty_function_url(array('m'=>'login','c'=>'loginsave'),$_smarty_tpl);?>
-','vcode_img',1);" value="登 录">
-
- <div class="login_pop_up_box_fot">
- 没有账号?<a href="###" id="onregister" target="_blank">立即注册</a>
- <a href="<?php echo smarty_function_url(array('m'=>'forgetpw'),$_smarty_tpl);?>
-" class="login_pop_up_box_rightreg">忘记密码?</a>
-
- </div>
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_qqlogin']==1||$_smarty_tpl->tpl_vars['config']->value['sy_sinalogin']==1||$_smarty_tpl->tpl_vars['config']->value['wx_author']==1) {?>
-
- <div class="login_pop_up_box_other"><div class="login_pop_up_box_othertit"><span class="login_pop_up_box_othertit_n">其他方式登录</span></div>
- <?php if ($_smarty_tpl->tpl_vars['config']->value['wx_author']==1) {?>
- <a href="<?php echo smarty_function_url(array('m'=>'wxconnect'),$_smarty_tpl);?>
-" class="login_pop_up_box_other_wx"></a>
- <?php }?>
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_qqlogin']==1) {?>
- <a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/qqlogin.php" class="login_pop_up_box_other_qq"></a>
- <?php }?>
- <?php if ($_smarty_tpl->tpl_vars['config']->value['sy_sinalogin']==1) {?>
- <a href="<?php echo smarty_function_url(array('m'=>'sinaconnect'),$_smarty_tpl);?>
-" class="login_pop_up_box_other_sina"></a>
- <?php }?>
- </div>
- <?php }?>
- </div>
- </div>
- </div>
-</div>
-<div id="bind-captcha" data-id='sublogin' data-type='click'></div>
-<?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/verify/verify_js.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
-/js/reg_ajax.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" type="text/javascript"><?php echo '</script'; ?>
->
-<?php echo '<script'; ?>
->
- var code_kind = '<?php echo $_smarty_tpl->tpl_vars['config']->value['code_kind'];?>
-',
- setval,
- setwout;
- var sy_login_type = '<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_login_type'];?>
-';
- function showlogin(usertype) {
- if(code_kind == '1'){
- checkCode('vcode_img');
- }
- $("#login_usertype").val(usertype);
- $('#bind-captcha').attr('data-id','sublogin');
- var reg_moblie = '<?php echo $_smarty_tpl->tpl_vars['config']->value['reg_moblie'];?>
-';
- var reg_email = '<?php echo $_smarty_tpl->tpl_vars['config']->value['reg_email'];?>
-';
- $("#onregister").attr("href", '<?php echo smarty_function_url(array('m'=>'register'),$_smarty_tpl);?>
-');
- $('#bind-captcha').attr('data-id','sublogin');
- $("#bind-captcha").attr('data-type','click');
-
- $.layer({
- id: 'onloginid',
- type: 1,
- title: '欢迎登录',
- closeBtn: [0, true],
- offset: ['20%'],
- border: [10, 0.3, '#000', true],
- area: ['410px', 'auto'],
- zIndex:100,
- page: {
- dom: "#onlogin"
- },
- close: function(){
- $('#acount_login').click();
- }
- });
- }
- $(document).ready(function() {
- //账号登录和手机登录tab选择
- $('#acount_login').click(function(data) {
- $('#acount_login').removeClass().addClass('login_pop_up_cur');
- $('#mobile_login').removeClass();
- $('#code_login').removeClass();
- $('#login_normal_box').show();
- $('#sublogin').show();
- $('#login_sj_box').hide();
- $('.logoin_tck_t_list').show();
- $('.login_pop_up_box_yztext').show();
- $('.login_pop_up_box_fot').show();
- $('.login_pop_up_box_other').show();
- $('#login_sjyz_box').hide();
- $('.wx_login_show').hide();
- $('#act_login').val('0');
- $('#bind-captcha').attr('data-id','sublogin');
- if(setval){
- clearInterval(setval);
- setval = null;
- }
- if(setwout){
- clearTimeout(setwout);
- setwout = null;
- }
- });
- $('#mobile_login').click(function(data) {
- $('#mobile_login').removeClass().addClass('login_pop_up_cur');
- $('#acount_login').removeClass();
- $('#code_login').removeClass();
- $('#login_sj_box').show();
- $('.logoin_tck_t_list').show();
- $('.login_pop_up_box_yztext').show();
- $('#login_sjyz_box').show();
- $('#sublogin').show();
- $('#login_normal_box').hide();
- $('.wx_login_show').hide();
- $('.login_pop_up_box_fot').show();
- $('.login_pop_up_box_other').show();
- $('#act_login').val('1');
-
- $('#bind-captcha').attr('data-id','send_msg_tip');
- if(setval){
- clearInterval(setval);
- setval = null;
- }
- if(setwout){
- clearTimeout(setwout);
- setwout = null;
- }
- });
- $('#code_login').click(function(data) {
- $('#code_login').removeClass().addClass('login_pop_up_cur');
- $('#acount_login').removeClass();
- $('#mobile_login').removeClass();
- $('#login_sj_box').hide();
- $('.logoin_tck_t_list').hide();
- $('.login_pop_up_box_yztext').hide();
- $('.login_pop_up_box_fot').hide();
- $('.login_pop_up_box_other').hide();
- $('#login_sjyz_box').hide();
- $('#login_normal_box').hide();
- $('#sublogin').hide();
- $('.wx_login_show').show();
- getwxlogincode();
- });
-
- if(sy_login_type=='2' && $('#mobile_login')){
- $('#mobile_login').trigger("click");
- }
- });
- function getwxlogincode(){
- $.post('<?php echo smarty_function_url(array('m'=>'login','c'=>'wxlogin'),$_smarty_tpl);?>
-', {
- t: 1
- }, function(data) {
- if(data == 0) {
- $('#wx_login_qrcode').html('二维码获取失败..');
- } else {
- $('#wx_login_qrcode').html('<img src="' + data + '" width="100" height="100">');
- setval = setInterval(function(){
- $.post('<?php echo smarty_function_url(array('m'=>'login','c'=>'getwxloginstatus'),$_smarty_tpl);?>
-', {
- t: 1
- }, function(data) {
- var data = eval('(' + data + ')');
- if(data.url != '' && data.msg != '') {
- clearInterval(setval);
- setval = null;
- layer.msg(data.msg, 2, 9, function() {
- window.location.href = data.url;
- });
- } else if(data.url) {
- window.location.href = '';
- }
- });
- }, 2000);
- if(setwout){
- clearTimeout(setwout);
- setwout = null;
- }
- setwout = setTimeout(function(){
- if(setval){
- clearInterval(setval);
- setval = null;
- }
- var wx_sx = $("#wx_sx").html();
- $('#wx_login_qrcode').html(wx_sx);
- },300*1000);
- }
- });
- }
-
-<?php echo '</script'; ?>
->
-<?php }?><?php }} ?>
diff --git a/data/templates_c/ea66f1685e4801c2a655bb775fbd4a9e07cb7aff.file.admin_navmap.htm.php b/data/templates_c/ea66f1685e4801c2a655bb775fbd4a9e07cb7aff.file.admin_navmap.htm.php
deleted file mode 100644
index 4a2ebcf..0000000
--- a/data/templates_c/ea66f1685e4801c2a655bb775fbd4a9e07cb7aff.file.admin_navmap.htm.php
+++ /dev/null
@@ -1,235 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:16:30
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\admin_navmap.htm" */ ?>
-<?php /*%%SmartyHeaderCode:1009667ff756e47d910-70668960%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- 'ea66f1685e4801c2a655bb775fbd4a9e07cb7aff' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\admin_navmap.htm',
- 1 => 1634883865,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '1009667ff756e47d910-70668960',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'config' => 0,
- 'nav' => 0,
- 'key' => 0,
- 'v' => 0,
- 'total' => 0,
- 'pagenum' => 0,
- 'pages' => 0,
- 'pagenav' => 0,
- 'pytoken' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff756e4b83b1_56220359',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff756e4b83b1_56220359')) {function content_67ff756e4b83b1_56220359($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <link href="images/reset.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/system.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <link href="images/table_form.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet" type="text/css" />
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" rel="stylesheet"
- type="text/css" />
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
-/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-"><?php echo '</script'; ?>
->
- <?php echo '<script'; ?>
- src="js/admin_public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
-" language="javascript"><?php echo '</script'; ?>
->
- <title>后台管理</title>
- </head>
- <body class="body_ifm">
- <div class="infoboxp">
-
- <div class="tty-tishi_top">
- <div class="admin_new_search_box">
- <form action="index.php" name="myform" method="get">
- <input name="m" value="navmap" type="hidden" />
- <div class="admin_new_search_name">搜索类型:</div>
- <div class="admin_Filter_text formselect" did='dtype'>
- <input type="button" value="<?php if ($_GET['type']=='2') {?>链接地址<?php } else { ?>网站名称<?php }?>" class="admin_Filter_but"
- id="btype">
- <input type="hidden" id='type' value="<?php echo $_GET['type'];?>
-" name='type'>
- <div class="admin_Filter_text_box" style="display:none" id='dtype'>
- <ul>
- <li><a href="javascript:void(0)" onClick="formselect('1','type','网站名称')">网站名称</a></li>
- <li><a href="javascript:void(0)" onClick="formselect('2','type','链接地址')">链接地址</a></li>
- </ul>
- </div>
- </div>
- <input class="admin_Filter_search" type="text" name="keyword" size="25" style="float:left" placeholder="请输入你要搜索的关键字">
- <input class="admin_Filter_bth" type="submit" name="news_search" value="搜索" />
- <a href="javascript:void(0)" onclick="$('.admin_screenlist_box').toggle();" class="admin_new_search_gj">高级搜索</a>
- <a href="index.php?m=navmap&c=add" class="admin_new_cz_tj">添加网站地图</a>
- </form>
-
-
-
- <?php echo $_smarty_tpl->getSubTemplate ("admin/admin_search.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
- </div>
- <div class="clear"></div>
- </div>
-
-
- <div class="tty_table-bom">
- <div class="table-list">
- <div class="admin_table_border">
- <iframe id="supportiframe" name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
- <form action="index.php" name="myform" id='myform' method="get" target="supportiframe">
- <input name="m" value="navmap" type="hidden" />
- <input name="c" value="del" type="hidden" />
- <table width="100%">
- <thead>
- <tr class="admin_table_top">
- <th><label for="chkall"><input type="checkbox" id='chkAll' onclick='CheckAll(this.form)' /></label></th>
- <th>编号</th>
- <th align="left">名称</th>
- <th align="left">类别</th>
- <th align="left">连接地址</th>
- <th align="left">类型</th>
- <th>排序</th>
- <th>弹出窗口</th>
- <th>显示</th>
- <th width="140">操作</th>
- </tr>
- </thead>
- <tbody>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
- $_from = $_smarty_tpl->tpl_vars['nav']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
- $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['v']->key;
-?>
- <tr align="center" <?php if (($_smarty_tpl->tpl_vars['key']->value+1)%2=='0') {?>class="admin_com_td_bg"<?php }?> id="list<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-">
- <td><input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" name='del[]' onclick='unselectall()' rel="del_chk" /></td>
- <td align="left" class="td1" style="text-align:center;"><span><?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-</span></td>
- <td class="od" align="left"><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-</td>
- <td class="ud" align="left"><?php echo $_smarty_tpl->tpl_vars['v']->value['typename'];?>
-</td>
- <td class="gd" align="left"><?php echo $_smarty_tpl->tpl_vars['v']->value['url'];?>
-</td>
- <td class="td" align="left"><?php if ($_smarty_tpl->tpl_vars['v']->value['type']=='1') {?>站内链接<?php } else { ?>原链接<?php }?></td>
- <td class="td"><?php echo $_smarty_tpl->tpl_vars['v']->value['sort'];?>
-</td>
- <td class="td" id="eject<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-">
- <?php if ($_smarty_tpl->tpl_vars['v']->value['eject']=='1') {?>
- <a href="javascript:void(0);" onClick="tanchu('index.php?m=navmap&c=nav_xianshi','<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-','0','eject');">新窗口</a>
- <?php } else { ?>
- <a href="javascript:void(0);" onClick="tanchu('index.php?m=navmap&c=nav_xianshi','<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-','1','eject');">原窗口</a>
- <?php }?>
- </td>
- <td class="td" id="display<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-">
- <?php if ($_smarty_tpl->tpl_vars['v']->value['display']=='1') {?>
- <a href="javascript:void(0);" onClick="rec_up('index.php?m=navmap&c=nav_xianshi','<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-','0','display');"><img
- src="../config/ajax_img/doneico.gif"></a>
- <?php } else { ?>
- <a href="javascript:void(0);" onClick="rec_up('index.php?m=navmap&c=nav_xianshi','<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-','1','display');"><img
- src="../config/ajax_img/errorico.gif"></a>
- <?php }?>
- </td>
-
-
- <td><a href="index.php?m=navmap&c=add&id=<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-" class="admin_new_c_bth">修改</a>
- <a href="javascript:void(0)" onClick="layer_del('确定要删除?', 'index.php?m=navmap&c=del&del=<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-');"
- class="admin_new_c_bth admin_new_c_bth_sc">删除</a></td>
- </tr>
- <?php } ?>
- <tr>
- <td align="center"><label for="chkall2"><input type="checkbox" id='chkAll2' onclick='CheckAll2(this.form)' /></label></td>
- <td colspan="9"><label for="chkAll2">全选</label>
- <input class="admin_button" type="button" name="delsub" value="删除所选" onclick="return really('del[]')" /></td>
- </tr>
- <?php if ($_smarty_tpl->tpl_vars['total']->value>$_smarty_tpl->tpl_vars['config']->value['sy_listnum']) {?>
- <tr>
- <?php if ($_smarty_tpl->tpl_vars['pagenum']->value==1) {?>
- <td colspan="3"> 从 1 到 <?php echo $_smarty_tpl->tpl_vars['config']->value['sy_listnum'];?>
- ,总共 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
- 条</td>
- <?php } elseif ($_smarty_tpl->tpl_vars['pagenum']->value>1&&$_smarty_tpl->tpl_vars['pagenum']->value<$_smarty_tpl->tpl_vars['pages']->value) {?> <td colspan="3"> 从 <?php echo ($_smarty_tpl->tpl_vars['pagenum']->value-1)*$_smarty_tpl->tpl_vars['config']->value['sy_listnum']+1;?>
- 到 <?php echo $_smarty_tpl->tpl_vars['pagenum']->value*$_smarty_tpl->tpl_vars['config']->value['sy_listnum'];?>
- ,总共 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
- 条</td>
- <?php } elseif ($_smarty_tpl->tpl_vars['pagenum']->value==$_smarty_tpl->tpl_vars['pages']->value) {?>
- <td colspan="3"> 从 <?php echo ($_smarty_tpl->tpl_vars['pagenum']->value-1)*$_smarty_tpl->tpl_vars['config']->value['sy_listnum']+1;?>
- 到 <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
- ,总共
- <?php echo $_smarty_tpl->tpl_vars['total']->value;?>
- 条</td>
- <?php }?>
- <td colspan="7" class="digg"><?php echo $_smarty_tpl->tpl_vars['pagenav']->value;?>
-</td>
- </tr>
- <?php }?>
- </tbody>
- </table>
- <input type="hidden" name="pytoken" id='pytoken' value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
-">
- </form>
- </div>
- </div>
- </div>
- </div>
- <?php echo '<script'; ?>
->
- function tanchu(url, id, rec, type) {
- var pytoken = $("#pytoken").val();
- $.get(url + "&id=" + id + "&rec=" + rec + "&type=" + type + "&pytoken=" + pytoken, function(data) {
- if (data == 1) {
- if (rec == "1") {
- $("#" + type + id).html("<a href=\"javascript:void(0);\" onClick=\"tanchu('" + url + "','" + id + "','0','" +
- type + "');\">新窗口</a>");
- } else {
- $("#" + type + id).html("<a href=\"javascript:void(0);\" onClick=\"tanchu('" + url + "','" + id + "','1','" +
- type + "');\">原窗口</a>");
- }
- }
- });
- }
- <?php echo '</script'; ?>
->
- </body>
-</html>
-<?php }} ?>
diff --git a/data/templates_c/edf202bd6aa332c1ea343ab903fee9e0bab7e52f.file.add_class.htm.php b/data/templates_c/edf202bd6aa332c1ea343ab903fee9e0bab7e52f.file.add_class.htm.php
deleted file mode 100644
index 9e855bf..0000000
--- a/data/templates_c/edf202bd6aa332c1ea343ab903fee9e0bab7e52f.file.add_class.htm.php
+++ /dev/null
@@ -1,187 +0,0 @@
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2025-04-16 17:18:20
- compiled from "E:\ishangstudywebs\zhaopin\app\template\admin\add_class.htm" */ ?>
-<?php /*%%SmartyHeaderCode:1901467ff75dc59b989-38960171%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- 'edf202bd6aa332c1ea343ab903fee9e0bab7e52f' =>
- array (
- 0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\add_class.htm',
- 1 => 1634883866,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '1901467ff75dc59b989-38960171',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'position' => 0,
- 'v' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_67ff75dc59fb97_71736330',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_67ff75dc59fb97_71736330')) {function content_67ff75dc59fb97_71736330($_smarty_tpl) {?><!--有变量名弹出框-->
-<div id="wname" style="display:none; ">
- <div class="job_box_div">
- <div class="job_box_inp">
- <form class="layui-form">
- <table cellspacing='1' cellpadding='1' class="admin_examine_table">
- <tr>
- <th width="80">类别选择:</th>
- <td>
- <div class="layui-input-block">
- <input name="ctype" lay-filter="ctype" value="1" title="一级分类" checked type="radio">
- <input name="ctype" lay-filter="ctype" value="2" title="二级分类" type="radio">
- </div>
- </td>
- </tr>
- <tr class='sclass' style="display:none;">
- <th>父类:</th>
- <td>
- <div class="layui-input-inline">
- <select name="nid" lay-filter="nid" id="nid_val">
- <option value="0">请选择</option>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['position']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-"><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-</option>
- <?php } ?>
- </select>
- </div>
- </td>
- </tr>
- <tr>
- <th class="t_fr">类别名称:</th>
- <td>
- <textarea id='position' class="add_class_textarea"></textarea>
- </td>
- </tr>
-
- <tr class='variable'>
- <th class="t_fr">调用变量名:</th>
- <td>
- <textarea id='variable' class="add_class_textarea"></textarea>
- </td>
- </tr>
- <tr>
- <th></th>
- <td>
- <span class="admin_web_tip" style="padding-top: 0;">说明:可以添加多条分类(请按回车Enter键换行,一行一个)</span>
- </td>
- </tr>
- <tr>
- <td colspan='2' align="center"><input class="admin_examine_bth" type="button" value="添加 " onclick="save_class()" /></td>
- </tr>
- </table>
- </form>
- </div>
- </div>
-</div>
-
-<!--有变量名弹出框end-->
-<!--弹出框-->
-<div id="bname" style="display:none;">
- <div class="job_box_div">
- <div class="job_box_inp">
- <form class="layui-form">
- <table cellspacing='1' cellpadding='1' class="admin_examine_table">
- <tr>
- <th width="80">类别选择:</th>
- <td>
- <div class="layui-input-block">
- <input type="radio" name="btype" value="1" title="一级类别">
- <input type="radio" name="btype" value="2" title="二级类别">
- </div>
- </td>
- </tr>
- <tr class='sclass_2 sclass_3 sclass' style="display:none;">
- <th>一级分类:</th>
- <td>
- <div class="layui-input-block">
- <div class="layui-input-inline">
- <select name="keyid" lay-filter="" id="keyid_val">
- <option value="">请选择</option>
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['position']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
-"><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-</option>
- <?php } ?>
- </select>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <th class="t_fr">类别名称:</th>
- <td>
- <textarea id='classname' class="add_class_textarea"></textarea>
- <span class="admin_web_tip">说明:可以添加多条分类(请按回车键换行,一行一个)</span>
- </td>
- </tr>
-
- <tr>
- <td colspan='2' align="center" class='ui_content_wrap'>
- <input class="admin_examine_bth" type="button" value="添加 " onClick="save_bclass()" />
- </td>
- </tr>
- </table>
- </form>
- </div>
- </div>
-</div>
-<!--弹出框end-->
-<?php echo '<script'; ?>
- type="text/javascript">
- $(document).ready(function() {
- $(".imghide").hover(function() {
- $(this).find('.class_xg').show();
- }, function() {
- $(this).find('.class_xg').hide();
- });
- })
-
- $(document).ready(function() {
- $('body').click(function(evt) {
- if ($(evt.target).parents("#keyid_name").length == 0 && evt.target.id != "keyid_name") {
- $('#keyid_select').hide();
- }
- });
- })
-
- layui.use(['form'], function() {
- var form = layui.form,
- $ = layui.$;
-
- form.on('radio(ctype)', function(data) {
- if (data.value == 1) {
- $(".variable").show();
- $(".sclass").hide();
- } else if (data.value == 2) {
- $(".variable").hide();
- $(".sclass").show();
- }
- });
-
- $("input[name='btype']").each(function() {
- $(this).next().click(function() {
- var val = $(this).prev().val();
- $(".sclass").hide();
- $(".sclass_" + val).show();
- });
- });
- });
-<?php echo '</script'; ?>
->
-<?php }} ?>
--
Gitblit v1.9.0