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

<!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_Pic.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>
                <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>
                <input id="reviewcount_txt" class="input200 isNumber" value="<%=_reviewcount%>" name="reviewcount_txt" type="text" />
                <span class="point ico-remind V">每页显示评论数量</span>
            </p>

            <p>
                <label class="name">是否允许评论:</label>
                <label class="checkbox">
            	    <input id="isreview_chk" name="isreview_chk" <%=_isreview==true?"checked=checked":"" %> type="checkbox" value="0" />
                </label>
                <span class="point ico-remind V">是否允许评论</span>
            </p>
            <p>
                <label class="name">是否统计点击数量:</label>
                <label class="checkbox">
            	    <input id="isclick_chk" name="isclick_chk" <%=_isclick==true?"checked=checked":"" %> type="checkbox" value="0" />
                </label>
                <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>

            <p>
                <label class="name">附加属性排序方式:</label>
                <label class="checkbox">
            	    <select id="listattributeorder_select" name="listattributeorder_select" tabindex="1" class="select">
                      <option <%=_listattributeorder=="attribute3 desc,updatetime desc"?"selected=selected":"" %> value="attribute3 desc,updatetime desc">置顶在前面</option>
                      <option <%=_listattributeorder=="attribute2 desc,updatetime desc"?"selected=selected":"" %> value="attribute2 desc,updatetime desc">推荐在前面</option>
                      <option <%=_listattributeorder=="attribute1 desc,updatetime desc"?"selected=selected":"" %> value="attribute1 desc,updatetime desc">头条在前面</option>
                    </select>
                </label>
                <span class="point ico-remind V">图册附加属性排序方式</span>
            </p>

            <span class="G f_right">如须删除某项直接留空即可</span>
            <a href="#" id="picItemAddBtn" class="green-add-btn f_left W">添加参数项</a>
            <div class="clear-4"></div>
            <hr />
            <%for (int i = 1; i < 21; i++) %>
            <%{ %>
            <div rel="picDivList" <%=getPicModuleValue(i)=="未命名"?"class=hide":"" %>>
            <label class="name">图册参数项<%=i %>:</label>
            <label class="checkbox">
            	<input id="item<%=i %>_text" class="input200" rel="picItemText" name="item<%=i %>_text" type="text" value="<%=getPicModuleValue(i) %>" />
            </label>
            <span class="point ico-remind V">图册参数配置项</span>
            <div class="clear-6"></div>
            </div>
            <%} %>
            <div class="msgbox" id="picItemMsgBox">您还没有添加图册参数项!</div>
            <div class="clear-2"></div>
            <hr />
            <p>
                <label class="name">&nbsp;</label> <input type="submit" id="picModule_Btn" class="bule-btn W" value="确定保存" />
                <span></span>
            </p>
        </div>
        <!-- end 表单 -->
    <!-- end 产品模型 -->
</div>
    </form>
</body>
</html>
