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%%*/?>
tpl_vars['config']->value['sy_webname'];?>
- 后台管理中心
language="javascript" type="text/javascript" src="../js/jquery-1.8.0.min.js?v=tpl_vars['config']->value['cachecode'];?>
">
>
src="js/admin_public.js?v=tpl_vars['config']->value['cachecode'];?>
" language="javascript">
>
src="../js/layui/layui.js?v=tpl_vars['config']->value['cachecode'];?>
">
>
src="../js/layui/phpyun_layer.js?v=tpl_vars['config']->value['cachecode'];?>
">
>
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;
})
}
>
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;
?>
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;
?>
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;
?>
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;
?>
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 = 'tpl_vars['indexurl']->value;?>
';
}
$("#rightMain").attr('src', url);
}
function _MP(menuid, targetUrl) {
$("#menuid").val(menuid);
$("#paneladd").html('添加');
$("#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('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();
}
}
>
tpl_vars['config']->value['sy_chat_open']==1&&isset($_smarty_tpl->tpl_vars['crm_chat']->value)) {?>
>
var socketUrl = "tpl_vars['config']->value['sy_chat_weburl'];?>
";
var pytoken = $("#pytoken").val();
>
src="tpl_vars['config']->value['sy_weburl'];?>
/app/template/chat/custom/socket.js?v=tpl_vars['config']->value['cachecode'];?>
">
>