<!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">
$.validate.setConfigs({
	xmlPath:'apps/member/validators/'
});
$(document).ready(function() {
	
});
</script>
</head>
<body class="person-theme">
	<div class="person-wrap">
		<?php $menu['avatar'] = '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('member/panel/avatar')}" enctype="multipart/form-data" name="member_avatar" id="member_avatar" method="POST" >
				<ul class="formFormat">
					<li>
						<div class="f-l file-tx"><img src="<?=element::member_photo($_userid,100,100)?>" alt="{$_username}" title="{$_username}" height="100" width="100" /></div>
						<div><strong class="bold fs-12">请上传图片</strong></div>
						<div class="file-div">
						<input type="file" name="photo" class="f-l" value=""/> <input type="submit" value="上传头像" class="zl-btn zl-ok f-l mar-l-10"  /></div>
						<div class="file-div"><p class="f-warn">注：允许上传图格式为JPG，GIF，文件大小不可超过500K </p></div>
					</li>
				</ul>
			</form>
		</div>
	</div>
<div class="hr-h10"></div>
<!--{template 'system/footer.html'}-->