<?php include mayi_tpl('inc_header'); ?><link rel=Stylesheet href=template/css/new.dialog.css><link rel=stylesheet href=template/css/new.my.css><link href=../template/global/magic-check.css rel=stylesheet><script src=template/javascript.js></script><script src=template/jquery.172.min.js></script><body class=blue><div class=container><div id=main class="main section-setting"><div class="clearfix main-inner"><div class=content><div class="clearfix content-inner"><div class=location><?=$location?></div><div class=content-main><div class=content-main-inner><div class=pwrap><div class=pbody><div id=msg_success></div><div id=msg_error></div><div id=msg_alert></div><div class="cleafix pagetab-wrap"><ul class=pagetab>
<li><a href=javascript:; onclick='window.location.href="?m=avatar"' class=current><span><?php echo $if_corp != 1 ? '更换头像' : '店铺logo'; ?></span></a></li> 
</ul></div><form method=post name=form1 action="?m=avatar" enctype=multipart/form-data onSubmit="return AvatarSubmit()"><div class="formgroup section-setting"><?php if($face != ''){?><div class=formrow><h3 class=label><label>当前头像：</label></h3><div class=form-enter><img src="<?=$face?>" border=0></div></div><?php }?><div class=formrow><h3 class=label>选择文件：</h3><div class=form-enter><script>var MagicUploadName="mymps_member_logo"</script><div id=ShowMagicUpload></div><div class=clear10></div><div class=magic-notice>支持上传的类型：jpg,png,gif，图片尺寸：<?=$mymps_mymps[cfg_memberlogo_limit][width]?>*<?=$mymps_mymps[cfg_memberlogo_limit][height]?></div><script src=../template/global/magic-upload.js></script></div></div><div class="formrow formrow-action"><h3 class=label>&nbsp;</h3><span class=minbtn-wrap><span class=btn><input type=submit value="更 新" class=button name=avatar_submit></span></span></div></div></form></div><div class=pfoot><p><b>-</b></p></div></div></div></div></div></div></div></div><?php include mayi_tpl('inc_foot'); ?></div>