<%@ page title="在线预约" language="C#" masterpagefile="~/shopdetail/MasterPage.master" autoeventwireup="true" inherits="shopdetail_Reserve, App_Web_w7a7wpou" enableviewstate="false" enableEventValidation="false" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
   <link href="/css/blitzer/jquery-ui-1.7.2.custom.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/js/data.js"></script>
    <script type="text/javascript" src="/js/jqueryui.js"></script>
    <script type="text/javascript" src="/js/ui.datepicker-zh-CN.js"></script>
    <script type="text/javascript">
        $(function() {
            <%if(Message!=""){ %>
                alert("<%= Message %>");
            <%} %>
            
            jQuery.fx.off = true;

            $("#<%= txtreservedate.ClientID %>").datepicker({ showAnim: 'slideDown', showOn: 'button', buttonImage: '/images/calendar.gif', buttonImageOnly: true, changeMonth: true, changeYear: true });
            
            $("#validateimg").bind("click", function() {
                $("#validateimg img").attr("src","/inc/aspx/ValidateCode.aspx?t=" + new Date().getTime());
            });
        });
	</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="sblock mg_top">
    <div class="tit">在线预约</div>
    <div class="cnt ">
        <div class="titdescr">
            在线预约
        </div>
        <div class="submiting">
            <div class="inputs left">
                <table>
                    <tr><td width="100">姓名：*</td><td colspan="3"><asp:TextBox ID="txtpostuname" runat="server"></asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="请输入您的姓名" ControlToValidate="txtpostuname"  ForeColor="#404040" CssClass="err" Display="Dynamic"></asp:RequiredFieldValidator></td>
                    </tr>
                    <tr><td>预约时间：</td><td><asp:TextBox ID="txtreservedate" runat="server"></asp:TextBox></td><td>联系电话：*</td><td><asp:TextBox ID="txttel" runat="server"></asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="请输入联系电话" ControlToValidate="txttel"  ForeColor="#404040" CssClass="err" Display="Dynamic"></asp:RequiredFieldValidator></td></tr>
                    <tr><td>备注资料：</td><td colspan="3"><asp:TextBox ID="txtmemo" runat="server" Width="400px" TextMode="MultiLine" Height="50"></asp:TextBox></td></tr>
                    <tr><td>验证码：*</td><td colspan="3"><asp:TextBox ID="txtCheckcode" runat="server" Width="40px"></asp:TextBox>  &nbsp;
                                      <span id="validateimg"><img src="/inc/aspx/ValidateCode.aspx?" style="cursor:pointer;" /><asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ErrorMessage="请输入验证码" ControlToValidate="txtCheckcode"  ForeColor="#404040" CssClass="err" Display="Dynamic"></asp:RequiredFieldValidator></td></tr>
                    </tr>
                </table>
                <div class="button">
                    <asp:LinkButton ID="btnSubmit" runat="server" CssClass="okbtn" onclick="btnSubmit_Click" 
                        >提交</asp:LinkButton></div>
            </div>
            <div class="right">
                <br /><br /><br /><br />请认真填写您的联系方式 <br /><br />商家会安排时间及时联系您。
            </div>
            <div class="clear"></div>
        </div>
    </div>
</div>

</asp:Content>

