<!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>
<link href="company_style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
function checkSubmit(){
   if(document.form1.groupname.value==""){
	    alert("圈子名称不能为空！");
	    return false;
   }else if(document.form1.store.value==0){
   		alert("请选择一个分类！");
	    return false;
   }
}
function SeePic(img,f){
   if ( f.value != "" ) { img.src = f.value; }
}
</script>
</head>
<body>
<div id="container">
<!-- 头部开始 -->
<?php  include(dirname(__FILE__)."/head.htm"); ?>	
<!-- 中部开始 -->
<center>
    <div id="manage_company_main">
		<!-- 中部左边开始 -->
      <?php  include(dirname(__FILE__)."/menu.php"); ?> 
		<!-- 中部右边开始 -->
        <div id="myask_right">
        	<div id="myask_info">
                <div class="menu_nav">
                <li class="current" id="cate_1">基本资料</li>
                <li><a href="mygroup_cate.php?id=<?php echo $id;?>">话题分类</a></li>
                <li><a href="mygroup_member.php?gid=<?php echo $id;?>">成员管员</a></li>
                <li><a href="mygroup_notice.php?gid=<?php echo $id;?>">修改公告</a></li>
                </div>
                <div class="myask_form">
                	<div class="myask_formbg">
                    	<div class="space">
                        </div>
                        <form name="form1" action="" enctype="multipart/form-data" method="post" onSubmit="return checkSubmit();">
            			<input name="action" type="hidden" value="save">
                        <dd class="highbor2 turnleft">名称： <input name="groupname" type="text" id="groupname" value="<?=$groupsname?>" size="50" maxlength="70" class="group_label" /> *在30个字符内。</dd>
                        <dd class="highbor2 turnleft">分类： 
                        <select name="store" id="store" class="group_option">
            			<?php echo $option?>
                        </select> *更改圈子类目</dd>
                        <dd class="highbor2 turnleft">图标： <input name="litpic" type="file" id="litpic" style="width:200" onChange="SeePic(document.picview,document.form1.litpic);" class="group_label1" value="<?=$groupimg?>" /> </dd>
                        <dd class="highbor2 turnleft textin">
                        <img src="<?php echo $groupimg;?>" name="picview" width="100" height="70" id="picview"></dd>
                        <dd class="highbor2 turnleft" style="height:80px;">说明： <textarea name="des" cols="60" rows="5" id="des" style="vertical-align:top;" class="group_label2"><?=$groupdes?></textarea> *圈子简介，100个字符以内
                        </dd>
                        <dd class="turnleft"><input type="submit" name="Submit2" value="提交" class="button01"> 
                        </dd>
                        </form>
                        <div class="clear">
                        </div>
                    </div>
            	</div>
                <div class="clear">
                </div>
            </div>
		</div>
        <div class="clear">
		</div>

<div class="clear">
</div>
<center>
</div>
</body> 
</html>  