<%
'乘风多用户计数器 Sql版
'作者QQ：178575
'作者EMail：yliangcf@163.com
'作者网站：http://www.qqcf.com
'详细简介：http://www.qqcf.com/cfcount.htm
'上面有程序在线演示，安装演示，使用疑难解答，最新版本下载等内容
'因为这些内容可能时常更新，就没有放在程序里，请自己上网站上查看
'有完整版本的演示
%>
<%
If Session("CFCountUser_View")<>"" Then'为独立查看者时
 Call AlertBack("独立查看者无法对此操作",1)
End If
%>
<SCRIPT>
function ashow_1(){
a_1.style.display = "";
}
function ashow_2(){
a_1.style.display = "";
}
function ashow_3(){
a_1.style.display = "";
}
function ashow_4(){
a_1.style.display = "none";
}
function ashow_5(){
a_1.style.display = "none";
}
function ashow_6(){
a_1.style.display = "none";
}
function ashow_7(){
a_1.style.display = "";
}


function jsqquickset(){
var check_length = document.form2.quickstyle.length;
var i_count=0
for(var i=0;i<check_length;i++){
 if (document.form2.quickstyle(i).checked){
  i_count=i_count+1;
 }
}	  
if(i_count==0){
 window.alert("请选择一种基本样式!");
 return false;
}
if (((document.form2.quickstyle(0).checked)||(document.form2.quickstyle(1).checked)||(document.form2.quickstyle(2).checked)||(document.form2.quickstyle(6).checked))&&(form2.tjopen.options[form2.tjopen.selectedIndex].value)==""){
 window.alert ('请选择是否公开统计!');
 document.form2.tjopen.focus();
 return false;
}
return true;
}
</script>

			
<form name="form2" method="post" action="User.aspx?Action=jsqquicksetsave"  onsubmit="return jsqquickset()">
<table class="tb_1">
<tr class="tr_1">
<td colspan="3"> 计数器基本样式快速设置！</td>
</tr>
<tr> 
              <td width="120">数字型：</td>
              <td><input type="radio" name="quickstyle" value="1" onclick="ashow_1()"></td>
              <td><%=GetPicStyle(UserName)%></td>
            </tr>
            <tr> 
              <td>图标型：</td>
              <td><input type="radio" name="quickstyle" value="2" onclick="ashow_2()"></td>
              <td> <a href=<%=Tmp%> target=_blank title=计数服务由[<%=RsSet("SysTitle")%>]免费提供><img src=<%=Tmp%>images/counter_2.gif border='0'></a></td>
            </tr>
            <tr> 
              <td>文字型：</td>
              <td><input type="radio" name="quickstyle" value="3" onclick="ashow_3()"></td>
              <td><a href=<%=HttpPath(2)%> target=_blank title=统计服务由[<%=RsSet("SysTitle")%>]免费提供><%=RsSet("TjTextName")%></a></td>
            </tr>
            <tr> 
              <td>数字型+详细描述：</td>
              <td><input type="radio" name="quickstyle" value="4"  onclick="ashow_4()"></td>
              <td> <table border='0' cellpadding='2' cellspacing='1'>
                  <tr> 
                    <td><div align='center'><%=GetPicStyle(UserName)%></td>
                    <td><div align='center'><a href=<%=Tmp%>View.asp?UserName=<%=UserName%> 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> 
              <td>图标型+详细描述：</td>
              <td><input type="radio" name="quickstyle" value="5" onclick="ashow_5()"></td>
              <td> <table border='0' cellpadding='2' cellspacing='1'>
                  <tr> 
                    <td><div align='center'><a href=<%=Tmp%>View.asp?UserName=<%=UserName%> target=_blank title=计数服务由[<%=RsSet("SysTitle")%>]免费提供><img src=<%=Tmp%>images/counter_2.gif border='0'></a></td>
                    <td><div align='center'><a href=<%=Tmp%>View.asp?UserName=<%=UserName%> 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> 
              <td>文字型+详细描述：</td>
              <td><input type="radio" name="quickstyle" value="6" onclick="ashow_6()"></td>
              <td class="td_1"><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 > 
              <td  >留言型：</td>
              <td  ><input type="radio" name="quickstyle" value="7" onclick="ashow_7()"></td>
              <td  >留言板</td>
            </tr>
			<tr id="a_1">
              <td colspan="2">是否公开统计：</td>
              <td class="td_1"><select name="tjopen">
                  <option value="" selected>请选择</option>
                  <option value="-1">公开</option>
                  <option value="0">不公开</option>
                </select></td>
            </tr>
            <tr> 
              <td colspan="2">&nbsp;</td>
              <td class="td_1">
                <input type="submit" name="Submit2" value="设　置">
                <br>
                (注：这里只提供四种基本样式选择,更多的设置请进入＂<a href="?Action=jsqset">参数设置</a>&quot;和&quot;<a href="?Action=stylelist">图片样式选择</a>&quot;，你的设置计数器实际效果在&quot;<a href="?Action=webcodeget">预览及获取代码</a>&quot;里可以看到)</td>
            </tr>  
</table></form>