<link href="<?php echo base_url(); ?>assets/autocomplete/jquery-ui.css" rel="stylesheet">
    <link href="<?php echo base_url(); ?>assets/autocomplete/ui.theme.css" rel="stylesheet">
    <link href="<?php echo base_url(); ?>assets/autocomplete/autocomplete.css" rel="stylesheet">
    <script src="<?php echo base_url(); ?>assets/autocomplete/jquery-ui.min.js"></script>
	

<?PHP

 echo $this->session->flashdata('imagemsg1'); 
		 
		    
$session_data = $this->session->userdata('logged_in');
 $data['usertype'] = $session_data['usertype'];
	 $usertype = $data['usertype'];	
	
$data['surname'] = $session_data['surname'];
$data['id'] = $session_data['id'];
 $data['companyid'] = $session_data['companyid'];
	 $companyid = $data['companyid'];
$surname=$data['surname'];
   $userid=$data['id'];
   			          	


?>








<script>
	function printDiv(divName) {
     var printContents = document.getElementById(divName).innerHTML;
     var originalContents = document.body.innerHTML;

    // document.body.innerHTML = printContents.fontsize(12);
     window.print();

	 if( window.print()) {
         window.location.href = "../user/startsales";
		alert(" printing...........");
    }else {

	
		      return      window.location.href = "../user/startsales";

		    // document.body.innerHTML = originalContents;

	}
}


		 $(document).on("click", "#managebtndelete", function()
        {
          var itemid = $(this).data('id');
		  $("#itemid1").val(itemid); 
		  
		  
		   
        });
		


$(this).ready( function() {  
            $("#myidno").autocomplete({  
 
                minLength: 1,  
                source:   
                function(req, add){  
                    $.ajax({  
                        url: "<?php echo base_url(); ?>Systemusers/customerAttendancelookup",  
                        dataType: 'json',  
                        type: 'POST',  
                        data: req,  
                        success:      
                        function(data){  
                            if(data.response =="true"){  
                                add(data.message);  
                                console.log(data);
                            }  
                        },  
                    });  
                },  
                     
            });  
        });
		
		
		
		
		$(document).on("click", "#editbtn", function()
        {
          var mycategoryid = $(this).data('id');
		  $("#mycategoryid").val(mycategoryid); 
		   
		     var checkoutime = $(this).data('checkoutime');
		   $("#checkoutime").val(checkoutime); 
 
		    var idno = $(this).data('idno');
		   $("#idno").val(idno); 
		   
		     var comment = $(this).data('comment');
		   $("#comment").val(comment); 
		 
		       var date = $(this).data('date');
		   $("#date").val(date);
		  
		   
        });
		
		
		
		
		
		
		
		
		


	</script>
 <style type="text/css">
  
  

    #myprint { display: none; }
#print{  	


    background-repeat: no-repeat;
	font-size;20px;
  
    width:100%; 


}

#sale{  	


    background-repeat: no-repeat;
  
    width:100px; height:50px;


}
    @media print
    {
    	#non-printable { display: none; }
    	#printableArea { display: block; font-size:16; width:100%; }
		    	#myprint { display: block; font-size:16; width:100%; }

    }
    </style>
 
 <div class="row">
  
   	

   	<div class="col-md-12">
<?php

 $session_data = $this->session->userdata('logged_in');

   
 	$data['id'] = $session_data['id'];
        
		 $userid = $data['id'];
		 
		  $data['companyid'] = $session_data['companyid'];
	 $companyid = $data['companyid'];
		 $data['usertype'] = $session_data['usertype'];
	 $usertype = $data['usertype'];	
	 
				
				 $confirmsmsaccount_result = $this->usermodel->confirmasmsccount($companyid);
$smscompany=$confirmsmsaccount_result[0]['smscompany'];
$link="";
if($smscompany=="Infobip"){
$link="infobipsms.php";
}else		if($smscompany=="Africaistalking"){
$link="africaistalking.php";

}else{
$link="advantasms.php";

	
}
	  $new_date=date("Y-m-d H:i:s");
?>
  
		<div class="panel panel-default" data-collapsed="0">
        	<div class="panel-heading" id="non-printable"">
            	<div class="panel-title" id="redcolor" >
            		<i class="entypo-plus-circled"></i>
				 <span class="pull-right"> Biometric Registration</span>
				            <a data-toggle='modal' data-target='#addModal' class="btn btn-info"> Add Manual attendance   </a>

				     <a data-toggle='modal' data-target='#viewattendanceModal' class="btn btn-primary">View attendance Report </a>

					 				            <a data-toggle='modal' data-target='#resetModal' class="btn btn-warning"> Reset Messages  </a>
												                    <a href="<?php echo base_url(). "access.php"; ?>" class="btn btn-info">Download loggs manually</a>
																	
																	
																													                    <a href="<?php echo base_url(). $link; ?>" class="btn btn-info">Load sms manually</a>
																																		
 <a href="<?php echo base_url();?>attendancein.php" class="btn btn-info"> attendance In </a>
 <a href="<?php echo base_url();?>attendanceout.php" class="btn btn-info"> attendance Out</a>

																																		
					  <a href="<?php echo base_url();?>user/viewlabour" class="btn btn-info"> Sync attendance Report </a>



					 		 <div class="pull-right"  >
<form name="print" method="post" action="">
 <input type="submit" id="print"  accesskey="p" class="btn btn-primary"  name="print"onclick="printDiv('printablepart')" value="print Report!" />
</form></div>

            	</div>
            </div>
			<div class="panel-body">

			
	<div class="widget-content nopadding table_holder table-responsive" >				
				<?PHP

 $finalendate=date("Y-m-d H:59:59");
  $finalstartdate=date("Y-m-d 00:00:00");
  
  
  




				echo $this->session->flashdata('msg'); 
								?>	
					<div class="row">
							 <div class="col-md-12" id="non-printable">
        <?php 

 echo $this->session->flashdata('deletemsg'); 
        $attr = array("class" => "form-horizontal", "role" => "form", "id" => "search", "name" => "search");
        echo form_open("user/searchallattendance", $attr);?>
            <div class="form-group">
			
                <div class="col-md-5">
                    <input class="form-control" id="searchterm" name="searchterm" placeholder="Search for Enrolled staffs OR Students.." type="text" value="<?php echo set_value('searchterm'); ?>" />
                </div>
                <div class="col-md-4">
                    <input id="btn_search" name="btn_search" type="submit" class="btn btn-success" value="Search" />
                    <a href="<?php echo base_url(). "user/allattendance"; ?>" class="btn btn-primary">Refresh</a>
                </div>
				   
            </div>
        <?php echo form_close(); ?>
        </div>		
						<div class="col-md-12">
							
							<div class="panel-body">
	
							   
					
			
									
				<table class="tablesorter table table-bordered  table-hover" id="printablepart">			
 <div class="row">
       
					   		<span style="color:red; font-size:20px"><?php   if(isset($total_rows)) {echo $total_rows; }  ?>   </span>

         
        </div>
    </div>
             <thead>
         <tr>
		    <th>Phone</th>
     <th>Id/ Emp No</th>
     <th> Name</th>
	  <th>Check-In </th>
	    <th>Check-Out  </th>
		   
	<th>Hrs </th>
			<th>Comment </th>
			<th>Type </th>

<td id="non-printable"> More</td>	


                 </tr>
             </thead>
