<%
'乘风多用户计数器 Sql版
'作者QQ：178575
'作者EMail：yliangcf@163.com
'作者网站：http://www.qqcf.com
'详细简介：http://www.qqcf.com/cfcount.htm
'上面有程序在线演示，安装演示，使用疑难解答，最新版本下载等内容
'因为这些内容可能时常更新，就没有放在程序里，请自己上网站上查看
'有完整版本的演示
%>
<%If RsSet("RegState")=-1 Then%>
		
  <%If RsSet("RegType")=1 Then'自带接口%>

<script>

function getHttpRequest(){
 var A=null; 
 try { 
 A=new ActiveXObject("Msxml2.XMLHTTP");
 } 
 catch(e) { 
 try { 
 A=new ActiveXObject("Microsoft.XMLHTTP");
 } 
 catch(oc) { 
 A=null;
 } 
 } 

 if ( !A && typeof XMLHttpRequest != "undefined" ) { 
 A=new XMLHttpRequest();
 } 
 return A;

} 

var objHttp;
function aj_usernamecheck()
{
   objHttp = getHttpRequest();      
   var tt=new Date();     

var username = document.getElementById("username").value;

if(username == "")
{
 document.getElementById('username_text').innerHTML="<br><font color='#ff0000'>用户名不能为空</font>";
 return false;
}


   var url="CF.aspx?action=usernamechecksave&username="+username+"&ranstr=" + Math.random(); 

   objHttp.onreadystatechange=(navigator.userAgent.indexOf("Firefox")>0)? usernamecheck() : usernamecheck;
   objHttp.open("GET",url,false); 
   objHttp.send(null); 
   objHttp.onreadystatechange=(navigator.userAgent.indexOf("Firefox")>0)? usernamecheck() : usernamecheck;    
}

function usernamecheck(){     
if(objHttp.readyState==4&&objHttp.status==200){
 document.getElementById('username_text').innerHTML = objHttp.responseText;
}
}


function aj_checkcodecheck()
{
   objHttp = getHttpRequest();      
   var tt=new Date();     

var checkcode = document.getElementById("checkcode").value;

if (checkcode=="")
{
 document.getElementById('checkcode_text').innerHTML="<br><font color='#ff0000'>请填写验证码</font>";
 return false;
}


   var url="CF.aspx?action=checkcodechecksave&checkcode="+checkcode+"&ranstr=" + Math.random(); 

   objHttp.onreadystatechange=(navigator.userAgent.indexOf("Firefox")>0)? checkcodecheck() : checkcodecheck;
   objHttp.open("GET",url,false); 
   objHttp.send(null); 
   objHttp.onreadystatechange=(navigator.userAgent.indexOf("Firefox")>0)? checkcodecheck() : checkcodecheck;    
}

function checkcodecheck(){     
if(objHttp.readyState==4&&objHttp.status==200){
 document.getElementById('checkcode_text').innerHTML=objHttp.responseText;
}
}


function regccimgchange()
{
 document.getElementById("regccimg").style.display = '';
 document.getElementById("regccimg").src = 'CF.aspx?Action=checkcodeget&RanStr=' + Math.random();
}

function chkname(String)
{ 
var Letters = "abcdefghijklmnopqrstuvwxyz1234567890_";
var i;
var c;
if(String.charAt( 0 )=='-')
return false;
if( String.charAt( String.length - 1 ) == '-' )
return false;
for( i = 0; i < String.length; i ++ )
{
c = String.charAt( i );
if (Letters.indexOf( c ) < 0)
return false;
}
return true;
}

function userregcheck(){

if ((document.form_userreg.username.value)==""){
 window.alert ('用户名必须填写!');
 document.form_userreg.username.focus();
 return false;
}

if(!chkname(document.form_userreg.username.value)){
 window.alert ('用户名不规则!');
 document.form_userreg.username.focus();
 return false;
}

if ((document.form_userreg.pwd.value)==""){
 window.alert ('密码必须填写!');
 document.form_userreg.pwd.focus();
 return false;
}

if(!chkname(document.form_userreg.pwd.value)){
 window.alert ('密码不规则，只能为小写字母，数字和下划线!');
 document.form_userreg.pwd.focus();
 return false;
}

if ((document.form_userreg.pwd2.value)==""){
 window.alert ('重复密码必须填写!');
 document.form_userreg.pwd2.focus();
 return false;
}

if ((document.form_userreg.pwd.value)!==(document.form_userreg.pwd2.value)){
 window.alert ('两次填写的密码不一样，请重写填写!');
 document.form_userreg.pwd2.focus();
 return false;
}

if ((document.form_userreg.email.value)==""){
 window.alert ('email必须填写!');
 document.form_userreg.email.focus();
 return false;
}

if (!isValidEmail(document.form_userreg.email.value)){
 window.alert ('email的格式不正确!');
 document.form_userreg.email.focus();
 return false;
}


var tjtype_obj = document.getElementsByName('tjtype');
var temp_tjtype = false;
for(var i = 0; i < tjtype_obj.length; i ++){
if(tjtype_obj[i].checked){
var tjtype = tjtype_obj[i].value;
temp_tjtype = true;
break; 
}
}
if(temp_tjtype == false){
 window.alert("请选择统计类型!");
 return false;
}

if ((document.form_userreg.pagename.value)==""){
 window.alert ('主页名称必须填写!');
 document.form_userreg.pagename.focus();
 return false;
}

if ((document.form_userreg.pageurl.value)==""){
 window.alert ('主页网址必须填写!');
 document.form_userreg.pageurl.focus();
 return false;
}


if(tjtype==1){//选择网站统计时

var quickstyle=document.form_userreg.quickstyle.value;

if (quickstyle==0){
 window.alert("请选择一种网站统计基本样式!");
 document.form_userreg.quickstyle.focus();
 return false;
}

if (((quickstyle==1)||(quickstyle==2)||(quickstyle==3)||(quickstyle==7))&&(document.form_userreg.tjopen.value)==""){
 window.alert ('请选择是否公开统计!');
 document.form_userreg.tjopen.focus();
 return false;
}
if (((quickstyle==1)||(quickstyle==4))&&(document.form_userreg.showtotal.value=="")){
 window.alert ('请输入初始显示数!');
 document.form_userreg.showtotal.focus();
 return false;
}

}else{//选择网店统计时

if (document.form_userreg.showtotal.value==""){
 window.alert ('请输入初始显示数!');
 document.form_userreg.showtotal.focus();
 return false;
}
}


if ((document.form_userreg.checkcode.value)==""){
 window.alert ('请输入四位数的验证码!');
 document.form_userreg.checkcode.focus();
 return false;
}

if (document.form_userreg.agreeprotocol.checked==false){
 window.alert("同意协议才能注册用户!");
 return false;
}
return true;
}


function isValidEmail(s)
{
 var reg1 = new RegExp('^[a-zA-Z0-9][a-zA-Z0-9@._-]{3,}[a-zA-Z]$');
 var reg2 = new RegExp('[@.]{2}');
 if (s.search(reg1) == -1
  || s.indexOf('@') == -1
  || s.lastIndexOf('.') < s.lastIndexOf('@')
  || s.lastIndexOf('@') != s.indexOf('@')
  || s.search(reg2) != -1)
  return false;		
 return true;
}


function selquickstyle(selvar){
 if(selvar==0){
  quickstyleshow_0();
 }
 if(selvar==1){
  quickstyleshow_1();
 }
 if(selvar==2){
  quickstyleshow_2();
 }
 if(selvar==3){
  quickstyleshow_3();
 }
 if(selvar==4){
  quickstyleshow_4();
 }
 if(selvar==5){
  quickstyleshow_5();
 }
 if(selvar==6){
  quickstyleshow_6();
 }
 if(selvar==7){
  quickstyleshow_7();
 }
}

function tjtypeshow_0(){
document.getElementById('quickstyle_0').style.display = "none";
document.getElementById('quickstyle_1').style.display = "none";
document.getElementById('quickstyle_2').style.display = "none";
document.getElementById('quickstyle_3').style.display = "none";
document.getElementById('quickstyle_4').style.display = "none";
document.getElementById('quickstyle_5').style.display = "none";
document.getElementById('quickstyle_6').style.display = "none";
document.getElementById('tjtype_1').style.display = "none";
document.getElementById('tjtype_2').style.display = "none";
document.getElementById('tjopen_1').style.display = "none";
document.getElementById('tjopen_2').style.display = "none";
}

function tjtypeshow_1(){
document.getElementById('quickstyle_0').style.display = "";
document.getElementById('quickstyle_1').style.display = "none";
document.getElementById('quickstyle_2').style.display = "none";
document.getElementById('quickstyle_3').style.display = "none";
document.getElementById('quickstyle_4').style.display = "none";
document.getElementById('quickstyle_5').style.display = "none";
document.getElementById('quickstyle_6').style.display = "none";
document.getElementById('tjtype_1').style.display = "";
document.getElementById('tjtype_2').style.display = "";
document.getElementById('tjtype_t1').innerHTML="网站名称：";
document.getElementById('tjtype_t2').innerHTML="网站网址：";

document.getElementById('tjopen_1').style.display = "none";
document.getElementById('tjopen_2').style.display = "none";
}

function tjtypeshow_2(){
document.getElementById('quickstyle_0').style.display = "none";
document.getElementById('quickstyle_1').style.display = "none";
document.getElementById('quickstyle_2').style.display = "none";
document.getElementById('quickstyle_3').style.display = "none";
document.getElementById('quickstyle_4').style.display = "none";
document.getElementById('quickstyle_5').style.display = "none";
document.getElementById('quickstyle_6').style.display = "none";
document.getElementById('tjtype_1').style.display = "";
document.getElementById('tjtype_2').style.display = "";
document.getElementById('tjtype_t1').innerHTML="网店名称：";
document.getElementById('tjtype_t2').innerHTML="网店网址：";

document.getElementById('tjopen').options[2].selected = true;
document.getElementById('tjopen_1').style.display = "none";
document.getElementById('tjopen_2').style.display = "";
}

function quickstyleshow_0(){
document.getElementById('quickstyle_1').style.display = "none";
document.getElementById('quickstyle_2').style.display = "none";
document.getElementById('quickstyle_3').style.display = "none";
document.getElementById('quickstyle_4').style.display = "none";
document.getElementById('quickstyle_5').style.display = "none";
document.getElementById('quickstyle_6').style.display = "none";
document.getElementById('tjopen_1').style.display = "none";
document.getElementById('tjopen_2').style.display = "none";
}
function quickstyleshow_1(){
document.getElementById('quickstyle_1').style.display = "";
document.getElementById('quickstyle_2').style.display = "none";
document.getElementById('quickstyle_3').style.display = "none";
document.getElementById('quickstyle_4').style.display = "none";
document.getElementById('quickstyle_5').style.display = "none";
document.getElementById('quickstyle_6').style.display = "none";
document.getElementById('tjopen_1').style.display = "";
document.getElementById('tjopen_2').style.display = "";
}
function quickstyleshow_2(){
document.getElementById('quickstyle_1').style.display = "none";
document.getElementById('quickstyle_2').style.display = "";
document.getElementById('quickstyle_3').style.display = "none";
document.getElementById('quickstyle_4').style.display = "none";
document.getElementById('quickstyle_5').style.display = "none";
document.getElementById('quickstyle_6').style.display = "none";
document.getElementById('tjopen_1').style.display = "";
document.getElementById('tjopen_2').style.display = "none";
}
function quickstyleshow_3(){
document.getElementById('quickstyle_1').style.display = "none";
document.getElementById('quickstyle_2').style.display = "none";
document.getElementById('quickstyle_3').style.display = "";
document.getElementById('quickstyle_4').style.display = "none";
document.getElementById('quickstyle_5').style.display = "none";
document.getElementById('quickstyle_6').style.display = "none";
document.getElementById('tjopen_1').style.display = "";
document.getElementById('tjopen_2').style.display = "none";
}
function quickstyleshow_4(){
document.getElementById('quickstyle_1').style.display = "none";
document.getElementById('quickstyle_2').style.display = "none";
document.getElementById('quickstyle_3').style.display = "none";
document.getElementById('quickstyle_4').style.display = "";
document.getElementById('quickstyle_5').style.display = "none";
document.getElementById('quickstyle_6').style.display = "none";
document.getElementById('tjopen_1').style.display = "none";
document.getElementById('tjopen_2').style.display = "";
}
function quickstyleshow_5(){
document.getElementById('quickstyle_1').style.display = "none";
document.getElementById('quickstyle_2').style.display = "none";
document.getElementById('quickstyle_3').style.display = "none";
document.getElementById('quickstyle_4').style.display = "none";
document.getElementById('quickstyle_5').style.display = "";
document.getElementById('quickstyle_6').style.display = "none";
document.getElementById('tjopen_1').style.display = "none";
document.getElementById('tjopen_2').style.display = "none";
}
function quickstyleshow_6(){
document.getElementById('quickstyle_1').style.display = "none";
document.getElementById('quickstyle_2').style.display = "none";
document.getElementById('quickstyle_3').style.display = "none";
document.getElementById('quickstyle_4').style.display = "none";
document.getElementById('quickstyle_5').style.display = "none";
document.getElementById('quickstyle_6').style.display = "";
document.getElementById('tjopen_1').style.display = "none";
document.getElementById('tjopen_2').style.display = "none";
}
function quickstyleshow_7(){
document.getElementById('quickstyle_1').style.display = "none";
document.getElementById('quickstyle_2').style.display = "none";
document.getElementById('quickstyle_3').style.display = "none";
document.getElementById('quickstyle_4').style.display = "none";
document.getElementById('quickstyle_5').style.display = "none";
document.getElementById('quickstyle_6').style.display = "none";
document.getElementById('tjopen_1').style.display = "";
document.getElementById('tjopen_2').style.display = "none";
}
</script>

          <form method="POST" action="CF.aspx?Action=userregsave" name="form_userreg"  id=form_userreg onsubmit="return userregcheck()">

