📄 hotelding.asp
字号:
<%
Dim linesid
Dim strSQL
Dim List,action,rsall
Dim name,password,sex,mail,url,icq_img,icqnum,age,gsm,pc,danwei,repassword,rs_lines
Dim years,mons,days,likes,address,photo,doc,mode,records
Dim ip,counter,n,y,r,s,f,m,sj,times,xingzuo,typeid
linesid=request("linesid")
typeid=request("typeid")
%>
<%'线路
if typeid="1" then %>
<!--#include file="lconn.asp"-->
<%
Set rsall = Server.CreateObject("ADODB.Recordset")
rsall.open "data",conn,1,1
records=rsall.recordcount
rsall.close:set rsall=nothing
Set rs_lines = Server.CreateObject("ADODB.Recordset")
rs_lines.open "select * from data where id like '" & linesid & "' order by num desc",conn,1,1
%>
<% end if %>
<%
'客房预订
if typeid="2" then
Set conn = Server.CreateObject("ADODB.Connection")
DBPath = Server.MapPath("../joinjd/_database/redtoolsdata.asp")
conn.Open "driver={Microsoft Access Driver (*.mdb)};dbq=" & DBPath
Set rs_lines = Server.CreateObject("ADODB.Recordset")
rs_lines.open "select * from data where id like '" & linesid & "' order by num desc",conn,1,1
end if
if typeid="1" then
Set conn = Server.CreateObject("ADODB.Connection")
DBPath = Server.MapPath("../lines/_database/redtoolsdata.asp")
conn.Open "driver={Microsoft Access Driver (*.mdb)};dbq=" & DBPath
Set rs_lines = Server.CreateObject("ADODB.Recordset")
rs_lines.open "select * from data where id like '" & linesid & "' order by num desc",conn,1,1
end if
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<LINK href="new.css" rel=stylesheet type=text/css>
<title>在线预订</title>
</head>
<body bgcolor="#FFFFFF">
<table width="501" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" align="center">
<tr>
<td width="501">
<table width="492" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" align="center" width="492">
<table width="492" border="0" cellspacing="0" cellpadding="0" height="38">
<tr>
<td height="25" colspan="2" width="492"> </td>
</tr>
<tr>
<td height="25" width="24"> </td>
<td height="25" width="468"> </td>
</tr>
<tr>
<td height="13" colspan="2" width="492">
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="88%" id="AutoNumber1">
<tr>
<td width="100%" height="12" align="center" bordercolor="#D1E8A4" bgcolor="#D1E8A4">
<b>热线电话</b>:0591-28368928 <b>传真</b>:0591-28368928 <b> 在线QQ</b>:314011490</td>
</tr>
</table>
</center>
</div>
</td>
</tr>
</table>
<!--text begin-->
<form method="POST"
action="gb/reg.asp" onSubmit="return FrontPage_Form1_Validator(this)" name="FrontPage_Form1">
<table width="430" border="0" cellspacing="0" cellpadding="4" bgcolor="99cc33">
<tr>
<td width="100" align="right"><b>开始预订:</b></td>
<td bgcolor="99cc33">
<!--webbot bot="Validation" b-value-required="TRUE" i-maximum-length="50" --><input readonly type="text" name="goods" size="44" maxlength="50"style="BACKGROUND-COLOR: #99cc33; BORDER-BOTTOM: #99cc33 1px solid; BORDER-LEFT: #99cc33 1px solid; BORDER-RIGHT: #99cc33 1px solid; BORDER-TOP: #99cc33 1px solid" value="我要预定 <%=Rs("goods")%> 的房"
>
<span > <font color="#FF0000"> </font></span></td>
</tr>
</table>
<table width="430" border="0" cellspacing="1" cellpadding="0" bgcolor="99cc33">
<tr>
<td bgcolor="#FFFFFF">
<table width="427" border="0" cellspacing="0" cellpadding="4">
<tr>
<td width="91" height="25" align="right"><span >房型:</span></td>
<td height="25" width="362"><span >
<span style="font-size: 9pt; letter-spacing: 1"><!--webbot bot="Validation" b-value-required="TRUE" i-maximum-length="30" --><input type="text" name="amount" size="24" maxlength="30"style="BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: #aaaaaa 1px solid; BORDER-LEFT: #aaaaaa 1px solid; BORDER-RIGHT: #aaaaaa 1px solid; BORDER-TOP: #aaaaaa 1px solid" value="标准间" ></span></span></td>
</tr>
<tr>
<td width="91" height="25" align="right">支付方式:</td>
<td width="362"><span >
<select name="email">
<option value="前台现付">前台现付</option>
<option value="汇款" selected>汇款</option>
<option value="转帐">转帐</option>
<option value="其他">其他</option>
</select>
<span style="font-size: 9pt; letter-spacing: 1"><span ><font color="#FF0000">*请务必正确选择您的支付方式</font></span></span></span></td>
</tr>
<tr>
<td width="91" height="25" align="right"><span >姓名:</span></td>
<td width="362"><span ><span style="font-size: 9pt; letter-spacing: 1">
<!--webbot bot="Validation" b-value-required="TRUE" i-maximum-length="30" --><input type="text" name="name" size="24" maxlength="30"style="BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: #aaaaaa 1px solid; BORDER-LEFT: #aaaaaa 1px solid; BORDER-RIGHT: #aaaaaa 1px solid; BORDER-TOP: #aaaaaa 1px solid" >
<span > <font color="#FF0000"> *</font></span> </span>
</span></td>
</tr>
<tr>
<td width="91" valign="middle" align="right" height="25">性别:</td>
<td height="25" width="362">
<!--webbot bot="Validation" b-value-required="TRUE" --><input name="buyorsell" type="radio"
value="男" checked>
男<font color="#ffffff">
<input name="buyorsell" type="radio"
value="女">
</font>女</td>
</tr>
<tr>
<td width="91" height="25" align="right">所在城市:</td>
<td width="362"><span >
<select name="trademode">
<option value="北京" selected>北京</option>
<option value="上海">上海</option>
<option value="成都">成都</option>
<option value="天津">天津</option>
<option value="西安">西安</option>
<option value="合肥">合肥</option>
<option value="黄山">黄山</option>
<option value="大连">大连</option>
<option value="其他">其他</option>
</select>
</span></td>
</tr>
<tr>
<td width="91" height="25" align="right"><span >人数:</span></td>
<td height="25" width="362"><span >
<input type="text"
size="10" name="icq" style="BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: #aaaaaa 1px solid; BORDER-LEFT: #aaaaaa 1px solid; BORDER-RIGHT: #aaaaaa 1px solid; BORDER-TOP: #aaaaaa 1px solid" value="1" >
<span style="font-size: 9pt; letter-spacing: 1"><span ><font color="#FF0000">*</font></span>
</span> </span></td>
</tr>
<tr>
<td width="91" height="25" align="right"><span ><span style="font-size: 9pt; letter-spacing: 1">到达日期:</span></span></td>
<td width="362"><span ><span style="font-size: 9pt; letter-spacing: 1">
<input
type="text" size="20" name="buydate" style="BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: #aaaaaa 1px solid; BORDER-LEFT: #aaaaaa 1px solid; BORDER-RIGHT: #aaaaaa 1px solid; BORDER-TOP: #aaaaaa 1px solid" value="<%=date()%>" >
<span > <font color="#FF0000">如:<%=date()%></font></span></span>
</span></td>
</tr>
<tr>
<td width="91" height="25" align="right"><span ><span style="font-size: 9pt; letter-spacing: 1">联系地址:</span></span></td>
<td width="362"><span style="font-size: 9pt; letter-spacing: 1">
<input type="text"
size="30" name="city" style="BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: #aaaaaa 1px solid; BORDER-LEFT: #aaaaaa 1px solid; BORDER-RIGHT: #aaaaaa 1px solid; BORDER-TOP: #aaaaaa 1px solid" >
<span > <font color="#FF0000"> </font></span></span>
</td>
</tr>
<tr>
<td width="91" height="25" align="right"><span >联系电话:</span></td>
<td height="25" width="362"><span >
<input type="text"
size="28" name="bbcall" style="BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: #aaaaaa 1px solid; BORDER-LEFT: #aaaaaa 1px solid; BORDER-RIGHT: #aaaaaa 1px solid; BORDER-TOP: #aaaaaa 1px solid" >
<span style="font-size: 9pt; letter-spacing: 1"><span ><font color="#FF0000">*</font></span>
</span> </span> </td>
</tr>
<tr>
<td width="91" height="23" align="right"><span >E-mail:</span></td>
<td height="23" width="362"><span >
<input type="text"
size="28" name="telephone" style="BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: #aaaaaa 1px solid; BORDER-LEFT: #aaaaaa 1px solid; BORDER-RIGHT: #aaaaaa 1px solid; BORDER-TOP: #aaaaaa 1px solid" >
<font color="#FF0000"> </font></span></td>
</tr>
<tr>
<td width="91" height="25" align="right">其他说明:</td>
<td width="362">
<textarea rows="4" name="content" cols="35"style="BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: #aaaaaa 1px solid; BORDER-LEFT: #aaaaaa 1px solid; BORDER-RIGHT: #aaaaaa 1px solid; BORDER-TOP: #aaaaaa 1px solid" wrap="PHYSICAL" ></textarea>
</td>
</tr>
<tr>
<td width="91" height="30" align="right"> </td>
<td align="center" height="40" width="362">
<input type="submit" value="确定" name="B12" style="font-size:9pt">
<input type="reset" value="取消" name="B22" style="font-size:9pt">
</td>
</tr>
</table>
</td>
</tr>
</table>
<p align="left"><span ></span></p>
</form>
<!--text end-->
</td>
</tr>
</table>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -