<%
'乘风多用户计数器 Sql版
'作者QQ：178575
'作者EMail：yliangcf@163.com
'作者网站：http://www.qqcf.com
'详细简介：http://www.qqcf.com/cfcount.htm
'上面有程序在线演示，安装演示，使用疑难解答，最新版本下载等内容
'因为这些内容可能时常更新，就没有放在程序里，请自己上网站上查看
'有完整版本的演示
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<!--#Include File="Conn.asp"-->
<!--#Include File="CF_MyFunCtion.asp"-->
<!--#Include File="CF_Md5.asp"-->
<!--#Include File="CF_Getcookie.asp"-->
<%
On Error Resume Next

If Session("CFCountUser")="" Then
 If Session("CFCountUser_View")="" Then
  Response.Cookies("CFCountUserCookie")=""
  Response.Cookies("CFCountUserCookie").Expires=Dateadd("n",-60,Now())
  Call AlertUrl("请重新登陆!","Index.asp")
 Else
  UserName=Session("CFCountUser_View")
 End If
Else
 UserName=Session("CFCountUser")
End If

Action=ChkStr(Request("Action"),1)
Transfer=CInt(ChkStr(Request("Transfer"),2))

Tmp = HttpPath(2)
If Request.ServerVariables("HTTP_X_FORWARDED_FOR") = "" Then
 Ip = ChkStr(Request.ServerVariables("REMOTE_ADDR"),1)
Else
 Ip = ChkStr(Request.ServerVariables("HTTP_X_FORWARDED_FOR"),1)
End If

If Action="" Then Action="tjsurvey"


%>
<script>
function datecheck(){
if ((document.form2.adddate_1.value)==""){
 window.alert ('请选择!');
 document.form2.adddate_1.focus();
 return false;
}
if ((document.form2.adddate_2.value)==""){
 window.alert ('请选择!');
 document.form2.adddate_2.focus();
 return false;
}
return true;
}

function weekcheck(){
if ((document.form2.addyear_1.value)==""){
 window.alert ('请选择!');
 document.form2.addyear_1.focus();
 return false;
}
if ((document.form2.addweek_1.value)==""){
 window.alert ('请选择!');
 document.form2.addweek_1.focus();
 return false;
}
if ((document.form2.addyear_2.value)==""){
 window.alert ('请选择!');
 document.form2.addyear_2.focus();
 return false;
}
if ((document.form2.addweek_2.value)==""){
 window.alert ('请选择!');
 document.form2.addweek_2.focus();
 return false;
}
return true;
}

function monthcheck(){
if ((document.form2.addyear_1.value)==""){
 window.alert ('请选择!');
 document.form2.addyear_1.focus();
 return false;
}
if ((document.form2.addmonth_1.value)==""){
 window.alert ('请选择!');
 document.form2.addmonth_1.focus();
 return false;
}
if ((document.form2.addyear_2.value)==""){
 window.alert ('请选择!');
 document.form2.addyear_2.focus();
 return false;
}
if ((document.form2.addmonth_2.value)==""){
 window.alert ('请选择!');
 document.form2.addmonth_2.focus();
 return false;
}
return true;
}




function daycheck2(){
if ((document.form2.adddate.value)==""){
 window.alert ('请选择!');
 document.form2.adddate.focus();
 return false;
}
}

function yearcheck2(){
if ((document.form2.addyear.value)==""){
 window.alert ('请选择!');
 document.form2.addyear.focus();
 return false;
}
}

function weekcheck2(){
if ((document.form2.addyear.value)==""){
 window.alert ('请选择!');
 document.form2.addyear.focus();
 return false;
}
if ((document.form2.addweek.value)==""){
 window.alert ('请选择!');
 document.form2.addweek.focus();
 return false;
}
return true;
}

function monthcheck2(){
if ((document.form2.addyear.value)==""){
 window.alert ('请选择!');
 document.form2.addyear.focus();
 return false;
}
if ((document.form2.addmonth.value)==""){
 window.alert ('请选择!');
 document.form2.addmonth.focus();
 return false;
}
return true;
}
</script>
<!--#Include File="CF_User_Manage_Do.asp"-->


<!--#Include File="CF_Templet_Top.asp"-->


<table width="960px" align="center" style="margin:0px auto;border-collapse:collapse;">
<tr> 
<td valign="top" width="160">
<!--#include file="CF_User_Manage_Menu.asp"-->
</td>
<td width="800" valign="top">
<!--#Include File="CF_User_Manage_Select.asp"-->
</td>
</tr>
</table>

<!--#Include File="CF_Templet_Bottom.asp"-->