<%@ Page Language="C#" AutoEventWireup="true" Inherits="EoyooCMS.ManageCode.Module_Message" %>

<!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>
    <title>留言模型配置</title>
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <script type="text/javascript" src="Script/Jquery.js"></script>
    <script type="text/javascript" src="Script/Common.js"></script>
    <script type="text/javascript" src="Script/Eoyoo.FormControl.js"></script>
    <script type="text/javascript" src="Script/Module_Message.js"></script>
    <link href="Style/Iframe.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="FormControl" action="<%=getFormUrl %>" method="post" enctype="multipart/form-data">
    <div class="wrapper-div">
	<!-- 添加栏目 -->
    	<div class="title1">
        	<div class="right">
            	<span class="title-ico f_right titico3 X"> Ctrl + S 快捷保存</span>
            	<span class="title-ico titico5 F B">留言模型配置</span>
            </div>
        </div>
        
        <!-- 表单 -->
        <div class="tbox_form">

            <p>
                <label class="name">是否开放留言:</label>
                <label class="checkbox">
            	    <input id="ismessage_chk" name="ismessage_chk" <%=_ismessage==true?"checked=checked":"" %> type="checkbox" value="0" />
                </label>
                <span class="point ico-remind V">是否开发网站留言功能</span>
            </p>

            <p>
                <label class="name">每页显示留言数量:</label>
                <input id="listcount_txt" class="input200 isNumber" value="<%=_listcount%>" name="listcount_txt" type="text" />
                <span class="point ico-remind V">每页显示留言数量</span>
            </p>


            <p>
                <label class="name">留言排序方式:</label>
                <label class="checkbox">
            	    <select id="listorder_select" name="listorder_select" tabindex="1" class="select">
                      <option <%=_listorder=="addtime desc,id asc"?"selected=selected":"" %> value="addtime desc,id asc">留言时间最新在前面</option>
                      <option <%=_listorder=="addtime asc,id asc"?"selected=selected":"" %> value="addtime asc,id asc">留言时间最旧在前面</option>
                    </select>
                </label>
                <span class="point ico-remind V">留言默认排序方式</span>
            </p>

            <hr />

            <label class="name">&nbsp;</label> <input type="submit" class="bule-btn W" value="确定保存" />
            <span></span>
        </div>
        <!-- end 表单 -->
    <!-- end 添加栏目 -->
</div>
    </form>
</body>
</html>
