<!--#include file="conn.asp"-->
<%
if request.cookies("user_adminuserid")=""then
	response.write "<script language=JavaScript>{window.alert('您还没有登录，不能预订，请首先通过首页进行登录！');window.close();}</script>"
    response.end
end if

set rshotel=server.createobject("adodb.recordset")
sqltext="select * from hotelb where userid='"&request("userid")&"'"
rshotel.open sqltext,conn,1,1
%>
<html>
<head>
<title>会员登记</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="images/style.css" type="text/css">
</head>
	<script language="javascript">
	<!--//
	function checksignup() {
		
	if ( document.formSignUp.beizhu.value == '' ) {
			window.alert('请输入预订内容!!');
			document.formSignUp.beizhu.focus();
			return false;
		}
		else {
			return true;
			}

		return false;
	}
	//-->
	</script>
<body  text="#000000">
<FORM ACTION="saveyuding.asp" METHOD="POST" NAME="formSignUp">
<input type=hidden name=userid value=<%=request.cookies("user_adminuserid")%>>
<input type=hidden name=hotelid value=<%=request("userid")%>>
      <div align="center">
      <INPUT type=hidden NAME="signup_kahao" value=0 SIZE="30" MAXLENGTH="50" CLASS="medium"  style="font-family: 新细明体, 宋体, Arial; font-size: 14px; height: 20; background-color: #f3f3f3; width: 150; border: 1 solid black"  onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''">  
        <center>
            <TABLE cellSpacing=1 cellPadding=4 width=445 bgColor=#EC8200 height="144">
              <TBODY>
              <TR vAlign=top bgColor=#e1f0ff>
                <TD class=main1 colSpan=2 width="431" height="10" bgcolor="#FF8E03"></TD></TR>
              <TR vAlign=top bgColor=#e1f0ff>
                <TD class=main1 colSpan=2 width="431" height="32" bgcolor="#FFFFFF">
				<font color="#0000FF">我要预订----</font></TD></TR>
        </center>
        <center>
              <tr>
                <TD class=main1 width=102 bgColor=#FFDEB5 height=25 align="right">
				<span class="main1">预订者：</span></TD>
                <TD class=main2 width=317 height=25 bgcolor="#FFF5F0"><%=request.cookies("user_adminuserid")%>　</TD>            
              </tr>
              <tr>
                <TD class=main1 width=102 bgColor=#FFDEB5 height=25 align="right">
				<SPAN 
                  class=main1>预订商家：</SPAN></TD>
                <TD  width=317 height=25 bgcolor="#FFF5F0" class=main2><%=rshotel("name")%></TD>
              </tr>
              <tr>
                <TD class=main1 width=102 bgColor=#FFDEB5 height=25 align="right">
				<span class="main1">预订内容：</span></TD>
                <TD  width=317 height=25 bgcolor="#FFF5F0" style="font-size:12px">
				<textarea rows="8" name="beizhu" cols="43"></textarea><br>
				（时间、桌数/商品数量、人数、联系人信息等等）</TD>                          
              </tr>
        </center>
        <center>
        </center>
        <center>
              <TR vAlign=top bgColor=#e1f0ff>
                <TD class=main1 colSpan=2 width="431" height="15" bgcolor="#FFF5F0"></TD></TR>
              <TR bgColor=#e1f0ff>
                <TD class=main1 colSpan=2 width="431" height="27" bgcolor="#FFF5F0">
                  <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="#FF8E03"></TD></TR></TBODY></TABLE>
        </center>
      </div>
</form>

</body>
</html>