<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">//鎵嬫満鐗堝垽鏂�
function is_mobile() {
  var regex_match = /(nokia|iphone|android|motorola|^mot-|softbank|foma|docomo|kddi|up.browser|up.link|htc|dopod|blazer|netfront|helio|hosin|huawei|novarra|CoolPad|webos|techfaith|palmsource|blackberry|alcatel|amoi|ktouch|nexian|samsung|^sam-|s[cg]h|^lge|ericsson|philips|sagem|wellcom|bunjalloo|maui|symbian|smartphone|midp|wap|phone|windows ce|iemobile|^spice|^bird|^zte-|longcos|pantech|gionee|^sie-|portalmmm|jigs browser|hiptop|^benq|haier|^lct|operas*mobi|opera*mini|320x320|240x320|176x220)/i;
  var u = navigator.userAgent;
  if (null == u) {
   return true;
  }
  var result = regex_match.exec(u);
  if (null == result) {
   return false
  } else {
   return true
  }
}

function objdis(x,y){
document.getElementById(x).style.display=y;
}

function objhtml(x,y){
document.getElementById(x).innerHTML=y;
}

function isEmail(str){
var reg = /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+((\.[a-zA-Z0-9_-]{2,3}){1,2})$/;
return reg.test(str);
}

function isMobile(str){
myreg = /^(((13[0-9]{1})|(15[0-9]{1})|(17[0-9]{1})|(18[0-9]{1})|(19[0-9]{1}))+\d{8})$/; 
return myreg.test(str);
}

//鐩稿姞
function addNum(num1,num2){ //閬垮厤鍑虹幇灏忔暟鐐瑰浣嶇殑鎯呭喌
x=parseFloat(num1)+parseFloat(num2);
return jsxiaoshudian(x);
}

//鐩镐箻
function accMul(arg1,arg2){
x=parseFloat(arg1)*parseFloat(arg2);
return jsxiaoshudian(x);
}

function jsxiaoshudian(num1){
  a=num1.toFixed(3);
  a=a.substr(0, a.length - 1);
  a=parseFloat(a);
  return a;
}

function area1cha(){
farea2.location="../tem/area2.php?areaid1="+document.getElementById("area1").value;	
}


//寮瑰嚭鐧诲綍绐楀彛
function tclogin(){
layer.open({
  type: 2,
  area: ['650px', '415px'],
  title:["蹇嵎鐧诲綍","text-align:left"],
  skin: 'layui-layer-rim', //鍔犱笂杈规
  content:['../tem/tclogin.php', 'no'] 
});
}

//寮瑰嚭QQ鑱旂郴
function opentangqq(x){
layer.open({
  type: 2,
  shadeClose :true,
  area: ['320px', '170px'],
  title:["QQ鑱旂郴","text-align:left"],
  skin: 'layui-layer-rim', //鍔犱笂杈规
  content:['/tem/tangqq.php?qq='+x, 'no'] 
});
}

//寮瑰嚭鐢宠绐楀彛
function sqzhiwei(x){
 //if(!confirm("纭畾瑕佹彁浜ょ敵璇峰悧?")){return false;}
 $.get("/tem/sesChk.php",{},function(result){
  if(result==""){tclogin();}
  else{
   layer.open({
     type: 2,
     area: ['360px', '180px'],
	 shadeClose: true,
     title:["鐢宠鑱屼綅","text-align:left"],
     skin: 'layui-layer-rim', //鍔犱笂杈规
     content:['/tem/sqzwtang.php?zwid='+x, 'no'] 
   });
   
  }
 });
}

//寮瑰嚭灏忕▼搴�
function xcxtang(){
layer.open({
  type: 1,
  title: "寰俊鎵竴鎵�",
  closeBtn: 1,
  shadeClose: true,
  area: ['200px', '245px'],
  content: '&lt;img src="/img/wxxcx.jpg" width=150 height=150 style="margin-top:25px;" /&gt;'
});
}

//寮瑰嚭瀹夊崜APP
function apktang(){
layer.open({
  type: 1,
  title: "瀹夊崜鎵嬫満鎵竴鎵�",
  closeBtn: 1,
  shadeClose: true,
  area: ['264px', '310px'],
  content: '&lt;img src="/tem/getqr.php?u='+document.getElementById("webhttp").innerHTML+'mt/anzhuo.php&amp;size=8" /&gt;'
});
}

//寮瑰嚭绠€鍘嗘墜鏈虹増浜岀淮鐮�
function jianliwaponc(x){
layer.open({
  type: 1,
  title: "鎵嬫満鎵竴鎵�",
  closeBtn: 1,
  shadeClose: true,
  area: ['264px', '310px'],
  content: '&lt;img src="/tem/getqr.php?u='+document.getElementById("webhttp").innerHTML+'m/cv/view'+x+'.html&amp;size=8" width=264 height=264 /&gt;'
});
}

//寮瑰嚭涓炬姤绐楀彛
function jbtang(x,y){
layer.open({
  type: 2,
  area: ['650px', '495px'],
  title:["涓炬姤绐楀彛","text-align:left"],
  skin: 'layui-layer-rim', //鍔犱笂杈规
  content:['/tem/jubao.php?admin='+x+"&amp;id="+y, 'no'] 
});
}

//浼佷笟鏀惰棌
function comfavInto(x,y) {
 $.get("/tem/fav.php",{admin:1,bh:x},function(result){
  if(result=="err1"){tclogin();}
  else if(result=="err3"){alert("涓嶈兘鏀惰棌鑷繁鐨勪紒涓�");return false;}
  else if(result=="err4" || result=="ok"){
  document.getElementById("favsyes"+y).style.display="";
  document.getElementById("favsno"+y).style.display="none";
  }
 });
}

//鑱屼綅鏀惰棌
function jobfavInto(x,y) {
 $.get("/tem/fav.php",{admin:2,bh:x},function(result){
  if(result=="err1"){tclogin();}
  else if(result=="err3"){alert("涓嶈兘鏀惰棌鑷繁鐨勮亴浣�");return false;}
  else if(result=="err4" || result=="ok"){
  document.getElementById("favsyes"+y).style.display="";
  document.getElementById("favsno"+y).style.display="none";
  }
 });
}

//涓嬭浇绠€鍘�
function downcv(x,y) {
 $.get("/tem/downcv.php",{id:x},function(result){
  if(result=="err1"){tclogin();}
  else if(result=="err2"){alert("鍙湁浼佷笟鐢ㄦ埛鍙互涓嬭浇绠€鍘�");return false;}
  else if(result=="err3"){alert("涓嶈兘涓嬭浇鑷繁鐨勭畝鍘�");return false;}
  else if(result=="err5"){alert("绠€鍘嗕笉瀛樺湪");return false;}
  else if(result=="err6"){alert("涓嬭浇鏁伴噺宸茬粡鐢ㄥ畬锛岃鍏堣繘浼氬憳涓績璐拱");location.href="/user/cvdownnumbuy.php";return false;}
  else if(result=="err4" || result=="ok"){
   if(y!=0){
    document.getElementById("downcvno"+y).style.display="none";
    document.getElementById("downcvok"+y).style.display="";
   }else{
    location.reload();
   }
  }
 });
}

//閭€璇蜂汉鎵�
function yaoqingcv(x,y) {
 $.get("/tem/yaoqingcv.php",{id:x},function(result){
  if(result=="err1"){tclogin();}
  else if(result=="err2"){alert("鍙湁姝ｅ父灞曠ず鐨勪紒涓氱敤鎴峰彲浠ラ個璇蜂汉鎵�");return false;}
  else if(result=="err5"){alert("浜烘墠妗ｆ涓嶅瓨鍦�");return false;}
  else if(result=="err4" || result=="ok"){
  document.getElementById("yaoqingcvno"+y).style.display="none";
  document.getElementById("yaoqingcvok"+y).style.display="";
  }
 });
}

function gourl(x){location.href=x;}

//鍏ㄩ€�
function xuan(){
 c2=document.getElementsByName("C2");
 c=document.getElementsByName("C1");
 if(c2[0].checked){
 for(i=0;i&lt;c.length;i++){
 c[i].checked="checked";
 }
 }else{
 for(i=0;i&lt;c.length;i++){
 c[i].checked=false;
 }
 }
}
function xuan1(){
 c21=document.getElementsByName("C21");
 c11=document.getElementsByName("C11");
 if(c21[0].checked){
 for(i=0;i&lt;c11.length;i++){
 c11[i].checked="checked";
 }
 }else{
 for(i=0;i&lt;c11.length;i++){
 c11[i].checked=false;
 }
 }
}

//鍟嗗搧鏀惰棌
function profavInto(x){
 $.get("/tem/favproInto.php",{bh:x},function(result){
  if(result=="err1"){tclogin();}
  else if(result=="err2"){alert("涓嶈兘鏀惰棌鑷繁鐨勫晢鍝佸摝");return false;}
  else if(result=="ok"){
  document.getElementById("favpyes").style.display="";
  document.getElementById("favpno").style.display="none";
  }else{alert("鏈煡閿欒锛岃鍒锋柊閲嶈瘯");return false;}
 });
}

