<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head><title><!--{$UUDEV_PAGE_TITLE}--></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!--{include file=elements/header.css.html}-->
<!--{include file=elements/header.js.html type=common}-->
<!--{include file=elements/header.js.html type=upload}-->
</head>
<body>
<div id="outside">
	<!--{include file=frame/top.html}-->
	<div id="mainareaContent">
		<!--{include file=frame/left.html}-->
		<div id="rightContent">
			<div id="topContent">
				<div class="sitmap">
					<span class="r"><!--{include file="elements/uuadvad.html"}--></span>互动社区&nbsp;&gt;&nbsp;会员管理&nbsp;&gt;&nbsp;属性设置
				</div>
			</div>
			<div class="tabcontent">
				<a href="index.php?r=User.userlist" class="link">会员列表</a>
				<a href="index.php?r=SiteSet.userset" class="nolink">属性设置</a>
				<a href="index.php?r=User.honourlist" class="link">会员头衔</a>
				<a href="index.php?r=SiteSet.experienceset" class="link">会员经验</a>
				<a href="index.php?r=User.forumroleimg" class="link">管理员身份勋章</a>
				<a href="index.php?r=User.albumlist" class="link">会员相册</a>
				<a href="index.php?r=User.listphotoframe" class="link">会员相框</a>
				<a href="index.php?r=User.msglist" class="link">会员消息</a>
				<a href="index.php?r=SiteSet.msgboxset" class="link">信箱设置</a>
			</div>
			<div id="secrightContent">
				<div class="tableContent">
					<form id="usersetForm" action="index.php?r=SiteSet.userset" method="post">
						<input type="hidden" name="action" value="do"/>
						<table class="tbl_edit" width="100%">
							<tr>
								<td class="td_name">是否开启用户个人相册审核</td>
								<td class="td_content"><input type="radio" name="USER_PHOTO_CHECK_STATUS" id="USER_PHOTO_CHECK_STATUS" value="1" <!--{if $USER_PHOTO_CHECK_STATUS == '1'}-->checked<!--{/if}-->/>&nbsp;是&nbsp;&nbsp;<input type="radio" name="USER_PHOTO_CHECK_STATUS" id="USER_PHOTO_CHECK_STATUS" value="0" <!--{if $USER_PHOTO_CHECK_STATUS == '0' || empty($USER_PHOTO_CHECK_STATUS) }-->checked<!--{/if}-->/>&nbsp;否<img class="tiptip" title="控制wap前台“用户个人相册审核”是否开启" src="images/quest.gif"/></td>
							</tr>
							<tr>
								<td class="td_name">前台用户允许上传格式</td>
								<td class="td_content">图片：<input type="text" class="text" name="FRONT_UPLOAD_IMG_FORMAT" id="FRONT_UPLOAD_IMG_FORMAT" value="<!--{if empty($FRONT_UPLOAD_IMG_FORMAT)}-->jpg|gif|png|bmp<!--{else}--><!--{$FRONT_UPLOAD_IMG_FORMAT}--><!--{/if}-->"/><img class="tiptip" title="请用 | 分隔开" src="images/quest.gif"/></td>
							</tr>
							<tr>
								<td class="td_name"></td>
								<td class="td_content">其它：<input type="text" class="text" name="FRONT_UPLOAD_OTHER_FORMAT" id="FRONT_UPLOAD_OTHER_FORMAT" value="<!--{if empty($FRONT_UPLOAD_OTHER_FORMAT)}-->zip|doc|rar|xls|txt|exe|mid|3gp|amr|wma|mmf|wav|mp3|jar|jad｜sis|sisx|apk<!--{else}--><!--{$FRONT_UPLOAD_OTHER_FORMAT}--><!--{/if}-->"/><img class="tiptip" title="请用 | 分隔开" src="images/quest.gif"/></td>
							</tr>
							<tr>
								<td class="td_name">新注册用户ID是否递增</td>
								<td class="td_content"><input type="radio" name="USER_ID_INCREASE_STATUS" id="USER_ID_INCREASE_STATUS" value="1" <!--{if $USER_ID_INCREASE_STATUS == '1'}-->checked<!--{/if}-->/>&nbsp;是&nbsp;&nbsp;<input type="radio" name="USER_ID_INCREASE_STATUS" id="USER_ID_INCREASE_STATUS" value="0" <!--{if $USER_ID_INCREASE_STATUS == '0'}-->checked<!--{/if}-->/>&nbsp;否</td>
							</tr>
							<tr>
								<td class="td_name">新注册用户起始ID</td>
								<td class="td_content"><input type="text" class="text" name="USER_ID_RAND_START" id="USER_ID_RAND_START" value="<!--{if !empty($USER_ID_RAND_START)}--><!--{$USER_ID_RAND_START}--><!--{/if}-->"><span id="span_USER_ID_RAND_START"></span></td>
							</tr>
							<tr>
								<td class="td_name">新注册用户结束ID</td>
								<td class="td_content"><input type="text" class="text" name="USER_ID_RAND_END" id="USER_ID_RAND_END" value="<!--{if !empty($USER_ID_RAND_END)}--><!--{$USER_ID_RAND_END}--><!--{/if}-->"><span id="span_USER_ID_RAND_END"></span></td>
							</tr>
							<tr>
								<td class="noborder"></td>
								<td class="noborder"><button type="submit" class="butsubmit">提交</button></td>
							</tr>
						</table>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
</body>
<script>
$().ready(function(){
	$("#usersetForm").validate({
			rules: {
			"USER_ID_RAND_START":{
				"required" : true,
				"number" : true,
				"digits" : true,
				"min" : 1002
			},
			"USER_ID_RAND_END":{
				"required" : true,
				"number" : true,
				"digits" : true,
				"min" : function(){return $("#USER_ID_RAND_START").val();}
			}
		},
		messages: {
			"USER_ID_RAND_START":{
				"required" : "起始ID不能为空",
				"number" : "起始ID必须为正整数",
				"digits" : "起始ID必须为正整数",
				"min" : "起始ID不能小于1002"
			},
			"USER_ID_RAND_END":{
				"required" : "结束ID不能为空",
				"number" : "结束ID必须为正整数",
				"digits" : "结束ID必须为正整数",
				"min" : "结束ID不能小于起始ID"
			}
		},
		errorPlacement: function(error, element){
			$("#span_" + element.attr("id")).html(error).attr("class", "error");
		},
		submitHandler: function(form){
			setDisabled(":button",window.document);
			form.submit();
		},
		errorClass: "invalid",
		success: function(label){
			label.parent().html("&nbsp;").attr("class", "valid");
		},
		onkeyup:false
	});
});
</script>
</html>