
 <div class="row">
  
   	<div class="col-md-12">
		<div class="panel panel-default" data-collapsed="0">
        	<div class="panel-heading">
            	<div class="panel-title" id="redcolor" >
            		<i class="entypo-plus-circled"></i>
					Post all new message/comment
				 <span class="pull-right">  <a  id="more" class="btn btn-primary" href="<?php echo base_url();?>user/viewleaves">Go back  </a>

													</span>
								                   <span class="pull-right">  <a  id="more" class="btn btn-primary" href="<?php echo base_url();?>user/suggestion">View your message  </a>

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

			
										
					<div class="row">
						<div class="col-md-12">
							
							<div class="panel-body">
					
	
				<?PHP
					$session_data = $this->session->userdata('logged_in');
$data['email'] = $session_data['email'];
$data['id'] = $session_data['id'];

 $email=$data['email'];
$id=$data['id'];

$imgid = rand(100, 990000).time();
				echo $this->session->flashdata('msg'); 
		
                 echo form_open('user/addggestion' , 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="inputtitle" class="col-sm-2 control-label">Title/Topic </label>
    <div class="col-sm-10">

	<input type="text" name="title" value="<?php echo set_value('title'); ?>"id="contact" class="form-control" required placeholder="Enter your title /title ">
			<span class="text-danger"> <?php echo form_error('title'); ?>
		
		</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="description" class="form-control" placeholder="You can describe the issues into details details "><?php echo set_value('description'); ?></textarea> 
			<span class="text-danger"> <?php echo form_error('description'); ?>
		
		</span>
	</div>
  </div>
  
  

  
  
  

  


  
  
  
   
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
	 <div class="form-group">

    <div class="col-sm-offset-2 col-sm-10">
     
	         <button type="submit"  name="btn_addcomment"  value="comment"  class="btn btn-primary"> Submit comment  </button>

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

								
			
			
			
			
			
			
		
		</div>
  
  </div>

</div>
















