<?php session_start();
include("connection.php");
error_reporting(E_ERROR | E_PARSE); 
if($_SESSION["user_id"]==true) {
} else {?><script> window.location.href='login/'; </script> <?php } 

 $id=$_REQUEST["id"];
 if($id!="") {
mysqli_query($con,"delete from product where `id`='".$id."'");
?><script>window.location.href="kitchen.php";</script> <?php 
} else {}
?>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- /Added by HTTrack --><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!--
<link type="text/css" rel="stylesheet" href="javax.faces.resource/themeab55.css?ln=primefaces-aristo" />
<link type="text/css" rel="stylesheet" href="javax.faces.resource/dist-butterfaces-bootstrap.min4e5d.css?ln=butterfaces-dist-css" />
-->
<link type="text/css" rel="stylesheet" href="javax.faces.resource/css/default.css" />
<link type="text/css" rel="stylesheet" href="javax.faces.resource/css/cssLayout.css" />
<link type="text/css" rel="stylesheet" href="javax.faces.resource/css/bootstrap.css" />
<link type="text/css" rel="stylesheet" href="javax.faces.resource/css/bootstrap.min.css" />
<link type="text/css" rel="stylesheet" href="javax.faces.resource/css/popup.css" />
<link type="text/css" rel="stylesheet" href="javax.faces.resource/css/menu.css" />
<!--
<script type="text/javascript" src="javax.faces.resource/butterfaces-all-with-jquery-and-bootstrap-bundle.min686a.js?ln=butterfaces-dist-bundle-js"></script>
<script type="text/javascript" src="javax.faces.resource/js/jquery-3.4.0.min.js"></script>
<script type="text/javascript" src="javax.faces.resource/js/bootstrap.js"></script>
<script type="text/javascript" src="javax.faces.resource/js/jquery-1.11.2.js"></script>
<script type="text/javascript" src="javax.faces.resource/js/jssor.slider-27.5.0.min.js"></script>
<script type="text/javascript" src="javax.faces.resource/jquery8490.js?ln=js"></script>
<script type="text/javascript" src="javax.faces.resource/menu8490.js?ln=js"></script>
<script type="text/javascript" src="javax.faces.resource/js/canvasjs.min.js"></script>
        
  -->     
        <script type="text/javascript">
            $(function() {
                $('ul.nav li.dropdown').hover(function() {
                    $(this).find('.dropdown-menu').stop(true, true).delay(100).fadeIn(500);
                }, function() {
                    $(this).find('.dropdown-menu').stop(true, true).delay(100).fadeOut(500);
                });
            });
        </script>
        <script type="text/javascript">
            $(function() {
                $("#notice").fadeIn("slow").append('');
                $(".dismis").click(function() {
                    $("#notice").fadeOut("slow");
                });
            });
        </script>
		
<script>
function lfn_SelectSection(p_Class)
    {
        document.getElementById('cusname').disabled=false;
		
  
        $.ajax({
		
                    type: "GET",
                    url: "ajax_location.html?classID=" + p_Class,
                    success: function(state) {
                    document.getElementById('cusname').innerHTML=state;    
					
                    }
        });
		
	 
		
		
    }

</script>
<style> 
        input.largerCheckbox { 
            width: 20px; 
            height: 20px; 
			
        } 
    </style> 
        <title>Katha O Cafe</title></head><body>

        <div id="top">


                    <div class="container-fluid text-center" style="margin-left: 5px"> 
                        <div class="row">
                            <div class="col-sm-1">
							<!-- Logo -->
							
							
                            </div>                           
                                       
                           
                        </div>
                    </div>

                    <!-- Menu start  -->

                    <nav class="navbar navbar-expand-lg header-m" role="navigation">
                        <div class="container-fluid">
                            <div class="navbar-header">
                                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                                    <span class="sr-only">Toggle navigation</span>
                                    <span class="icon-bar" style="background-color: #fff;"></span>
                                    <span class="icon-bar" style="background-color: #fff;"></span>
                                    <span class="icon-bar" style="background-color: #fff;"></span>
                                </button>
                                <a class="navbar-brand" href="#"></a>
                            </div>

                            <!-- Collect the nav links, forms, and other content for toggling -->
                            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                                <?php include("include/header.php"); ?>
                            </div>

                            <!-- /.navbar-collapse -->
                        </div>
                        <!-- /.container-fluid -->
                    </nav>

        </div>

        <div id="content" class="center_content" style="background-image:url(wall.jpg)">

                    <div class="container-fluid text-center">    
                        <div class="row">
                            <div class="col-sm-2" style="padding-right: 0px;">
							
							
							
							
							
                                <?php include("include/left.php"); ?>

                                </div>

                            </div>

                            <div class="col-sm-8" style="padding-right: 2px; padding-left:2px;">

                                <div class="row" >
                                    <div class="col-sm-12" >

                                        <div class="panel panel-primary" style="background-color: rgb(186,233,254);border: 1px solid #000; margin-bottom: 0px; background-image:url(wall.jpg) ">
                                            <div class="panel-heading" style="font-size: 20px; font-family: serif; background-color: #007de8; color:#CCFF00"> <b>Today's Stock Report</b>  </div>
                                            <div class="panel-body" style="text-align: justify;padding-bottom: 0px; padding-top: 6px;"><p style="font-family: Cambria;"><strong>
					 
					 

<b>Curent Stock </b>
<!-- <a href="add_product_detail.php"><img src="add2.png" width="50"> <b><font color="#FF0000">Add new Item</font></b>	</a> -->
<script>
function show_p() {
 var v=document.getElementById("cat").value;
 window.location.href="?id="+v;
}
</script>	 
<!--
<table style="width:100%;" border="1"	>
<tr style="height:30px; background-color:#0066FF; color:#FFFFFF;">
<td align="center"><b>Sl No.</b></td>
<td align="center"><b>Product Name </b></td>
<td align="center"><b>Price</b></td>
<td align="center"><b>Stock</b></td>
<td align="center"><b>Volume</b></td>
<td align="center"><b>Photo</b></td><td align="center"><b>Action</b></td>
</tr>
<?php 



$i=1; $id=$_REQUEST["id"]; $stock_amount=0;
if($id !="1" AND $id !="0") { $c=mysqli_query($con,"select * from product where `category`='Kitchen' "); } else {}
 while($cpr=mysqli_fetch_array($c,MYSQLI_ASSOC)) { ?>

<tr <?php if($i%2 =="0") { ?> style="background-color:#FFE9D2" <?php } else { ?> style="background-color:#A4FFA4" <?php } ?> height="35" >

<td align="center"><?php echo $i; ?></td>
<td >&nbsp;<?php echo $cpn= $cpr["product_name"]; ?></td>


<td> &nbsp;<?php echo $cpr["price"]; ?></td>
<td> &nbsp;<?php echo $cpr["quantity"]; ?> <?php echo $cpr["unit"]; $s_amount=$cpr["quantity"]*$cpr["price"]; $stock_amount=$stock_amount+$s_amount ?></td>
<td>&nbsp;<?php echo $cpr["volume"]; ?></td>


<td><img src="<?php echo $cpr['photo']; ?>" width="40"></td>
<td align="center"> <a href="edit_kitchen.php?id=<?php echo $cpr['id']; ?>"> <img src="minus.png" width="27"> </a><a href="add_kitchen_product.php?type=1&id=<?php echo $cpr['id']; ?>"> <img src="add.png" width="35"> </a> <a href="edit_kitchen_product.php?id=<?php echo $cpr['id']; ?>"><img src="edit.png" width="20"></a> <a href="?id=<?php echo $cpr['id'] ?>" onClick="return confirm('Are you sure you want to delete this item?');" ><img src="del.png" width="22"></a></td>
</tr>

<?php $i++; }



?>
<tr><td colspan="2" align="right"><b>Stock Price Rs. &nbsp; </b></td><td colspan="2">&nbsp;<b><?php echo $stock_amount; ?> /-</b></td><td colspan="3"></td></tr>
</table>
-->


<table style="width: 100%" border="1" >
<tr style="height:30px; background-color:#0099FF">
    <td style="width: 15%"><b>&nbsp;Product Type</b></td>

    <td style="width: 15%"><b>&nbsp;Counter Stock Amount.</b></td>
 </tr>
 <?php
 $godown_s=0; $counter_s=0; $godown_amount=0; $c_amount=0; $total_g_amount=0; $total_c_amount=0; $total_c_stock=0; $total_g_stock=0;
 
 ?>
   <?php
 $godown_s=0; $counter_s=0; $godown_amount=0; $c_amount=0;
 $c=mysqli_query($con,"select * from product where `category`='Kitchen' "); while($cpr=mysqli_fetch_array($c,MYSQLI_ASSOC)) {
  
    $s_amount=$cpr["mrp"]*$cpr["quantity"]; $c_amount=$c_amount+$s_amount; 
     
 }?>
  <tr><td style="width: 18%; height:30px;">&nbsp;&nbsp;<b>Kitchen</b></td> <td style="width: 15%">&nbsp;&nbsp;<?php echo $c_amount; ?> /-</td></tr>
     <?php
 $godown_s=0; $counter_s=0; $godown_amount=0; $c_amount2=0;
 $c=mysqli_query($con,"select * from product where `category` !='Kitchen' "); while($cpr=mysqli_fetch_array($c,MYSQLI_ASSOC)) {
    $s_amount=$cpr["mrp"]*$cpr["quantity"]; $c_amount2=$c_amount2+$s_amount; 
     
 }?>
    <tr><td style="width: 18%; height:30px;">&nbsp;&nbsp;<b>Others</b></td> <td style="width: 15%">&nbsp;&nbsp;<?php echo $c_amount2; ?> /-</td></tr>
	 <tr><td style="width: 18%; height:30px;" align="right"><b>Total &nbsp;&nbsp;</b></td> <td style="width: 15%; background-color:#FFCCCC">&nbsp;&nbsp;<b><?php echo $c_amount+$c_amount2; ?> /-</b></td></tr>
       <?php
 $godown_s=0; $counter_s=0; $godown_amount=0; $c_amount=0;
 $c=mysqli_query($con,"select * from product where `category`='Whisky' "); while($cpr=mysqli_fetch_array($c,MYSQLI_ASSOC)) {
   $g_amount=$cpr["mrp"]*$cpr["g_quantity"]; $godown_amount=$godown_amount+$g_amount;  
   $total_g_amount=$total_g_amount+$g_amount;
    $s_amount=$cpr["price"]*$cpr["quantity"]; $c_amount=$c_amount+$s_amount; 
      $total_c_amount=$total_c_amount+$s_amount;
     $godown_s=$godown_s + $cpr["g_quantity"]; 
    $counter_s=$counter_s + $cpr["quantity"];
    $total_g_stock=$total_g_stock+ $cpr["g_quantity"];
    $total_c_stock=$total_c_stock+ $cpr["quantity"];
 }?>
    
       
</table>




