📄 roomdetail.asp
字号:
<!--#include file="conn.asp"-->
<%
id=request("id")
set rs=server.createobject("adodb.recordset")
sqltext="select * from roomb where id="&id
rs.open sqltext,conn,1,1
hotelid=rs("c_id")
set rs_hotel=server.createobject("adodb.recordset")
sqltext="select c_name from hotelb where id="&hotelid
rs_hotel.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">
<p> </p>
<div align="center">
<center>
<TABLE cellSpacing=1 cellPadding=4 width=445 bgColor=#416327 height="144">
<TBODY>
<TR vAlign=top bgColor=#e1f0ff>
<TD class=main1 colSpan=2 width="431" height="10" bgcolor="#840084"></TD></TR>
</center>
<center>
<tr>
<TD class=main1 width=419 bgColor=#E1F0FF height=15 align="right" colspan="2"></TD>
</tr>
<tr>
<TD class=main1 width=102 bgColor=#993399 height=25 align="right"><SPAN
class=main1><font color="#FFFFFF">所属酒店:</font></SPAN></TD>
<TD class=main1 width=317 height=25 bgcolor="#e1f0ff"> <%=rs_hotel("c_name")%></TD>
</tr>
<tr>
<TD class=main1 width=102 bgColor=#993399 height=25 align="right"><SPAN
class=main1><font color="#FFFFFF">房型类型:</font></SPAN></TD>
<TD width=317 height=25 bgcolor="#e1f0ff" class=main1> <%=rs("type")%></TD>
</tr>
<tr>
<TD class=main1 width=102 bgColor=#993399 height=25 align="right"><SPAN
class=main1><font color="#FFFFFF">早餐有无:</font></SPAN></TD>
<TD width=317 height=25 bgcolor="#e1f0ff" class=main1> <%=rs("breakfast")%></TD>
</tr>
<tr>
<TD class=main1 width=102 bgColor=#993399 height=25 align="right"><SPAN
class=main1><font color="#FFFFFF">门市价格:</font></SPAN></TD>
<TD class=main1 width=317 height=25 bgcolor="#e1f0ff"> <%=rs("marketprice")%> 元/日</TD>
</tr>
<tr>
<TD class=main1 width=102 bgColor=#993399 height=25 align="right"><font color="#FFFFFF">前台现付价:</font></TD>
<TD class=main1 width=317 height=25 bgcolor="#e1f0ff"> <%=rs("stageprice")%> 元/日</TD>
</tr>
<tr>
<TD class=main1 width=102 bgColor=#993399 height=25 align="right"><font color="#FFFFFF">网上支付价:</font></TD>
<TD class=main1 width=317 height=25 bgcolor="#e1f0ff"> <%=rs("netprice")%> 元/日</TD>
</tr>
<tr>
<TD class=main1 width=102 bgColor=#993399 height=25 align="right"><font color="#FFFFFF">首日房态:</font></TD>
<TD class=main1 width=317 height=25 bgcolor="#e1f0ff"> <%=rs("state")%></TD>
</tr>
<tr>
<TD class=main1 width=102 bgColor=#993399 height=25 align="right"><SPAN
class=main1><font color="#FFFFFF">付款形式:</font></SPAN></TD>
<TD class=main1 width=317 height=25 bgcolor="#e1f0ff"> <%=rs("paytype")%></TD>
</tr>
</center>
<center>
</center>
<center>
<TR vAlign=top bgColor=#e1f0ff>
<TD class=main1 colSpan=2 width="431" height="15"></TD></TR>
<TR bgColor=#e1f0ff>
<TD class=main1 colSpan=2 width="431" height="27">
<p align="center"><input class="main" type="button" size="3" value="返回" onclick="javascript:window.history.go(-1)"></p>
</TD></TR>
<TR bgColor=#e1f0ff>
<TD class=main1 colSpan=2 width="431" height="4" bgcolor="#840084"></TD></TR></TBODY></TABLE>
</center>
</div>
<p align="center">
</body>
</html>
<%
rs.close
rs_hotel.close
conn.close
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -