<!-- start page -->
<div id="page">

	<!-- start content -->
	<div id="content">
		<div class="post">
		<?php if($bCanCreateGroup) { ?>
		  <div class="title">
				<h2><a href="#">Create new group ! </a></h2>
				<p>&nbsp;</p>
				<p>&nbsp;</p>
	      </div>
		  	  <?php echo validation_errors(); ?>
		  <div class="entry">
		

            <?php echo form_open_multipart('welcome/create_group'); ?>

		    <p class="create_group_box">Name:</p>
		    <p>
	        <input name="name" type="text" id="name" value="" size="70" />
	        </p>
		    <p class="create_group_box">Type: </p>
		    <p>
		      <select name="type">
		        <option value="0">Public</option>
				<option value="1">Private</option>
	          </select>
		    </p>

		    <p class="create_group_box">Logo: </p>
		    <p>
		      <input type="file" name="userfile"> 
		    </p>
		  </div>
		  <div style="width:16%; text-align:right;">

              <p>
                <input name="submit" type="submit" class="button_base"  value="Create "  />
              </p>
		  </form>
		  </div>
			<p class="links">&nbsp;</p>
			<?php } else  { ?>
			<h2>Please upgrade your plan if you want create group.</h2>
			<?php } ?>
	  </div>
  </div>
	<!-- end content -->
	<br style="clear: both;" />
</div>
<!-- end page -->