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

📄 counterfix.asp

📁 一个免费的绿叶网上书店请大家提宝贵意见 站长的帐号是   用户名:雨丁香  密码:200505 副站长帐号是   用户名: wangli 密码:197207
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="base.asp"-->
<% if session("username")="" then Response.Redirect "login.htm"
if session("adminflag")>2 and session("class")<>"计数器管理"  then Call PrintMsg(NotAdmin)
Response.Buffer=true
Response.Expires=0
session("id")=request("id")
sql="select * from counter where id="&request("id")
   set rs=conn.execute(sql)
%>

<div align="center"> 
  <h3><font color="#FF0000"><strong>计数器管理 </strong></font></h3>
  <form name="form1" method="post" action="fix_ok.asp">
    <table width="405" border="1" cellspacing="0" cellpadding="3">
      <tr bgcolor="#003399"> 
        <td height="27" colspan="2"> <div align="center"></div>
          <div align="center"><font color="#FFFFFF">计数器修改</font></div></td>
      </tr>
      <tr> 
        <td width="145"><div align="center"><font color="#000000" size="2">前台显示</font></div></td>
        <td width="242"><div align="left"><img src="../<%=rs("path")%>/1.gif"><img src="../<%=rs("path")%>/2.gif"></div></td>
      </tr>
      <tr> 
        <td><div align="center"><font color="#000000" size="2">是否选中</font></div></td>
        <td> <div align="left">
            
            <font color="#FF0000" size="2"> 
            <input type="radio" name="used" value="true" <% if rs("used")=true then %>checked<% end if %>>
            是</font> 
            <font color="#FF0000" size="2"> 
            <input type="radio" name="used" value="false" <% if rs("used")=false then %>checked<% end if %>>
            </font><font color="#009933" size="2">否</font>
          </div></td>
      </tr>
      <tr> 
        <td><div align="center"><font color="#000000" size="2">当前数值</font></div></td>
        <td><div align="left">
            <input name="number" type="text" id="number" size="10" value="<%=rs("number")%>">
          </div></td>
      </tr>
      <tr> 
        <td><div align="center"><font size="2">位数</font></div></td>
        <td><input name="lengh" type="text" id="lengh" size="6" value="<%=rs("lengh")%>"></td>
      </tr>
      <tr> 
        <td colspan="2"><div align="center">
            <input type="submit" name="Submit" value="提交">
              
            <input type="reset" name="Submit2" value="重置">
          </div></td>
      </tr>
      <% 	set conn=nothing %>
    </table>
  </form>
</div>
</body>
</html>

⌨️ 快捷键说明

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