

 
 <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>ETIMS DEVICE 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('updateetimsurl' , 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" required readonly name="invoice" value="<?php if(isset($_GET['invoice'])) {echo  $_GET['invoice'];}?> " class="form-control"  placeholder="Enter businesskey ">
<input type="hidden" required readonly name="mrcNo" value="<?php if(isset($_GET['mrcNo'])) {echo  $_GET['mrcNo'];}?> " class="form-control"  placeholder="Enter businesskey ">
<input type="hidden" required readonly name="name" value="<?php if(isset($_GET['name'])) {echo  $_GET['name'];}?> " class="form-control"  placeholder="Enter businesskey ">

		  		<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="hidden" required readonly name="businesskey" value="<?php if(isset($_GET['businesskey'])) {echo str_replace(' ', '+', $_GET['businesskey']) ;}?> " class="form-control"  placeholder="Enter businesskey ">
		 		<input type="text" required readonly name="verification" value="<?php if(isset($_GET['verification'])) {echo str_replace(' ', '+', $_GET['verification']) ;}?> " 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="updateurlMAIN" name="btn_updateetimsconfirmation" class="btn btn-primary"> Click to Activate Etims   </button>

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




			
											
								
			<div class="modal-footer">

    

				</div>

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

			
			</div>



















