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

<!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_Member.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="isreg_chk" name="isreg_chk" <%=_isreg==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="isaudit_chk" name="isaudit_chk" <%=_isaudit==true?"checked=checked":"" %> type="checkbox" value="0" />
                </label>
                <span class="point ico-remind V">注册成功之后是否需要审核</span>
            </p>
            
            <p>
                <label class="name">初始会员分类:</label> 
                <select id="memberClass_select" name="memberClass_select" tabindex="1" class="select">
                <%for (int i = 0; i < _memberClassDat.Rows.Count; i++) %>
                <%{ %>
                <option <%=_memberclass==_memberClassDat.Rows[i]["id"].ToString()?"selected=selected":"" %> value="<%=_memberClassDat.Rows[i]["id"].ToString() %>"><%=_memberClassDat.Rows[i]["name"].ToString()%></option>
                <%} %>
                </select>
                <span class="point ico-remind V">会员注册成功之后初始的分类</span>
            </p>

            <p>
                <label class="name">初始金币:</label>
                <input id="gold_txt" class="input200 isNumber" value="<%=_gold%>" name="gold_txt" type="text" />
                <span class="point ico-remind V">注册成功之后初始金币</span>
            </p>

            <p>
                <label class="name">注册成功跳转:</label>
                <input id="regjumpurl_txt" class="input200" value="<%=_regjumpurl%>" name="regjumpurl_txt" type="text" />
                <span class="point ico-remind V">注册成功之后跳转的Url页面</span>
            </p>

            <p>
                <label class="name">登录成功跳转:</label>
                <input id="loginjumpurl_txt" class="input200" value="<%=_loginjumpurl%>" name="loginjumpurl_txt" type="text" />
                <span class="point ico-remind V">登录成功之后跳转的Url页面</span>
            </p>

            <p>
                <label class="name">登录送金币:</label>
                <input id="logingold_txt" class="input200 isNumber" value="<%=_logingold%>" name="logingold_txt" type="text" />
                <span class="point ico-remind V">登录一次赠送金币（一天仅送一次）</span>
            </p>

            <span class="G f_right">如须删除某项直接留空即可</span>
            <a href="#" id="memberItemAddBtn" class="green-add-btn f_left W">添加注册项</a>
            <div class="clear-4"></div>
            <hr />
            <%for (int i = 1; i < 21; i++) %>
            <%{ %>
            <div rel="memberDivList" <%=getMemberModuleItem(i)=="未命名"?"class=hide":"" %>>
            <label class="name">注册参数项<%=i %>:</label>
            <label class="checkbox">
            	<input id="item<%=i %>_text" class="input200" rel="memberItemText" name="item<%=i %>_text" type="text" value="<%=getMemberModuleItem(i) %>" />
            </label>
            <span class="point ico-remind V">注册参数配置项</span>
            <div class="clear-6"></div>
            </div>
            <%} %>
            <div class="msgbox" id="memberItemMsgBox">您还没有添加图片参数项!</div>
            <div class="clear-2"></div>

            <hr />

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