<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>KGCMS企业应用管理平台 - Powered by KGCMS</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="renderer" content="webkit">
<!-- <meta http-equiv="cache-control" content="no-siteapp" /> -->
<link rel="stylesheet" type="text/css" href="{{kg['tpl_url']}}style/set_member.css">
<script src="{{kg['tpl_url']}}script/jquery.min.js"></script>
<script src="{{kg['server']['HTTP_HOST']}}/tools/amazeui/js/amazeui.min.js"></script>
<script src="{{kg['tpl_url']}}script/common.js"></script>
<script src="{{kg['tpl_url']}}script/set_member.js"></script>
<script src="{{kg['tpl_url']}}script/bs_popover.js"></script>
</head>
<body data-type="generalComponents" style="overflow: hidden;">
	{% include 'component_header.tpl' %}
	<div class="tpl-page-container tpl-page-header-fixed">
		<div class="scrollbar-wrap">
		{% include 'component_left.tpl' %}
		<div class="tpl-content-wrapper">
			<div class="tpl-content-page-title">
				系统全局参数设置
			</div>
			<ol class="am-breadcrumb">
				<li><a href="./" class="am-icon-home">首页</a></li>
				<li class="am-active">系统全局参数设置</li>
			</ol>
			<div class="tpl-portlet-components">
				<div class="portlet-title">
					<div class="caption font-green bold">
						<span class="am-icon-code"></span>&nbsp;系统全局参数设置
					</div>
					<div class="portlet-input input-small input-inline ngar-xiugai-width">
					</div>
				</div>
				<div class="tpl-block">
					<!-- <from class="am-g"> -->
					<div class="tpl-form-body tpl-form-line" style="padding-bottom: 0px;">
						<div class="am-form tpl-form-line-form">
							<div class="am-tabs" data-am-tabs="{noSwipe:1}">
								<div class="am-tabs-bd">
									<div class="am-tab-panel am-fade am-active am-in" id="tab1">
										<form method="post" action="">
											<div class="am-form-group">
												<label for="topayw" class="am-u-sm-3 am-form-label">新会员注册&nbsp;/&nbsp;<span class="tpl-form-line-small-title">Register</span></label>
												<div class="tpl-switch">
													<div class="am-u-sm-6 am-u-sm-pull-3">
														<input type="checkbox" class="ios-switch bigswitch tpl-switch-btn" {% if data['allow_reg'] %}checked="checked"{% endif %} name="allow_reg" value="1" id="topayw">
														<div class="tpl-switch-btn-view">
															<div></div>
														</div>
														<span class="input-icon-description font-green" data-container="body" data-toggle="popover" data-placement="auto" data-content="是否允许新用户注册，关闭后所有用户将无法注册会员" data-trigger="hover">
															<i class="am-icon-info-circle"></i>
														</span>
													</div>
												</div>
											</div>
											<div class="am-form-group">
												<label class="am-u-sm-3 am-form-label">会员注册验证&nbsp;/&nbsp;<span class="tpl-form-line-small-title">Code</span></label>
												<div class="am-u-sm-6 am-u-sm-pull-3">
													<label class="am-radio-inline">
														<input type="radio" {% if data['register_audit'] == 0 %}checked="checked"{% endif %} name="register_audit" value="0"> 无需验证
													</label>
													<label class="am-radio-inline">
														<input type="radio" {% if data['register_audit'] == 1 %}checked="checked"{% endif %} name="register_audit" value="1"> 邮件验证
													</label>
													<label class="am-radio-inline">
														<input type="radio" {% if data['register_audit'] == 2 %}checked="checked"{% endif %} name="register_audit" value="2"> 手工验证
													</label>
													<span class="input-icon-description font-green" data-container="body" data-toggle="popover" data-placement="auto" data-content="注册帐号是否需要验证后生效：<br>1、无需验证：会员注册后即可登录。<br>2、邮件验证：注册后系统自动发送一封验证邮件至用户邮箱，用户接收邮件并点击激活链接后即可登录。<br>3、手工验证：注册需后台管理员手工设置会员验证状态。" data-trigger="hover" data-html="true">
														<i class="am-icon-info-circle"></i>
													</span>
													
												</div>
											</div>
											<div class="am-form-group">
												<label for="topayr" class="am-u-sm-3 am-form-label">严格限制账号注册&nbsp;/&nbsp;<span class="tpl-form-line-small-title">Limit</span></label>
												<div class="am-u-sm-6 am-u-sm-pull-3">
													<div class="tpl-switch">
														<input type="checkbox" class="ios-switch bigswitch tpl-switch-btn" {% if data['username_strictly'] %}checked="checked"{% endif %} name="username_strictly" value="1" id="topayr">
														<div class="tpl-switch-btn-view">
															<div></div>
														</div>
														<span class="input-icon-description font-green" data-container="body" data-toggle="popover" data-placement="auto" data-trigger="hover" data-html="true" data-content="用户注册帐号限制：<br>1、是：注册帐号只允许使用字母、数字和下划线组成且必须由字母开头。这个设置对后续版本中会员使用二级域名等功能非常有用。<br>2、否：注册用户名可以使用中文，可能有部分特殊字符会被限制。" >
															<i class="am-icon-info-circle"></i>
														</span>
														
													</div>
												</div>
											</div>
											<div class="am-form-group">
												<label for="insure" class="am-u-sm-3 am-form-label">禁止使用的账号&nbsp;/&nbsp;<span class="tpl-form-line-small-title">Prohibit</span></label>
												<div class="am-u-sm-6 am-u-sm-pull-3">
													<input type="text" class="tpl-form-input" id="" name="disable" value="{{data['disable']}}">
													<span class="input-icon-description font-green" data-container="body" data-toggle="popover" data-placement="auto" data-trigger="hover"  data-content="不允许注册的帐号，用英文逗号隔开。">
														<i class="am-icon-info-circle"></i>
													</span>
												</div>
											</div>
											<div class="am-form-group">
												<label class="am-u-sm-3 am-form-label">站内搜索&nbsp;/&nbsp;<span class="tpl-form-line-small-title">Station</span></label>
												<div class="am-u-sm-6 am-u-sm-pull-3">
													<label class="am-radio-inline">
														<input type="radio" {% if data['search_open'] == 0 %}checked="checked"{% endif %} name="search_open" value="0"> 完全开放
													</label>
													<label class="am-radio-inline">
														<input type="radio" {% if data['search_open'] == 1 %}checked="checked"{% endif %} name="search_open" value="1"> 只允许会员搜索
													</label>
													<label class="am-radio-inline">
														<input type="radio" {% if data['search_open'] == 2 %}checked="checked"{% endif %} name="search_open" value="2"> 禁用搜索功能
													</label>
												</div>
											</div>
											<div class="am-form-group">
												<label class="am-u-sm-3 am-form-label">全文搜索&nbsp;/&nbsp;<span class="tpl-form-line-small-title">FullText</span></label>
												<div class="am-u-sm-6 am-u-sm-pull-3">
													<label class="am-radio-inline">
														<input type="radio" {% if data['search_fulltext'] == 0 %}checked="checked"{% endif %} name="search_fulltext" value="0"> 完全开放
													</label>
													<label class="am-radio-inline">
														<input type="radio" {% if data['search_fulltext'] == 1 %}checked="checked"{% endif %} name="search_fulltext" value="1"> 只允许会员搜索
													</label>
													<label class="am-radio-inline">
														<input type="radio" {% if data['search_fulltext'] == 2 %}checked="checked"{% endif %} name="search_fulltext" value="2"> 禁用全文搜索
													</label>
													<span class="input-icon-description font-green" data-container="body" data-toggle="popover" data-placement="auto" data-trigger="hover"  data-content="为提升程序执行效率可以禁用全文搜索，禁用后将只对标题、关键字及TAG进行搜索。" >
														<i class="am-icon-info-circle"></i>
													</span>
													
												</div>
											</div>
											<div class="am-form-group">
												<label for="description" class="am-u-sm-3 am-form-label">搜索请求间隔&nbsp;/&nbsp;<span class="tpl-form-line-small-title">Delay</span></label>
												<div class="am-u-sm-6 am-u-sm-pull-3">
													<input type="text" class="tpl-form-input num_input ngse-upText" id="" name="search_interval" value="{{data['search_interval']}}" placeholder="搜索间隔, 单位 秒">
													<span class="unit">秒</span>
													<span class="input-icon-description font-green" data-container="body" data-toggle="popover" data-placement="auto" data-trigger="hover"  data-content="在规定的时间内同一IP地址的用户只允许搜索一次，为0时无限制，单位：秒">
														<i class="am-icon-info-circle"></i>
													</span>
												</div>
											</div>
											<div class="am-form-group">
												<label class="am-u-sm-3 am-form-label">评论功能开启&nbsp;/&nbsp;<span class="tpl-form-line-small-title">Comment</span></label>
												<div class="am-u-sm-6 am-u-sm-pull-3">
													<label class="am-radio-inline">
														<input type="checkbox" {% if "article" in data['comment_enabled'] %}checked="checked"{% endif %}  name="comment_enabled[]" value="article"> 文章内容
													</label>
													<label class="am-radio-inline">
														<input type="checkbox" {% if "product" in data['comment_enabled'] %}checked="checked"{% endif %} name="comment_enabled[]" value="product"> 产品（商品）
													</label>
													<label class="am-radio-inline">
														<input type="checkbox" {% if "picture" in data['comment_enabled'] %}checked="checked"{% endif %} name="comment_enabled[]" value="picture"> 图片集
													</label>
													<label class="am-radio-inline">
														<input type="checkbox" {% if "download" in data['comment_enabled'] %}checked="checked"{% endif %} name="comment_enabled[]" value="download"> 软件下载
													</label>
													<!-- <div class="input-description">设置开启评论功能的模块。</div> -->
													<span class="input-icon-description font-green" data-container="body" data-toggle="popover" data-placement="auto" data-trigger="hover"  data-content="设置开启评论功能的模块。">
														<i class="am-icon-info-circle"></i>
													</span>
												</div>
											</div>
											<div class="am-form-group">
												<label for="topayw" class="am-u-sm-3 am-form-label">评论审核&nbsp;/&nbsp;<span class="tpl-form-line-small-title">Examine</span></label>
												<div class="tpl-switch">
													<div class="am-u-sm-6 am-u-sm-pull-3">
														<input type="checkbox" class="ios-switch bigswitch tpl-switch-btn" {% if data['comment_audit'] %}checked="checked"{% endif %} name="comment_audit" value="1" id="">
														<div class="tpl-switch-btn-view">
															<div></div>
														</div>
														<span class="input-icon-description font-green" data-container="body" data-toggle="popover" data-placement="auto" data-trigger="hover"  data-content="建议开启审核功能，启用后评论会直接通过审核，无需管理员审核">
															<i class="am-icon-info-circle"></i>
														</span>
														
													</div>
												</div>
											</div>
											<div class="am-form-group">
												<label for="topayw" class="am-u-sm-3 am-form-label">游客评论&nbsp;/&nbsp;<span class="tpl-form-line-small-title">Tourist</span></label>
												<div class="tpl-switch">
													<div class="am-u-sm-6 am-u-sm-pull-3">
														<input type="checkbox" class="ios-switch bigswitch tpl-switch-btn" {% if data['comment_traveler'] %}checked="checked"{% endif %} name="comment_traveler" value="1" id="">
														<div class="tpl-switch-btn-view">
															<div></div>
														</div>
														
													</div>
												</div>
											</div>
											<div class="am-form-group">
												<label for="description" class="am-u-sm-3 am-form-label">评论时间间隔&nbsp;/&nbsp;<span class="tpl-form-line-small-title">Delay</span></label>
												<div class="am-u-sm-6 am-u-sm-pull-3">
													<input type="text" class="tpl-form-input num_input ngse-upText" id="" name="comment_interval" value="{{data['comment_interval']}}" placeholder="评论间隔, 单位 分钟">
													<span class="unit">分钟</span>
													<span class="input-icon-description font-green" data-container="body" data-toggle="popover" data-placement="auto" data-trigger="hover"  data-content="同一IP的用户在规定的时间内只允许对同一ID的内容发表一次评论，为0时无限制，单位：分钟">
														<i class="am-icon-info-circle"></i>
													</span>
													
												</div>
											</div>
											<div class="am-form-group">
												<label class="am-u-sm-3 am-form-label">在线留言&nbsp;/&nbsp;<span class="tpl-form-line-small-title">Message</span></label>
												<div class="am-u-sm-6 am-u-sm-pull-3">
													<label class="am-radio-inline">
														<input type="radio" {% if data['message'] == 0 %}checked="checked"{% endif %} name="message" value="0"> 完全开放
													</label>
													<label class="am-radio-inline">
														<input type="radio" {% if data['message'] == 1 %}checked="checked"{% endif %} name="message" value="1"> 只允许会员留言
													</label>
													<label class="am-radio-inline">
														<input type="radio" {% if data['message'] == 2 %}checked="checked"{% endif %} name="message" value="2"> 关闭留言
													</label>
													
												</div>
											</div>
											<div class="am-form-group">
												<label for="description" class="am-u-sm-3 am-form-label">留言时间间隔&nbsp;/&nbsp;<span class="tpl-form-line-small-title">Delay</span></label>
												<div class="am-u-sm-6 am-u-sm-pull-3">
													<input type="text" class="tpl-form-input num_input ngse-upText" id="" name="message_interval" value="{{data['message_interval']}}" placeholder="留言间隔, 单位 分钟">
													<span class="unit">分钟</span>
													<span class="input-icon-description font-green" data-container="body" data-toggle="popover" data-placement="auto" data-trigger="hover"  data-content="同一IP的用户在规定的时间内只允许提交一次反馈，为0时无限制，单位：分钟">
														<i class="am-icon-info-circle"></i>
													</span>
												</div>
											</div>
											<div class="am-form-group">
												<label class="am-u-sm-3 am-form-label">在线反馈&nbsp;/&nbsp;<span class="tpl-form-line-small-title">Feedback</span></label>
												<div class="am-u-sm-6 am-u-sm-pull-3">
													<label class="am-radio-inline">
														<input type="radio" {% if data['feedback'] == 0 %}checked="checked"{% endif %} name="feedback" value="0"> 完全开放
													</label>
													<label class="am-radio-inline">
														<input type="radio" {% if data['feedback'] == 1 %}checked="checked"{% endif %} name="feedback" value="1"> 只允许会员提交反馈
													</label>
													<label class="am-radio-inline">
														<input type="radio" {% if data['feedback'] == 2 %}checked="checked"{% endif %} name="feedback" value="2"> 关闭反馈
													</label>
													
												</div>
											</div>
											<div class="am-form-group">
												<label for="description" class="am-u-sm-3 am-form-label">留言时间间隔&nbsp;/&nbsp;<span class="tpl-form-line-small-title">Delay</span></label>
												<div class="am-u-sm-6 am-u-sm-pull-3">
													<input type="text" class="tpl-form-input num_input ngse-upText" id="" name="feedback_interval" value="{{data['feedback_interval']}}" placeholder="留言间隔, 单位 分钟">
													<span class="unit">分钟</span>
													<span class="input-icon-description font-green" data-container="body" data-toggle="popover" data-placement="auto" data-trigger="hover"  data-content="同一IP的用户在规定的时间内只允许提交一次反馈，为0时无限制，单位：分钟">
														<i class="am-icon-info-circle"></i>
													</span>
													
												</div>
											</div>
											<div class="am-form-group">
												<label for="topayw" class="am-u-sm-3 am-form-label">金钱兑换积分&nbsp;/&nbsp;<span class="tpl-form-line-small-title">Integral</span></label>
												<div class="tpl-switch">
													<div class="am-u-sm-6 am-u-sm-pull-3">
														<input type="checkbox" class="ios-switch bigswitch tpl-switch-btn" {% if data['allow_exchange'] %}checked="checked"{% endif %} name="allow_exchange" value="1" id="">
														<div class="tpl-switch-btn-view">
															<div></div>
														</div>
														<span class="input-icon-description font-green" data-container="body" data-toggle="popover" data-placement="auto" data-trigger="hover"  data-content="是否允许用户使用金钱购买积分。">
															<i class="am-icon-info-circle"></i>
														</span>
														
													</div>
												</div>
											</div>
											<div class="am-form-group">
												<label for="" class="am-u-sm-3 am-form-label">金钱与积分兑换比例&nbsp;/&nbsp;<span class="tpl-form-line-small-title">Proportion</span></label>
												<div class="am-u-sm-6 am-u-sm-pull-3">
													<input type="text" class="tpl-form-input num_input" id="" name="ratio_scores" value="{{data['ratio_scores']}}" placeholder="">
													<span class="input-icon-description font-green" data-container="body" data-toggle="popover" data-placement="auto" data-trigger="hover"  data-content="1元钱可以兑换多少积分。">
														<i class="am-icon-info-circle"></i>
													</span>
												</div>
											</div>
											<div class="am-form-group">
												<label for="" class="am-u-sm-3 am-form-label">会员注册默认积分&nbsp;/&nbsp;<span class="tpl-form-line-small-title">Default</span></label>
												<div class="am-u-sm-6 am-u-sm-pull-3">
													<input type="text" class="tpl-form-input num_input" id="" name="register_scores" value="{{data['register_scores']}}" placeholder="">
													<span class="input-icon-description font-green" data-container="body" data-toggle="popover" data-placement="auto" data-trigger="hover"  data-content="会员注册后的基础积分。">
														<i class="am-icon-info-circle"></i>
													</span>
												</div>
											</div>
											<div class="am-form-group">
												<label for="" class="am-u-sm-3 am-form-label">登录增加积分&nbsp;/&nbsp;<span class="tpl-form-line-small-title">Increase</span></label>
												<div class="am-u-sm-6 am-u-sm-pull-3">
													<input type="text" class="tpl-form-input num_input" id="" name="login_scores" value="{{data['login_scores']}}" placeholder="">
													<span class="input-icon-description font-green" data-container="body" data-toggle="popover" data-placement="auto" data-trigger="hover"  data-content="在12小时内只计一次，有效的时间内登录增加相应积分。">
														<i class="am-icon-info-circle"></i>
													</span>
												</div>
											</div>
											<div class="am-form-group">
												<label for="" class="am-u-sm-3 am-form-label">评论增加积分&nbsp;/&nbsp;<span class="tpl-form-line-small-title">Increase</span></label>
												<div class="am-u-sm-6 am-u-sm-pull-3">
													<input type="text" class="tpl-form-input num_input" id="" name="comment_scores" value="{{data['comment_scores']}}" placeholder="">
													<span class="input-icon-description font-green" data-container="body" data-toggle="popover" data-placement="auto" data-trigger="hover"  data-content="12小时内只计一次，有效的时间内发表评论增加相应积分。">
														<i class="am-icon-info-circle"></i>
													</span>
													
												</div>
											</div>
											<div class="tpl-form-body tpl-form-line">
												<div class="am-form-group">
													<div class="am-u-md-9 am-u-md-push-5">
														<input type="hidden" name="action" value="submit">
														<button type="submit" class="am-btn am-btn-primary tpl-btn-bg-color-success distances" id="">立即设置</button>
													</div>
												</div>
											</div>
										</form>
									</div>
								</div>
							</div>
						</div>
					</div>
					<!-- </from> -->
					<div class="am-alert am-alert-success success-info ngco-No-marginT">
						<ul class="margin-bottom-none padding-left-lg">
							<li class="am-state-info">状态说明：</li>
							<li class="am-verify">
								<!-- <span class="am-icon-clock-o am-icon-sm am-past"></span> -->
								&nbsp;&nbsp;1、正常模式：将屏蔽所有的错误信息及提示，网站正常运营时必须启用此模式。<br />
								<!-- <span class="am-icon-clock-o am-icon-sm am-normal"></span> -->
								&nbsp;&nbsp;2、调试模式：显示除了公告以外的所有错误信息及语法标准提示信息、数据缓存功能会被禁用、显示数据库错误信息、出错的SQL语句会被完整的显示出来。此模式<br />
								<!-- 只限于开发阶段调试用，它决不能使用于网站正常环境下。 -->
								<!-- <span class="am-icon-check-circle am-icon-sm am-normal-forever"></span> -->
								&nbsp;&nbsp;3、静态文件缓存：开启后客户端浏览器将会缓存所有静态文件：图片、CSS、JavaScript 等静态文件。<br />
								<!-- <span class="am-icon-ban am-icon-sm am-forbid"></span>&nbsp;&nbsp;帐号已被禁用，用户无法登录-->
							</li>
						</ul>
					</div>
				</div>
			</div>
			{% include 'component_footer.tpl' %}
		</div>
		</div><!-- /.scrollbar-wrap -->
	</div>
</body>

</html>