<?php

 if(!is_array($allattendance)) 

 {


   echo "<tr  style='margin-bottom:0px;margin-top:0px;' '>";
      echo "<td colspan='6'>";
    
       echo '<div class="alert alert-warning text-center">There no records found..</div>';
    echo "</td>";
   echo "</tr>";
    }else {
?>
    
             <?php 
  $ttdays=0;
  	foreach ($allattendance as $c): 

		 

             ?>



             <tr>
                
            <?php 
$id=$c->id;
$myuserid=$c->idno; 
		$myuser=$this->usermodel->populateallarray('people','idno', $myuserid);
								$myfirstname=$myuser[0]['firstname']." " .$myuser[0]['lastname'];

?>

                        
  <td><?php echo $myuser[0]['phone']; ?></td>    
  <td><?php echo $c->idno ; ?></td>
     <td><?php 

		
							echo strtoupper($myfirstname);
							
							?>

  
  
  
  </td>

  

  <td><?php echo $c->date ; ?></td>
    <td><?php echo $c->checkoutime ; ?></td>
	


    <td><?php 
	
	if($c->checkoutime=="0000-00-00 00:00:00"){
		$ttdays= $ttdays+0;

	}else{
		
		
		$fromdate = strtotime(date($c->date));
		$todate = strtotime(date($c->checkoutime));
		
			
				//echo$secs= round(( $todate-$fromdate) / 3600,2). " Hrs";
echo $c->timediffrence."Hrs";
$ttdays= $ttdays+$c->timediffrence;
	}
	  
	//echo "====".$c->timediffrence ;
	?></td>
             <td><?php echo $c->comment ; ?></td>
        <td><?php echo $c->type ; ?></td>


				  <td id="non-printable"> 

 
 
					<div class="btn-group">
                                    <button type="button" class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown">
                                        More <span class="caret"></span>
                                    </button>
									
                                    <ul class="dropdown-menu dropdown-primary pull-right" role="menu">
                                        
                                        <! teacher EDITING LINK >
                                     
									
                                        
                                                      <li class="divider"></li>
                                        
                                     	  <li> 

	 <a class="btn btn-primary editbtn" id="editbtn" data-date='<?php echo  $c->date;?>'   data-idno='<?php echo  $c->idno;?>' data-checkoutime='<?php echo  $c->checkoutime;?>' data-comment='<?php echo  $c->comment;?>'  data-id='<?php echo  $c->id;?>' data-toggle='modal' data-target='#editProductModel'> 	 

                                                <i class="glyphicon glyphicon-pencil"></i>
																Check-Out
                                                </a>
                                                        </li>
														
														
													                                        <li class="divider"></li>
	
														 <?php
										if($usertype=="admin"){
											
											?>
										
											  <li> 
										 <a class="btn btn-danger managebtn" id="managebtndelete"		 data-id='<?php echo  $c->id;?>'    data-toggle='modal' data-target='#deleteModal<?php  $c->id; ?>'>	 


                                                <i class="glyphicon glyphicon-pencil"></i>
																Delete
                                                </a>
                                                        </li>
										<?php
										}
										?>
                                        
                                    </ul>
										
                                </div>
</td>
             </tr>

	<?php endforeach;} ?>

              <tr>
		    <th>Total</th>
     <th colspan="4"></th>
     
		   
	<th  colspan="2" ><?php   if(isset($ttdays)) {echo $ttdays; }   ?> </th>
		
	


                 </tr> 

        </table>
		 <div class="row">
       
							  <div class="col-md-12 text-center">    <?php if(isset($links)) {echo $links; }?>
					   		<span style="color:red; font-size:20px"><?php   if(isset($total_rows)) {echo $total_rows; }  ?>   </span>

         
        </div>
    </div>
	</div>

	
	
	
	
	





		
					
<div id="editProductModel" class="modal fade" role="dialog">
  <div class="modal-dialog">

    <!-- Modal content-->
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal">&times;</button>
        <h4 class="modal-title">Update Check-Out</h4>
      </div>
      <div class="modal-body">
      
	  	

				<?PHP
//$session_data = $this->session->userdata('logged_in');



				echo $this->session->flashdata('msg'); 
		
                 echo form_open('user/updatecheckout' , array('class' => 'form-horizontal form-groups-bordered validate', 'enctype' => 'multipart/form-data'));
				 if(validation_errors()):?>
