<!-- start page -->
<div id="page">
	<!-- start sidebar -->
	<!-- end sidebar -->
    <!-- start content -->
<div id="content">
		<div class="post">
		
		 <form action="group"s method="post"  >
		   <div class="title">
				<h2><a href="#">Type group name! </a></h2>
				<p>&nbsp;</p>
				<p>
			
				  <textarea name="textarea" cols="70"></textarea>
				</p>
			<p>&nbsp;</p>
		    <p>&nbsp;</p>
		  
                <p>
                  <input name="submit" type="submit" class="button_base" id="Submit2" value="Search" align="right" />
                </p>
	     
	      </div>
		     </form>
		  <div class="entry">
		    <ol>
		    <?php if($query->num_rows() > 0 )
			{
			 foreach($query->result() as $row)
			 {
			
			   ?>  
 <li><?=$row->name;?></li>     <a href="<?=base_url();?><?=index_page();?>/admin/edit_group/<?=$row->id;?>">Edit</a>  | 
   <a href="<?=base_url();?><?=index_page();?>/admin/delete_group/<?=$row->id;?>">Delete</a>
			  <?php 
			  
			  }
			 }
			  
			  ?>
		    </ol>
	
	      </div>
			<p class="links">&nbsp;</p>
	  </div>
  </div>
	<!-- end content -->
	<br style="clear: both;" />
</div>
<!-- end page -->