<?php   if(isset($_POST["save"]))
        {
		 $pt=$_POST["pt"];
		 $bill_no=$_REQUEST["bill_no"];
$b=mysqli_query($con,"select * from onshop where `bill_status`='pending' and `bill_no`='".$bill_no."'  "); $i=1; while($br=mysqli_fetch_array($b,MYSQLI_ASSOC)) {	
  $p_id=$br["product_id"];
  $p=mysqli_query($con,"select * from product where `id`='".$p_id."'" ); $pr=mysqli_fetch_array($p,MYSQLI_ASSOC);
		 $qnty=$br["qnty"];	
           $quantity=$pr["quantity"];
		if($br["peg_bottle"]=="peg") {  
					
					 $p=mysqli_query($con,"select * from product where `id`='".$p_id."'" ); $pr=mysqli_fetch_array($p,MYSQLI_ASSOC);
					  $total_peg=$pr["total_peg"];  //bottle
					  $current_peg=$pr["curent_peg"]; //bottle
					  
					  $remain=$total_peg - $current_peg; // peg to empty bottle 
					// $current_peg=$current_peg+ $qnty;
		 		if($qnty==$remain) {
		   			  $quantity=$quantity-1; // final quantity
					  $current_peg=0;  // final current peg
		 		} else { 
				     if($qnty > $remain) {  $qnty=$qnty-$remain;   $quantity=$quantity-1;  
					 $bc=intval($qnty/$total_peg);
					 $quantity=$quantity-$bc;
					 $remain2=$bc*$total_peg;
					 $remain2=$qnty-$remain2;
					 $current_peg=$remain2;
					 } else { $quantity;  $current_peg=$current_peg+1; }
				   /* $bc=intval($qnty/$total_peg);
				    $quantity=$quantity-$bc;
					 $remain2=$bc*$total_peg;
					 $remain2=$qnty-$remain2; //remain peg
					if($remain2>=$remain) { echo $quantity=$quantity-1;  echo $current_peg=$remain2-$remain;  } else {  }*/
				   
				}
				mysqli_query($con,"update product set `curent_peg`='".$current_peg."', `quantity`='".$quantity."' where `id`='".$p_id."' ");	
			
		
		} else { 
		$quantity=$pr["quantity"];
		 $quantity=$quantity-$qnty;
	mysqli_query($con,"update product set `quantity`='".$quantity."' where `id`='".$p_id."' ");
		}
		
 		
 mysqli_query($con,"update onshop set `bill_status`='complete', `payable`='".$pt."' where `bill_no`='".$bill_no."' ");	



?><script>window.location.href="index.php";</script><?php 	
}		
		}?>				 
<p>&nbsp;</p>					 
				
<h4><b>Total Stock report in Dolphin as on <?php  $dates=date('Y-m-d'); $temp_date=date_create(date['Y-m-d']); echo date_format($temp_date,"d/m/y"); ?></b></h4>					 
<!--					 
<table style="width: 70%" border="1" >
    <tr><td style="width: 20%; height:30px;" align="center" ><b>Description</b></td><td style="width: 5%" align="center"><b>Quantity</b></td> <td style="width: 5%" align="center"><b>Amount</b></td></tr>
<tr><td style="width: 20%; height:30px;" ><b>Wine Stock in Counter</b></td><td style="width: 5%" align="center"><b><?php echo $wine_c_s+$whisky_c_s+$bear_c_s+$ram_c_s+$vodka_c_s; ?></b></td> <td style="width: 5%"><b><?php echo $wine_c_a+$whisky_c_a+$bear_c_a+$ram_c_a+$vodka_c_a; ?> /-</b></td></tr>
<tr><td style="width: 20%; height:30px;" ><b>Wine Stock in Godown</b></td><td style="width: 5%" align="center"><b><?php echo $wine_g_s+$whisky_g_s+$bear_g_s+$ram_g_s+$vodka_g_s; ?></b></td> <td style="width: 5%"><b><?php echo $wine_g_a+$whisky_g_a+$bear_g_a+$ram_g_a+$vodka_g_a; ?> /-</b></td></tr>
<tr><td style="width: 20%; height:30px;" ><b>Kitchen Stock in Godown</b></td><td style="width: 5%" align="center"><b>----</b></td> <td style="width: 5%"><b><?php echo $kitchen_g_a; ?> /-</b></td></tr>
<tr><td style="width: 20%; height:30px;" ><b>Kitchen Stock in Counter</b></td><td style="width: 5%" align="center"><b>----</b></td> <td style="width: 5%"><b><?php echo $kitchen_c_a; ?> /-</b></td></tr>
<?php $bt=mysqli_query($con,"select SUM(amount) as debits from bank_transfer where  `transaction_type`='DEBIT' and `date`='".$dates."'"); $btr=mysqli_fetch_array($bt,MYSQLI_ASSOC); ?>
<tr><td style="width: 20%; height:30px;" ><b>Bank Transfer Debit</b></td><td style="width: 5%" align="center"><b>----</b></td> <td style="width: 5%"><b><?php echo $btr["debits"]; ?> /-</b></td></tr>
<?php $bt=mysqli_query($con,"select SUM(amount) as credits from bank_transfer where  `transaction_type`='CREDIT' and `date`='".$dates."'"); $btr=mysqli_fetch_array($bt,MYSQLI_ASSOC); ?>
<tr><td style="width: 20%; height:30px;" ><b>Bank transfer Credit</b></td><td style="width: 5%" align="center"><b>----</b></td> <td style="width: 5%"><b><?php echo $btr["credits"]; ?> /-</b></td></tr>
<?php  $y= $sr["total"]; 
$z=0; $cp=mysqli_query($con,"select due from onshop where bill_status='complete' GROUP BY `bill_no`  "); 
 while($cpr=mysqli_fetch_array($cp,MYSQLI_ASSOC)) {
     $z=$z+$cpr['due'];
 } ?>
<tr><td style="width: 20%; height:30px;" ><b>Due from Customer</b></td><td style="width: 5%" align="center"><b>----</b></td> <td style="width: 5%"><b><?php echo $z; ?></b></td></tr>
 <?php  
$z=0; $cp=mysqli_query($con,"select SUM(wallet) as w from user where status='active' and `wallet`>0  "); 
 $cpr=mysqli_fetch_array($cp,MYSQLI_ASSOC);
     $zz=$cpr['w']; ?>
 <tr><td style="width: 20%; height:30px;" ><b>Employee Wallet</b></td><td style="width: 5%" align="center"><b>----</b></td> <td style="width: 5%"><b><?php echo $zz; ?></b></td></tr>
 <?php  
$z=0; $cp=mysqli_query($con,"select SUM(wallet) as w from user where status='active' and `wallet`<0  "); 
 $cpr=mysqli_fetch_array($cp,MYSQLI_ASSOC);
     $zz=$cpr['w']; ?>
 <tr><td style="width: 20%; height:30px;" ><b>Employee Outstanding</b></td><td style="width: 5%" align="center"><b>----</b></td> <td style="width: 5%"><b><?php echo $zz*(-1); ?></b></td></tr>
 
 </table>
 -->
 
 
<table style="width: 70%" border="1" >
    <tr style="width: 20%; height:30px; background-color:#6666FF; color:#FFFFFF"><td style="width: 20%; height:30px; " align="center" ><b>Description</b></td><td style="width: 5%" align="center"><b>Quantity</b></td> <td style="width: 5%" align="center"><b>Amount</b></td></tr>
	




<?php $bt=mysqli_query($con,"select SUM(amount) as credits from bank_transfer where  `transaction_type`='CREDIT' and `date`='".$dates."'"); $btr=mysqli_fetch_array($bt,MYSQLI_ASSOC); ?>








<!--<tr>  <td style="width: 20%; height:30px;" ><b>Bank  (<strong>&#2460;&#2478;&#2494;</strong>) Cash Balance  </b></td>
  <td style="width: 5%" align="center"><b>----</b></td> <td style="width: 5%"><b><?php echo $btr["credits"]; ?> /-</b></td></tr> -->
<tr>  <td style="width: 20%; height:30px;" ><b>Bank  (<strong>&#2460;&#2478;&#2494;</strong>) Cash Balance  </b></td>
  <td style="width: 5%" align="center"><b>----</b></td> <td style="width: 5%"><b><?php 
  $l=mysqli_query($con,"SELECT id,balance FROM bank_transfer ORDER BY id DESC LIMIT 1;");
  $lr=mysqli_fetch_array($l,MYSQLI_ASSOC);
  
  echo $lr["balance"]; ?> /-</b></td></tr>
<?php $bt=mysqli_query($con,"select SUM(amount) as debits from bank_transfer where  `transaction_type`='DEBIT' and `date`='".$dates."'"); $btr=mysqli_fetch_array($bt,MYSQLI_ASSOC); ?>
<!--<tr>
  <td style="width: 20%; height:30px;" ><b>Bank transfer Debit (<strong>&#2454;&#2480;&#2458;</strong>) </b></td>
  <td style="width: 5%" align="center"><b>----</b></td> <td style="width: 5%"><b><?php echo $btr["credits"]; ?> /-</b></td></tr> -->
<?php  $y= $sr["total"]; 
$z=0; $cp=mysqli_query($con,"select due from onshop where bill_status='complete' GROUP BY `bill_no`  "); 
 while($cpr=mysqli_fetch_array($cp,MYSQLI_ASSOC)) {
     $z=$z+$cpr['due'];
 } ?>
<tr>
  <td style="width: 20%; height:30px;" ><b>Due Amount in Customer </b></td>
  <td style="width: 5%" align="center"><b>----</b></td> 
  <td style="width: 5%"><b><?php echo $z; ?> /- </b></td>
</tr>
   <?php  
$z=0; $cp=mysqli_query($con,"select SUM(wallet) as w from user where status='active' and `wallet`<0  "); 
 $cpr=mysqli_fetch_array($cp,MYSQLI_ASSOC);
     $zz=$cpr['w']; ?>
 <tr><td style="width: 20%; height:30px;" ><b>Advance Cash in Employee</b></td><td style="width: 5%" align="center"><b>----</b></td> 
 <td style="width: 5%"><b><?php echo $zz*(-1); ?> /- </b></td>
 </tr>
 <?php  
$z=0; $cp=mysqli_query($con,"select SUM(wallet) as w from user where status='active' and `wallet`>0  "); 
 $cpr=mysqli_fetch_array($cp,MYSQLI_ASSOC);
     $zz=$cpr['w']; ?>
 <tr>
   <td style="width: 20%; height:30px;" ><b> <font color="#FF0000">Wallet (<strong>&#2460;&#2478;&#2494;</strong>) Cash in Employee</font></b></td>
   <td style="width: 5%" align="center"><b>----</b></td> <td style="width: 5%"><b><?php echo $zz; ?> /-</b></td></tr>

  <tr>
   <td style="width: 20%; height:30px;" ><b>Total Expense  </b></td>
   <td style="width: 5%" align="center"><b>----</b></td> 
   <td style="width: 5%"><b><?php $e=mysqli_query($con,"select SUM(amount) as amounts from expense where `date`='".$dates."' "); $er=mysqli_fetch_array($e,MYSQLI_ASSOC); 
   echo $er['amounts'];
   ?> </b></td>
  </tr>
   <?php $bt=mysqli_query($con,"select * from counter_wallet"); $btr=mysqli_fetch_array($bt,MYSQLI_ASSOC); ?>
    <tr>
   <td style="width: 20%; height:30px;" ><b>Bank Wallet (<strong>&#2460;&#2478;&#2494;</strong>)  Cash  </b></td>
   <td style="width: 5%" align="center"><b>----</b></td> <td style="width: 5%"><b><?php echo $bank_wallet=$btr['wallet']; ?> /-</b></td></tr>
<?php 
//$t_s=mysqli_query($con,"select ")

$l=0; $bt=mysqli_query($con,"select payable,due from onshop where  `bill_status`='complete' and `bill_date`='".$dates."' GROUP BY `bill_no`"); while($btr=mysqli_fetch_array($bt,MYSQLI_ASSOC)) { ?>
<?php $l=$l+ $btr['payable']; // total sell
$l2=$l2+ $btr['due']; //due bill
}?>
<?php $bt=mysqli_query($con,"select SUM(amount) as amounts from due_receive where  `date`='".$dates."'"); $btr=mysqli_fetch_array($bt,MYSQLI_ASSOC); 
$l3=$l3+$btr['amounts']; // due amount receive
?>
<?php $bt=mysqli_query($con,"select SUM(amount) as amounts from expense where  `date`='".$dates."' "); $btr=mysqli_fetch_array($bt,MYSQLI_ASSOC); 
$l4=$l4+$btr['amounts']; // expense
?>

<tr>
   <td style="width: 20%; height:30px;" ><b>Runing Cash in Cash Counter  </b></td>
   <td style="width: 5%" align="center"><b>----</b></td> <td style="width: 5%"><b><?php echo $l+$l3-$l2-$l4; ?> /-</b></td></tr>


 </table>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
	<!--				 					
											 <select name="class" id="class" class="form-control" onChange="lfn_SelectSection(this.value);">
                                            <option value="">--- Please Select Class ----</option>
                                             <option value="A">A</option>
											 <option value="B">B</option>
											 <option value="C">C</option>
                                             </select>
											Section
											 <select type="text" name="secname" id="secname" class="form-control" >
                                        	<option value="0">------select Section_o------</option>

                                        </select> -->	
										
                                                    </strong></p></div>
                                        </div>



                                    </div>
                                </div>

                            <!--   <div class="well" style="padding: 5px;background-color: rgb(186,233,254); border: 1px solid #000; margin-bottom: 1px;">
                                    <div class="row">
                                        
                                        
                                       
                                        
                                        
                                        
                                    </div> 
                                </div>-->
                                <div class="row">
                                   <!-- <div class="col-sm-2">
                                        <div class="panel panel-primary" style="background-color: antiquewhite;">
                                            <div class="panel-body" style="border: 1px solid #000"><img src="javax.faces.resource/school-educatione0f8.png?ln=img" width="50" />  </div>
                                            <div class="panel-footer" style="padding: 1px 2px; background-color: #007de8; font-size: 13px;"><a href="../e_Pension/AdminLogin.html"> School Education Department Users</a>  </div>
                                        </div>
                                    </div>
                                    <div class="col-sm-2">
                                        <div class="panel panel-primary" style="background-color: #7c5a5e;">
                                            <div class="panel-body" style="border: 1px solid #000"><img src="javax.faces.resource/villagee0f8.png?ln=img" width="50" /></div>
                                            <div class="panel-footer" style="padding: 1px 2px;background-color: #007de8; font-size: 13px;"><a href="../e_Pension/AdminLogin.html">P &amp; R D Department Users</a>  </div>
                                        </div>
                                    </div>
                                    <div class="col-sm-2">
                                        <div class="panel panel-primary" style="background-color: #f6f191;">
                                            <div class="panel-body" style="border: 1px solid #000"><img src="javax.faces.resource/librarye0f8.png?ln=img" width="50" /></div>
                                            <div class="panel-footer" style="padding: 1px 2px;background-color: #007de8; font-size: 13px;"><a href="../e_Pension/AdminLogin.html">UD &amp; MA Department Users</a>  </div>
                                        </div>
                                    </div>
                                    <div class="col-sm-2">
                                        <div class="panel panel-primary" style="background-color: #fff;">
                                            <div class="panel-body" style="border: 1px solid #000"><img src="javax.faces.resource/images6e0f8.png?ln=img" width="50" /></div>
                                            <div class="panel-footer" style="padding: 1px 2px;background-color: #007de8; font-size: 13px;"><a href="../e_Pension/AdminLogin.html"> MEE &amp; LS Department Users</a>  </div>
                                        </div>
                                    </div>
                                    <div class="col-sm-2">
                                        <div class="panel panel-primary" style="background-color: #ffdc6a;">
                                            <div class="panel-body" style="border: 1px solid #000"><img src="javax.faces.resource/treasurye0f8.png?ln=img" width="50" /></div>
                                            <div class="panel-footer" style="padding: 10px 5px;background-color: #007de8; font-size: 13px;"><a href="../e_Pension/AdminLogin.html">Treasury Users</a>  </div>
                                        </div>
                                    </div>
                                    <div class="col-sm-2">
                                        <div class="panel panel-primary" style="background-color: #5cfef2;">
                                            <div class="panel-body" style="border: 1px solid #000"><img src="javax.faces.resource/users-groupe0f8.png?ln=img" width="50" /></div>
                                            <div class="panel-footer" style="padding: 1px 2px;background-color: #007de8; font-size: 12px;"><a href="../e_Pension/AdminLogin.html">Other Departments Users</a>  </div>
                                        </div>
                                    </div>    -->
                                </div>
                            
                               

                            </div>
                            <div class="col-sm-2" style="padding-left:0px;">
                                <?php include("include/right.php"); ?>
                            </div>                     
                        </div>

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


       <?php include("include/footer.php"); ?>

		
		
		</body>



</html>