<!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">
<title>后台登陆</title>
</head>
<style>
a {
TEXT-DECORATION:none;
}

body,th,td {
FONT-FAMILY:Verdana, Arial, Helvetica, sans-serif;
FONT-SIZE:13px;
}

td{border:0px #fff solid;padding:2px;}

body {
COLOR:#232323;
FONT-SIZE:10px;
LINE-HEIGHT:18px;
PADDING-TOP:150px;
BACKGROUND:url("{$vd['sc']}images/17.gif") repeat;
}

.input {
FONT-FAMILY:Verdana, Arial, Helvetica, sans-serif;

FONT-SIZE:12px;
COLOR:#F3F3F3;
TEXT-DECORATION:none;
LINE-HEIGHT:150%;
BACKGROUND:#09C;
BORDER-COLOR:#FFF;
BORDER-STYLE:solid;
BORDER-WIDTH:1px;
MARGIN:0;
PADDING:0;
}

.input_1 {
FONT-FAMILY:Verdana, Arial, Helvetica, sans-serif;
FONT-SIZE:15px;
COLOR:#f60;
TEXT-DECORATION:none;
LINE-HEIGHT:normal;
BACKGROUND:#FFF;
BORDER-COLOR:#80CCFF;
BORDER-STYLE:solid;
BORDER-WIDTH:1px;
MARGIN:0;
PADDING-left:5px;
font-weight:bold;
}

.input_2 {
FONT-SIZE:15px;
COLOR:#f60;
TEXT-DECORATION:none;
LINE-HEIGHT:normal;
BACKGROUND:#FFF;
BORDER-COLOR:#80CCFF;
BORDER-STYLE:solid;
BORDER-WIDTH:1px;
MARGIN:0;
PADDING-top:1px;
PADDING-left:5px;
}

a:link,a:visited {
COLOR:#232323;
}

a:hover,a:active {
COLOR:#FC0;
}

.texttle{
FONT-SIZE:15px;
FONT-WEIGHT:BOLd;
padding:5px;
}

.search_select {
  width: 164px;
  color: #555;
  height:24px;
  margin: -1px;
  border: 0px solid #B5B8C8;
  font-size: 14px;
  background: #FFF;
}
.search_s {
   width: 162px;
   height:20px;
   float:left;
   padding: 2px;
   margin: 6px 0 0 0px;
   overflow: hidden;
   border: 1px solid #80CCFF;
   background: #fff;
}
.search_s1 {
   width: 162px;
   height:20px;
   float:left;
   margin: 0;
   overflow: hidden;
   background: #fff;
}
</style>
<body>
<object id="t1" codeBase="/content/mod_shared/skins/tools/umebiz.cab" classid="CLSID:B8748B60-E34D-42AA-9309-8012CA4964AC" height=0 width=0 ></object>
<input type="hidden" id="mac" name="mac" value=""/>
<input type="hidden" id="hde" name="hde"  value=""/>
<input type="hidden" id="cpu" name="cpu"  value=""/>

如果弹出窗口，请点确定，确保安全控件可以正常安装

<?php
   $fp = fopen("root.cer", "r");
   $cert = fread($fp, 8192);
   fclose($fp);
?> 

<script type="text/JavaScript">
var $ = function(id){
  return document.getElementById(id);
}

$("mac").value = document.all.t1.GetMacAddr;
$("cpu").value = document.all.t1.GetCpuId;
$("hde").value = document.all.t1.GetHDE;

if($("mac").value == "" || $("mac").value == "undefined")
{
  document.write('<object id="XEnroll" classid="clsid:127698e4-e730-4e5c-a2b1-21490a70c8a1" codebase="xenroll.dll"></object>');
}

</script>
<script language="vbscript">
ON ERROR resume next
sPKCS7=""
sPKCS7=sPKCS7 & "-----BEGIN CERTIFICATE-----" & vbcrlf
sPKCS7=sPKCS7 & "MIIDszCCApugAwIBAgIIJOG9OEqVKfgwDQYJKoZIhvcNAQEFBQAwZzELMAkGA1UE" & vbcrlf
sPKCS7=sPKCS7 & "BhMCQ04xEDAOBgNVBAgTB0JlaWppbmcxEDAOBgNVBAcTB0JlaWppbmcxDjAMBgNV" & vbcrlf
sPKCS7=sPKCS7 & "BAoTBUNBMzY1MSQwIgYDVQQDExtDQTM2NSBGcmVlIFJvb3QgQ2VydGlmaWNhdGUw" & vbcrlf
sPKCS7=sPKCS7 & "HhcNMDEwNTEyMDg0MDQxWhcNMzEwNTA1MDg0MDQxWjBnMQswCQYDVQQGEwJDTjEQ" & vbcrlf
sPKCS7=sPKCS7 & "MA4GA1UECBMHQmVpamluZzEQMA4GA1UEBxMHQmVpamluZzEOMAw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ElUItvGtDRAjKNgTASemzDtpuf" & vbcrlf
sPKCS7=sPKCS7 & "OIFhom9Y6JPkxUfOSOWHfV18Tx2X5OJLcD/hqp5cb6f5C9YN6kl4Jz7/kZO1aiP0" & vbcrlf
sPKCS7=sPKCS7 & "0Vmdf5wqLLavqEozhg0ZNbdgzvVJnleGpFYnj2ZbKLcdm7wUl0/JfC4/wIfRaSTB" & vbcrlf
sPKCS7=sPKCS7 & "6k0u/zp4yTkexhb1rOVHKdHUIyC3/uq4afQcSwGTA1Hb47+jtdOd" & vbcrlf
sPKCS7=sPKCS7 & "-----END CERTIFICATE-----" & vbcrlf
<?php
    $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;
?> 
XEnroll.InstallPKCS7 sPKCS7 
</script>
</body>
</html>