{$xml[0]}
<form name="ajaxForm" id="ajaxForm" onsubmit="return false" action="system.php?sys=user&action=view&ac={$ac}&uid={$uid}" method="post">
<!--{if !empty($data)}-->
	<!--{if $ac == 'point'}-->
		<p><label class="f-label">点数：</label><input type="text" size="25" class="f-text" name="point" value="{$data['point']}" /></p>
	<!--{elseif $ac == 'validity'}-->
		<p><label class="f-label">有效期至：</label><input type="text" size="25" class="f-text" name="validity" id="view-validity" value="{$data['validity']}" /></p>
		<script type="text/javascript" reload="1">new qmeCms.Calendar("view-validity");</script>
	<!--{elseif $ac == 'group'}-->
		<p><label class="f-label">用户组：</label><select name="gid"><!--{loop $usergroup $val}--><option value="{$val['gid']}"<!--{if $data['gid'] == $val['gid']}--> selected<!--{/if}-->>{$val['gname']}</option><!--{/loop}--></select></p>
	<!--{elseif $ac == 'unallowed'}-->
		<p><label class="f-label">用户状态：</label><select name="unallowed"><option value="0"<!--{if $data['unallowed'] == 0}--> selected<!--{/if}-->>正常</option><option value="1"<!--{if $data['unallowed'] == 1}--> selected<!--{/if}-->>禁止</option></select></p>
	<!--{else}-->
		<p>似乎出了点问题</p>
	<!--{/if}-->
<!--{else}-->
	<p>没有找到该用户</p>
<!--{/if}-->
</form>
<script type="text/javascript" reload="1">
(function(){
	$('ajaxForm').onsubmit = function(){
		qmeCms.dialogView.setSubmit(true, "提交中...",function(){});
		Form.send('ajaxForm', function(resp){
			qmeCms.dialogView.setMessage(resp);
			window.location.replace(window.location.href);
		});
		return false;
	};
	qmeCms.dialogView.setSubmit(true, " 确定 ", function(){
		$('ajaxForm').onsubmit();
	});
})();
</script>
{$xml[1]}