



	
   	<div class="col-md-12">
  
										<?php
 
   $session_data = $this->session->userdata('logged_in');

      $mydate=date("Y-m-d H:i:s");
 $date = Date('Y-m-d') ;
		 	 $year = Date('Y') ;
		  $month = Date('m') ;
 	$data['id'] = $session_data['id'];
        
		 $userid = $data['id'];
$data['companyid'] = $session_data['companyid'];
	 $companyid = $data['companyid'];
		 $data['usertype'] = $session_data['usertype'];
	 $usertype = $data['usertype'];	
	         		$config = $this->usermodel->populateallarray('people','id',$userid);


 $names = $config[0]['firstname']." ".$config[0]['surname'];
	 
	  $contact = $config[0]['phone'];
	  
	  				 echo $this->session->flashdata('msg'); 

$finalsalesid ="EXP-".$userid.time();

 //$data['finalsalesid']="EXP-".$finalsalesid;

	  


    $leavesetup=$this->usermodel->populatuserpermissionsdataarray('humanresource','leavesetup',$userid);
			 
 
  $mydate=date("Y-m-d H:i:s");

 $company = $this->usermodel->populateallarray('smsconfig','id',$companyid);
$left = $company[0]['leftoverview'];
$right = $company[0]['rightoverview'];



  ?>
		
		
		
		
		
		
		<div class="panel panel-default" data-collapsed="0">
        	<div class="panel-heading">
            	<div class="panel-title" id="redcolor" >
            		<i class="entypo-plus-circled"></i>
				View resseller information
	
	 
				


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

			
										
					<div class="row">
					
					<div class="col-md-6">
				<div id="sidebar" class="hidden-print minibar ">
						
				
				
			
			<div class="panel-body">
			
			<?php   if(isset($left)) {echo $left; } ?>
   </div>
			
			
				</div>
					
					</div>
					
					
					
					
					
					
						<div class="col-md-6">
							
							<div class="panel-body">
	
	  <?php   if(isset($right)) {echo $right; } ?>
	  <br>
	  <b>Quick Links</b>

			   	<li ><a href="<?php echo base_url(); ?>user/reseller"><span >Overview</span></a></li>

                  	<li ><a href="<?php echo base_url(); ?>user/viedeals"><span >Create Deals</span></a></li>

								<li ><a href="<?php echo base_url(); ?>user/viewtasks"><span >Create Task</span></a></li>
							<li ><a href="<?php echo base_url(); ?>user/complain"><span >Post Comments  </span></a></li>
		<li ><a href="<?php echo base_url(); ?>user/payments"><span >Post Sales</span></a></li>
		<li ><a href="<?php echo base_url(); ?>user/updatedata"><span > Update Bio Data</span></a></li>

  					<li ><a href="<?php echo base_url(); ?>user/logout"><span > Logout</span></a></li>


									
					</div>				
            
									
									
									
							</div>
 
               
				               
						

		  
						</div>
				

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

 
</div>


















