<%@ page language="C#" autoeventwireup="true" inherits="user_feedback, ZKCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register TagName="meta" TagPrefix="UC" Src="~/s/include/meta.ascx" %>
<%@ Register TagName="head" TagPrefix="UC" Src="~/s/include/head.ascx" %>
<%@ Register TagName="tip_bar" TagPrefix="UC" Src="~/s/include/tip_bar.ascx" %>
<%@ Register TagName="foot" TagPrefix="UC" Src="~/s/include/foot.ascx" %>
<!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">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <title>留言我们_
        <%=ZK.config("sitetitle") %></title>
    <meta name="keywords" content="<%=ZK.config("sitekeywords") %>" />
    <meta name="description" content="<%=ZK.config("sitedescription") %>" />
    <UC:meta ID="meta1" runat="server" />
</head>
<body>
    <div class="wrap">
        <a name="pagetop" id="pagetop"></a>
        <UC:head ID="head1" runat="server" />
        <UC:tip_bar ID="tip_bar1" runat="server" />
        <form id="form1" runat="server" autocomplete="off">
        <div class="box">
            <div class="c1 mt5">
                <div class="b">
                    <div class="fl">
                    </div>
                    <div class="con">
                        <asp:Literal ID="LiteralTypeTitle" runat="server">留言反馈</asp:Literal></div>
                    <div class="fr">
                        <a href="#" onclick="history.back()">返回上页</a></div>
                    <div class="clear">
                    </div>
                </div>
                <div class="v">
                    <div class="NOCSS" style="padding-left: 100px; padding-top: 15px; padding-bottom: 15px">
                        <div class="do1">

                            <script type="text/javascript">
function check_feedback_()
{
if(document.getElementById("parentid").value==""){alert("请选择留言类型！");return false;}
if(document.getElementById("contact").value==""){alert("姓名不能为空！");return false;}
if(document.getElementById("email").value==""){alert("联系邮箱不能为空！");return false;}
if (!emailReg.test(document.getElementById("email").value)){alert("请输入正确的邮箱！");return false;}
if(document.getElementById("qq").value!=""){if (!qqReg.test(document.getElementById("qq").value)){alert("请输入正确的QQ号！");return false;}}         
}
                            </script>

                            <table border="0" cellpadding="0" cellspacing="0" class="table1">
                                <tr>
                                    <td class="tt">
                                      留言类型：
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="parentid" runat="server" CssClass="sel1" Width="208">
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tt">
                                        <b>您的姓名：</b>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="contact" runat="server" MaxLength="20" CssClass="inp4" Width="200"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tt">
                                        <span>联系电话：</span>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="tel" runat="server" MaxLength="20" CssClass="inp4" Width="200"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tt">
                                        <span>联系QQ：</span>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="qq" runat="server" MaxLength="15" CssClass="inp4" Width="200"></asp:TextBox>
                                    </td>
                                </tr>
                                
                                <tr>
                                    <td class="tt">
                                        <b>联系邮箱：</b>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="email" runat="server" MaxLength="200" CssClass="inp4" Width="300"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tt">
                                        <b>留言内容：</b>
                                    </td>
                                    <td>                                     
                                            
                                              <%@ register assembly="FredCK.FCKeditorV2" namespace="FredCK.FCKeditorV2" tagprefix="FCKeditorV2" %>
                                            <FCKeditorV2:FCKeditor ID="content" runat="server" BasePath="~/s/tool/fck/" Height="200"
                                                Width="610" ToolbarSet="Edit6">
                                            </FCKeditorV2:FCKeditor>
                                            
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tt">
                                        &nbsp;
                                    </td>
                                    <td>
                                        <asp:Button ID="Button1" runat="server" CssClass="but4" Text="提交留言" OnClientClick="return check_feedback_()"
                                            onmouseover="hover(this,0.8)" onmouseout="hover(this,1)" OnClick="Button1_Click" />
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        </form>
        <UC:foot ID="foot1" runat="server" />
    </div>
</body>
</html>
