ordermod.asp
来自「人民医院眼科全站」· ASP 代码 · 共 74 行
ASP
74 行
<!--#include file="checkUser.asp"-->
<!--#include file="../include/bkconn.asp"-->
<%
dim rs,sql
dim intID
intID=Request("id")
set rs=server.createobject("adodb.recordset")
sql="select * from orders where id="&intID
rs.open sql,conn,1,1
%>
<html>
<head>
<title>后台管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language=Javascript>
<!--
function deleteMe(){
if (confirm("确定删除?可是恢复不了的啊。")==1){
window.location="orderDel.asp?id=<%=Request("id")%>";
}
}
//-->
</script>
<link rel="stylesheet" href="../main.css" type="text/css">
</head>
<body bgcolor="#9CC7EF" text="#000000" leftmargin="0" topmargin="3">
<%if not (rs.eof or err) then %>
<form name="form1" action="" method="post">
<table width="98%" border="1" bordercolordark=#9CC7EF bordercolorlight=#145AA0 cellspacing="0" cellpadding="2" align="center">
<tr bgcolor="#4296E7">
<td height="26" colspan="2"> <div align="center"><font color="#FFFFFF">查看预约</font></div></td>
</tr>
<tr>
<td width="80" nowrap>姓名</td>
<td> <%=rs("name")%> <input type="hidden" name="id" value="<%=intID%>">
</td>
</tr>
<tr>
<td nowrap>联系电话</td>
<td> <%=rs("tel")%> </td>
</tr>
<tr>
<td nowrap>地址</td>
<td> <%=rs("address")%> </td>
</tr>
<tr>
<td nowrap>邮件</td>
<td> <%=rs("email")%> </td>
</tr>
<tr>
<td nowrap>预约时间</td>
<td> <%=rs("datatime")%> </td>
</tr>
<tr>
<td nowrap>预约类型</td>
<td> <%=rs("type")%> </td>
</tr>
<tr>
<td valign="top" nowrap>附加说明</td>
<td> <%=rs("content")%> </td>
</tr>
<tr bgcolor="#4296E7">
<td colspan="2" height="24"> <div align="center">
<input type="button" name="Submit3" value="删除" onClick="deleteMe()">
</div></td>
</tr>
</table>
</form>
<%else %>
无该记录,请<a href="Javascript:window.history.go(-1)">返回</a>
<%end if %>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?