<%@Page Language="C#" AutoEventWireup="true"  Inherits="Web.inherits.ViewPage" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>在线留言-<%=WebSiteConfig.SiteName%>-<%=WebSiteConfig.SiteTitle%></title>
    <link href="<%path:%>Css/common.css" rel="stylesheet" />
    <link href="<%path:%>css/web.css" rel="stylesheet" />
    <link href="<%path:%>css/article.css" rel="stylesheet" />
    <script src="/Js/jquery-1.8.2.min.js"></script>
    <script src="/Js/data.js"></script>
    <script src="/Js/bx.library.js"></script>
    <script src="<%path:%>js/web.js"></script>
    <script src="/Js/form.js"></script>
    <script type="text/javascript">
        window.onload = function () {
            var rule = [{ "Name": "Title", "Null": "0", "Error": "标题不能为空", "Focus": "请填写标题" }, { "Name": "WriteContent", "Null": "0", "Error": "留言内容不能为空", "Focus": "请填写留言内容" }];
            form.init(rule);
        }
    </script>
</head>
<body>
    <!--head-->
    <%template:_head.html%>
    <!--body-->
    <div class="body main">
        <div class="split">&nbsp;</div>
        <div class="message">
            <div class="sitemap">所在位置:<a href="/">首页</a> > 在线留言</div>
            <div class="content">
                <form>
                    <table>
                        <tr>
                            <td class="itemtitle">标题:</td>
                            <td class="itemcontent">
                                <input id="Title" name="Title" type="text" maxlength="40"/></td>
                            <td>必填</td>
                        </tr>
                        <tr>
                            <td class="itemtitle">留言内容:</td>
                            <td class="itemcontent">
                                <textarea id="WriteContent" name="WriteContent" cols="20" name="S1" rows="6" maxlength="2000"></textarea></td>
                            <td>必填</td>
                        </tr>
                        <tr>
                            <td class="itemtitle">联系人:</td>
                            <td class="itemcontent">
                                <input id="Contact" name="Contact" type="text" /></td>
                            <td>&nbsp;</td>
                        </tr>
                        <tr>
                            <td class="itemtitle">邮箱:</td>
                            <td class="itemcontent">
                                <input id="Email" name="Email" type="text" /></td>
                            <td>&nbsp;</td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td>
                                <input id="Button1" type="button" onclick="submitMessage();" value="提交" /></td>
                            <td>&nbsp;</td>
                        </tr>
                    </table>
                </form>
            </div>
        </div>
        <div class="split">&nbsp;</div>
    </div>
    <!--foot-->
    <%template:_foot.html%>
</body>
</html>
