<!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=valid}-->
</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="link">属性设置</a>
				<a href="index.php?r=User.honourlist" class="link">会员头衔</a>
				<a href="index.php?r=SiteSet.experienceset" class="nolink">会员经验</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 action="index.php?r=SiteSet.experienceset" method="post" id="experienceSetForm">
						<input type="hidden" name="action" value="do"/>
						<table class="tbl_edit" width="100%">
							<tr>
								<td class="td_name">登录奖励经验数<span class="red">*</span></td>
								<td class="td_content"><input type="text" class="number" id="LOGIN_EXPERIENCE_VALUE" name="LOGIN_EXPERIENCE_VALUE" value="<!--{$LOGIN_EXPERIENCE_VALUE}-->"/><img class="tiptip" title="前台用户每天登录后台奖励经验数，每天多次登录只奖励一次" src="images/quest.gif"/><span id="span_LOGIN_EXPERIENCE_VALUE"></span></td>
							</tr>
							<tr>
								<td class="td_name">发贴奖励经验数<span class="red">*</span></td>
								<td class="td_content"><input type="text" class="number" id="POST_EXPERIENCE_VALUE" name="POST_EXPERIENCE_VALUE" value="<!--{$POST_EXPERIENCE_VALUE}-->"/><img class="tiptip" title="用户在wap前台发表帖子获得经验数" src="images/quest.gif"/><span id="span_POST_EXPERIENCE_VALUE"></span></td>
							</tr>
							<tr>
								<td class="td_name">回贴奖励经验数<span class="red">*</span></td>
								<td class="td_content"><input type="text" class="number" id="REPLY_EXPERIENCE_VALUE" name="REPLY_EXPERIENCE_VALUE" value="<!--{$REPLY_EXPERIENCE_VALUE}-->"/><img class="tiptip" title="用户在wap前台回复帖子获得经验数" src="images/quest.gif"/><span id="span_REPLY_EXPERIENCE_VALUE"></span></td>
							</tr>
							<tr>
								<td class="td_name">置顶奖励经验数<span class="red">*</span></td>
								<td class="td_content"><input type="text" class="number" id="TO_TOP_EXPERIENCE_VALUE" name="TO_TOP_EXPERIENCE_VALUE" value="<!--{$TO_TOP_EXPERIENCE_VALUE}-->"/><img class="tiptip" title="管理员置顶用户发表的帖子，用户获得的经验数" src="images/quest.gif"/><span id="span_TO_TOP_EXPERIENCE_VALUE"></span></td>
							</tr>
							<tr>
								<td class="td_name">加精奖励经验数<span class="red">*</span></td>
								<td class="td_content"><input type="text" class="number" id="TO_ESSENCE_EXPERIENCE_VALUE" name="TO_ESSENCE_EXPERIENCE_VALUE" value="<!--{$TO_ESSENCE_EXPERIENCE_VALUE}-->"/><img class="tiptip" title="管理员加精用户发表的帖子，用户获得的经验数" src="images/quest.gif"/><span id="span_TO_ESSENCE_EXPERIENCE_VALUE"></span></td>
							</tr>
							<tr>
								<td class="td_name">发评论奖励经验数<span class="red">*</span></td>
								<td class="td_content"><input type="text" class="number" id="COMMENT_EXPERIENCE_VALUE" name="COMMENT_EXPERIENCE_VALUE" value="<!--{$COMMENT_EXPERIENCE_VALUE}-->"/><img class="tiptip" title="用户在wap前台发表评论奖励经验数" src="images/quest.gif"/><span id="span_COMMENT_EXPERIENCE_VALUE"></span></td>
							</tr>
							<tr>
								<td class="td_name">上传相片奖励经验数<span class="red">*</span></td>
								<td class="td_content"><input type="text" class="number" id="UPLOAD_PHOTO_EXPERIENCE_VALUE" name="UPLOAD_PHOTO_EXPERIENCE_VALUE" value="<!--{$UPLOAD_PHOTO_EXPERIENCE_VALUE}-->"/><img class="tiptip" title="用户在wap前台个人空间上传一张相片奖励经验数" src="images/quest.gif"/><span id="span_UPLOAD_PHOTO_EXPERIENCE_VALUE"></span></td>
							</tr>
							<tr>
								<td class="td_name">删除帖子扣经验数<span class="red">*</span></td>
								<td class="td_content"><input type="text" class="number" id="DELETE_POST_EXPERIENCE_VALUE" name="DELETE_POST_EXPERIENCE_VALUE" value="<!--{$DELETE_POST_EXPERIENCE_VALUE}-->"/><img class="tiptip" title="用户自己删自己的帖子，和管理员删用户帖子，都会扣除用户的经验数" src="images/quest.gif"/><span id="span_DELETE_POST_EXPERIENCE_VALUE"></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(){
	$("#experienceSetForm").validate({
			rules: {
			'LOGIN_EXPERIENCE_VALUE' : {
				'required' : true,
				'number' : true,
				'digits': true
			},
			'POST_EXPERIENCE_VALUE':{
				'required' : true,
				'number' : true,
				'digits': true
			},
			'REPLY_EXPERIENCE_VALUE':{
				'required' : true,
				'number' : true,
				'digits': true
			},
			'TO_TOP_EXPERIENCE_VALUE':{
				'required' : true,
				'number' : true
			},
			'TO_ESSENCE_EXPERIENCE_VALUE':{
				'required' : true,
				'number' : true,
				'digits': true
			},
			'COMMENT_EXPERIENCE_VALUE':{
				'required' : true,
				'number' : true
			},
			'UPLOAD_PHOTO_EXPERIENCE_VALUE':{
				'required' : true,
				'number' : true,
				'digits': true
			},
			'DELETE_POST_EXPERIENCE_VALUE':{
				'required' : true,
				'number' : true,
				'digits': true
			}
		},
		messages: {
			'LOGIN_EXPERIENCE_VALUE' : {
				'required' : '登录奖励经验数不能为空',
				'number': '登录奖励经验数必须为正整数',
				'digits': "登录奖励经验数必须为正整数"
			},
			'POST_EXPERIENCE_VALUE':{
				'required' : '发贴奖励经验数不能为空',
				'number': '发贴奖励经验数必须为正整数',
				'digits': "发贴奖励经验数必须为正整数"
			},
			'REPLY_EXPERIENCE_VALUE':{
				'required' : '回贴奖励经验数不能为空',
				'number': '回贴奖励经验数必须为正整数',
				'digits': "回贴奖励经验数必须为正整数"
			},
			'TO_TOP_EXPERIENCE_VALUE':{
				'required' : '置顶奖励经验数不能为空',
				'number': '置顶奖励经验数必须为正整数',
				'digits': "置顶奖励经验数必须为正整数"
			},
			'TO_ESSENCE_EXPERIENCE_VALUE':{
				'required' : '加精奖励经验数不能为空',
				'number': '加精奖励经验数必须为正整数',
				'digits': "加精奖励经验数必须为正整数"
			},
			'COMMENT_EXPERIENCE_VALUE':{
				'required' : '发评论奖励经验数不能为空',
				'number': '发评论奖励经验数必须为正整数',
				'digits': "发评论奖励经验数必须为正整数"
			},
			'UPLOAD_PHOTO_EXPERIENCE_VALUE':{
				'required' : '上传相片奖励经验数不能为空',
				'number': '上传相片奖励经验数必须为正整数',
				'digits': "上传相片奖励经验数必须为正整数"
			},
			'DELETE_POST_EXPERIENCE_VALUE':{
				'required' : '删除帖子扣经验数不能为空',
				'number': '删除帖子扣经验数必须为正整数',
				'digits': "删除帖子扣经验数必须为正整数"
			}
		},
		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>