<table align="center" style="margin-top:20px;"><tr> 
              <td width="18%" class="td_3">用户名：</td>
              <td ><input type="text" name="username" id="username" size="30" onblur="aj_usernamecheck();" autoComplete="off" STYLE="ime-mode:inactive;width:220px">
        <font color="#FF0000">*</font>(只能填写小写英文字母,数字或下划线)<span id='username_text'></span></td>
            </tr>
            <tr> 
              <td  class="td_3">密　码：</td>
              <td >
                <input name="pwd" type="password" id="pwd"  size="33"  STYLE="ime-mode:inactive;width:220px">
                <font color="#FF0000">*</font></td>
            </tr>
            <tr> 
              <td  class="td_3">重复密码：</td>
              <td > 
                <input name="pwd2" type="password" id="pwd2"  size="33" STYLE="ime-mode:inactive;width:220px">
                <font color="#FF0000">*</font></td>
            </tr>
            <tr> 
              <td  class="td_3">密码提示问题：</td>
              <td > 
                <input name="passwordask" type="text" id="passwordask"  size="30" autoComplete="off" STYLE="ime-mode:inactive;width:220px">              </td>
            </tr>
            <tr> 
              <td  class="td_3">密码回答答案：</td>
              <td >
                <input name="passwordanswer" type="text" id="passwordanswer"  size="30" autoComplete="off" STYLE="ime-mode:inactive;width:220px">              </td>
            </tr>
            <tr> 
              <td  class="td_3">E-Mail：</td>
              <td > 
                <input type="text" name="email" size="30"  autoComplete="off" STYLE="ime-mode:inactive;width:220px">
                <font color="#FF0000">*</font></td>
            </tr>
            <tr> 
              <td  class="td_3">QQ号码：</td>
              <td > 
                <input name="qq" type="text" id="qq" size="30"  autoComplete="off" STYLE="ime-mode:inactive;width:220px">              </td>
            </tr>
			
            <tr>
              <td  class="td_3">统计类型：</td>
              <td ><input name="tjtype" type="radio" value="1" onclick="tjtypeshow_1()">
                网站统计 
                <input type="radio" name="tjtype" value="2" onclick="tjtypeshow_2()">
                网店统计 <font color="#FF0000">*</font></td>
            </tr>
			<tr id="tjtype_1"> 
              <td  class="td_3"><span id="tjtype_t1">网站或网店名称：</span></td>
              <td > 
                <input type="text" name="pagename" size="30"  autoComplete="off" STYLE="ime-mode:inactive;width:220px">
                <font color="#FF0000">*</font></td>
            </tr>
            <tr id="tjtype_2"> 
              <td  class="td_3"><span id="tjtype_t2">网站或网店网址：</span></td>
              <td > 
                <input name="pageurl" type="text" value="http://" size="30"  autoComplete="off" STYLE="ime-mode:inactive;width:220px">
                <font color="#FF0000">*</font></td>
            </tr>

            <tr id="quickstyle_0"> 
              <td  class="td_3">请选择基本样式：</td>
              <td >