//鍟嗗搧鍔犲叆璐墿杞�
function carInto(x){
 if(document.getElementById("tcnum")){if(taocanid==0){alert("璇峰厛閫夋嫨濂楅");document.getElementById("utc1").className="utc utc1";return false;}}
 if(document.getElementById("tc2div"+taocanid)){if(taocanid2==0){alert("璇峰厛閫夋嫨濂楅");document.getElementById("tc2div"+taocanid).className="utc utc1";return false;}taocanid=taocanid2;}
 $.get("/tem/carInto.php",{bh:x,kcnum:document.getElementById("tkcnum").value,tcid:taocanid},function(result){
  if(result=="err1"){tclogin();}
  else if(result=="err2"){alert("涓嶈兘璐拱鑷繁鐨勫晢鍝佸摝");return false;}
  else if(result=="ok"){
  document.getElementById("cara2").style.display="";
  document.getElementById("cara1").style.display="none";
  }else{alert("鏈煡閿欒锛岃鍒锋柊閲嶈瘯");return false;}
 });
}

//鍟嗗搧绔嬪嵆璐拱
function buyInto(x){
if(document.getElementById("tcnum")){if(taocanid==0){alert("璇峰厛閫夋嫨濂楅");document.getElementById("utc1").className="utc utc1";return false;}}
if(document.getElementById("tc2div"+taocanid)){if(taocanid2==0){alert("璇峰厛閫夋嫨濂楅");document.getElementById("tc2div"+taocanid).className="utc utc1";return false;}taocanid=taocanid2;}
 $.get("/tem/carInto.php",{bh:x,kcnum:document.getElementById("tkcnum").value,tcid:taocanid},function(result){
  if(result=="err1"){tclogin();}
  else if(result=="err2"){alert("涓嶈兘璐拱鑷繁鐨勫晢鍝佸摝");return false;}
  else if(result=="ok"){location.href="../user/car.php";}else{alert("鏈煡閿欒锛岃鍒锋柊閲嶈瘯");return false;}
 });
}

//鎷涜仒浼氭姤鍚嶅弬灞�
function gloaddzph(x){
 if(!confirm("纭畾瑕佸弬鍔犺鎷涜仒浼氬悧锛�")){return false;}
 $.get("/tem/addzph.php",{bh:x},function(result){
  if(result=="err1"){tclogin();}
  else if(result=="err2"){alert("鎮ㄥ凡缁忔姤鍚嶅弬鍔犺繃锛屾棤椤婚噸澶嶅弬鍔�");return false;}
  else if(result=="err3"){alert("灞曠ず宸茬粡缁撴潫");return false;}
  else if(result=="err4"){alert("浣欓涓嶈冻锛岃鍏堝厖鍊�");location.href="../user/pay.php";return false;}
  else if(result=="err5"){alert("鍙湁浼佷笟鐢ㄦ埛鑳芥姤鍚嶅弬灞�");return false;}
  else if(result=="ok"){location.href="../user/zphlist.php";}
  else{alert("鏈煡閿欒锛岃鍒锋柊閲嶈瘯");return false;}
 });
}

//寮瑰嚭宀椾綅娴忚璁板綍
function jobshistang(){
layer.open({
  type: 2,
  area: ['800px', '415px'],
  title:["宀椾綅娴忚璁板綍","text-align:left"],
  skin: 'layui-layer-rim', //鍔犱笂杈规
  content:['/tem/jobshis.php', 'no'] 
});
}

//寮瑰嚭浼佷笟娴忚璁板綍
function companyhistang(){
layer.open({
  type: 2,
  area: ['800px', '415px'],
  title:["浼佷笟娴忚璁板綍","text-align:left"],
  skin: 'layui-layer-rim', //鍔犱笂杈规
  content:['/tem/companyhis.php', 'no'] 
});
}

//寮瑰嚭绠€鍘嗘祻瑙堣褰�
function cvhistang(){
layer.open({
  type: 2,
  area: ['800px', '415px'],
  title:["绠€鍘嗘祻瑙堣褰�","text-align:left"],
  skin: 'layui-layer-rim', //鍔犱笂杈规
  content:['/tem/cvhis.php', 'no'] 
});
}

//棣栭〉寮圭獥
function setIndexCookie() {
$.get(document.getElementById("webhttp").innerHTML+"tem/indexcookie.php",{admin:2},function(result){
});
};

function getIndexCookie () {
$.get(document.getElementById("webhttp").innerHTML+"tem/indexcookie.php",{admin:1},function(result){
 if(result=="no"){
  layer.open({
    type:1,
    title: false,
    closeBtn: 1,
    area: ['900px','465px'],
    shadeClose: false,
    content: $('.indexYJTS')
  });
  setIndexCookie();
 }
});
}

</pre></body></html>