⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 modify.asp

📁 树型ASP论坛下载
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<%response.expires= -1
response.addheader "pragma","no-cache"
response.AddHeader "cache-control","no-store"
%>
<!--#include file="../cc/conn.asp"-->
<!--#include file="confirmuser.asp"-->
<html>
<head>
<title><%=mc%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../cc/css/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {color: #000000}
-->
</style>
</head>

<body bgcolor="#FFFFFF">
<!--#include file="top.asp"-->
<%
if request("modify")<>"yes" then
name=request("name")
Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from user where name='"&name&"'"
rs.open sql,conn,1,1%>
<table width="750" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><form method="POST" action="modify.asp?modify=yes&name=<%=name%>" name="form1" onsubmit="return check()">
        <div align="center"> 
          <center>
            <table border="1" width="500" height="387" cellspacing="0" cellpadding="2" bordercolorlight="#000000" bordercolordark="#FFFFFF">
              <tr bgcolor="#00CCFF"> 
                <td height="27" class="zt" colspan="4"> <div align="center"> 
                    <center>
                      <p class="zt_1"><span class="style1">请 填 写 修 改 的 资 料 (带**为必填项)<STRONG><FONT 
                        size=2> </FONT></STRONG></span><font color="#FFFFFF"><STRONG><font color="#FFFFFF"><STRONG><FONT 
                        size=2>
                        <script language=JavaScript>
function check()
{
  if(window.document.form1.password.value=="")
  {
     alert("请输入密码!");
	 window.document.form1.password.focus();
	 return false;
  }
  if(window.document.form1.email.value=="")
  {
     alert("请输入E-Mail!");
	 window.document.form1.email.focus();
	 return false;
  }
  if(window.document.form1.pagename.value=="")
  {
     alert("请输入主页名称!");
	 window.document.form1.pagename.focus();
	 return false;
  }
    if(window.document.form1.pageurl.value=="")
  {
     alert("请输入主页地址!");
	 window.document.form1.pageurl.focus();
	 return false;
  }
    if(window.document.form1.total.value=="")
  {
     alert("请输入计数值的数值!");
	 window.document.form1.total.focus();
	 return false;
  }
  if(window.document.form1.xgdate.value=="")
  {
     alert("请输入开始计数日期!");
	 window.document.form1.xgdate.focus();
	 return false;
  }


  return true;
}

</script>
                        </FONT></STRONG></font></STRONG></font> 
                    </center>
                  </div></td>
              </tr>
              <tr align="center"> 
                <td width="106" height="22" class="zt" align="left" bgcolor="#33CCCC" bordercolor="#33CCCC">用户名:</td>
                <td width="166" height="22" class="zt" align="left"><font size="2"> 
                  <%=rs("name")%></font></td>
                <td height="154" class="zt" align="left" colspan="2" rowspan="10" width="174"> 
                  <div align="center">提供免费多用户的ASP计数器,采用ACCESS2000的数据库,有任何建议请给作者来信<a href="mailto:shwome99@126.com">shwome99@126.com</a>,站长会作更多改进! 
                  </div></td>
              </tr>
              <tr align="center"> 
                <td width="106" height="22" class="zt" align="left" bgcolor="#33CCCC" bordercolor="#33CCCC">输入密码:</td>
                <td width="166" height="22" class="zt" align="left"><font size="2"> 
                  <input name="password" type="text" id="password"  value="<%=rs("password")%>" size="10">
                  <font color="#0000FF">**</font></font></td>
              </tr>
              <tr align="center"> 
                <td width="106" height="22" class="zt" align="left" bgcolor="#33CCCC" bordercolor="#33CCCC">Email:</td>
                <td width="166" height="22" class="zt" align="left"><font size="2"> 
                  <input name="email" type="text"  value="<%=rs("email")%>" size="20">
                  <font color="#0000FF">**</font></font></td>
              </tr>
              <tr align="center"> 
                <td width="106" height="22" class="zt" align="left" bgcolor="#33CCCC" bordercolor="#33CCCC">OICQ:</td>
                <td width="166" height="22" class="zt" align="left"><font size="2"> 
                  <input name="qq" type="text" id="qq"  value="<%=rs("qq")%>" size="12">
                  </font></td>
              </tr>
              <tr align="center"> 
                <td width="106" height="22" class="zt" align="left" bgcolor="#33CCCC" bordercolor="#33CCCC">主页名称:</td>
                <td width="166" height="22" class="zt" align="left"><font size="2"> 
                  <input name="pagename" type="text"  value="<%=rs("pagename")%>" size="20">
                  <font color="#0000FF">**</font></font></td>
              </tr>
              <tr align="center"> 
                <td height="22" class="zt" align="left" bgcolor="#33CCCC" bordercolor="#33CCCC">网址:</td>
                <td height="22" class="zt" align="left"><font size="2"> 
                  <input name="pageurl" type="text"  value="<%=rs("pageurl")%>" size="20">
                  <font color="#0000FF">**</font></font></td>
              </tr>
              <tr align="center"> 
                <td height="25" colspan="2" align="left" bordercolor="#33CCCC" bgcolor="#33CCCC" class="zt"><font color="#FF0000">以下是对计数的设置:</font><br>
                  如果你修改了&quot;计数是否显示&quot;或&quot;样式代码&quot;选项,则需要把最下面系统分配给你的计数器代码重新替代原来在页面上的代码。</td>
              </tr>
              <tr align="center"> 
                <td height="25" class="zt" align="left" bgcolor="#33CCCC" bordercolor="#33CCCC">计数器数值:</td>
                <td height="25" class="zt" align="left"> <input name="total" type="text" id="total" value="<%=rs("total")%>" size="15" > 
                  <font size="2"><font color="#0000FF">**</font></font></td>
              </tr>
              <tr align="center"> 
                <td height="22" class="zt" align="left" bgcolor="#33CCCC" bordercolor="#33CCCC">计数开始日期:</td>
                <td height="22" class="zt" align="left"><font size="2"> 
                  <input name="xgdate" type="text" id="xgdate" value="<%=rs("date")%>" size="20" >
                  <font color="#0000FF">**</font></font></td>
              </tr>
              <tr align="center"> 
                <td width="106" height="22" class="zt" align="left" bgcolor="#33CCCC" bordercolor="#33CCCC">计数器是否显示:</td>
                <td width="166" height="22" class="zt" align="left"><font size="2">&nbsp; 
                  <input name="hidden" type="radio" value="1" <%if rs("hidden")=1 then%>checked<%end if%>>
                  <input name="hidden" type="radio" value="2" <%if rs("hidden")=2 then%>checked<%end if%>>
                  否<br>
                  一般选“是”,选“否”则表示加入计数器的页面不会显示计数器,但计数正常,需到管理页面查看计数数值。 </font></td>
              </tr>
            </table>
            <table border="1" width="500" height="304" cellspacing="0" cellpadding="3" bordercolorlight="#000000" bordercolordark="#FFFFFF">
              <tr> 
                <td width="83" height="25" align="center" class="zt" bgcolor="#00CCFF"> 
                  <p align="center">样式代码 </td>
                <td width="150" height="25" align="center" class="zt" bgcolor="#00CCFF">样式表</td>
                <td width="88" height="25" align="center" class="zt" bgcolor="#00CCFF">样式代码</td>
                <td width="160" height="25" align="center" class="zt" bgcolor="#00CCFF">样式表</td>
              </tr>
              <tr> 
                <td width="83" height="25" align="center"> <input type="radio" name="ys" value="1" <%if rs("ys")=1 then%>checked<%end if%>> 
                </td>
                <td width="150" height="25" align="center"><img src="1/0.gif"
    alt="0.gif (664 字节)" width="15" height="20"><img src="1/1.gif"
    alt="1.gif (640 字节)" width="15" height="20"><img src="1/2.gif"
    alt="2.gif (656 字节)" width="15" height="20"><img src="1/3.gif"
    alt="3.gif (670 字节)" width="15" height="20"><img src="1/4.gif"
    alt="4.gif (670 字节)" width="15" height="20"></td>
                <td width="88" height="25" align="center"> <input type="radio" name="ys" value="2" <%if rs("ys")=3 then%>checked<%end if%>> 
                </td>
                <td width="160" height="25" align="center"><img src="2/3.GIF"
    alt="3.GIF (161 字节)" width="9" height="20"><img src="2/3.GIF" alt="3.GIF (161 字节)"
    width="9" height="20"><img src="2/7.GIF" alt="7.GIF (157 字节)" width="9" height="20"><img
    src="2/8.GIF" alt="8.GIF (168 字节)" width="9" height="20"><img src="2/1.GIF"
    alt="1.GIF (156 字节)" width="9" height="20"></td>
              </tr>
              <tr> 
                <td width="83" height="4" align="center"> <input type="radio" name="ys" value="3" <%if rs("ys")=3 then%>checked<%end if%>> 
                </td>
                <td width="150" height="4" align="center"><img src="3/3.gif"
    alt="3.gif (1017 字节)" width="15" height="20"><img src="3/8.gif"
    alt="8.gif (1025 字节)" width="15" height="20"><img src="3/1.gif"
    alt="1.gif (1006 字节)" width="15" height="20"><img src="3/7.gif"
    alt="7.gif (1001 字节)" width="15" height="20"><img src="3/0.gif"
    alt="0.gif (1030 字节)" width="15" height="20"></td>
                <td width="88" height="4" align="center"> <input type="radio" name="ys" value="4" <%if rs("ys")=4 then%>checked<%end if%>> 
                </td>
                <td width="160" height="4" align="center"><img src="4/0.gif"
    alt="0.gif (3596 字节)" width="15" height="20"><img src="4/7.gif"
    alt="7.gif (3716 字节)" width="15" height="20"><img src="4/4.gif"
    alt="4.gif (3877 字节)" width="15" height="20"><img src="4/8.gif"
    alt="8.gif (3926 字节)" width="15" height="20"><img src="4/5.gif"
    alt="5.gif (3547 字节)" width="15" height="20"></td>
              </tr>
              <tr> 
                <td width="83" height="4" align="center"> <input type="radio" name="ys" value="5" <%if rs("ys")=5 then%>checked<%end if%>> 
                </td>
                <td width="150" height="4" align="center"><img src="5/6.GIF"
    alt="6.GIF (55 字节)" width="11" height="12"><img src="5/6.GIF" alt="6.GIF (55 字节)"
    width="11" height="12"><img src="5/8.GIF" alt="8.GIF (56 字节)" width="11" height="12"><img
    src="5/0.GIF" alt="0.GIF (56 字节)" width="11" height="12"><img src="5/7.GIF"
    alt="7.GIF (53 字节)" width="11" height="12"></td>
                <td width="88" height="4" align="center"> <input type="radio" name="ys" value="6" <%if rs("ys")=6 then%>checked<%end if%>> 
                </td>
                <td width="160" height="4" align="center"><img src="6/3.gif"
    alt="3.gif (860 字节)" width="15" height="20"><img src="6/4.gif"
    alt="4.gif (856 字节)" width="15" height="20"><img src="6/6.gif"
    alt="6.gif (864 字节)" width="15" height="20"><img src="6/8.gif"
    alt="8.gif (866 字节)" width="15" height="20"><img src="6/9.gif"
    alt="9.gif (864 字节)" width="15" height="20"></td>
              </tr>
              <tr> 
                <td width="83" height="4" align="center"> <input type="radio" name="ys" value="7" <%if rs("ys")=7 then%>checked<%end if%>> 
                </td>
                <td width="150" height="4" align="center"><img src="7/1.gif"
    alt="1.gif (194 字节)" width="13" height="18"><img src="7/5.gif"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -