⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 roomreg3.asp

📁 SUZI网络订房系统
💻 ASP
字号:
<%
if request.cookies("adminok")="" then
  response.redirect "login.htm"
end if
%>
<!--#include file="conn.asp"-->
<%
set rs=server.createobject("adodb.recordset")
sqltext="select * from hotelb where id="&request("id")&" order by id desc"
rs.open sqltext,conn,1,1
session("hotelid")=rs("id")
session("hotelname")=rs("c_name")
rs.close
conn.close
%>
<html>
<head>
<title>房型信息登记</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<SCRIPT language=javascript id=clientEventHandlersJS>
<!--

function form1_onsubmit() 
{
if(document.FORM1.markerprice.value.length<1)
 {
   alert("您必须填写门市价格!");
   document.FORM1.markerprice.focus();
   return false;
 }

if(document.FORM1.stageprice.value.length<1)
 {
   alert("您必须输入前台现付价!");
   document.FORM1.stageprice.focus();
   return false;
 }
}

//-->
</SCRIPT>
<body  text="#000000">
<FORM ACTION="RoomSubmit2.asp" METHOD="POST" NAME="FORM1" onsubmit="return form1_onsubmit()">
      <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>
              <TR vAlign=top bgColor=#e1f0ff>
                <TD class=main1 colSpan=2 width="431" height="32"><font color="#0000FF">房型信息登记</font><font color="#0000FF">----</font></TD></TR>
        </center>
        <center>
              <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">
                <Select NAME="roomtype" CLASS="medium" style="font-family: 新细明体, 宋体, Arial; font-size: 14px; height: 20; background-color: #f3f3f3; width: 100; border: 1px solid black; "  onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''" size="1">
	<option value="标准间">标准间</option>
	<option value=豪华标准间>豪华标准间</option>	
	<option value=套房>套房</option>	
	<option value=豪华套房>豪华套房</option>
                  </select>  
                  <font color="#FF0000">*</font></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>
                <font color="#FF0000">
                <input type="text" value=<%=session("hotelname")%> name="roomhotelname" readonly size="20" style="font-family: 新细明体, 宋体, Arial; font-size: 14px; height: 20; background-color: #f3f3f3; width: 180; border: 1px solid black"  onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''">*</font>
                <input type=hidden name=roomhotel value=<%=session("hotelid")%>>
                </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><input type="radio" value="有" checked name="breakfast">有     
                  <input type="radio" name="breakfast" value="无">无 <font color="#FF0000">*</font></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">
                <INPUT NAME="marketprice" SIZE="30" MAXLENGTH="50" CLASS="medium"  style="font-family: 新细明体, 宋体, Arial; font-size: 14px; height: 20; background-color: #f3f3f3; width: 63; border: 1px solid black; "  onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''"> 元<font color="#FF0000">   
                  *</font></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">
                <input type="text" name="stageprice" size="38" style="font-family: 新细明体, 宋体, Arial; font-size: 14px; height: 20; background-color: #f3f3f3; width: 64; border: 1px solid black; "  onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''"> 元  
                  <font color="#FF0000"> 
                  *</font></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">
                <input type="text" name="netprice" size="38" style="font-family: 新细明体, 宋体, Arial; font-size: 14px; height: 20; background-color: #f3f3f3; width: 65; border: 1px solid black; "  onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''"> 元</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">
                <Select NAME="state" CLASS="medium" style="font-family: 新细明体, 宋体, Arial; font-size: 14px; height: 23; background-color: #f3f3f3; width: 61; border: 1px solid black; "  onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''" size="1">
	<option value="良好">良好</option>
	<option value=拥挤>拥挤</option>	
                    <option value="爆满">爆满</option>
                    <option value="空闲">空闲</option>
                  </select>  
                </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">
                <Select NAME="paytype" CLASS="medium" style="font-family: 新细明体, 宋体, Arial; font-size: 14px; height: 23; background-color: #f3f3f3; width: 85; border: 1px solid black; "  onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''" size="1">
	<option value="前台付帐">前台付帐</option>
	<option value=网上支付>网上支付</option>	
                    <option value="邮局汇款">邮局汇款</option>
                  </select>  
                </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 TYPE=SUBMIT VALUE=" 添 加 " CLASS="medium" ONCLICK="javascript:return checksignup()" NAME="signup_submit">
 &nbsp;&nbsp;<INPUT TYPE=RESET VALUE="重 填" CLASS="medium" NAME="signup_reset">      
                </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"> 
</form>

</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -