<%
'乘风多用户计数器 Sql版
'作者QQ：178575
'作者EMail：yliangcf@163.com
'作者网站：http://www.qqcf.com
'详细简介：http://www.qqcf.com/cfcount.htm
'上面有程序在线演示，安装演示，使用疑难解答，最新版本下载等内容
'因为这些内容可能时常更新，就没有放在程序里，请自己上网站上查看
'有完整版本的演示
%>
<%
 UserName = Request.QueryString("UserName")
 Ly = Server.UrlEncode(Request.QueryString("Ly"))
 CurrWeb = Server.UrlEncode(Request.QueryString("CurrWeb"))
 PostUrl = "CF.aspx?Action=gbookaddsave&UserName=" & UserName & "&Ly=" & Ly & "&CurrWeb=" & CurrWeb
 ViewUrl = "CF.aspx?Action=countgo&username="&UserName
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<meta http-equiv=Content-Type content="text/html; charset=gb2312">
<style type="text/css">
body,td {
 font-size:12px; 
}
</style>
<script>
function gbookcheck(){
 if(document.gbook_form.content.value==""||document.gbook_form.content.value=="请输入留言内容"){
  alert("请输入留言内容!");
  document.gbook_form.content.focus();
  return false;
 }
 if(document.gbook_form.contact.value==""||document.gbook_form.contact.value=="请输入联系方式"){
  alert("请输入联系方式!");
  document.gbook_form.contact.focus();
  return false;
 }
return true;
}
</script>
<body style='margin:0px 0px 0px 2px; padding:0px;'>

<form name='gbook_form' method='post' target='_blank' action='<%=PostUrl%>' onsubmit='return gbookcheck()'>
<table width="200" border="0" cellpadding="0" cellspacing="0"><tr>
<td>
<textarea name='content' id='content' cols='22' rows='6' style='color:#B6B3B3;overflow:auto;border: 1px solid #C9DDF0;width:190px;height:90x' onMouseOver="if(document.getElementById('content').value=='请输入留言内容')document.getElementById('content').value='';" onMouseOut="if(document.getElementById('content').value=='')document.getElementById('content').value='请输入留言内容';">请输入留言内容</textarea>
</td>
</tr>

<tr>
<td>
<textarea name='contact' id='contact' cols='22'  style='color:#B6B3B3;overflow:auto;border: 1px solid #C9DDF0;width:190px;height:80px' onMouseOver="if(document.getElementById('contact').value=='请输入联系方式')document.getElementById('contact').value='';" onMouseOut="if(document.getElementById('contact').value=='')document.getElementById('contact').value='请输入联系方式';">请输入联系方式</textarea>
</td>
</tr>
  
<tr>
<td>
<a href='<%=ViewUrl%>' target='_blank' style='padding:6px 2px 0px 12px;float:left;cursor:pointer;'>查看统计</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<INPUT type=image border=0 name=imageField src="images/gbook_send.gif">
</td>
</tr>
</table></form>

