
<!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>
<?php include(DEDEMEMBER."/templets/head_inc.htm"); ?>
<title>更改头像 - <?php echo $cfg_webname; ?></title>
<link href="/templets/skin/cm.css" rel="stylesheet" type="text/css" />
<link href="/templets/skin/default.css" rel="stylesheet" type="text/css" />

<script language="javascript" type="text/javascript" src="/include/dedeajax2.js"></script>
<script language="javascript" type="text/javascript">
<!--
	function CheckLogin(){
	  var taget_obj = document.getElementById('_userlogin');
	  myajax = new DedeAjax(taget_obj,false,false,'','','');
	  myajax.SendGet2("/member/ajax_loginsta.php");
	  DedeXHTTP = null;
	}
-->
</script>
<script type="text/javascript" language='javascript' src='js/main.js'></script>
</head>
<body>
<?php include(DEDEMEMBER."/templets/head.htm"); ?>


<div class="bgcolor_w con_2">
    <div class="fL_">
        <div class="bordercolor_g3 con_2L4">
            <div class="con_2L4t">
              <div id="newsfeed_1" class="con_2L4tL1">
                        <a href="edit_fullinfo.php">修改详细资料</a>
                    </div>
                    <div id="newsfeed_2" class="con_2L4tL1">
                        <a href="edit_baseinfo.php">账户管理</a>
                    </div>
					<div id="newsfeed_2" class="con_2L4tL1  con_2L4tL2">
                        <a href="edit_face.php">更改头像</a>
                    </div>
					<div id="newsfeed_2" class="con_2L4tL1">
                        <a href="edit_space_info.php">空间设置</a>
                    </div>
            </div>
		 <form class="mTB10 mL10 mR10" action="edit_face.php" method="post" enctype="multipart/form-data" name="form1">
          <input type="hidden" name="dopost" value="save" />
          <div class="con_2L18c3">
			<span> 上传头像:</span> <input name="face" type="file" id="face" class='bordercolor_b2 tt' style="width:350px;" size="45"/><span>图片尺寸大于180*180的正方形图片做头像效果最好.</span>
		   </div>
		<div class="con_2L18c3">
		<span> 头像预览:</span>
		<a href="edit_face.php?dopost=delold&oldface=<?php echo urlencode($face); ?>">[删除旧头像]</a>
		</div>
		<div id='faceview' class='overflow mTB10 litPic' style="width:180px;height:180px;text-align:center;vertical-align:middle;line-height:180px;display:table-cell; margin-left:60px; float:left; border:#CCCCCC">
                    <?php
       	if($face!='') echo " <img class='' src='$face' style='_margin-top:expression(( 180 - this.height ) / 2);' />\r\n";
       	?>
                  </div>
		<div class="con_2L18c3">
              <div class="fR_">
               <input class="bgcolor_w xx"  type="reset" value="重写" />
                    <input type="submit" class="color_green bgcolor_w tp" value="可以啦!" />
                </div>
            </div>
</form>
        </div>
    </div>
    
    <?php include(DEDEMEMBER."/templets/right.htm"); ?>
</div>

<div id="foot_"></div>
<?php include(DEDEMEMBER."/templets/foot.htm"); ?>
<div class="foot_bottom"></div> 
</body>
</html>
