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%%*/?> tpl_vars['admincache']->value=='1') {?>
getSubTemplate (((string)$_smarty_tpl->tpl_vars['tplstyle']->value)."/verify/verify_js.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?> src="tpl_vars['style']->value;?> /js/reg_ajax.js?v=tpl_vars['config']->value['cachecode'];?> " type="text/javascript"> > > var code_kind = 'tpl_vars['config']->value['code_kind'];?> ', setval, setwout; var sy_login_type = '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 = 'tpl_vars['config']->value['reg_moblie'];?> '; var reg_email = 'tpl_vars['config']->value['reg_email'];?> '; $("#onregister").attr("href", ''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(''login','c'=>'wxlogin'),$_smarty_tpl);?> ', { t: 1 }, function(data) { if(data == 0) { $('#wx_login_qrcode').html('二维码获取失败..'); } else { $('#wx_login_qrcode').html(''); setval = setInterval(function(){ $.post(''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); } }); } >