<!--#include file="../common/conn.asp"-->
<%
  if GetVariable("action")="save" then
	  conn.execute "Update web_counter set counter=" & GetFormVariable("txtcount") & " Where m_id=" & WebUserID,0,1
  end if
  
 sql="select counter from web_counter where m_id=" & WebUserID
 rs.open sql,conn,1,1
 counts=rs("counter")
 rs.close
 set rs=nothing

  conn.close
  set conn=nothing
%>


<HTML>
<HEAD>
<TITLE>流量设置</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<style>
td{font-size:9pt;line-height:180%}
</style>
<script language="JavaScript" src="../../common/JS_CheckForm.js"></script>

<script language="JavaScript">
function CheckForm(theform){
	if(!CheckEmpty(theform.txtcount, "流量初始化")) return false;
	if(!CheckReal(theform.txtcount, "流量初始化")) return false;
	return true;
}
</script>
</HEAD>

<body leftmargin="0" topmargin="0" BodyBegin>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="100%" align="center" valign="top"> 
      <table width=100% height="100%" align=center cellpadding=3 cellspacing=1 bgcolor="#336600" class=table1>
        <tr class=tr> 
          <td height="26" bgcolor="#669900"><strong><font color="#FFFFFF">网站公告编辑</font></strong></td>
        </tr>
        <tr> 
          <td height=100% align="center" bgcolor="#FFFFFF"> <form name="form1" method="post" action="?action=save" onSubmit="return checkform(this)">
            </form></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</body>
