<!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>
<tpl> include file ='../head.config.html' </tpl>
<link href="<tpl> $template_dir </tpl>/home/css/<tpl> $space_array.templates </tpl>_style.css" rel="stylesheet" type="text/css" />
<script language="javascript">
$(function(){
	$("#friend_form").validate({
		errorClass: "wrong",
		rules: {
			txtUsername: {required:true}
		},
		messages: {
			txtUsername: {required: "<tpl> $langSpaceFriendName </tpl>"}
		}
	});
});
</script>
</head><body>
<!--公共部分-->
<tpl> include file ='../top.html' </tpl>
<tpl> include file="../public.html" </tpl>
<div class="block style4">
	<table width="100%">
		<tr>
			<td align="right"><img src="<tpl> $template_dir </tpl>/images/friend_list.gif"  style=" vertical-align:middle"/> <a href="member.php?action=friend_list" style=" vertical-align:middle"><tpl> $langSpaceFriendList </tpl></a>&nbsp;&nbsp;<img src="<tpl> $template_dir </tpl>/images/invitation_friend.gif"  style=" vertical-align:middle"/> <a href="member.php?action=friend_invite" style=" vertical-align:middle"><tpl> $langSpaceFriendApplication </tpl></a></td>
		</tr>
	</table>
</div>
<div class="block style4">	
<form id="friend_form" action="member.php?action=friend_save_add" method="POST">
<table width="100%" cellpadding="3" cellspacing="3">
	<tr>
		<td width="50"><tpl> $langSpaceAddFriend </tpl></td>
		<td>
			<input type="text" name="txtUsername" id="txtUsername"/> <label style="color:#999"><tpl> $langSpaceFriendNameEnter </tpl></label>
			<label style="display:none" for="txtSpacename" class="wrong" metaDone="true" generated="true"></label></td>
	</tr>
	<tr>
		<td><tpl> $langSpaceFriendNote </tpl></td>
		<td><input type="text" name="txtNote" id="txtNote"/></td>
	</tr>	
	<tr>  <td>&nbsp;</td>
		<td><input type="submit" value="<tpl> $langSpaceAdd </tpl>"  class="rb1-12" /> <input type="reset" value="<tpl> $langSpaceReset </tpl>"  class="rb1-12" /></td>
	  
	</tr>
</table>
</form>
</div>

</div>
</div>
</div>
<tpl> include file ='../../../../html/footer.html' </tpl>
</body>
</html>