<!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=gb2312" />
<title>修改头像 - 个人中心 - {{bbs_title}}</title>
<link rel="stylesheet" href="{{template_css}}style.css" type="text/css" />
<script type="text/javascript">
<!--
function select_face(face_src,face_width,face_height) {
	document.user_face.user_face.value=face_src;
	document.user_face.user_face_width.value=face_width;
	document.user_face.user_face_height.value=face_height;
	document.user_face.user_face_now.src=face_src;
	document.user_face.user_face_now.width=face_width;
	document.user_face.user_face_now.height=face_height;
}
//-->
</script>
<script src="{{template_js}}show_menu.js" type="text/javascript"></script>
</head>
<body>
<div class="page_global">
	<div class="page_body">

		{{global_head}}

		<div class="page_head">
			<div class="page_head_stay"><a href="./">论坛首页</a>&nbsp;&raquo;&nbsp;<a href="user_info.asp">个人中心</a>&nbsp;&raquo;&nbsp;修改头像</div>
			<div class="page_head_menu">

			{{head_menu}}

			</div>
		</div>
	</div>
	<div>&nbsp;</div>
	<div>&nbsp;</div>

	<div class="page_body">

		<div class="page_body_left">

			<div class="big_title">修改头像</div>
			<div>&nbsp;</div>
			<div>&nbsp;</div>

			<div>
				<form method="post" name="user_face" enctype="multipart/form-data">
					<input type="hidden" name="action_form" value="user_face_do" />
					<table cellspacing="5" width="90%">
						<TR align="left">
							<TD width="80">用户名：</TD>
							<TD>{{user_name}}</TD>
						</TR>
						<TR valign="top" align="left" height="150">
							<TD>当前头像：</TD>
							<TD><img src="{{user_face}}" id="user_face_now" width="{{user_face_width}}" height="{{user_face_height}}" alt="{{user_name}}" /></TD>
						</TR>
						<TR valign="top" align="left">
							<TD>头像列表：</TD>
							<TD>
								<!-- BEGIN face_list -->
								
								<a href="javascript:select_face('{{face_src}}',{{face_width}},'{{face_height}}');"><img src="{{face_src}}" width="{{face_width}}" height="{{face_height}}" alt="{{face_src}}" hspace="10" vspace="10" /></a>

								<!-- END face_list -->
							</TD>
						</TR>
						<TR align="left">
							<TD>头像地址：</TD>
							<TD><INPUT TYPE="text" NAME="user_face" value="{{user_face}}" class="login_input" />&nbsp;可直接输入网络地址</TD>
						</TR>
						<TR align="left">
							<TD>头像大小：</TD>
							<TD>宽度：<INPUT TYPE="text" NAME="user_face_width" value="{{user_face_width}}" size="5" />&nbsp;&nbsp;高度：<INPUT TYPE="text" NAME="user_face_height" value="{{user_face_height}}" size="5" /></TD>
						</TR>
						<TR align="left">
							<TD>上传：</TD>
							<TD><input type="file" name="user_face_upload" /></TD>
						</TR>
						<tr align="left">
							<td>&nbsp;</td>
							<td><input type="submit" value="修改" name="upload" /> <input type="reset" value="取消" name="reset" onclick="select_face('{{user_face}}','{{user_face_width}}','{{user_face_height}}');" /></td>
						</tr>
					</table>
				</form>
			</div>

		</div>

		<div class="page_body_right">

			{{user_menu}}

		</div>

		<div class="float_clear"></div>

	</div>

	{{global_foot}}

</div>

</body>
</html>