<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Inputliuyan.aspx.cs" Inherits="_Default" validateRequest="false"%>

<%@ Register Src="include/Surveyonline.ascx" TagName="Surveyonline" TagPrefix="uc3" %>

<%@ Register Src="bottom.ascx" TagName="bottom" TagPrefix="uc2" %>

<%@ Register Src="Top.ascx" TagName="Top" TagPrefix="uc1" %>
<%@ Register TagPrefix="ftb" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>   
    <link href="StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body style="text-align: center" text="#000000" topmargin="0">


    <form id="form1" runat="server">
    <div>
        <table style="width: 991px">
            <tr>
                <td colspan="3" style="height: 136px">
                    <uc1:Top ID="Top1" runat="server" />
                </td>
            </tr>
            <tr>
                <td colspan="3">
                    <table width="100%" style="border-right: sandybrown 1px solid; border-top: sandybrown 1px solid; border-left: sandybrown 1px solid; border-bottom-width: 1px; border-bottom-color: sandybrown;">
                        <tr>
                            <td style="width: 211px; border-right: darkorange 1px solid; text-align: left; border-bottom: darkorange 1px solid;" rowspan="6" valign="top">
                                <table style="width: 218px">
                                    <tr>
                                        <td colspan="3" style="background-image: url(pics/diao.gif); width: 210px; height: 33px">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="3" style="width: 210px; height: 82px; text-align: center;" valign="top" visible="true">
                                            <uc3:Surveyonline ID="Surveyonline1" runat="server" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="3" style="background-image: url(pics/fankui.gif); width: 210px; height: 31px;
                                            text-align: center" valign="top" visible="true">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="3" style="width: 210px; height: 82px; text-align: center" valign="top"
                                            visible="true">
                                            &nbsp;<br />
                                            <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="~/Showliuyan.aspx">察看留言</asp:HyperLink>
                                            <br />
                                            <br />
                                            <asp:HyperLink ID="HyperLink3" runat="server" NavigateUrl="~/Inputliuyan.aspx">签写留言</asp:HyperLink></td>
                                    </tr>
                                </table>
                            </td>
                            <td style="width: 6px;" rowspan="6">
                            </td>
                            <td style="border-top-width: 1px; border-left: darkorange 1px solid; border-top-color: darkorange; border-right-width: 1px; border-right-color: darkorange; border-bottom: darkorange 1px solid;" rowspan="6" valign="top">
                                <table width="100%">
                                    <tr>
                                        <td colspan="3" style="border-bottom: darkorange thick double; height: 27px; text-align: left">
                                            <img src="pics/Liuyan.gif" /></td>
                                    </tr>
                                    <tr>
                                        <td colspan="3" style="height: 7px; text-align: center">
                                            <table border="0" bordercolor="DarkOrange" class="9" width="100%">
                                                <tr>
                                                    <td colspan="1" style="width: 136px; text-align: right;">
                                                        您的姓名：</td>
                                                    <td colspan="1" style="width: 617px; text-align: left">
                                                        <asp:TextBox ID="txtName" runat="server" CssClass="txtbox1" MaxLength="20" onfocus="javascript:if(this.value=='匆匆过客')this.value=''"
                                                            value="匆匆过客" Width="235px"></asp:TextBox><span style="color: red"><span style="color: #000000">*</span><asp:RequiredFieldValidator
                                                                ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtName" ErrorMessage="必须填写"></asp:RequiredFieldValidator>
                                                            </span>
                                                    </td>
                                                    <td colspan="3" rowspan="5" style="width: 155px; text-align: center; border-left: darkorange 1px dotted;">
                                                        <table style="width: 124px">
                                                            <tr>
                                                                <td colspan="3" style="height: 106px; text-align: center">
                                                                    <asp:Image ID="Image1" runat="server" BorderStyle="Groove" BorderWidth="3px" /></td>
                                                            </tr>
                                                            <tr>
                                                                <td colspan="3" style="text-align: center">
                                                                    <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"
                                                                        Width="96px">
                                                                        <asp:ListItem Selected="True" Value="01.gif">用户头像01</asp:ListItem>
                                                                        <asp:ListItem Value="02.gif">用户头像02</asp:ListItem>
                                                                        <asp:ListItem Value="03.gif">用户头像03</asp:ListItem>
                                                                        <asp:ListItem Value="04.gif">用户头像04</asp:ListItem>
                                                                        <asp:ListItem Value="05.gif">用户头像05</asp:ListItem>
                                                                        <asp:ListItem Value="06.gif">用户头像06</asp:ListItem>
                                                                        <asp:ListItem Value="07.gif">用户头像07</asp:ListItem>
                                                                        <asp:ListItem Value="08.gif">用户头像08</asp:ListItem>
                                                                        <asp:ListItem Value="09.gif">用户头像09</asp:ListItem>
                                                                        <asp:ListItem Value="10.gif">用户头像10</asp:ListItem>
                                                                        <asp:ListItem Value="11.gif">用户头像11</asp:ListItem>
                                                                        <asp:ListItem Value="12.gif">用户头像12</asp:ListItem>
                                                                        <asp:ListItem Value="13.gif">用户头像13</asp:ListItem>
                                                                        <asp:ListItem Value="14.gif">用户头像14</asp:ListItem>
                                                                        <asp:ListItem Value="15.gif">用户头像15</asp:ListItem>
                                                                        <asp:ListItem Value="16.gif">用户头像16</asp:ListItem>
                                                                        <asp:ListItem Value="17.gif">用户头像17</asp:ListItem>
                                                                        <asp:ListItem Value="18.gif">用户头像18</asp:ListItem>
                                                                        <asp:ListItem Value="19.gif">用户头像19</asp:ListItem>
                                                                        <asp:ListItem Value="20.gif">用户头像20</asp:ListItem>
                                                                    </asp:DropDownList></td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="1" style="width: 136px; text-align: right;">
                                                        您的邮箱：</td>
                                                    <td colspan="1" style="width: 617px; text-align: left">
                                                        <asp:TextBox ID="txtEmail" runat="server" CssClass="txtbox1" MaxLength="50" Width="235px"></asp:TextBox>
                                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmail"
                                                            ErrorMessage="不正确" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator></td>
                                                </tr>
                                                <tr style="color: #000000">
                                                    <td colspan="1" style="width: 136px; text-align: right;">
                                                        您的网站：</td>
                                                    <td colspan="1" style="width: 617px; text-align: left">
                                                        <asp:TextBox ID="txtWeb" runat="server" CssClass="txtbox1" MaxLength="50" Width="235px">Http://</asp:TextBox></td>
                                                </tr>
                                                <tr>
                                                    <td colspan="1" style="width: 136px; text-align: right;">
                                                        QQ：</td>
                                                    <td colspan="1" style="width: 617px; text-align: left">
                                                        <asp:TextBox ID="txtQQ" runat="server" CssClass="txtbox1" MaxLength="15" Width="235px"></asp:TextBox></td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2" style="border-top: darkorange 1px dotted; background-color: lavender; text-align: left;">
                                                        &nbsp;
                                                        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/headpic/Viewheads.aspx"
                                                            Target="_blank">察看所有头像</asp:HyperLink>&nbsp; |&nbsp; 是否悄悄话<asp:CheckBox ID="chkHua"
                                                                runat="server" /></td>
                                                </tr>
                                                <tr>
                                                    <td colspan="5" style="border-top: orangered 1px dotted; height: 123px; text-align: center">
                                                        <ftb:freetextbox id="FreeTextBox1" runat="server" allowhtmlmode="False" autoconfigure="Minimal"
                                                            autohidetoolbar="False" breakmode="LineBreak" buttondownimage="False" buttonpath="images/ftb/office2003/"
                                                            buttontype="Image" downlevelmode="BasicEditor" height="210px" htmlmodedefaultstomonospacefont="True"
                                                            imagegallerypath="Uploadpics" pastemode="Default" readonly="False" scrollbarmode="Style"
                                                            startmode="DesignMode" toolbarlayout="" toolbartype="Office2003" width="740px" BackColor="GradientInactiveCaption" GutterBackColor="255, 192, 128"></ftb:freetextbox>
                                                        <span class="style11" style="color: black"></span>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="5" style="height: 44px; border-top: darkorange thin solid; text-align: center;">
                                                        <asp:Button ID="Button1" runat="server"  Text="提交留言" OnClick="Button1_Click" />
                                                        &nbsp;
                                                        <asp:Button ID="Button2" runat="server"  Text="清空留言" /></td>
                                                </tr>
                                            </table>
                                            <asp:Label ID="lblError" runat="server" Font-Bold="True" ForeColor="Red"></asp:Label></td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                        </tr>
                        <tr>
                        </tr>
                        <tr>
                        </tr>
                        <tr>
                        </tr>
                        <tr>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td style="height: 21px" colspan="3">
                    <uc2:bottom ID="Bottom1" runat="server" />
                    
                </td>
            </tr>
        </table>
       </div>
    </form>
    

</body>
</html>
