?? poll_fupdate.asp
字號:
<!--#include file=../conn/adodb1.asp -->
<%
if session("cjuser")="" and session("pwdd")="" then
response.write"<SCRIPT language=JavaScript>alert('你沒有登錄,無權(quán)進入!');"
response.write"this.location.href='error.htm';</SCRIPT>"
response.end
end if
%>
<%
dim id
id=request.querystring("id")
session("ff")=request.querystring("id")
dim sql,rs
sql="select * from poll where id=cstr('"&id&"')"
set rs=db.execute(sql)
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css/main.css" rel="stylesheet" type="text/css">
</head>
<body topmargin="100">
<table width="89%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><form name="form1" method="post" action="poll_update.asp">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class="bordbg" >
<tr class="xiangxi" >
<td colspan="4" ><strong>投票管理</strong></td>
</tr>
<tr >
<td width="17%" height="25" class="font10" > 投票標(biāo)題:</td>
<td width="83%" height="25" colspan="3" class="font10" >
<input name="title" type="text" value="<%=rs("poll_title")%>" size="30"></td>
</tr>
<tr >
<td width="17%" height="25" rowspan="5" class="font10" > 投票內(nèi)容: </td>
<td height="25" colspan="3" class="font10" >1.
<input name="content1" type="text" id="title" value="<%=rs("content1")%>" size="30"></td>
</tr>
<tr >
<td height="25" colspan="3" class="font10" > 2.
<input name="content2" type="text" id="title" value="<%=rs("content2")%>" size="30"></td>
</tr>
<tr >
<td height="25" colspan="3" class="font10" >3.
<input name="content3" type="text" id="title" value="<%=rs("content3")%>" size="30"></td>
</tr>
<tr >
<td height="25" colspan="3" class="font10" >4.
<input name="content4" type="text" id="title" value="<%=rs("content4")%>" size="30"></td>
</tr>
<tr >
<td height="25" colspan="3" class="font10" >5.
<input name="content5" type="text" id="title" value="<%=rs("content5")%>" size="30"></td>
</tr>
<tr >
<td height="30" colspan="4" class="font10" >
<input type="submit" name="Submit" value="確定">
<input type="reset" name="Submit2" value="重置"></td>
</tr>
</table>
</form></td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -