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

📄 admin_vote_add.asp

📁 WAP网上购物系统源程序,,有兴趣的朋友,一起研究一下..交流经眼
💻 ASP
字号:
<!--#include file=INC/skin.asp-->

<%
Dim const_txl_HomeUrl
const_txl_HomeUrl = ""
%>
<!--#include file=admin_login_check.asp-->
<%
Call opendatabase
Call txl_SiteHead (const_txlname&"- 管理员")
If Request.QueryString("action") ="del" Then
	Call del
Else
	Call main
End If

Call CloseDataBase
Call web_end
Sub main

dim i
%>
<style>
td{font-size:9pt;line-height:120%;color:#353535} 
body{font-size:9pt;line-height:120%} 

a:link          { color: #000000; text-decoration: none }
a:visited       { color: #000000; text-decoration: none }
a:active        { color: #000000; text-decoration: none }
a:hover         { color: #336699; text-decoration: none; position: relative; right: 0px; top: 1px }
</style>
<SCRIPT language="JavaScript" type="text/javascript">
function IsDigit()
{
  return ((event.keyCode >= 48) && (event.keyCode <= 57));
}
</script>
<br><table border="0" width="700" cellspacing="0" cellpadding="1" bgcolor="#ffffff" align=center>
  <tr>
    <td align=center valign=top width="100%">
      <table border="1" width="100%" cellspacing="0" cellpadding="8" style="border-collapse: collapse" align=center>
        <form method="POST" action="admin_vote_save.asp">
          <tr>
            <td width="100%" height="20" colspan=2 align=center><b>添 加 投 票</b></td>
          </tr>
          <tr>
            <td width="15%" align="right">主题:</td>
            <td width="85%"><input type="text" name="Title" size="34" style="font-family: 宋体; font-size: 9pt"></td>
          </tr>
<%for i=1 to 8%>
          <tr>
            <td align="right">选项<%=i%>:</td>
            <td><input type="text" name="select<%=i%>" size="20" style="font-family: 宋体; font-size: 9pt"> 票数:<input type="text" name="answer<%=i%>" size="5" value="0" style="font-family: 宋体; font-size: 9pt" onKeyPress="event.returnValue=IsDigit();" ></td>
          </tr>
<%next%>
          <tr>
            <td colspan=2 align=center>
              <input type="hidden" value="add" name="act">
              <input type="button" value=" 返 回 " onclick="javascript:history.go(-1)" style="font-family: 宋体; font-size: 9pt">&nbsp; <input type="submit" value=" 添 加 " name="cmdok" style="font-family: 宋体; font-size: 9pt">&nbsp; 
              <input type="reset" value=" 取 消 "  name="cmdcancel" style="font-family: 宋体; font-size: 9pt">
            </td>
          </tr>
        </form>
      </table>
    </td>
  </tr>
</table></br>
<%End SUb%>

⌨️ 快捷键说明

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