📄 orderdetail.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="admin/fun.asp"-->
<%
set rs=server.createobject("adodb.recordset")
sqltext="select * from orderb where id="&request("id")&""
rs.open sqltext,conn,1,1
%>
<html>
<head>
<title>宾馆预定</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body text="#000000">
<FORM ACTION="OrderInfoUpdate.asp" METHOD="POST" NAME="formSignUp">
<input type=hidden name=id value=<%=rs("id")%>>
<input type=hidden name=userid value=<%=rs("userid")%>>
<div align="center">
<center>
<TABLE cellSpacing=1 cellPadding=4 width=461 bgColor=#416327 height="144">
<TBODY>
<TR vAlign=top bgColor=#e1f0ff>
<TD class=main1 colSpan=2 width="447" height="10" bgcolor="#808080"></TD></TR>
<TR vAlign=top bgColor=#e1f0ff>
<TD class=main1 colSpan=2 width="447" height="32"><font color="#0000FF">
宾馆预定信息----</font></TD></TR>
</center>
<tr>
<TD class=main1 width=435 bgColor=#808080 height=25 align="right" colspan="2">
<p align="left"><font color="#FFFFFF">预定资料</font></TD>
</tr>
<center>
<tr>
<TD class=main1 width=114 bgColor=#6688CC height=25 align="right">
<span class="main1"><span lang="zh-cn"><font color="#FFFFFF">
下单时间:</font></span></span></TD>
<TD class=main1 width=321 height=25 bgcolor="#e1f0ff"><%=rs("regtime")%></TD>
</tr>
<tr>
<TD class=main1 width=114 bgColor=#6688CC height=25 align="right">
<span class="main1"><font color="#FFFFFF">订单状态:</font></span></TD>
<TD class=main1 width=321 height=25 bgcolor="#e1f0ff"><%if rs("flag")=0 then%>
<font color="#008000">尚待处理</font><%elseif rs("flag")=1 then%><font color="#008000">已经处理完毕!</font><%elseif rs("flag")=3 then%><font color="#FF0000">用户已经取消预定</font><%end if%></TD>
</tr>
<tr>
<TD class=main1 width=114 bgColor=#6688CC height=25 align="right">
<span class="main1"><font color="#FFFFFF">宾馆名称:</font></span></TD>
<TD class=main1 width=321 height=25 bgcolor="#e1f0ff"><%=GetHotelName(rs("c_id"))%> (NO: <%=rs("c_id")%>)
</TD>
</tr>
<tr>
<TD class=main1 width=114 bgColor=#6688CC height=25 align="right">
<span class="main1"><font color="#FFFFFF">入住日期:</font></span></TD>
<TD width=321 height=25 bgcolor="#e1f0ff" class=main1><%=rs("jointime")%>
</TD>
</tr>
<tr>
<TD class=main1 width=114 bgColor=#6688CC height=25 align="right"><SPAN
class=main1><font color="#FFFFFF">离店日期:</font></SPAN></TD>
<TD class=main1 width=321 height=25 bgcolor="#e1f0ff"><%=rs("leavetime")%>
</TD>
</tr>
<tr>
<TD class=main1 width=114 bgColor=#6688CC height=25 align="right">
<span class="main1"><font color="#FFFFFF">结算方式:</font></span></TD>
<TD class=main1 width=321 height=25 bgcolor="#e1f0ff"><%=rs("paytype")%>
</TD>
</tr>
<tr>
<TD class=main1 width=435 bgColor=#808080 height=25 align="right" colspan="2">
</center>
<p align="left"><font color="#FFFFFF">房间选择</font></TD>
</tr>
<center>
<tr>
<TD class=main1 width=114 bgColor=#6688CC height=25 align="right"><SPAN
class=main1><font color="#FFFFFF">房型:</font></SPAN></TD>
<TD class=main1 width=321 height=25 bgcolor="#e1f0ff"><%=GetRoomName(rs("roomtype"))%>
</TD>
</tr>
<tr>
<TD class=main1 width=114 bgColor=#6688CC height=25 align="right">
<span class="main1"><font color="#FFFFFF">预定间数:</font></span></TD>
<TD class=main1 width=321 height=25 bgcolor="#e1f0ff"><%=rs("roomnum")%>
间</TD>
</tr>
<tr>
<TD class=main1 width=114 bgColor=#6688CC height=25 align="right">
<span class="main1"><font color="#FFFFFF">总金额:</font></span></TD>
<TD class=main1 width=321 height=25 bgcolor="#e1f0ff">
RMB <%=rs("totalnum")%></TD>
</tr>
</center>
<tr>
<TD class=main1 width=435 bgColor=#808080 height=25 align="right" colspan="2">
<p align="left"><font color="#FFFFFF">预定条款</font></TD>
</tr>
<center>
<tr>
<TD class=main1 width=114 bgColor=#6688CC height=25 align="right"><SPAN
class=main1><font color="#FFFFFF">入住人数:</font></SPAN></TD>
<TD class=main1 width=321 height=25 bgcolor="#e1f0ff">
<%=rs("number")%>人</TD>
</tr>
<tr>
<TD class=main1 width=114 bgColor=#6688CC height=25 align="right"><SPAN
class=main1><font color="#FFFFFF">入住人身份:</font></SPAN></TD>
<TD class=main1 width=321 height=25 bgcolor="#e1f0ff"><%=rs("degree")%>
</TD>
</tr>
<tr>
<TD class=main1 width=114 bgColor=#6688CC height=25 align="right"><SPAN
class=main1><font color="#FFFFFF">入住登记人:</font></SPAN></TD>
<TD class=main1 width=321 height=25 bgcolor="#e1f0ff"><%=rs("man1")%>,<%=rs("man2")%>,<%=rs("man3")%>,<%=rs("man4")%>,<%=rs("man5")%>,<%=rs("man6")%>,<%=rs("man7")%>,<%=rs("man8")%>
</TD>
</tr>
<tr>
<TD class=main1 width=114 bgColor=#6688CC height=25 align="right">
<span class="main1"><font color="#FFFFFF">到达目的地方式:</font></span></TD>
<TD class=main1 width=321 height=25 bgcolor="#e1f0ff"><%=rs("cometype")%>
</TD>
</tr>
<tr>
<TD class=main1 width=114 bgColor=#6688CC height=25 align="right">
<span class="main1"><font color="#FFFFFF">最早到店时间:</font></span></TD>
<TD class=main1 width=321 height=25 bgcolor="#e1f0ff"><%=rs("earlytime")%>
</TD>
</tr>
<tr>
<TD class=main1 width=114 bgColor=#6688CC height=25 align="right">
<span class="main1"><font color="#FFFFFF">最晚到店时间:</font></span></TD>
<TD class=main1 width=321 height=25 bgcolor="#e1f0ff"><%=rs("latetime")%>
</TD>
</tr>
<tr>
<TD class=main1 width=435 bgColor=#808080 height=25 align="right" colspan="2">
<p align="left"><font color="#FFFFFF">联系信息</font></TD>
</tr>
<tr>
<TD class=main1 width=114 bgColor=#6688CC height=25 align="right">
<span class="main1"><font color="#FFFFFF">会员帐号:</font></span></TD>
<TD class=main1 width=321 height=25 bgcolor="#e1f0ff"><%=rs("userid")%></TD>
</tr>
<tr>
<TD class=main1 width=114 bgColor=#6688CC height=25 align="right">
<span class="main1"><font color="#FFFFFF">联系人:</font></span></TD>
<TD class=main1 width=321 height=25 bgcolor="#e1f0ff"><%=rs("username")%>
</TD>
</tr>
<tr>
<TD class=main1 width=114 bgColor=#6688CC height=25 align="right">
<span class="main1"><font color="#FFFFFF">手机或电话:</font></span></TD>
<TD class=main1 width=321 height=25 bgcolor="#e1f0ff"><%=rs("mobiletel")%>
</TD>
</tr>
<tr>
<TD class=main1 width=114 bgColor=#6688CC height=25 align="right">
<span class="main1"><font color="#FFFFFF">传真:</font></span></TD>
<TD class=main1 width=321 height=25 bgcolor="#e1f0ff"><%=rs("fax")%>
</TD>
</tr>
<tr>
<TD class=main1 width=114 bgColor=#6688CC height=25 align="right">
<span class="main1"><font color="#FFFFFF">电子邮件:</font></span></TD>
<TD class=main1 width=321 height=25 bgcolor="#e1f0ff"><%=rs("email")%>
</TD>
</tr>
<tr>
<TD class=main1 width=114 bgColor=#6688CC height=25 align="right">
<span class="main1"><font color="#FFFFFF">确认方式:</font></span></TD>
<TD class=main1 width=321 height=25 bgcolor="#e1f0ff"><%=rs("affirmtype")%>
</TD>
</tr>
<tr>
<TD class=main1 width=114 bgColor=#6688CC height=25 align="right"><SPAN
class=main1><font color="#FFFFFF">特殊说明:</font></SPAN></TD>
<TD class=main1 width=321 height=25 bgcolor="#e1f0ff"><%=rs("explain")%>
</TD>
</tr>
<TR vAlign=top bgColor=#e1f0ff>
<TD class=main1 colSpan=2 width="447" height="15">
<p align="center"></TD></TR>
<TR bgColor=#e1f0ff>
<TD class=main1 colSpan=2 width="447" height="27">
<p align="center">
<INPUT TYPE=submit VALUE="取消订单" <%if rs("flag")=1 or rs("flag")=3 then response.write "disabled"%> CLASS="medium" ONCLICK="javascript:return checksignup()" NAME="signup_submit">
<INPUT class=main type=button size=3 value=关闭 name=Submit2 onclick="javascript:window.close();">
</TD></TR>
<TR bgColor=#e1f0ff>
<TD class=main1 colSpan=2 width="447" height="4" bgcolor="#808080"></TD></TR></TBODY></TABLE>
</center>
</div>
<p align="center">
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -