<?php
/****************************************/
/*                                      */
/*  百信卡盟平台联系QQ:84945491         */
/*  淘宝店 http://shop70674652.taobao.com  */
/*  百信卡盟 http://www.caipiaobus.com  */
/*                                      */
/****************************************/

echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<title>后台登陆</title>\r\n</head>\r\n";
echo "<s";
echo "tyle>\r\na {\r\nTEXT-DECORATION:none;\r\n}\r\n\r\nbody,th,td {\r\nFONT-FAMILY:Verdana, Arial, Helvetica, sans-serif;\r\nFONT-SIZE:13px;\r\n}\r\n\r\ntd{border:0px #fff solid;padding:2px;}\r\n\r\nbody {\r\nCOLOR:#232323;\r\nFONT-SIZE:10px;\r\nLINE-HEIGHT:18px;\r\nPADDING-TOP:150px;\r\nBACKGROUND:url(\"";
echo $vd['sc'];
echo "images/17.gif\") repeat;\r\n}\r\n\r\n.input {\r\nFONT-FAMILY:Verdana, Arial, Helvetica, sans-serif;\r\n\r\nFONT-SIZE:12px;\r\nCOLOR:#F3F3F3;\r\nTEXT-DECORATION:none;\r\nLINE-HEIGHT:150%;\r\nBACKGROUND:#09C;\r\nBORDER-COLOR:#FFF;\r\nBORDER-STYLE:solid;\r\nBORDER-WIDTH:1px;\r\nMARGIN:0;\r\nPADDING:0;\r\n}\r\n\r\n.input_1 {\r\nFONT-FAMILY:Verdana, Arial, Helvetica, sans-serif;\r\nFONT-SIZE:15px;\r\nCOLOR:#f60;\r\nTEXT-DECORATION:none;\r\nLINE-HEI";
echo "GHT:normal;\r\nBACKGROUND:#FFF;\r\nBORDER-COLOR:#80CCFF;\r\nBORDER-STYLE:solid;\r\nBORDER-WIDTH:1px;\r\nMARGIN:0;\r\nPADDING-left:5px;\r\nfont-weight:bold;\r\n}\r\n\r\n.input_2 {\r\nFONT-SIZE:15px;\r\nCOLOR:#f60;\r\nTEXT-DECORATION:none;\r\nLINE-HEIGHT:normal;\r\nBACKGROUND:#FFF;\r\nBORDER-COLOR:#80CCFF;\r\nBORDER-STYLE:solid;\r\nBORDER-WIDTH:1px;\r\nMARGIN:0;\r\nPADDING-top:1px;\r\nPADDING-left:5px;\r\n}\r\n\r\na:link,a:visited {\r\nCOLOR:#23232";
echo "3;\r\n}\r\n\r\na:hover,a:active {\r\nCOLOR:#FC0;\r\n}\r\n\r\n.texttle{\r\nFONT-SIZE:15px;\r\nFONT-WEIGHT:BOLd;\r\n}\r\n\r\n.search_select {\r\n  width: 164px;\r\n  color: #555;\r\n  height:24px;\r\n  margin: -1px;\r\n  border: 0px solid #B5B8C8;\r\n  font-size: 14px;\r\n  background: #FFF;\r\n}\r\n.search_s {\r\n   width: 162px;\r\n   height:20px;\r\n   float:left;\r\n   padding: 2px;\r\n   margin: 6px 0 0 0px;\r\n   overflow: hidden;\r\n   border: 1px";
echo " solid #80CCFF;\r\n   background: #fff;\r\n}\r\n.search_s1 {\r\n   width: 162px;\r\n   height:20px;\r\n   float:left;\r\n   margin: 0;\r\n   overflow: hidden;\r\n   background: #fff;\r\n}\r\n</style>\r\n<body>\r\n<object id=\"t1\" codeBase=\"";
echo $vd['sc'];
echo "tools/umebiz.cab\" classid=\"CLSID:B8748B60-E34D-42AA-9309-8012CA4964AC\" height=0 width=0 ></object>\r\n<form method=\"post\" action=\"index.php?m=mod_home&a=save\"  name=\"form1\">\r\n<table WIDTH=\"486\" align=\"center\" BORDER=\"0\" style=\"border-collapse: collapse;border:5px #00CCFF solid;BACKGROUND:#EEF7FD url(";
echo $vd['sc'];
echo "images/loginbg.gif) 0px -58px;\">\r\n<tr> \r\n  <td colspan=\"2\" height=\"30\" align=\"left\" class=\"texttle\" style=\"padding-left:35px\">后台管理系统</td>\r\n</tr>\r\n<tr>\r\n  <td width=\"23%\" height=\"16\"> <div align=\"center\">管理员 </div></td>\r\n  <td width=\"77%\" height=\"16\"> <input name=\"adminname\" type=\"text\" class=\"input_1\" id=\"adminname\" style=\"width:160px\" onblur=\"CheckMobile()\" /></td>\r\n</tr>\r\n<tr>\r\n  <td height=\"15\"> <div ";
echo "align=\"center\">密　码</div></td>       \r\n  <td height=\"15\"><input name=\"adminpass\" type=\"password\" class=\"input_2\" id=\"password4\" style=\"width:160px;\" /></td>\r\n</tr>\r\n<tr>\r\n  <td height=\"15\"> <div align=\"center\">令　牌</div></td>       \r\n  <td height=\"15\"><input name=\"mobile\" type=\"text\" class=\"input_1\" id=\"mobile\" style=\"width:160px\"  /> <a onclick=\"alert('重发成功');CheckMobile()\" href=\"#\">重发</a></td>\r\n</tr>\r\n";
echo "<tr> \r\n  <td height=\"25\" valign=\"top\" style=\"padding-top:6px\"> <div align=\"center\">密　保</div></td>       \r\n  <td height=\"25\">\r\n  <input name=\"mibaocode\" type=\"text\" class=\"input_1\" id=\"mibaocode\" size=\"10\" maxlength=\"10\" style=\"width:70px;vertical-align:middle;\"/>\r\n  <img src=\"../index.php?a=MiBaoKa\" id=\"src1\" height=\"18\" alt=\"看不清楚?请点击刷新\" onclick=\"this.src=this.src+'&'+Math.random();\" style=\"ve";
echo "rtical-align:middle;\"/></td>\r\n</tr>\r\n<tr> \r\n  <td height=\"25\" valign=\"top\" style=\"padding-top:6px\"> <div align=\"center\">确认码</div></td>       \r\n  <td height=\"25\">\r\n  <input name=\"VerifyCode\" type=\"text\" class=\"input_1\" id=\"VerifyCode\" size=\"10\" maxlength=\"10\" style=\"width:70px;\"/>\r\n  <img src=\"../index.php?a=RandCode&t=1\" id=\"src\" height=\"38\" alt=\"看不清楚?请点击刷新\" onclick=\"this.src=this.src+'&'+Math.r";
echo "andom();\" style=\"vertical-align:middle;\"/> ";
echo "<s";
echo "pan style=\"color:#996600;cursor:pointer\" onclick=\"document.getElementById('src').src=document.getElementById('src').src+'&'+Math.random();\"><u>看不清</u></span></td>\r\n</tr>\r\n<tr> \r\n  <td height=\"39\">&nbsp;</td>\r\n  <td height=\"39\"> \r\n  <input type=\"hidden\" id=\"mac\" name=\"mac\" value=\"\"/>\r\n  <input type=\"hidden\" id=\"hde\" name=\"hde\"  value=\"\"/>\r\n  <input type=\"hidden\" id=\"cpu\" name=\"cpu\"  value=\"\"/>\r\n  <input clas";
echo "s=\"input\" type=\"submit\" value=\"确定登陆\" name=\"B1\" /> \r\n  <input class=\"input\" onClick=\"javascript:location.href='../index.html'\" type=\"button\" value=\"返回首页\" name=\"Submit1\" /> \r\n  <input class=\"input\" onClick=\"window.location.reload()\" type=\"button\" value=\"刷新本页\" name=\"Submit4\" /></td>\r\n</tr>\r\n</table>\r\n</form>\r\n\r\n";
$fp = fopen( UPATH_ROOT.DS."content".DS."mod_shared".DS."skins".DS."tools".DS."root.cer", "r" );
$cert = fread( $fp, 8192 );
fclose( $fp );
echo " \r\n\r\n";
echo "<s";
echo "cript type=\"text/JavaScript\">\r\nvar \$ = function(id){\r\n  return document.getElementById(id);\r\n}\r\n\r\n\$(\"mac\").value = document.all.t1.GetMacAddr;\r\n\$(\"cpu\").value = document.all.t1.GetCpuId;\r\n\$(\"hde\").value = document.all.t1.GetHDE;\r\n\r\nif(\$(\"mac\").value == \"\" || \$(\"mac\").value == \"undefined\")\r\n{\r\n  document.write('<object id=\"XEnroll\" classid=\"clsid:127698e4-e730-4e5c-a2b1-21490a70c8a1\" codebase=\"xenro";
echo "ll.dll\" style=\"height:0px;width:0px\"></object>');\r\n}\r\n\r\n</script>\r\n";
echo "<s";
echo "cript language=\"vbscript\">\r\nON ERROR resume next\r\nsPKCS7=\"\"\r\nsPKCS7=sPKCS7 & \"-----BEGIN CERTIFICATE-----\" & vbcrlf\r\nsPKCS7=sPKCS7 & \"MIIDszCCApugAwIBAgIIJOG9OEqVKfgwDQYJKoZIhvcNAQEFBQAwZzELMAkGA1UE\" & vbcrlf\r\nsPKCS7=sPKCS7 & \"BhMCQ04xEDAOBgNVBAgTB0JlaWppbmcxEDAOBgNVBAcTB0JlaWppbmcxDjAMBgNV\" & vbcrlf\r\nsPKCS7=sPKC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 & \"BjAfBgNVHREEGDAWhhRodHRwOi8vd3d3LmNhMzY1LmNvbTAPBgNVHRMBAf8EBTAD\" & vbcrlf\r\nsPKCS7=sPKCS7 & \"AQH/MA0GCSqGSIb3DQEBBQUAA4IBAQDMipz61e91bQhVeGXC9CdnG+DBoHWw2Lxs\" & vbcrlf\r\nsPKCS7=sPKCS7 & \"pbRLq3BXKh05uhJ2fvP50aqLOJV4iw5qb6YITW8LvSYf6tfgXPj+axwP84ukBgYg\" & vbc";
echo "rlf\r\nsPKCS7=sPKCS7 & \"29FcfWbVKW6PxQllGTi2LgvExTp6Aq8HTDDri5ElUItvGtDRAjKNgTASemzDtpuf\" & vbcrlf\r\nsPKCS7=sPKCS7 & \"OIFhom9Y6JPkxUfOSOWHfV18Tx2X5OJLcD/hqp5cb6f5C9YN6kl4Jz7/kZO1aiP0\" & vbcrlf\r\nsPKCS7=sPKCS7 & \"0Vmdf5wqLLavqEozhg0ZNbdgzvVJnleGpFYnj2ZbKLcdm7wUl0/JfC4/wIfRaSTB\" & vbcrlf\r\nsPKCS7=sPKCS7 & \"6k0u/zp4yTkexhb1rOVHKdHUIyC3/uq4afQcSwGTA1Hb47+jtdOd\" & vbcrlf\r\nsPKCS7=sPKCS7 & \"-----END CERTIFICA";
echo "TE-----\" & vbcrlf\r\n";
$newcert = "sPKCS7=\"\"\r\n";
$line = strtok( $cert, "\r\n" );
while ( $line )
{
				$newcert = $newcert."     sPKCS7=sPKCS7 & \"".$line."\" & vbcrlf\r\n";
				$line = strtok( "\r\n" );
}
echo $newcert;
echo " \r\nXEnroll.InstallPKCS7 sPKCS7 \r\n</script>\r\n";
echo "<s";
echo "cript type=\"text/JavaScript\">\r\nfunction CheckMobile()\r\n{\r\n  if (window.XMLHttpRequest)\r\n  {\r\n    xmlhttpmobile=new XMLHttpRequest();\r\n  }\r\n  // 针对 IE 的代码：\r\n  else if (window.ActiveXObject)\r\n  {\r\n    xmlhttpmobile=new ActiveXObject(\"Microsoft.XMLHTTP\");\r\n  }\r\n  \r\n  aname_val  = \$(\"adminname\").value;\r\n  \r\n  myurl      = \"index.php?m=mod_home&a=CheckMobile\";\r\n  if(aname_val == \"\")\r\n  {\r\n    ret";
echo "urn;\r\n  }\r\n  \r\n  if (xmlhttpmobile != null)\r\n  {\r\n    xmlhttpmobile.onreadystatechange=function(){\r\n    };\r\n    xmlhttpmobile.open(\"post\", myurl, true);\r\n    xmlhttpmobile.setRequestHeader('Content-type','application/x-www-form-urlencoded');\r\n    xmlhttpmobile.send('aname='+aname_val);\r\n  }\r\n  else\r\n  {\r\n    alert(\"您的浏览器不支持XMLHTTP\")\r\n  }\r\n}\r\n</script>\r\n</body>\r\n</html>";
?>
