
<html>
  

<head>
    
    

  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta http-equiv="Refresh" content="8">
  <title>WIP | Control System</title>
  <!-- Tell the browser to be responsive to screen width -->
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <link rel="shortcut icon" href="img/lgo1.png">
  <!--Sweetalert Plugin --->
  <script src="bower_components/sweetalert/sweetalert.js"></script>
  <!-- AdminLTE App -->
  <script src="dist/js/adminlte.min.js"></script>
  <!-- jQuery 3 -->
  <script src="bower_components/jquery/dist/jquery.min.js"></script>
  <!-- Bootstrap 3.3.7 -->
  <script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
  <!-- Bootstrap -->
  <link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css">
  <!-- daterange picker -->
  <link rel="stylesheet" href="bower_components/bootstrap-daterangepicker/daterangepicker.css">
  <!-- bootstrap datepicker -->
  <link rel="stylesheet" href="bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css">
  <!-- bootstrap timepicker -->
  <link rel="stylesheet" href="plugins/timepicker/bootstrap-timepicker.min.css">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="bower_components/font-awesome/css/font-awesome.min.css">
  <!-- Ionicons -->
  <link rel="stylesheet" href="bower_components/Ionicons/css/ionicons.min.css">
  <!-- Theme style -->
  <link rel="stylesheet" href="dist/css/AdminLTE.min.css">

  <link rel="stylesheet" href="dist/css/skins/skin-blue.min.css">

  <!-- Google Font -->
  <link rel="stylesheet"
        href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">

  <!-- DataTables -->
  <link rel="stylesheet" href="bower_components/datatables.net-bs/css/dataTables.bootstrap.min.css">
  <!-- datepicker js -->
  <script src="bower_components/bootstrap-daterangepicker/daterangepicker.js"></script>
  <!-- bootstrap datepicker -->
  <script src="bower_components/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js"></script>
  <!-- iCheck for checkboxes and radio inputs -->
  <link rel="stylesheet" href="plugins/iCheck/all.css">
  <!-- iCheck 1.0.1 -->
  <script src="plugins/iCheck/icheck.min.js"></script>
  <!-- bootstrap time picker -->
  <script src="plugins/timepicker/bootstrap-timepicker.min.js"></script>
<script src="dist/js/date_time.js"></script>     
  <!-- chart Js -->
  <script src="chartjs/dist/Chart.min.js"></script>
  
  
  


  
 
  
  
  
      
   
  
  
  
  

  

</head>

   
    <?php
 
 
 



 
include_once'db/connect_db.php';


function loadlinename($id)
   {
    include('db/connect_db.php');
      
       $select2 = $pdo2->prepare("SELECT obj  FROM setting where lid='$id'");    
            
            
            //   . "SELECT formid,userid FROM formaccess WHERE formid='$frmid' and userid='$userid'");
       $select2->execute();
       $row = $select2->fetch(PDO::FETCH_ASSOC);
        
      if($select2->rowCount() > 0 ){
          
        $sr11 = $row['obj'];
           
      }else {
          
          $sr11="";
          
      }
      return $sr11;
   }
   
   
function Loadcolour1($id,$clr)
   {
    include('db/connect_db.php');
      
       $select2 = $pdo2->prepare("SELECT c1,c2,c3,lid FROM setting where lid='$id'");    
            
            
            //   . "SELECT formid,userid FROM formaccess WHERE formid='$frmid' and userid='$userid'");
       $select2->execute();
       $row = $select2->fetch(PDO::FETCH_ASSOC);
        
      if($select2->rowCount() > 0 ){
          
        $sr11 = $row[$clr];
           
      }else {
          
          $sr11="";
          
      }
      return $sr11;
   }   
   
   function Loadcolour13($id)
   {
    include('db/connect_db.php');
      
       $select2 = $pdo2->prepare("SELECT c3 FROM setting where lid='$id'");    
            
            
            //   . "SELECT formid,userid FROM formaccess WHERE formid='$frmid' and userid='$userid'");
       $select2->execute();
       $row = $select2->fetch(PDO::FETCH_ASSOC);
        
      if($select2->rowCount() > 0 ){
          
        $sr11 = $row['c3'];
           
      }else {
          
          $sr11="";
          
      }
      return $sr11;
   }  
   
   
   
   
   
   
   function getlimt($id,$lim)
   {
    include('db/connect_db.php');
      
       $select2 = $pdo2->prepare("SELECT l1,l2 FROM setting where lid='$id'");    
            
            
            //   . "SELECT formid,userid FROM formaccess WHERE formid='$frmid' and userid='$userid'");
       $select2->execute();
       $row = $select2->fetch(PDO::FETCH_ASSOC);
        
      if($select2->rowCount() > 0 ){
          
        $sr11 = $row[$lim];
           
      }else {
          
          $sr11="";
          
      }
      return $sr11;
   }   
   
    function gettot($id)
   {
    include('db/connect_db.php');
      
       $select2 = $pdo2->prepare("SELECT qty as total FROM linebalance where lid='$id'");    
            
            
            //   . "SELECT formid,userid FROM formaccess WHERE formid='$frmid' and userid='$userid'");
       $select2->execute();
       $row = $select2->fetch(PDO::FETCH_ASSOC);
        
      if($select2->rowCount() > 0 ){
          
        $sr11 = $row['total'];
           
      }else {
          
          $sr11="0";
          
      }
      return $sr11;
   }   
   
   
   
   
   
   