<div class='alert alert-danger text-center'><?php echo validation_errors(); ?></div>
<?php endif;?>
	<input type="hidden" name="mycategoryid" value="" id="mycategoryid" class="form-control" required placeholder="Enter mycategoryid">
			  		
		<div class="form-group">
    <label for="inputidno" class="col-sm-2 control-label">ID /Adm Number </label>
    <div class="col-sm-10">
	
		  		<input type="text" readonly id="idno" name="idno" value="<?php echo set_value('idno'); ?>" required class="form-control"  placeholder="Enter ID /Adm Number  of the person">
		 
				
		<span class="text-danger"> <?php echo form_error('idno'); ?>
		
		</span>
	</div>
  </div>

 
  
  	<div class="form-group">
    <label for="inputdate" class="col-sm-2 control-label">	Check-Out Date </label>
    <div class="col-sm-10">
	
		  		<input type="text" id="checkoutime2"  name="checkoutime" value="<?php echo set_value('date',$new_date); ?>" class="form-control" required placeholder="Enter Attenance Date ">
		 
				
		<span class="text-danger"> <?php echo form_error('date'); ?>
		
		</span>
	</div>
  </div>
  
	
	
	<div class="form-group">
    <label for="inputdescription" class="col-sm-2 control-label">	Description</label>
    <div class="col-sm-10">

				<textarea  name="comment" value="<?php echo set_value('comment'); ?>"  id="comment" class="form-control"  placeholder="Enter description/comments"></textarea>
			
		<span class="text-danger"> <?php echo form_error('description'); ?>
		
		</span>
	</div>
  </div>
	
	
	
	
	
	<div class="form-group">
    <label for="inputname" class="col-sm-2 control-label">	Check-in </label>
    <div class="col-sm-10">
	
		  		<input type="text" readonly id="date" name="date" value="<?php echo set_value('date',$new_date); ?>" class="form-control" required placeholder="Enter Attenance Date ">
		 
				
		<span class="text-danger"> <?php echo form_error('name'); ?>
		
		</span>
	</div>
  </div>
 
 
  	
		 <div class="form-group">
    <label for="inputstatus" class="col-sm-2 control-label">Status?</label>
    <div class="col-sm-10">
	<select class="form-control" readonly name="status" id="status" required>

		<option value="Check-Out" selected >Check-Out</option>
	
	

</select>
		
						<span class="text-danger"><?php echo form_error('status'); ?>

	</div>
  </div>

	

	
	 <div class="form-group">

    <div class="col-sm-offset-2 col-sm-10">
     
	         <button type="submit"  value="checkin" name="btn_updatecheckin" class="btn btn-primary"> Update Check-Out   </button>

    </div>
  </div>
  					<?php echo form_close();?>
			</div>							   
				
									
							
								
			<div class="modal-footer">

    

				</div>

		</div>
	    </div>
    </div>
					
					



<div id="viewattendanceModal" class="modal fade" role="dialog">
  <div class="modal-dialog">

    <!-- Modal content-->
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal">&times;</button>
        <h4 class="modal-title">Attenance Report</h4>
      </div>
      <div class="modal-body">
      
	  	

				<?PHP
//$session_data = $this->session->userdata('logged_in');



				echo $this->session->flashdata('msg'); 
		
                 echo form_open('user/searchattendance' , array('class' => 'form-horizontal form-groups-bordered validate', 'enctype' => 'multipart/form-data'));
				 if(validation_errors()):?>
<div class='alert alert-danger text-center'><?php echo validation_errors(); ?></div>
<?php endif;?>

		
  <div class="form-group">
    <label for="inputtype" class="col-sm-2 control-label">Status</label>
    <div class="col-sm-10">
	<select class="form-control" name="type"  id="type" required>
	<option value="all" selected="selected"   >-Both check-in/check-out -</option>
	<option value="Check in"  >Check in   </option>
		<option value="Check out"  >Check out   </option>

	

</select>
		

		
	</div>
  </div>
  
  <div class="form-group">
    <label for="inputdublicate" class="col-sm-2 control-label">Display dublicate</label>
    <div class="col-sm-10">
	<select class="form-control" name="dublicate"  id="dublicate" required>
	<option value="no"   >No</option>
	<option value="yes" selected="selected"  >	Yes </option>

	

</select>
		

		
	</div>
  </div>
  
  
  
  
   <div class="form-group">
    <label for="inputsms" class="col-sm-2 control-label">SMS status</label>
    <div class="col-sm-10">
	<select class="form-control" name="sms"  id="sms" required>
	<option value="all" selected="selected"   >All</option>
	<option value="1"  >	Sent sms </option>
	<option value="0"  >	New/Pending sms </option>
		<option value="2"  >	Disabled sms </option>


	

</select>
		

		
	</div>
  </div>
  
  
  
  
  

  <div class="form-group">
    <label for="inputcategory" class="col-sm-2 control-label">Category</label>
    <div class="col-sm-10">
	<select class="form-control" name="category"  id="category" required>
	
	
	<option value="all" selected="selected" >---Select All category--</option>

	<?php 
					 
					 		$maincategory = $this->usermodel->populateall('category','companyid',$companyid);


							


