<?php 
session_start();
require('../db.php');
include('inc/access.php');
include('../inc/logo.php');						
								
$user = $_SESSION['user'];
								

							
								
						?> 


<?php include('inc/header.php');?>
<body class="fixed-nav sticky-footer bg-dark" id="page-top">



  <!-- Navigation-->
 <?php include('inc/nav.php');?>
  <!-- Navigation Ends--> 
      </ul>
    </div>
  </nav>
  <div class="content-wrapper">
  
    <div class="container-fluid">
      <!-- Breadcrumbs-->
     
      <div class="row">
        <div class="col-12">
          
       <?php 
include('inc/dataSME.php');
		
$query_rec = mysqli_query($conn,"SELECT * FROM data_sme");
$bil = mysqli_fetch_array($query_rec);

?>    
   <p align="center"><strong>Description:</strong> This is the amount that will be charged on every transaction by Resellers. </p>
	    <a class="btn btn-warning btn-block"> <h4 class="w3-xxxlarge w3-text-green" align="center"><b><font color="white">MTN SME</font></b></h4></a>  
	   
       
      <!-- Example Bar Chart Card-->
       

       
  <form action="" method="post" autocomplete = 'off' > 
  
     <table class="table  margin-tp-10" id="transTable">
                     
                                                                        <tr>
                            <td width="30%">MTN SME Data - 500MB</td>
                            <td id="mainService"> <input type="text" id="a" name="a" value="<?php echo $bil['mtnA'];?>"  class="form-control" required> </td>
                        </tr>
                                                <tr>
                          <td width="30%">MTN SME Data - 1GB</td>
                            <td><input type="text" id="b" name="b"  class="form-control" value="<?php echo $bil['mtnB'];?>" required>  </td>
                        </tr>                  
                                                            <tr>
                        <td width="30%">MTN SME Data - 2GB</td>
                        <td><input type="text" id="c" name="c"  class="form-control" value="<?php echo $bil['mtnC'];?>" required></td>
                    </tr>
                                          
                    <tr>
                        <td width="30%">MTN SME Data - 3GB</td>
                        <td><input type="text" id="d" name="d"  class="form-control" value="<?php echo $bil['mtnD'];?>" required></td>
                    </tr>                                       
                    <tr>
                        <td width="30%"><stro>MTN SME Data - 5GB</h4></td>
                        <td id="transactionId"><input type="text" id="e" name="e"  class="form-control" value="<?php echo $bil['mtnE'];?>" required></td>
                    </tr>                    
                   <tr>
                        <td width="30%">MTN SME Data - 10GB</td>
                        <td><input type="text" id="f" name="f"  class="form-control" value="<?php echo $bil['mtnF'];?>" ></td>
                    </tr>      
                    
                    
                    
                                            <tr>
                            <td colspan="2">
                       <button type="submit" id="submit" name="MTNsme" class="btn btn-warning">Save Settings</button>
                                <div class="pay-button">
                                                                                                                                                                                                                                
                                </div>
                              							               </td>
                        </tr>
                                    </table> 
  
  </form>
  
 
   <a class="btn btn-success btn-block"> <h4 class="w3-xxxlarge w3-text-green" align="center"><b><font color="white">GLO SME</font></b></h4></a>  
	   
 <form action="" method="post" autocomplete = 'off' > 
  
     <table class="table  margin-tp-10" id="transTable">
                          
                         
                                           <tr>
                            <td width="30%">Glo SME Data - 260MB</td>
                            <td id="mainService"> <input type="text" id="a" name="a" value="<?php echo $bil['gloA'];?>"  class="form-control" required> </td>
                        </tr>
                                              <!--  <tr>
                            <td width="30%">Glo  SME Data - 500MB</td>
                            <td><input type="text" id="b" name="b"  class="form-control" value="<?php echo $bil['gloB'];?>" required>  </td>
                        </tr>  -->                 
                                                            <tr>
                        <td width="30%">Glo SME Data - 1.5GB</td>
                        <td><input type="text" id="c" name="c"  class="form-control" value="<?php echo $bil['gloC'];?>" required></td>
                    </tr>
                                          
                    <tr>
                        <td width="30%">Glo SME Data - 2.5GB </td>
                        <td><input type="text" id="d" name="d"  class="form-control" value="<?php echo $bil['gloD'];?>" required></td>
                    </tr>                                       
                    <tr>
                        <td width="30%"><stro>
                        Glo SME Data - 3.75GB </h4></td>
                        <td id="transactionId"><input type="text" id="e" name="e"  class="form-control" value="<?php echo $bil['gloE'];?>" required></td>
                    </tr>                    
                   <!-- <tr>
                        <td width="30%">Glo SME Data - 4GB </td>
                        <td><input type="text" id="f" name="f"  class="form-control" value="<?php echo $bil['gloF'];?>" required></td>
                    </tr>       
                    
                     <tr>
                        <td width="30%">Glo SME Data - 5GB</td>
                        <td><input type="text" id="g" name="g"  class="form-control" value="<?php echo $bil['gloG'];?>" required></td>
                    </tr>  -->
                    
                     <tr>
                        <td width="30%">Glo SME Data - 10GB</td>
                        <td><input type="text" id="h" name="h"  class="form-control" value="<?php echo $bil['gloH'];?>" required></td>
                    </tr>  
                    
                    
                    
                                            <tr>
                            <td colspan="2">
                                                                                            <button type="submit" id="submit" name="GLOsme" class="btn btn-success">Save Settings</button>
                                <div class="pay-button">
                                                                                                                                                                                                                                
                                </div>
                              							               </td>
                        </tr>
                                    </table> 
  
  </form>

   <a class="btn btn-danger btn-block"> <h4 class="w3-xxxlarge w3-text-green" align="center"><b><font color="white">Airtel SME Data</font></b></h4></a>  
	   