?>
    



  
        
      


  <!-- Content Wrapper. Contains page content -->
  <body onload="loadcolours()">    <!-- Main content -->
      
                <header class="main-header"  style="background-color: #f1f1f1;">
        <nav class="navbar navbar-static-top ">
   <div class="row">
                 <!-- ./col --------------------------------------------------------------------------------------------->        
              
                         
                  <div class="col-lg-1 col-xs-1">
                      <img src="img/lgo1.png" class="user-image" alt="User Image" width="50" hight="50">
                      
                     
                 </div>
                  <div class="col-lg-6 col-xs-6">
                   
                      <p> <h3>Wip Control System </h3> </p>
                     
                 </div>
                  <div class="col-lg-4 col-xs-4">
                   
		    <a><h3>
                        <b><span id="date_time" class="pull-right"></span></b>
                          
                        </h3>
                    </a>
            
                  <!-- Tasks Menu -->
	
                  <!-- Tasks Menu -->
	
         
            
                     
                 </div>
                 
                
                 
                 
      </div>
         
             
        
            <!-- Navbar Right Menu -->
        
       
        </nav>
      </header>
    <section class="content container-fluid">
   
        
        
        
        

 
        <div class="box box-success">
         
          <div class="box-body">
               <div class="row">
                 <!-- ./col ------------------------------------------------------------------------1--------------------->        
              
                        <div class="col-lg-2 col-xs-3">
                            <div id="l1"> 
                          
                        <!-- small box -->
                    <div class="small-box">
                       
                        <div class="inner" id="p1">
                            
                             <?php
                                         $select = $pdo2->prepare("SELECT qty as total FROM linebalance where lid='1'");
                                         $select->execute();
                                         $row=$select->fetch(PDO::FETCH_OBJ);
                                               
                                                 
                                         if ($select->rowCount() > 0)
                                         {
                                            $tl = $row->total;
                                         }else{
                                      
                                             $tl =0; 
                                         }
                                        
                                         ?>
                            
                            <center><h3><font color="white"><?php  echo(loadlinename("1"));?></font></h3></center>
                            <center> <p > <h3 ><font color="white"><?php echo "$tl"   ?></font></h3> </p></center>
                          </div>
                        
                        </div>
                        </div><!-- ./col -->
                         </div>
              <!-- ./col --------------------------------------------------------------------------------------------->
                      <div class="col-lg-2 col-xs-3">
                        <!-- small box -->
                      
                        <div id="l2"> 
                            
                         <div class="small-box ">
                       <div class="inner" id="p2">
                            
                             <?php
                                         $select = $pdo2->prepare("SELECT qty as total FROM linebalance where lid='2'");
                                         $select->execute();
                                         $row=$select->fetch(PDO::FETCH_OBJ);
                                         $tl = $row->total ;
                                         ?>
                            
                             <center><h3><font color="White"><?php  echo(loadlinename(2));?></font></h3></center>
                            <center><p ><h3><font color="White"><?php echo "$tl"   ?></font></h3></p></center>
                          </div>
                        
                        </div>
                       
                        </div>
                            
                        </div>
              <!-- ./col --------------------------------------------------------------------------------------------->
                        
             
                <!-- ./col --------------------------------------------------------------------------------------------->
                      <div class="col-lg-2 col-xs-3">
                        <!-- small box -->
                      
                        <div id="l3"> 
                            
                         <div class="small-box">
                       <div class="inner" id="p3">
                            
                             <?php
                                         $select = $pdo2->prepare("SELECT qty as total FROM linebalance where lid='3'");
                                         $select->execute();
                                         $row=$select->fetch(PDO::FETCH_OBJ);
                                         if ($select->rowCount() > 0)
                                         {
                                            $tl     = $row->total;
                                         }else{
                                      
                                             $tl     =0; 
                                         }
                                        
                                         ?>
                                        
                            
                               <center><h3><font color="White"><?php  echo(loadlinename(3));?></font></h3></center>
                            <center><p ><h3><font color="White"><?php echo "$tl"   ?></font></h3></p></center>
                          </div>
                        
                        </div>
                       
                        </div>
                            
                        </div>
              <!-- ./col --------------------------------------------------------------------------------------------->
                        
        <!-- ./col --------------------------------------------------------------------------------------------->
                      <div class="col-lg-2 col-xs-3">
                        <!-- small box -->
                      
                        <div id="l4"> 
                            
                         <div class="small-box">
                       <div class="inner" id="p4">
                            
                             <?php
                                         $select = $pdo2->prepare("SELECT qty as total FROM linebalance where lid='4'");
                                         $select->execute();
                                         $row=$select->fetch(PDO::FETCH_OBJ);
                                         if ($select->rowCount() > 0)
                                         {
                                            $tl     = $row->total;
                                         }else{
                                      
                                             $tl     =0; 
                                         }
                                         ?>
                            
                               <center><h3><font color="White"><?php  echo(loadlinename(4));?></font></h3></center>
                            <center><p ><h3><font color="White"><?php echo "$tl"   ?></font></h3></p></center>
                          </div>
                        
                        </div>
                       
                        </div>
                            
                        </div>
              <!-- ./col --------------------------------------------------------------------------------------------->
                       <!-- ./col --------------------------------------------------------------------------------------------->
                      <div class="col-lg-2 col-xs-3">
                        <!-- small box -->
                      
                        <div id="l5"> 
                            
                         <div class="small-box">
                       <div class="inner" id="p5">
                            
                             <?php
                                         $select = $pdo2->prepare("SELECT qty as total FROM linebalance where lid='5'");
                                         $select->execute();
                                         $row=$select->fetch(PDO::FETCH_OBJ);
                                           if ($select->rowCount() > 0)
                                         {
                                            $tl     = $row->total;
                                         }else{
                                      
                                             $tl     =0; 
                                         }
                                         ?>
                            
                               <center><h3><font color="White"><?php  echo(loadlinename(5));?></font></h3></center>
                            <center><p ><h3><font color="White"><?php echo "$tl"   ?></font></h3></p></center>
                          </div>
                        
                        </div>
                       
                        </div>
                            
                        </div>
              <!-- ./col --------------------------------------------------------------------------------------------->
                           <!-- ./col --------------------------------------------------------------------------------------------->
                      <div class="col-lg-2 col-xs-3">
                        <!-- small box -->
                      
                        <div id="l6"> 
                            
                         <div class="small-box">
                         <div class="inner" id="p6">
                            
                             <?php
                                         $select = $pdo2->prepare("SELECT qty as total FROM linebalance where lid='6'");
                                         $select->execute();
                                         $row=$select->fetch(PDO::FETCH_OBJ);
                                        if ($select->rowCount() > 0)
                                         {
                                            $tl     = $row->total;
                                         }else{
                                      
                                             $tl     =0; 
                                         }
                                         ?>
                            
                                <center><h3><font color="White"><?php  echo(loadlinename(6));?></font></h3></center>
                            <center><p ><h3><font color="White"><?php echo "$tl"   ?></font></h3></p></center>
                          </div>
                        
                        </div>
                       
                        </div>
                            
                        </div>
              <!-- ./col -------------------------------------------------------------------------------1Row 111111111-------------->
                 
         </div>   <!-- ./row1 --------------------------------------------rw 111111111111------------------------------------------------->             
              
         
          <div class="row">
                 <!-- ./col ------------------------------------------------------------------------111111111111--------------------->        
              
                        <div class="col-lg-2 col-xs-3">
                            <div id="l7"   > 
                        
                        <!-- small box -->
                    <div class="small-box">
                        <div class="inner" id="p7" >
                            
                             <?php
                                         $select = $pdo2->prepare("SELECT qty as total FROM linebalance where lid='7'");
                                         $select->execute();
                                         $row=$select->fetch(PDO::FETCH_OBJ);
                                               
                                                 
                                         if ($select->rowCount() > 0)
                                         {
                                            $tl     = $row->total;
                                         }else{
                                      
                                             $tl     =0; 
                                         }
                                        
                                         ?>
                            
                               <center><h3><font color="White"><?php  echo(loadlinename(7));?></font></h3></center>
                            <center><p ><h3><font color="White"><?php echo "$tl"   ?></font></h3></p></center>
                          </div>
                        
                        </div>
                        </div><!-- ./col -->
              </div>
              <!-- ./col --------------------------------------------------------------------------------------------->
                      <div class="col-lg-2 col-xs-3">
                        <!-- small box -->
                      
                        <div id="l8"> 
                            
                         <div class="small-box ">
                       <div class="inner" id="p8">
                            
                             <?php
                                         $select = $pdo2->prepare("SELECT qty as total FROM linebalance where lid='8'");
                                         $select->execute();
                                         $row=$select->fetch(PDO::FETCH_OBJ);
                                         $tl = $row->total ;
                                         ?>
                            
                             <center><h3><font color="White"><?php  echo(loadlinename(8));?></font></h3></center>
                            <center><p ><h3><font color="White"><?php echo "$tl"   ?></font></h3></p></center>
                          </div>
                        
                        </div>
                       
                        </div>
                            
                        </div>
              <!-- ./col --------------------------------------------------------------------------------------------->
                        
             
                <!-- ./col --------------------------------------------------------------------------------------------->
                      <div class="col-lg-2 col-xs-3">
                        <!-- small box -->
                      
                        <div id="l9"> 
                            
                         <div class="small-box">
                       <div class="inner" id="p9">
                            
                             <?php
                                         $select = $pdo2->prepare("SELECT qty as total FROM linebalance where lid='9'");
                                         $select->execute();
                                         $row=$select->fetch(PDO::FETCH_OBJ);
                                         if ($select->rowCount() > 0)
                                         {
                                            $tl     = $row->total;
                                         }else{
                                      
                                             $tl     =0; 
                                         }
                                        
                                         ?>
                                        
                            
                              <center><h3><font color="White"><?php  echo(loadlinename(9));?></font></h3></center>
                            <center><p ><h3><font color="White"><?php echo "$tl"   ?></font></h3></p></center>
                          </div>
                        
                        </div>
                       
                        </div>
                            
                        </div>
              <!-- ./col --------------------------------------------------------------------------------------------->
                        
        <!-- ./col --------------------------------------------------------------------------------------------->
                      <div class="col-lg-2 col-xs-3">
                        <!-- small box -->
                      
                        <div id="l10"> 
                            
                         <div class="small-box">
                       <div class="inner" id="p10">
                            
                             <?php
                                         $select = $pdo2->prepare("SELECT qty as total FROM linebalance where lid='10'");
                                         $select->execute();
                                         $row=$select->fetch(PDO::FETCH_OBJ);
                                         if ($select->rowCount() > 0)
                                         {
                                            $tl     = $row->total;
                                         }else{
                                      
                                             $tl     =0; 
                                         }
                                         ?>
                            
                              <center><h3><font color="White"><?php  echo(loadlinename(10));?></font></h3></center>
                            <center><p ><h3><font color="White"><?php echo "$tl"   ?></font></h3></p></center>
                          </div>
                        
                        </div>
                       
                        </div>
                            
                        </div>
              <!-- ./col --------------------------------------------------------------------------------------------->
                       <!-- ./col --------------------------------------------------------------------------------------------->
                      <div class="col-lg-2 col-xs-3">
                        <!-- small box -->
                      
                        <div id="l11"> 
                            
                         <div class="small-box">
                       <div class="inner" id="p11">
                            
                             <?php
                                         $select = $pdo2->prepare("SELECT qty as total FROM linebalance where lid='11'");
                                         $select->execute();
                                         $row=$select->fetch(PDO::FETCH_OBJ);
                                           if ($select->rowCount() > 0)
                                         {
                                            $tl     = $row->total;
                                         }else{
                                      
                                             $tl     =0; 
                                         }
                                         ?>
                              <center><h3><font color="White"><?php  echo(loadlinename(11));?></font></h3></center>
                            <center><p ><h3><font color="White"><?php echo "$tl"   ?></font></h3></p></center>
                          </div>
                        
                        </div>
                       
                        </div>
                            
                        </div>
              <!-- ./col --------------------------------------------------------------------------------------------->
                           <!-- ./col --------------------------------------------------------------------------------------------->
                      <div class="col-lg-2 col-xs-3">
                        <!-- small box -->
                      
                        <div id="l12"> 
                            
                         <div class="small-box">
                         <div class="inner" id="p12">
                            
                             <?php
                                         $select = $pdo2->prepare("SELECT qty as total FROM linebalance where lid='12'");
                                         $select->execute();
                                         $row=$select->fetch(PDO::FETCH_OBJ);
                                        if ($select->rowCount() > 0)
                                         {
                                            $tl     = $row->total;
                                         }else{
                                      
                                             $tl     =0; 
                                         }
                                         ?>
                            
                               <center><h3><font color="White"><?php  echo(loadlinename(12));?></font></h3></center>
                            <center><p ><h3><font color="White"><?php echo "$tl"   ?></font></h3></p></center>
                          </div>
                        
                        </div>
                       
                        </div>
                            
                        </div>
              
                     
         
              </div>
         <!-- ./ro3-------------------------------------------------------------------------------1Row 111111111-------------->
         
         
               <div class="row">
                 <!-- ./col ------------------------------------------------------------------------111111111111--------------------->        
              
                        <div class="col-lg-2 col-xs-3">
                            <div id="l13"   > 
                        
                        <!-- small box -->
                    <div class="small-box">
                        <div class="inner" id="p13" >
                            
                             <?php
                                         $select = $pdo2->prepare("SELECT qty as total FROM linebalance where lid='13'");
                                         $select->execute();
                                         $row=$select->fetch(PDO::FETCH_OBJ);
                                               
                                                 
                                         if ($select->rowCount() > 0)
                                         {
                                            $tl     = $row->total;
                                         }else{
                                      
                                             $tl     =0; 
                                         }
                                        
                                         ?>
                            
                               <center><h3><font color="White"><?php  echo(loadlinename(13));?></font></h3></center>
                            <center><p ><h3><font color="White"><?php echo "$tl"   ?></font></h3></p></center>
                          </div>
                        
                        </div>
                        </div><!-- ./col -->
              </div>
              <!-- ./col --------------------------------------------------------------------------------------------->
                      <div class="col-lg-2 col-xs-3">
                        <!-- small box -->
                      
                        <div id="l14"> 
                            
                         <div class="small-box ">
                       <div class="inner" id="p14">
                            
                             <?php
                                         $select = $pdo2->prepare("SELECT qty as total FROM linebalance where lid='14'");
                                         $select->execute();
                                         $row=$select->fetch(PDO::FETCH_OBJ);
                                         $tl = $row->total ;
                                         ?>
                            
                             <center><h3><font color="White"><?php  echo(loadlinename(14));?></font></h3></center>
                            <center><p ><h3><font color="White"><?php echo "$tl"   ?></font></h3></p></center>
                          </div>
                        
                        </div>
                       
                        </div>
                            
                        </div>
              <!-- ./col --------------------------------------------------------------------------------------------->
                        
             
                <!-- ./col --------------------------------------------------------------------------------------------->
                      <div class="col-lg-2 col-xs-3">
                        <!-- small box -->
                      
                        <div id="l15"> 
                            
                         <div class="small-box">
                       <div class="inner" id="p15">
                            
                             <?php
                                         $select = $pdo2->prepare("SELECT qty as total FROM linebalance where lid='15'");
                                         $select->execute();
                                         $row=$select->fetch(PDO::FETCH_OBJ);
                                         if ($select->rowCount() > 0)
                                         {
                                            $tl     = $row->total;
                                         }else{
                                      
                                             $tl     =0; 
                                         }
                                        
                                         ?>
                                        
                            
                              <center><h3><font color="White"><?php  echo(loadlinename(15));?></font></h3></center>
                            <center><p ><h3><font color="White"><?php echo "$tl"   ?></font></h3></p></center>
                          </div>
                        
                        </div>
                       
                        </div>
                            
                        </div>
              <!-- ./col --------------------------------------------------------------------------------------------->
                        
        <!-- ./col --------------------------------------------------------------------------------------------->
                      <div class="col-lg-2 col-xs-3">
                        <!-- small box -->
                      
                        <div id="l16"> 
                            
                         <div class="small-box">
                       <div class="inner" id="p16">
                            
                             <?php
                                         $select = $pdo2->prepare("SELECT qty as total FROM linebalance where lid='16'");
                                         $select->execute();
                                         $row=$select->fetch(PDO::FETCH_OBJ);
                                         if ($select->rowCount() > 0)
                                         {
                                            $tl     = $row->total;
                                         }else{
                                      
                                             $tl     =0; 
                                         }
                                         ?>
                            
                              <center><h3><font color="White"><?php  echo(loadlinename(16));?></font></h3></center>
                            <center><p ><h3><font color="White"><?php echo "$tl"   ?></font></h3></p></center>
                          </div>
                        
                        </div>
                       
                        </div>
                            
                        </div>
              <!-- ./col --------------------------------------------------------------------------------------------->
                       <!-- ./col --------------------------------------------------------------------------------------------->
                      <div class="col-lg-2 col-xs-3">
                        <!-- small box -->
                      
                        <div id="l17"> 
                            
                         <div class="small-box">
                       <div class="inner" id="p17">
                            
                             <?php
                                         $select = $pdo2->prepare("SELECT qty as total FROM linebalance where lid='17'");
                                         $select->execute();
                                         $row=$select->fetch(PDO::FETCH_OBJ);
                                           if ($select->rowCount() > 0)
                                         {
                                            $tl     = $row->total;
                                         }else{
                                      
                                             $tl     =0; 
                                         }
                                         ?>
                              <center><h3><font color="White"><?php  echo(loadlinename(17));?></font></h3></center>
                            <center><p ><h3><font color="White"><?php echo "$tl"   ?></font></h3></p></center>
                          </div>
                        
                        </div>
                       
                        </div>
                            
                        </div>
              <!-- ./col --------------------------------------------------------------------------------------------->
                           <!-- ./col --------------------------------------------------------------------------------------------->
                      <div class="col-lg-2 col-xs-3">
                        <!-- small box -->
                      
                        <div id="l18"> 
                            
                         <div class="small-box">
                         <div class="inner" id="p18">
                            
                             <?php
                                         $select = $pdo2->prepare("SELECT qty as total FROM linebalance where lid='18'");
                                         $select->execute();
                                         $row=$select->fetch(PDO::FETCH_OBJ);
                                        if ($select->rowCount() > 0)
                                         {
                                            $tl     = $row->total;
                                         }else{
                                      
                                             $tl     =0; 
                                         }
                                         ?>
                            
                               <center><h3><font color="White"><?php  echo(loadlinename(18));?></font></h3></center>
                            <center><p ><h3><font color="White"><?php echo "$tl"   ?></font></h3></p></center>
                          </div>
                        
                        </div>
                       
                        </div>
                            
                        </div>
              
                     
         
              </div>
         <!-- ./ro3-------------------------------------------------------------------------------1Row 111111111-------------->
         
               <div class="row">
                 <!-- ./col ------------------------------------------------------------------------111111111111--------------------->        
              
                        <div class="col-lg-2 col-xs-3">
                            <div id="l19"   > 
                        
                        <!-- small box -->
                    <div class="small-box">
                        <div class="inner" id="p19" >
                            
                             <?php
                                         $select = $pdo2->prepare("SELECT qty as total FROM linebalance where lid='19'");
                                         $select->execute();
                                         $row=$select->fetch(PDO::FETCH_OBJ);
                                               
                                                 
                                         if ($select->rowCount() > 0)
                                         {
                                            $tl     = $row->total;
                                         }else{
                                      
                                             $tl     =0; 
                                         }
                                        
                                         ?>
                            
                               <center><h3><font color="White"><?php  echo(loadlinename(19));?></font></h3></center>
                            <center><p ><h3><font color="White"><?php echo "$tl"   ?></font></h3></p></center>
                          </div>
                        
                        </div>
                        </div><!-- ./col -->
              </div>
              <!-- ./col --------------------------------------------------------------------------------------------->
                      <div class="col-lg-2 col-xs-3">
                        <!-- small box -->
                      
                        <div id="l20"> 
                            
                         <div class="small-box ">
                       <div class="inner" id="p20">
                                           <?php
                                          $select = $pdo2->prepare("SELECT qty as total FROM linebalance where lid='20'");
                                         $select->execute();
                                         $row=$select->fetch(PDO::FETCH_OBJ);
                                         if ($select->rowCount() > 0)
                                         {
                                            $tl     = $row->total;
                                         }else{
                                      
                                             $tl     =0; 
                                         }
                                        
                                         ?>
                            
                             <center><h3><font color="White"><?php  echo(loadlinename(20));?></font></h3></center>
                            <center><p ><h3><font color="White"><?php echo "$tl"   ?></font></h3></p></center>
                          </div>
                        
                        </div>
                       
                        </div>
                            
                        </div>
              <!-- ./col --------------------------------------------------------------------------------------------->
                        
             
                <!-- ./col --------------------------------------------------------------------------------------------->
                      <div class="col-lg-2 col-xs-3">
                        <!-- small box -->
                      
                        <div id="l21"> 
                            
                         <div class="small-box">
                       <div class="inner" id="p21">
                            
                             <?php
                                         $select = $pdo2->prepare("SELECT qty as total FROM linebalance where lid='21'");
                                         $select->execute();
                                         $row=$select->fetch(PDO::FETCH_OBJ);
                                         if ($select->rowCount() > 0)
                                         {
                                            $tl     = $row->total;
                                         }else{
                                      
                                             $tl     =0; 
                                         }
                                        
                                         ?>
                                        
                            
                              <center><h3><font color="White"><?php  echo(loadlinename(21));?></font></h3></center>
                            <center><p ><h3><font color="White"><?php echo "$tl"   ?></font></h3></p></center>
                          </div>
                        
                        </div>
                       
                        </div>
                            
                        </div>
              <!-- ./col --------------------------------------------------------------------------------------------->
                        
        <!-- ./col --------------------------------------------------------------------------------------------->
                      <div class="col-lg-2 col-xs-3">
                        <!-- small box -->
                      
                        <div id="l22"> 
                            
                         <div class="small-box">
                       <div class="inner" id="p22">
                            
                             <?php
                                         $select = $pdo2->prepare("SELECT qty as total FROM linebalance where lid='22'");
                                         $select->execute();
                                         $row=$select->fetch(PDO::FETCH_OBJ);
                                         if ($select->rowCount() > 0)
                                         {
                                            $tl     = $row->total;
                                         }else{
                                      
                                             $tl     =0; 
                                         }
                                         ?>
                            
                              <center><h3><font color="White"><?php  echo(loadlinename(22));?></font></h3></center>
                            <center><p ><h3><font color="White"><?php echo "$tl"   ?></font></h3></p></center>
                          </div>
                        
                        </div>
                       
                        </div>
                            
                        </div>
              <!-- ./col --------------------------------------------------------------------------------------------->
                       <!-- ./col --------------------------------------------------------------------------------------------->
                      <div class="col-lg-2 col-xs-3">
                        <!-- small box -->
                      
                        <div id="l23"> 
                            
                         <div class="small-box">
                       <div class="inner" id="p23">
                            
                             <?php
                                         $select = $pdo2->prepare("SELECT qty as total FROM linebalance where lid='23'");
                                         $select->execute();
                                         $row=$select->fetch(PDO::FETCH_OBJ);
                                           if ($select->rowCount() > 0)
                                         {
                                            $tl     = $row->total;
                                         }else{
                                      
                                             $tl     =0; 
                                         }
                                         ?>
                              <center><h3><font color="White"><?php  echo(loadlinename(23));?></font></h3></center>
                            <center><p ><h3><font color="White"><?php echo "$tl"   ?></font></h3></p></center>
                          </div>
                        
                        </div>
                       
                        </div>
                            
                        </div>
              <!-- ./col --------------------------------------------------------------------------------------------->
                           <!-- ./col --------------------------------------------------------------------------------------------->
                      <div class="col-lg-2 col-xs-3">
                        <!-- small box -->
                      
                        <div id="l24"> 
                            
                         <div class="small-box">
                         <div class="inner" id="p24">
                            
                             <?php
                                         $select = $pdo2->prepare("SELECT qty as total FROM linebalance where lid='24'");
                                         $select->execute();
                                         $row=$select->fetch(PDO::FETCH_OBJ);
                                        if ($select->rowCount() > 0)
                                         {
                                            $tl     = $row->total;
                                         }else{
                                      
                                             $tl     =0; 
                                         }
                                         ?>
                            
                               <center><h3><font color="White"><?php  echo(loadlinename(24));?></font></h3></center>
                            <center><p ><h3><font color="White"><?php echo "$tl"   ?></font></h3></p></center>
                          </div>
                        
                        </div>
                       
                        </div>
                            
                        </div>
              
                     
         
              </div>
         
         
         
         
         
         
         
         
         
         
         
         <!-- ./ro3-------------------------------------------------------------------------------1Row 111111111-------------->
         
                <div class="row">
                 <!-- ./col ------------------------------------------------------------------------111111111111--------------------->        
              
                        <div class="col-lg-2 col-xs-3">
                            <div id="l25"   > 
                        
                        <!-- small box -->
                    <div class="small-box">
                        <div class="inner" id="p25" >
                            
                             <?php
                                         $select = $pdo2->prepare("SELECT qty as total FROM linebalance where lid='25'");
                                         $select->execute();
                                         $row=$select->fetch(PDO::FETCH_OBJ);
                                               
                                                 
                                         if ($select->rowCount() > 0)
                                         {
                                            $tl     = $row->total;
                                         }else{
                                      
                                             $tl     =0; 
                                         }
                                        
                                         ?>
                            
                               <center><h3><font color="White"><?php  echo(loadlinename(25));?></font></h3></center>
                            <center><p ><h3><font color="White"><?php echo "$tl"   ?></font></h3></p></center>
                          </div>
                        
                        </div>
                        </div><!-- ./col -->
              </div>
              <!-- ./col --------------------------------------------------------------------------------------------->
                      <div class="col-lg-2 col-xs-3">
                        <!-- small box -->
                      
                        <div id="l26"> 
                            
                         <div class="small-box ">
                       <div class="inner" id="p26">
                                           <?php
                                          $select = $pdo2->prepare("SELECT qty as total FROM linebalance where lid='26'");
                                         $select->execute();
                                         $row=$select->fetch(PDO::FETCH_OBJ);
                                         if ($select->rowCount() > 0)
                                         {
                                            $tl     = $row->total;
                                         }else{
                                      
                                             $tl     =0; 
                                         }
                                        
                                         ?>
                            
                             <center><h3><font color="White"><?php  echo(loadlinename(26));?></font></h3></center>
                            <center><p ><h3><font color="White"><?php echo "$tl"   ?></font></h3></p></center>
                          </div>
                        
                        </div>
                       
                        </div>
                            
                        </div>
              <!-- ./col --------------------------------------------------------------------------------------------->
                        
             
                <!-- ./col --------------------------------------------------------------------------------------------->
                      <div class="col-lg-2 col-xs-3">
                        <!-- small box -->
                      
                        <div id="l27"> 
                            
                         <div class="small-box">
                       <div class="inner" id="p27">
                            
                             <?php
                                         $select = $pdo2->prepare("SELECT qty as total FROM linebalance where lid='27'");
                                         $select->execute();
                                         $row=$select->fetch(PDO::FETCH_OBJ);
                                         if ($select->rowCount() > 0)
                                         {
                                            $tl     = $row->total;
                                         }else{
                                      
                                             $tl     =0; 
                                         }
                                        
                                         ?>
                                        
                            
                              <center><h3><font color="White"><?php  echo(loadlinename(27));?></font></h3></center>
                            <center><p ><h3><font color="White"><?php echo "$tl"   ?></font></h3></p></center>
                          </div>
                        
                        </div>
                       
                        </div>
                            
                        </div>
              <!-- ./col --------------------------------------------------------------------------------------------->
                        
        <!-- ./col --------------------------------------------------------------------------------------------->
                      <div class="col-lg-2 col-xs-3">
                        <!-- small box -->
                      
                        <div id="l28"> 
                            
                         <div class="small-box">
                       <div class="inner" id="p28">
                            
                             <?php
                                         $select = $pdo2->prepare("SELECT qty as total FROM linebalance where lid='28'");
                                         $select->execute();
                                         $row=$select->fetch(PDO::FETCH_OBJ);
                                         if ($select->rowCount() > 0)
                                         {
                                            $tl     = $row->total;
                                         }else{
                                      
                                             $tl     =0; 
                                         }
                                         ?>
                            
                              <center><h3><font color="White"><?php  echo(loadlinename(28));?></font></h3></center>
                            <center><p ><h3><font color="White"><?php echo "$tl"   ?></font></h3></p></center>
                          </div>
                        
                        </div>
                       
                        </div>
                            
                        </div>
              <!-- ./col --------------------------------------------------------------------------------------------->
                       <!-- ./col --------------------------------------------------------------------------------------------->
                      <div class="col-lg-2 col-xs-3">
                        <!-- small box -->
                      
                        <div id="l29" style="background-color:<?php  echo(Loadcolour1(29,'c1')); ?> "> 
                            
                         <div class="small-box">
                       <div class="inner" id="p29">
                            
                             <?php
                                         $select = $pdo2->prepare("SELECT qty as total FROM linebalance where lid='29'");
                                         $select->execute();
                                         $row=$select->fetch(PDO::FETCH_OBJ);
                                           if ($select->rowCount() > 0)
                                         {
                                            $tl     = $row->total;
                                         }else{
                                      
                                             $tl     =0; 
                                         }
                                         ?>
                              <center><h3><font color="white"><?php  echo(loadlinename(29));?></font></h3></center>
                              <center><p ><h3><font color="<?php  echo(Loadcolour1(29,'c1')); ?>"><?php echo "$tl" ?></font></h3></p></center>
                          </div>
                        
                        </div>
                       
                        </div>
                            
                        </div>
              <!-- ./col --------------------------------------------------------------------------------------------->
                           <!-- ./col --------------------------------------------------------------------------------------------->
                      <div class="col-lg-2 col-xs-3">
                        <!-- small box -->
                      
                        <div id="l30" style="background-color:<?php  echo(Loadcolour1(30,'c1')); ?> "> 
                            
                         <div class="small-box">
                         <div class="inner" id="p30">
                            
                             <?php
                                         $select = $pdo2->prepare("SELECT qty as total FROM linebalance where lid='30'");
                                         $select->execute();
                                         $row=$select->fetch(PDO::FETCH_OBJ);
                                        if ($select->rowCount() > 0)
                                         {
                                            $tl     = $row->total;
                                         }else{
                                      
                                             $tl     =0; 
                                         }
                                         ?>
                            
                               <center><h3><font color="White"><?php  echo(loadlinename(30));?></font></h3></center>
                            <center><p ><h3><font color="<?php  echo(Loadcolour1(30,'c1')); ?>"><?php echo "$tl"   ?></font></h3></p></center>
                          </div>
                        
                        </div>
                       
                        </div>
                            
                        </div>
              
                     
         
              </div>
         
         
         
         
         
         
         
         
        </div>
    
         
         
     
     
     
     
     
     
     
          
          
   
    <!-- /.content -->
    
    
    
    
    
     <div class="row">
                 <!-- ./col --------------------------------------------------------------------------------------------->        
              
         <div class="col-lg-12"  style="background-color: #f1f1f1;">    
                  <div class="col-lg-4 col-xs-4">
                  
                      
                     
                 </div>
                  <div class="col-lg-4 col-xs-4">
                      <center>
                  <a>
                        <strong>Copyright &copy; 2022 <a href="">BUILDTECK asia</a>.</strong> 
                        
                    </a>
                      </center>
                 </div>
                  <div class="col-lg-4 col-xs-4">
                   
		  
            
                  <!-- Tasks Menu -->
	
                  <!-- Tasks Menu -->
	
         
            
                     
                 </div>
                 
              </div>    
                 
                 
      </div>
    
    
    
    
      </div>
      </section>    
    
  </body> 
  

    
    
    
    
    
    
    
    
    
    
  
  <!-- /.1 -->
 


  <script type="text/javascript">
      
   document.getElementById("time").value = date_time('date_time');
  
  </script>
  
  



 <script>
 
    
    function loadcolours(){
   // alert("Hello! I am an alert box!!");
   setfeaturs(1,"<?php  echo(gettot(1)); ?>","<?php  echo(getlimt(1,'l2')); ?>","<?php  echo(getlimt(1,'l1')); ?>","<?php  echo(Loadcolour1(1,'c1')); ?>", "<?php  echo(Loadcolour1(1,'c2')); ?>","<?php  echo(Loadcolour1(1,'c3')); ?>");
    setfeaturs(2,"<?php  echo(gettot(2)); ?>","<?php  echo(getlimt(2,'l2')); ?>","<?php  echo(getlimt(2,'l1')); ?>","<?php  echo(Loadcolour1(2,'c1')); ?>", "<?php  echo(Loadcolour1(2,'c2')); ?>","<?php  echo(Loadcolour1(2,'c3')); ?>");
   setfeaturs(3,"<?php  echo(gettot(3)); ?>","<?php  echo(getlimt(3,'l2')); ?>","<?php  echo(getlimt(3,'l1')); ?>","<?php  echo(Loadcolour1(3,'c1')); ?>", "<?php  echo(Loadcolour1(3,'c2')); ?>","<?php  echo(Loadcolour1(3,'c3')); ?>");
  setfeaturs(4,"<?php  echo(gettot(4)); ?>","<?php  echo(getlimt(4,'l2')); ?>","<?php  echo(getlimt(4,'l1')); ?>","<?php  echo(Loadcolour1(4,'c1')); ?>", "<?php  echo(Loadcolour1(4,'c2')); ?>","<?php  echo(Loadcolour1(4,'c3')); ?>");
   setfeaturs(5,"<?php  echo(gettot(5)); ?>","<?php  echo(getlimt(5,'l2')); ?>","<?php  echo(getlimt(5,'l1')); ?>","<?php  echo(Loadcolour1(5,'c1')); ?>", "<?php  echo(Loadcolour1(5,'c2')); ?>","<?php  echo(Loadcolour1(5,'c3')); ?>");
   setfeaturs(6,"<?php  echo(gettot(6)); ?>","<?php  echo(getlimt(6,'l2')); ?>","<?php  echo(getlimt(6,'l1')); ?>","<?php  echo(Loadcolour1(6,'c1')); ?>", "<?php  echo(Loadcolour1(6,'c2')); ?>","<?php  echo(Loadcolour1(6,'c3')); ?>");
   setfeaturs(7,"<?php  echo(gettot(7)); ?>","<?php  echo(getlimt(7,'l2')); ?>","<?php  echo(getlimt(7,'l1')); ?>","<?php  echo(Loadcolour1(7,'c1')); ?>", "<?php  echo(Loadcolour1(7,'c2')); ?>","<?php  echo(Loadcolour1(7,'c3')); ?>");
   setfeaturs(8,"<?php  echo(gettot(8)); ?>","<?php  echo(getlimt(8,'l2')); ?>","<?php  echo(getlimt(8,'l1')); ?>","<?php  echo(Loadcolour1(8,'c1')); ?>", "<?php  echo(Loadcolour1(8,'c2')); ?>","<?php  echo(Loadcolour1(8,'c3')); ?>");
   setfeaturs(9,"<?php  echo(gettot(9)); ?>","<?php  echo(getlimt(9,'l2')); ?>","<?php  echo(getlimt(9,'l1')); ?>","<?php  echo(Loadcolour1(9,'c1')); ?>", "<?php  echo(Loadcolour1(9,'c2')); ?>","<?php  echo(Loadcolour1(9,'c3')); ?>");
   
     setfeaturs(10,"<?php  echo(gettot(10)); ?>","<?php  echo(getlimt(10,'l2')); ?>","<?php  echo(getlimt(10,'l1')); ?>","<?php  echo(Loadcolour1(10,'c1')); ?>", "<?php  echo(Loadcolour1(10,'c2')); ?>","<?php  echo(Loadcolour1(10,'c3')); ?>");
   setfeaturs(11,"<?php  echo(gettot(11)); ?>","<?php  echo(getlimt(11,'l2')); ?>","<?php  echo(getlimt(11,'l1')); ?>","<?php  echo(Loadcolour1(11,'c1')); ?>", "<?php  echo(Loadcolour1(11,'c2')); ?>","<?php  echo(Loadcolour1(11,'c3')); ?>");
  setfeaturs(12,"<?php  echo(gettot(12)); ?>","<?php  echo(getlimt(12,'l2')); ?>","<?php  echo(getlimt(12,'l1')); ?>","<?php  echo(Loadcolour1(12,'c1')); ?>", "<?php  echo(Loadcolour1(12,'c2')); ?>","<?php  echo(Loadcolour1(12,'c3')); ?>");
   setfeaturs(13,"<?php  echo(gettot(13)); ?>","<?php  echo(getlimt(13,'l2')); ?>","<?php  echo(getlimt(13,'l1')); ?>","<?php  echo(Loadcolour1(13,'c1')); ?>", "<?php  echo(Loadcolour1(13,'c2')); ?>","<?php  echo(Loadcolour1(13,'c3')); ?>");
   setfeaturs(14,"<?php  echo(gettot(14)); ?>","<?php  echo(getlimt(14,'l2')); ?>","<?php  echo(getlimt(14,'l1')); ?>","<?php  echo(Loadcolour1(14,'c1')); ?>", "<?php  echo(Loadcolour1(14,'c2')); ?>","<?php  echo(Loadcolour1(14,'c3')); ?>");
   setfeaturs(15,"<?php  echo(gettot(15)); ?>","<?php  echo(getlimt(15,'l2')); ?>","<?php  echo(getlimt(15,'l1')); ?>","<?php  echo(Loadcolour1(15,'c1')); ?>", "<?php  echo(Loadcolour1(15,'c2')); ?>","<?php  echo(Loadcolour1(15,'c3')); ?>");
   setfeaturs(16,"<?php  echo(gettot(16)); ?>","<?php  echo(getlimt(16,'l2')); ?>","<?php  echo(getlimt(16,'l1')); ?>","<?php  echo(Loadcolour1(16,'c1')); ?>", "<?php  echo(Loadcolour1(16,'c2')); ?>","<?php  echo(Loadcolour1(16,'c3')); ?>");
   setfeaturs(17,"<?php  echo(gettot(17)); ?>","<?php  echo(getlimt(17,'l2')); ?>","<?php  echo(getlimt(17,'l1')); ?>","<?php  echo(Loadcolour1(17,'c1')); ?>", "<?php  echo(Loadcolour1(17,'c2')); ?>","<?php  echo(Loadcolour1(17,'c3')); ?>");
   
   
    setfeaturs(18,"<?php  echo(gettot(18)); ?>","<?php  echo(getlimt(18,'l2')); ?>","<?php  echo(getlimt(18,'l1')); ?>","<?php  echo(Loadcolour1(18,'c1')); ?>", "<?php  echo(Loadcolour1(18,'c2')); ?>","<?php  echo(Loadcolour1(18,'c3')); ?>");
   setfeaturs(19,"<?php  echo(gettot(19)); ?>","<?php  echo(getlimt(19,'l2')); ?>","<?php  echo(getlimt(19,'l1')); ?>","<?php  echo(Loadcolour1(19,'c1')); ?>", "<?php  echo(Loadcolour1(19,'c2')); ?>","<?php  echo(Loadcolour1(19,'c3')); ?>");
  setfeaturs(20,"<?php  echo(gettot(20)); ?>","<?php  echo(getlimt(20,'l2')); ?>","<?php  echo(getlimt(20,'l1')); ?>","<?php  echo(Loadcolour1(20,'c1')); ?>", "<?php  echo(Loadcolour1(20,'c2')); ?>","<?php  echo(Loadcolour1(20,'c3')); ?>");
   setfeaturs(21,"<?php  echo(gettot(21)); ?>","<?php  echo(getlimt(21,'l2')); ?>","<?php  echo(getlimt(21,'l1')); ?>","<?php  echo(Loadcolour1(21,'c1')); ?>", "<?php  echo(Loadcolour1(21,'c2')); ?>","<?php  echo(Loadcolour1(21,'c3')); ?>");
   setfeaturs(22,"<?php  echo(gettot(22)); ?>","<?php  echo(getlimt(22,'l2')); ?>","<?php  echo(getlimt(22,'l1')); ?>","<?php  echo(Loadcolour1(22,'c1')); ?>", "<?php  echo(Loadcolour1(22,'c2')); ?>","<?php  echo(Loadcolour1(22,'c3')); ?>");
   setfeaturs(23,"<?php  echo(gettot(23)); ?>","<?php  echo(getlimt(23,'l2')); ?>","<?php  echo(getlimt(23,'l1')); ?>","<?php  echo(Loadcolour1(23,'c1')); ?>", "<?php  echo(Loadcolour1(23,'c2')); ?>","<?php  echo(Loadcolour1(23,'c3')); ?>");
   setfeaturs(24,"<?php  echo(gettot(24)); ?>","<?php  echo(getlimt(24,'l2')); ?>","<?php  echo(getlimt(24,'l1')); ?>","<?php  echo(Loadcolour1(24,'c1')); ?>", "<?php  echo(Loadcolour1(24,'c2')); ?>","<?php  echo(Loadcolour1(24,'c3')); ?>");
   setfeaturs(25,"<?php  echo(gettot(25)); ?>","<?php  echo(getlimt(25,'l2')); ?>","<?php  echo(getlimt(25,'l1')); ?>","<?php  echo(Loadcolour1(25,'c1')); ?>", "<?php  echo(Loadcolour1(25,'c2')); ?>","<?php  echo(Loadcolour1(25,'c3')); ?>");
   
     setfeaturs(26,"<?php  echo(gettot(26)); ?>","<?php  echo(getlimt(26,'l2')); ?>","<?php  echo(getlimt(26,'l1')); ?>","<?php  echo(Loadcolour1(26,'c1')); ?>", "<?php  echo(Loadcolour1(26,'c2')); ?>","<?php  echo(Loadcolour1(26,'c3')); ?>");
   setfeaturs(27,"<?php  echo(gettot(27)); ?>","<?php  echo(getlimt(27,'l2')); ?>","<?php  echo(getlimt(27,'l1')); ?>","<?php  echo(Loadcolour1(27,'c1')); ?>", "<?php  echo(Loadcolour1(27,'c2')); ?>","<?php  echo(Loadcolour1(27,'c3')); ?>");
  setfeaturs(28,"<?php  echo(gettot(28)); ?>","<?php  echo(getlimt(28,'l2')); ?>","<?php  echo(getlimt(28,'l1')); ?>","<?php  echo(Loadcolour1(28,'c1')); ?>", "<?php  echo(Loadcolour1(28,'c2')); ?>","<?php  echo(Loadcolour1(28,'c3')); ?>");
  
   
   }
  
  
      
    
  
    
</script>

<script>
    
       
   
function setfeaturs(lid,tot,lim1,lim2,c1,c2,c3){
                     
 //var lim1=1000;
 //var lim2=300;
// var c1='#d93a42'
 //var c3='#d93a42'
 //var c2='#d93a42'
 //var a1=10000; //Number(tot);//  getlinamt();//getlinamt(1); //
 var lno="l"+lid;
 var pno="p"+lid;
 var e1 = document.getElementById(lno);
 var elen1 = document.getElementById(pno);

 if (tot>=Number(lim2))
  {
   e1.style.backgroundColor = c1;
 }else if ( tot>=Number(lim1)){
     
     e1.style.backgroundColor = c2;
      
 }else{
   e1.style.backgroundColor = c3;
   
    
   var blink_speed1 = 1000; // every 1000 == 1 second, adjust to suit
   var t = setInterval(function () {
  
   elen1.style.visibility = (elen1.style.visibility == 'hidden' ? '' : 'hidden');
}, blink_speed1);
    } 
    
    
    
    }
   
  function setfeaturs123(lid,c1){
                     
 
 var lno="l"+lid;
 
 var e1 = document.getElementById(lno);
 


   e1.style.backgroundColor = c1;
 
    
    
    
    }
     
    
    
    
    
    </script>
    
    



    
    
    
    
    
    
    
    
    
    
    
    
    
    
    





</html>



  
  
