<!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>
<meta http-equiv="Content-Type" content="text/html; charset={$CONFIG[charset]}" />
<title>个人专栏设置_会员中心_{$SYSTEM[sitename]}</title>
<link href="{IMG_URL}templates/{TEMPLATE}/css/style.css" type="text/css" rel="stylesheet" rev="stylesheet" media="screen"  />
<link href="{IMG_URL}templates/{TEMPLATE}/css/content.css" type="text/css" rel="stylesheet" rev="stylesheet" media="screen"  />
<!--[if IE 6]> 
	<link href="{IMG_URL}templates/{TEMPLATE}/css/ie6.css" type="text/css" rel="stylesheet" rev="stylesheet" media="screen"  />
<![endif]-->
<script type="text/javascript" src="{IMG_URL}js/config.js"></script>
<script type="text/javascript" src="{IMG_URL}js/lib/jquery.js"></script>
<script type="text/javascript" src="{IMG_URL}js/lib/jquery.form.js"></script>
<script type="text/javascript" src="{IMG_URL}js/lib/cmstop.validator.js"></script>
<script type="text/javascript">
function edit_ok(json) {
	alert(json.message);
}
$.validate.setConfigs({
	xmlPath:'apps/member/validators/'
});

$(document).ready(function() {
	$('#member_spaceSetting').validate({
		submitHandler:function(form) {
			$(form).ajaxSubmit({
				success: edit_ok,
				dataType:'json'
			});
			return false;
		},
		infoHandler:function(jq,message,type){
			jq.siblings('em').empty();
			if(type == 'error') jq.siblings('em').html(message);
		}
	});
});

</script>
</head>
<body class="person-theme">
	<div class="person-wrap">
		<?php $menu['space'] = 'class="person-current"'; $this->assign('menu',$menu); ?>
		<!--{template 'member/panel/header.html'}-->
		<div class="clear"></div>
		<div class="person-cont">
			<div class="hr-h10"></div>
			<form action="{url('space/panel/setting')}" method="POST"  name="member_spaceSetting" id="member_spaceSetting">
				<ul class="formFormat">
					<li><span class="info f-l"><em>*</em> 专栏名称：</span><input type="text" class="input-text f-l input-w200" name="name" value="{$name}"/> <em class="f-l warn"></em ></li>
					<li><span class="info f-l"><em>*</em> 作者名：</span><input type="text" class="input-text f-l input-w200" name="author" value="{$author}"/> <em  class="f-l warn"></em ></li>
					<li><span class="info f-l"><em>*</em> 专栏地址：</span><span class="fs-12 cor-666 f-l">{SPACE_URL}</span><input type="text" class="input-text age f-l " name="alias" value="{$alias}" /><span class="f-warn f-l">个性专栏地址只能由字母和数字组成</span></li>
					<li><span class="info f-l"><em>*</em> 个人简介：</span><textarea rows="3" cols="25" class="textarea zjs" style="vertical-align: top;" name="description">{$description}</textarea>
					</li>
					<li class="ok-wrap"><input type="submit" value="保存" id="button" class="zl-btn zl-ok"/></li>
				</ul>
			</form>
			
		</div>
	</div>
<div class="hr-h10"></div>
<!--{template 'system/footer.html'}-->