<select name="quickstyle" id="quickstyle" onchange="selquickstyle(form.quickstyle.options[form.quickstyle.selectedIndex].value);"  STYLE="ime-mode:inactive;width:220px">
<option value="0">请选择网站统计样式</option>
<option value="1">数字型</option>
<option value="2">图标型</option>
<option value="3">文字型</option>
<option value="4">数字型+描述</option>
<option value="5">图标型+描述</option>
<option value="6">文字型+描述</option>
<option value="7">留言样式</option>
</select>
<font color="#FF0000">*</font> </td>
            </tr>
            <tr id="quickstyle_1"> 
              <td  class="td_3">样式效果示范：</td>
              <td ><a href=<%=HttpPath(2)%> target=_blank title=统计服务由[<%=RsSet("SysTitle")%>]免费提供><img src=CounterPic/1/0.gif border='0'><img src=CounterPic/1/0.gif border='0'><img src=CounterPic/1/0.gif border='0'><img src=CounterPic/1/1.gif border='0'><img src=CounterPic/1/2.gif border='0'><img src=CounterPic/1/3.gif border='0'><img src=CounterPic/1/4.gif border='0'><img src=CounterPic/1/5.gif border='0'></a>&nbsp;注：注册后有许多图片选择</td>
            </tr>
            <tr id="quickstyle_2"> 
              <td  class="td_3">样式效果示范：</td>
              <td ><a href=<%=HttpPath(2)%> target=_blank title=统计服务由[<%=RsSet("SysTitle")%>]免费提供><img src=images/counter_1.gif border='0'></a></td>
            </tr>
            <tr id="quickstyle_3"> 
              <td  class="td_3">样式效果示范：</td>
              <td ><a href=<%=HttpPath(2)%> target=_blank title=统计服务由[<%=RsSet("SysTitle")%>]免费提供><%=RsSet("TjTextName")%></a></td>
            </tr>
            <tr id="quickstyle_4"> 
              <td  class="td_3">样式效果示范：</td>
              <td ><table border='0' cellpadding='0' cellspacing='0'>
                  <tr> 
                    <td><div align='center'><a href=<%=HttpPath(2)%> target=_blank title=网站名称：乘风原创程序&#13;今天浏览：73&#13;今天IP：16&#13;在线人数：2&#13;&#13;统计服务由[<%=RsSet("SysTitle")%>]免费提供><img src=CounterPic/1/0.gif border='0'><img src=CounterPic/1/0.gif border='0'><img src=CounterPic/1/0.gif border='0'><img src=CounterPic/1/1.gif border='0'><img src=CounterPic/1/2.gif border='0'><img src=CounterPic/1/3.gif border='0'><img src=CounterPic/1/4.gif border='0'><img src=CounterPic/1/5.gif border='0'></a></td>
                    <td><div align='center'><a href=<%=HttpPath(2)%> target=_blank title='网站名称：乘风原创程序&#13;今天浏览：73&#13;今天IP：16&#13;在线人数：2&#13;&#13;统计服务由[<%=RsSet("SysTitle")%>]免费提供'><span style='font-size:12px;text-decoration:none;font-weight:normal;color:#000000;line-height:20px;'>同时在线[<font color='#FF0000'>2</font>]人</span>&nbsp;<span style='font-size:12px;text-decoration:none;font-weight:normal;color:#000000;line-height:20px;'>今天浏览[<font color='#FF0000'>73</font>]</span>&nbsp;<span style='font-size:12px;text-decoration:none;font-weight:normal;color:#000000;line-height:20px;'>今天IP[<font color='#FF0000'>16</font>]</span>&nbsp;<span style='font-size:12px;text-decoration:none;font-weight:normal;color:#000000;line-height:20px;'>你的IP[<font color='#FF0000'>127.0.0.1</font>]</span>&nbsp;<span style='font-size:12px;text-decoration:none;font-weight:normal;color:#000000;line-height:20px;'>欢迎你第[<font color='#FF0000'>5</font>]次访问本站</span></a></td>
                  </tr>
                </table></td>
            </tr>
            <tr id="quickstyle_5"> 
              <td  class="td_3">样式效果示范：</td>
              <td ><table border='0' cellpadding='0' cellspacing='0'>
                  <tr> 
                    <td><div align='center'><a href=<%=HttpPath(2)%> target=_blank title=统计服务由[<%=RsSet("SysTitle")%>]免费提供><img src=images/counter_1.gif border='0'></a></td>
                    <td><div align='center'><a href=<%=HttpPath(2)%> target=_blank title='统计服务由[<%=RsSet("SysTitle")%>]免费提供'><span style='font-size:12px;text-decoration:none;font-weight:normal;color:#000000;line-height:20px;'>同时在线[<font color='#FF0000'>1</font>]人</span>&nbsp;<span style='font-size:12px;text-decoration:none;font-weight:normal;color:#000000;line-height:20px;'>今天浏览[<font color='#FF0000'>47</font>]</span>&nbsp;<span style='font-size:12px;text-decoration:none;font-weight:normal;color:#000000;line-height:20px;'>今天IP[<font color='#FF0000'>15</font>]</span>&nbsp;<span style='font-size:12px;text-decoration:none;font-weight:normal;color:#000000;line-height:20px;'>你的IP[<font color='#FF0000'>127.0.0.1</font>]</span>&nbsp;<span style='font-size:12px;text-decoration:none;font-weight:normal;color:#000000;line-height:20px;'>欢迎你第[<font color='#FF0000'>4</font>]次访问本站</span></a></td>
                  </tr>
                </table></td>
            </tr>
            <tr id="quickstyle_6"> 
              <td  class="td_3">样式效果示范：</td>
              <td ><table border='0' cellpadding='0' cellspacing='0'>
                  <tr> 
                    <td><div align='center'><a href=<%=HttpPath(2)%> target=_blank title=统计服务由[<%=RsSet("SysTitle")%>]免费提供><%=RsSet("TjTextName")%></a></td>
                    <td><div align='center'><a href=<%=HttpPath(2)%> target=_blank title='统计服务由[<%=RsSet("SysTitle")%>]免费提供'><span style='font-size:12px;text-decoration:none;font-weight:normal;color:#000000;line-height:20px;'>同时在线[<font color='#FF0000'>1</font>]人</span>&nbsp;<span style='font-size:12px;text-decoration:none;font-weight:normal;color:#000000;line-height:20px;'>今天浏览[<font color='#FF0000'>47</font>]</span>&nbsp;<span style='font-size:12px;text-decoration:none;font-weight:normal;color:#000000;line-height:20px;'>今天IP[<font color='#FF0000'>15</font>]</span>&nbsp;<span style='font-size:12px;text-decoration:none;font-weight:normal;color:#000000;line-height:20px;'>你的IP[<font color='#FF0000'>127.0.0.1</font>]</span>&nbsp;<span style='font-size:12px;text-decoration:none;font-weight:normal;color:#000000;line-height:20px;'>欢迎你第[<font color='#FF0000'>4</font>]次访问本站</span></a></td>
                  </tr>
                </table></td>
            </tr>

			
            <tr id="tjopen_1"> 
              <td  class="td_3">是否公开统计：</td>
              <td ><select name="tjopen" style="width:80px;">
                  <option  value="" selected>请选择</option>
                  <option value="-1">公开</option>
                  <option value="0">不公开</option>
                </select><font color="#FF0000">*</font></td>
            </tr>
            <tr id="tjopen_2">
              <td  class="td_3">初始显示数：</td>
              <td ><input name="showtotal" type="text" id="showtotal" value="0" size="10"><font color="#FF0000">*</font></td>
            </tr>
    <tr> 
      <td class="td_3">随机验证码：</td>
      <td>
<INPUT name=checkcode type=text id=checkcode value="" size=6 onclick="if(document.getElementById('checkcode').value==''){regccimgchange();}" onMouseOut="aj_checkcodecheck();" autoComplete="off" STYLE="ime-mode:inactive;width:50px"> 
<a href="javascript:regccimgchange()"><IMG id=regccimg src="CF.aspx?Action=checkcodeget&RanStr=<%=Md5(Now,1)%>" style="display:none;" title="看不清楚，换一个！" width="46" height="20"></a><font color="#FF0000">*</font>
<span id='checkcode_text'></span></td>
    </tr>
            <tr> 
              <td >&nbsp;</td>
              <td ><input name="agreeprotocol" type="checkbox" id="agreeprotocol" value="-1" checked>
                注册即表示你同意并承诺遵守《<a href="LabelShow.asp?LabelName=reg_zzxy" target="_blank">“<%=RsSet("SysTitle")%>” 用户守则</a>》</td>
            </tr>
            <tr> 
              <td >&nbsp;</td>
              <td >
<INPUT type=image border=0 name=imageField src="images/reg.gif" style="width:53px;height:21px;border:0px;margin:8px 0px">                　</td>
            </tr>
          
</table></form>
		
<%

Show="tjtypeshow_0();"

Response.write "<script>"               &Chr(13)&Chr(10)
Response.write "function myshow()"      &Chr(13)&Chr(10)
Response.write "{"					    &Chr(13)&Chr(10)
Response.write  Show                    &Chr(13)&Chr(10)
Response.write "clearInterval(myst);"   &Chr(13)&Chr(10)
Response.write "}"                      &Chr(13)&Chr(10)
Response.write "myst=setInterval('myshow()',1);"  &Chr(13)&Chr(10)
Response.write "</script>"              &Chr(13)&Chr(10)

Else
Response.Redirect RsSet("RegUrl")
End If

Else
%>

<table class="tb_2">
<tr class="tr_1">
    <td>对不起,本统计系统已经暂停新用户注册!</td>
  </tr>
</table>

<%End If%>