<!-- start page -->
<div id="page">
	<!-- start sidebar -->
	<!-- end sidebar -->
    <!-- start content -->
<div id="content">
		<div class="post">
		  <div class="title">
				<h2><a href="#"><strong><font size="+2" color="#0084D2">Group name:</font><font size="+2">  <?=$group_name;?></font></strong></a></h2>
				<p>&nbsp;</p>
		    <br />
<? 
	
	if(!$this->Group->CheckIfGroupIsPublic($id,$this->session->userdata('email')) ==  TRUE)
		{
		?>
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<em><font color="#FF0000">This is private group. Your request will be pending until group creator approve your request. <br /> 
			</font></em>
		<? }?>
<br />

			<p>&nbsp;</p>
			
			
		    <form action="<?=base_url()?>welcome/joinGroup/<?=$id?>" method="post" id="form" >
				<p>
					<textarea name="about1234" cols="60" onfocus="this.value='';" >Introduce Yourself!</textarea>
				</p>
				<p>&nbsp;</p>
                <p>
                  <input name="join" type="submit" class="button_base"  value="Join Group" align="right" />
                </p>
	        </form>
	      </div>
		  <div class="entry"></div>
			<p class="links">&nbsp;</p>
	  </div>
  </div>
	<!-- end content -->
	<br style="clear: both;" />
</div>
<!-- end page -->
