
<!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=utf-8">
<title></title>
<script language="JavaScript">
parent.guide("group");
function check_form(){
	if(document.getElementById("group_name").value==""||
		document.getElementById("group_resume").value==""||
		document.getElementById("group_tag").value==""||
		document.getElementById("group_type").value==""||
		document.getElementById("group_logo").value==""){
		parent.Dialog.alert("{echo:lp{g_no_pass};/}");return false;
	}
	if(document.getElementById("group_resume").value.length>=90){
		parent.Dialog.alert("{echo:lp{g_resume_len};/}");
		return false;
	}
}

</script>
<link rel="stylesheet" type="text/css" href="skin/default/jooyea/css/row_menus.css">
<link rel="stylesheet" type="text/css" href="skin/default/jooyea/css/iframe.css">
</head>
<body>
  <div class="main_right_title">
     <span class="main_title_dot8"></span>
     <span class="main_title_txt">{echo:lp{g_group};/}</span>
  </div>
  	<div id="tabsB">
		<ul>
			<li><a href="#" class="nowbutl"><span class="nowbutr">{echo:lp{g_creat};/}</span></a></li>
		</ul>
		<div class="div_but_2" onclick="location.href='?app=group'">{echo:lp{g_return};/}</div>
	</div>
	<table class='main main_left'>	
		
		<form action='do.php?act=group_creat' method='post' enctype="multipart/form-data" onsubmit='return check_form()'>
			<input type="hidden" name="group_type_name" id="group_type_name" />
		
		<tr height="30"><th height="30">{echo:lp{g_name};/}:</th>
			<td><input type='text' name='group_name' id='group_name' autocomplete='off' maxlength="40" /></td>
		</tr>
		
		<tr height="30"><th>{echo:lp{g_intro};/}:</th>
			<td><textarea rows='6' cols='25' name='group_resume' id='group_resume'></textarea></td>
		</tr>
		
		<tr height="30"><th>{echo:lp{g_join_type};/}:</th>
			<td>
				<select name='group_join_type'>
					<option value='0'>{echo:lp{g_freedom_join};/}</option>
					<option value='1'>{echo:lp{g_check_join};/}</option>
					<option value='2'>{echo:lp{g_refuse_join};/}</option>
				</select>
			</td>
		</tr>
		
		<tr height="30"><th>{echo:lp{g_tag};/}:</th>
			<td><input type='text' name='group_tag' id='group_tag' autocomplete='off' maxlength="40" /></td>
		</tr>
		
		<tr height="30"><th>{echo:lp{g_type};/}:</th>
    	<td>
        {echo:$group_type;/}
			</td>
		</tr>
		
		<tr height="30">
			<th>{echo:lp{g_logo};/}:</th>
			<td><input type='file' name='attach[]' id='group_logo' style='width:280px' /></td>
		</tr>
		
		<tr>
			<td></td>
			<td><input type='submit' id="UploadButton" value='{echo:lp{g_button_creat};/}' class="anniu"  name='action' /></td>
		</tr>
	</form>
</table>
</body>
</html>