<!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(){
	$("#profile_form").validate({
		errorClass: "wrong",
		rules: {
			txtSpacename: {required:true},
			txtIdiograph: {required:true}
		},
		messages: {
			txtSpacename: {required: "<tpl> $langSpaceNameCheck </tpl>"},
			txtIdiograph: {required: "<tpl> $langSpaceIndividualityCheck </tpl>"}
		}
	});
});
</script>
</head>
<body>
<!--公共部分-->
<tpl> include file ='../top.html' </tpl>
<tpl> include file="../public.html" </tpl>
<div class="block style4">
	<form name="profile_form" id="profile_form" action="member.php?action=profile_save_edit" method="POST" enctype="multipart/form-data">
	<table width="100%" cellpadding="3" cellspacing="3">
		<input type="hidden" name="uid" value="<tpl> $space_array.uid </tpl>" />
		<tr>
			<td colspan="2" style="border-bottom: 1px solid #ebe6c9;"><strong><tpl> $langSpaceMember </tpl></strong></td>
		</tr>
		<tr><td height="10"></td></tr>
		<tr>
			<td width="60"><tpl> $langSpaceName </tpl></td>
		  <td>
		  	<input type="text" name="txtSpacename" id="txtSpacename" size="33" value="<tpl> $space_array.spacename </tpl>" />
		  	<label style="display:none" for="txtSpacename" class="wrong" metaDone="true" generated="true"></label></td>
		</tr>
		<tr>
			<td><tpl> $langSpaceIndividuality </tpl></td>
		  <td>
		  <textarea name="txtIdiograph" id="txtIdiograph" cols="32" rows="5" /><tpl> $space_array.idiograph </tpl></textarea>
		  <label style="display:none" for="txtIdiograph" class="wrong" metaDone="true" generated="true"></label></td>
		</tr>	
		<tr>
			<td><tpl> $langSpaceHeaderPhoto </tpl></td>
		  	<td><input type="file" name="picture" id="picture"  /></td>
		</tr>	
		<tr>
			<td></td>
			<td>
				<tpl> if $space_array.picture eq '' </tpl>
					<img src="<tpl>$site_url</tpl>/app/space/templates/images/untitled_big.bmp" />
				<tpl> else </tpl>
					<img src="<tpl>$site_url</tpl>/<tpl> $space_array.picture </tpl>" />
				<tpl> /if </tpl>
		  </td>
		</tr>
		<tr>
		<td></td>
			<td colspan="2">
				<div class="rbs1"><input type="submit" value="<tpl> $langSpaceSubmit </tpl>" class="rb1-12"/></div>			
				<div class="rbs1"><input type="reset" value="<tpl> $langSpaceReset </tpl>" class="rb1-12" /></div>
			</td>
		</tr>	
  </table>
	</form>	  
</div>

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