if(is_array($maincategory)) {

   foreach($maincategory as $maincategoryrow){

   //echo $courserow->coursename;
    ?>
					<option  value="<?=  $maincategoryrow->id;   ?>"><?=  $maincategoryrow->name; ?></option>



	<?php

}} else {
    echo 'No main counter available.';
}
	
?>
</select>
		

		
	</div>
  </div>

  <div class="form-group">
    <label for="inputfromdate" class="col-sm-2 control-label">From Date </label>
    <div class="col-sm-10">
	
		  		<input type="text" name="fromdate" value="<?php echo set_value('fromdate',$finalstartdate); ?>" class="form-control" required placeholder="Enter start date">
		 
				
		<span class="text-danger"> <?php echo form_error('fromdate'); ?>
		
		</span>
	</div>
  </div>
  
  	<div class="form-group">
    <label for="inputtodate" class="col-sm-2 control-label">	To Date </label>
    <div class="col-sm-10">
	
		  		<input type="text" name="todate" value="<?php echo set_value('todate',$finalendate); ?>" class="form-control" required placeholder="Enter End date">
		 
				
		<span class="text-danger"> <?php echo form_error('todate'); ?>
		
		</span>
	</div>
  </div>
  

  
     	<div class="form-group">
    <label for="inputidno" class="col-sm-2 control-label">Users </label>
    <div class="col-sm-10">
	
		  		<input type="text" id="myidno" name="idno" value="<?php echo set_value('idno',"all"); ?>" class="form-control" required placeholder="Enter user ID.No or put all">
		 
				
		<span class="text-danger"> <?php echo form_error('idno'); ?>
		
		</span>
	</div>
  </div>

   

	
	 <div class="form-group">

    <div class="col-sm-offset-2 col-sm-10">
     
	         <button type="submit"  value="event" name="btn_attendance" class="btn btn-primary"> View Attenance  </button>

    </div>
  </div>
  					<?php echo form_close();?>
			</div>							   
				
									
							
								
			<div class="modal-footer">

    

				</div>

		</div>
	    </div>
    </div>	

	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div id="addModal" class="modal fade" role="dialog">
  <div class="modal-dialog">

    <! Modal content>
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal">&times;</button>
        <h4 class="modal-title">Add new Manual Attenance</h4>
      </div>
      <div class="modal-body">
      
	  	

				<?PHP
//$session_data = $this->session->userdata('logged_in');
   $date = date('Y-m-d');
		$timein = date('h:i:sa');
									


				echo $this->session->flashdata('msg'); 
		
                 echo form_open('user/addattendance' , array('class' => 'form-horizontal form-groups-bordered validate', 'enctype' => 'multipart/form-data'));
				 if(validation_errors()):?>
<div class='alert alert-danger text-center'><?php echo validation_errors(); ?></div>
<?php endif;?>

	<div class="form-group">
    <label for="inputidno" class="col-sm-2 control-label">ID /Adm Number </label>
    <div class="col-sm-10">
	
		  		<input type="text" name="idno" value="<?php echo set_value('idno'); ?>" required class="form-control"  placeholder="Enter ID /Adm Number  of the person">
		 
				
		<span class="text-danger"> <?php echo form_error('idno'); ?>
		
		</span>
	</div>
  </div>

 
  
  	<div class="form-group">
    <label for="inputdate" class="col-sm-2 control-label">	Attenance Date </label>
    <div class="col-sm-10">
	
		  		<input type="text" name="date" value="<?php echo set_value('date',$new_date); ?>" class="form-control" required placeholder="Enter Attenance Date ">
		 
				
		<span class="text-danger"> <?php echo form_error('date'); ?>
		
		</span>
	</div>
  </div>
  
  <div class="form-group">
    <label for="inputtimein" class="col-sm-2 control-label">	Attenance Time </label>
    <div class="col-sm-10">
	
		  		<input type="text" name="timein" value="<?php echo set_value('timein',$timein); ?>" class="form-control" required placeholder="Enter Attenance time ">
		 
				
		<span class="text-danger"> <?php echo form_error('timein'); ?>
		
		</span>
	</div>
  </div>
   
  
   <div class="form-group">
    <label for="inputtype" class="col-sm-2 control-label">Attenance type?</label>
    <div class="col-sm-10">
	<select class="form-control" name="type" required>
	
	<option value=""  >-Select attendance type</option>
	<option value="Check in" selected  >Check in   </option>

