

 
 <div class="row">
  
   	

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

  
		

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

    <!-- Modal content-->
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal">&times;</button>
        <h4 class="modal-title">Activate  the system for the first</h4>
<a class="btn btn-success" href="<?php echo base_url(); ?>serial"><span class="glyphicon glyphicon-user"></span> Go back </a>

      </div>
      <div class="modal-body">
      <CENTER>
<B>COMPUTER LICENCE ACTIVATION</B>
<CENTER>
	  	

				<?PHP
				  if(isset($msg)) {
  ?>
 <div class="btn-info">
<h2>
<?php
echo $msg;
 ?>  <a href="<?php echo base_url();?>config" class="btn btn-success">Click here to refresh</a>
</h2>
</div>
 <?PHP
  
  
  }
	 $serial =trim(`wmic bios get serialnumber 2>&1`) ;
$myfinalserial= explode("SerialNumber",str_replace("", "", $serial));
$finalserial = $myfinalserial[1];



$localIP = getHostByName(getHostName());
if($finalserial==""){
$finalserial=$localIP;
}	








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

 $mydate=date("Y-m-d H:59:59");
				echo $this->session->flashdata('msg'); 
		
                 echo form_open('updatebusinessconfiguration' , 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="companyid" value="<?php echo $companyid; ?>"  id="companyid" class="form-control" required placeholder="Enter status">

<input type="hidden" name="myid" value="<?php echo $userid; ?>"  id="myid" class="form-control" required placeholder="Enter status">
		  		<input type="hidden" name="tester" value="ROBERT" class="form-control"  placeholder="Enter Tester name ">



  
  


	
	 	<div class="form-group">
    <label for="inputdeadline" class="col-sm-2 control-label">Licence  Key </label>
    <div class="col-sm-8">
	
		  		<input type="text" required readonly name="businesskey" value="<?php if(isset($_GET['businesskey'])) {echo str_replace(' ', '+', $_GET['businesskey']) ;}?> " class="form-control"  placeholder="Enter businesskey ">
		 
				
		<span class="text-danger"> <?php echo form_error('businesskey'); ?>
		
		</span>
	</div>
	 <div class="col-sm-2">
		         <button type="submit"  value="myconfig" name="btn_updabusinessteconfig" class="btn btn-primary"> Click to Activate Licence  Key   </button>

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





<CENTER>
<B>DATE EXTESION</B>
<CENTER>

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

 $mydate=date("Y-m-d H:59:59");
				echo $this->session->flashdata('msg1'); 
		
                 echo form_open('newupdatedate' , 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="companyid" value="<?php echo $companyid; ?>"  id="companyid" class="form-control" required placeholder="Enter status">
 								<input type="hidden" name="myurl" value="<?php if(isset($myurl)) {echo $myurl; }?>"id="code" class="form-control" required placeholder="userid">

<input type="hidden" name="invoice" value="<?php if(isset($_GET['invoice'])) {echo $_GET['invoice']; }?>"  id="invoice" class="form-control" required placeholder="Enter invoice">


		  		<input type="hidden" name="tester" value="ROBERT" class="form-control"  placeholder="Enter Tester name ">

  
  


	
	 	<div class="form-group">
    <label for="inputdeadline" class="col-sm-2 control-label">Extension </label>
    <div class="col-sm-4">
	
		  		<input type="text" readonly required name="deadline" value="<?php if(isset($_GET['deadline'])) {echo str_replace(' ', '+', $_GET['deadline']) ; }?>" class="form-control"  placeholder="Enter new date key e.g ROBI20200213 ">
		 
				
		
	</div>
	 <div class="col-sm-4" style="display:none">
	
		  								<input type="hidden" name="mykey" value="<?php if(isset($finalserial)) {echo $finalserial; }?>"id="code" class="form-control" required placeholder="finalserial">

				
		
	</div>
	 <div class="col-sm-2">
	
	         <button type="submit" required  value="date" name="btn_updatedate" class="btn btn-info"> Click to Update Date Extension   </button>
		 
				
		
	</div>
  </div>
	

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

    

				</div>

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

			
			</div>



