<form action="" method="post" autocomplete = 'off' > 
  
     <table class="table  margin-tp-10" id="transTable">
                     
                                                                        <tr>
                           <!-- <td width="30%">Airtel SME Data - 500MB</td>
                            <td id="mainService"> <input type="text" id="a" name="a" value="<?php echo $bil['airtelA'];?>"  class="form-control" required> </td>
                        </tr> -->
                                                <tr>
                            <td width="30%">Airtel  SME Data - 1GB</td>
                            <td><input type="text" id="b" name="b"  class="form-control" value="<?php echo $bil['airtelB'];?>" required>  </td>
                        </tr>                   
                                                            <tr>
                        <td width="30%">Airtel SME Data - 2GB</td>
                        <td><input type="text" id="c" name="c"  class="form-control" value="<?php echo $bil['airtelC'];?>" required></td>
                    </tr>
                                          
                    <tr>
                        <td width="30%">Airtel SME Data - 3GB</td>
                        <td><input type="text" id="d" name="d"  class="form-control" value="<?php echo $bil['airtelD'];?>" required></td>
                    </tr>                                       
                   <!-- <tr>
                        <td width="30%"><stro>
                        Airtel SME Data - 5GB</h4></td>
                        <td id="transactionId"><input type="text" id="e" name="e"  class="form-control" value="<?php echo $bil['airtelE'];?>" required></td>
                    </tr>   -->                 
                    <tr>
                        <td width="30%">Airtel SME Data - 10GB</td>
                        <td><input type="text" id="f" name="f"  class="form-control" value="<?php echo $bil['airtelF'];?>" required></td>
                    </tr>       
                    
                    
                    
                                            <tr>
                            <td colspan="2">
                            <button type="submit" id="submit" name="Airtelsme" class="btn btn-danger">Save Settings</button>
                                <div class="pay-button">
                                                                                                                                                                                                                                
                                </div>
                              							               </td>
                        </tr>
                                    </table> 
  
  </form>	   
	   
	   
	   
<a class="btn btn-info btn-block"> <h4 class="w3-xxxlarge w3-text-green" align="center"><b><font color="white">9Mobile SME Data</font></b></h4></a>  
	   
 <form action="" method="post" autocomplete = 'off' > 
  
     <table class="table  margin-tp-10" id="transTable">
                     
                                                                        <tr>
                            <td width="30%">9Mobile SME Data - 250MB</td>
                            <td id="mainService"> <input type="text" id="a" name="a" value="<?php echo $bil['etisalatA'];?>"  class="form-control" required> </td>
                        </tr>
                                                <tr>
                            <td width="30%">9Mobile  SME Data - 500MB</td>
                            <td><input type="text" id="b" name="b"  class="form-control" value="<?php echo $bil['etisalatB'];?>" required>  </td>
                        </tr>                   
                                                            <tr>
                       <!-- <td width="30%">9Mobile SME Data - 1GB</td>
                        <td><input type="text" id="c" name="c"  class="form-control" value="<?php echo $bil['etisalatC'];?>" required></td>
                    </tr>
                                          
                    <tr>
                        <td width="30%">9Mobile SME Data - 1.5GB</td>
                        <td><input type="text" id="d" name="d"  class="form-control" value="<?php echo $bil['etisalatD'];?>" required></td>
                    </tr>  

  <tr>
                        <td width="30%">9Mobile SME Data - 2GB</td>
                        <td><input type="text" id="e" name="e"  class="form-control" value="<?php echo $bil['etisalatE'];?>" required></td>
                    </tr>  -->                                    
                    <tr>
                        <td width="30%"><stro>
                        9Mobile SME Data - 3.5GB</h4></td>
                        <td id="transactionId"><input type="text" id="f" name="f"  class="form-control" value="<?php echo $bil['etisalatF'];?>" required></td>
                    </tr>                    
                   <!-- <tr>
                        <td width="30%">9Mobile SME Data - 4GB</td>
                        <td><input type="text" id="g" name="g"  class="form-control" value="<?php echo $bil['etisalatG'];?>" required></td>
                    </tr>       
                    
                     <tr>
                        <td width="30%">9Mobile SME Data - 4.5GB</td>
                        <td><input type="text" id="h" name="h"  class="form-control" value="<?php echo $bil['etisalatH'];?>" required></td>
                    </tr>  
                    
                     <tr>
                        <td width="30%">9Mobile SME Data - 5GB</td>
                        <td><input type="text" id="i" name="i"  class="form-control" value="<?php echo $bil['etisalatI'];?>" required></td>
                    </tr>  
                    
                     <tr>
                        <td width="30%">9Mobile SME Data - 10GB</td>
                        <td><input type="text" id="j" name="j"  class="form-control" value="<?php echo $bil['etisalatJ'];?>" required></td>
                    </tr> --> 
                    
                    
                                            <tr>
                            <td colspan="2">
 <button type="submit" id="submit" name="Mobilesme" class="btn btn-info">Save Settings</button>
                                <div class="pay-button">
                                                                                                                                                                                                                                
                                </div>
                              							               </td>
                        </tr>
                                    </table> 
  
  </form>
  

 
    </div>
    <!-- /.container-fluid-->
    <!-- /.content-wrapper-->
    <?php include('inc/footer.php');?>