</select>
		
						<span class="text-danger"><?php echo form_error('type'); ?>

	</div>
  </div>
   
  
   
	<div class="form-group">
    <label for="inputcomment" class="col-sm-2 control-label"> Reasons for Check out/in</label>
    <div class="col-sm-10">

				<textarea name="comment"  value="<?php echo set_value('comment'); ?>"  class="form-control"  placeholder="Enter the reason for check-out/ Check-in">Check-in</textarea>
			
		<span class="text-danger"> <?php echo form_error('comment'); ?>
		
		</span>
	</div>
  </div>
		

	

	
	 <div class="form-group">

    <div class="col-sm-offset-2 col-sm-10">
     
	         <button type="submit"  value="attenance" name="btn_addattenance" class="btn btn-primary"> Post Attenance   </button>

    </div>
  </div>
  					<?php echo form_close();?>
			</div>							   
				
									
							
								
			<div class="modal-footer">

    

				</div>

		</div>
	    </div>
    </div>			
						<div id="deleteModal" class="modal fade" role="dialog">
  <div class="modal-dialog">

    <! Modal content>
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal">&times;</button>
        <h4 class="modal-title">Delete</h4>
      </div>
      <div class="modal-body">
        <h3>Are you sure you want to delete this item? </h3>
      </div>
      <div class="modal-footer">
	  	

     
		<?PHP
				$session_data = $this->session->userdata('adminlogged_in');
 echo $this->session->flashdata('deletemsg'); 

		
                 echo form_open('user/deletebyid' , array('class' => 'form-horizontal ', 'enctype' => 'multipart/form-data'));
				 if(validation_errors()):?>
<div class='alert alert-danger text-center'><?php echo validation_errors(); ?></div>
<?php endif;?>
 <input type="hidden" id="table"name="table" class="table" placeholder="view" value="attendance">

 <input type="hidden" id="view"name="view" class="view" placeholder="view" value="user/allattendance">
 <input type="hidden" id="itemid1"name="itemid" class="itemid" placeholder="itemid" value=""><br>
 <button type="button" class="btn btn-success" data-dismiss="modal">No</button>
 		  	         <button type="submit" name="btn_delete" value="deletebyid" class="btn btn-danger"> Delete  </button>

	<?php echo form_close();?>
      </div>
    </div>

  </div>					
									
</div>				
									
					<div id="resetModal" class="modal fade" role="dialog">
  <div class="modal-dialog">

    <! Modal content>
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal">&times;</button>
        <h4 class="modal-title">Reset</h4>
      </div>
      <div class="modal-body">
        <h3>Are you sure you want to Reset all attenance status? </h3>
      </div>
      <div class="modal-footer">
	  	

     
		<?PHP
				

		
                 echo form_open('user/updateattendance' , array('class' => 'form-horizontal ', 'enctype' => 'multipart/form-data'));
				 if(validation_errors()):?>
<div class='alert alert-danger text-center'><?php echo validation_errors(); ?></div>
<?php endif;?>


   <div class="form-group">
    <label for="inputtype" class="col-sm-2 control-label">Status?</label>
    <div class="col-sm-10">
	<select class="form-control" name="type" required>
	
	<option value=""  >-Select attendance status to reset to?</option>
	<option value="1"  >Sent  </option>
		<!--<option value="0"  >New</option> -->

</select>
		
						<span class="text-danger"><?php echo form_error('type'); ?>

	</div>
  </div>
 <input type="hidden" id="view"name="view" class="view" placeholder="view" value="user/allattendance">

 <button type="button" class="btn btn-success" data-dismiss="modal">No</button>
 		  	         <button type="submit" name="btn_updateattendance" value="attenance" class="btn btn-warning"> Finish  </button>

	<?php echo form_close();?>
      </div>
    </div>

  </div>					
									
</div>
							
							
							
							
							
							
							
							
							
							
							
							
							
							
						</div>
				

			
			</div>
		</div>
  
  </div>
			
			
			
		
		
  

 
</div>


















