<?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 } 


 $bill_no=$_REQUEST["bill_no"];


 $bill=mysqli_query($con,"select * from onshop where `bill_no`='".$bill_no."' and `status`='active' and `bill_status`='pending' "); $billr=mysqli_fetch_array($bill,MYSQLI_ASSOC);
  $billn=mysqli_num_rows($bill);

?>

<!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>The Star Salon</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>Bank Transaction</b>  </div>
                                            <div class="panel-body" style="text-align: justify;padding-bottom: 0px; padding-top: 6px;"><p style="font-family: Cambria;"><strong>
					 
					 


<a href="?type=new_bank"><img src="add2.png" width="25"> <b><font color="#FF0000">Add new Bank</font></b>	</a>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp; <a href="?type=transaction"> <img src="transaction.png" width="20"> &nbsp;&nbsp;&nbsp; <b><font color="#FF0000"> Transaction History </font></b></a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="?type=debit_credit"> <img src="transaction.png" width="20"> &nbsp;&nbsp;&nbsp; <b><font color="#FF0000"> Debit / Credit </font></b></a>&nbsp;&nbsp;&nbsp; <a href="?type=wallet"> <img src="salary.png" width="30"> <b><font color="#FF0000"> Counter Wallet </font></b></a>
<hr>
<script>
function show_p() {
 var v=document.getElementById("cat").value;
 window.location.href="?id="+v;
}
</script>	 	
<?php  if($_REQUEST["type"]=="new_bank") { ?>
<form method="post">
<table width="100%"><tr ><td><input type="text" name="bank_name" placeholder="Bank Name" style="height:30px; width:172px;" required> <input type="text" placeholder="Branch Name" style="height:30px; width:172px;" name="branch_name" required> <input type="text" placeholder="Account No." style="height:30px; width:172px;" name="account" required> <input type="text" placeholder="IFS Code" name="ifsc" style="height:30px; width:172px;" required> <input type="submit"  style="height:30px; width:72px;" name="bank_submit" value="Submit" > </td></tr></table></form>			
<p>&nbsp;</p>
<?php $id=$_REQUEST["id"]; $i=1; $u=mysqli_query($con,"select * from bank");
?>	
<table width="100%" border="1">
<tr height="35" style="background-color:#660000; color:#FFFFFF"><td align="center">SI No</td><td align="center">A/C No.</td><td align="center">Bank Name</td><td align="center">IFS Code</td><td align="center">Branch</td><td align="center">Action</td></tr><?php 
while($ur=mysqli_fetch_array($u,MYSQLI_ASSOC)) {?>	
<tr height="30" style="background-color:#FFFFCC"><td align="center"><?php echo $i; ?></td><td>&nbsp;<?php echo $ur["acc"]; ?></td><td>&nbsp;<?php echo $ur["bank_name"]; ?></td><td>&nbsp;<?php echo $ur["ifsc"]; ?></td><td>&nbsp;<?php echo $ur["branch"]; ?></td><td></td></tr>
<?php $i++; } ?>
</table>
<?php } else {} ?>	



<?php  if($_REQUEST["type"]=="wallet") { 
 $p=mysqli_query($con,"select * from counter_wallet  "); $pr=mysqli_fetch_array($p,MYSQLI_ASSOC); 
?>
<form method="post">
<table width="100%"><tr ><td><input type="text" name="bank_wallet" placeholder="Amount" style="height:30px; width:172px;" required> <input type="submit"  style="height:30px; width:72px;" name="wallet_submit" value="Submit" > <b>Current Wallet balance : <?php echo $pr["wallet"]; ?></b> </td></tr></table></form>			
<hr>
Show Wallet entry history <b><font color="red">From Date : </font></b>
<input type="date" name="fd" id="cat1" style="width:15%; height:26px; background-color:#99FF66" value="<?php echo $_REQUEST['fd']; ?>">&nbsp;&nbsp;&nbsp;
To : &nbsp;&nbsp;&nbsp;<input type="date" name="td" id="cat2" style="width:15%; height:26px; background-color:#99FF66" onChange="show_ps()" value="<?php echo $_REQUEST['td']; ?>">
<br>
<?php 
 $from_date=$_REQUEST["fd"];
	 $to_date=$_REQUEST["td"];	
$id=$_REQUEST["id"]; $i=1; $u=mysqli_query($con,"select * from counter_cash where `date` BETWEEN '".$from_date."' AND '".$to_date."'");

?>	
<table width="100%" border="1">
<tr height="35" style="background-color:#660000; color:#FFFFFF"><td align="center">SI No</td><td align="center">Date</td><td align="center">Amount</td></tr><?php 
while($ur=mysqli_fetch_array($u,MYSQLI_ASSOC)) {?>	
<tr height="30" style="background-color:#FFFFCC"><td align="center"><?php echo $i; ?></td><td>&nbsp;<?php  $temp_date=date_create($ur["date"]); echo date_format($temp_date,"d/m/y");  ?></td><td>&nbsp;<?php echo $ur["amount"]; ?></td></tr>
<?php $i++; } ?>
</table>
<?php } else {} ?>	
<script>
function show_ps() {
 var v=document.getElementById("cat1").value;
 var vv=document.getElementById("cat2").value;

 window.location.href="?fd="+v+"&td="+vv+"&type=wallet";
}
</script>	





		 

<?php  if($_REQUEST["type"]=="transaction") { ?>
<div style="background-color:#FFCCFF"><br>

<form method="post">
<b> A/C No. 
<select name="select_bank" id="select_bank" style="width:20%; height:25px; background-color:#99FF66" >
    <option value="0">Show All</option>
    <?php $bl=mysqli_query($con,"select * from bank"); while($blr=mysqli_fetch_array($bl,MYSQLI_ASSOC)) { ?>
    <option value="<?php echo $blr["id"]; ?>" <?php if($_REQUEST["bank"]==$blr["id"]) { ?> selected <?php } else {} ?> ><?php echo $blr["acc"]; ?></option>
    <?php } ?>
</select>
<font color="red">From Date : </font></b>
<input type="date" name="fd" id="cat1" style="width:20%; height:25px; background-color:#99FF66" value="<?php echo $_REQUEST['fd']; ?>">&nbsp;&nbsp;&nbsp;
To : &nbsp;&nbsp;&nbsp;<input type="date" name="td" id="cat2" style="width:20%; height:25px; background-color:#99FF66" onChange="show_p()" value="<?php echo $_REQUEST['td']; ?>"> 
</form>
<p>&nbsp;</p> 
	
<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>Date</b></td>
<td align="center"><b>By </b></td>
<td align="center"><b>Bank Name</b></td>
<td align="center"><b>A/C No.</b></td>
<td align="center"><b>Type</b></td>
<td align="center"><b>Tran. Id </b></td>
<td align="center"><b>Debit ( খরচ )</b></td>
<td align="center"><b>Credit ( জমা )</b></td>


<td align="center"><b>Balance</b></td>
</tr>


<?php 
 $from_date=$_REQUEST["fd"];
	 $to_date=$_REQUEST["td"];
	 $bank_id=$_REQUEST["bank"];
 
$i=1;  
if($_REQUEST["bank"]=="0") {
$c=mysqli_query($con,"select * from bank_transfer where `date` BETWEEN '".$from_date."' AND '".$to_date."' ORDER BY `bank_id` ASC "); 
} else { $c=mysqli_query($con,"select * from bank_transfer where `bank_id`='".$bank_id."' and `date` BETWEEN '".$from_date."' AND '".$to_date."' ORDER BY `bank_id` ASC "); 
}
 while($cr=mysqli_fetch_array($c,MYSQLI_ASSOC)) { ?>
 
 <tr style="height:30px; background-color:#FFFFCC; ">
<td align="center"><?php echo $i; ?></td>
<td><?php $temp_date=date_create($cr["date"]); echo date_format($temp_date,"d/m/y"); ?></td>
<td >&nbsp;<?php echo $cr["transaction_by"]; ?></td>

<td > &nbsp;<?php $id=$cr["bank_id"];
$b=mysqli_query($con,"select * from bank where `id`='".$id."' "); 
$br=mysqli_fetch_array($b,MYSQLI_ASSOC);

echo $br["bank_name"]; ?></td>
<td >&nbsp;xxxxx <?php $acc=$br["acc"]; $accc=strlen($acc); echo substr($acc,$accc-3,$accc); ?></td>
<td >&nbsp;<?php echo $cr["type"]; ?><br>&nbsp;<?php echo $cr["transaction_for"]; ?>
</td>
<td >&nbsp;<?php echo $cr["transaction_id"]; ?>
<td ><font color="red">&nbsp;<?php if($cr["transaction_type"]=="DEBIT") {  echo $cr["amount"]; } else { } ?></font></td>
<td ><font color="green">&nbsp;<?php if($cr["transaction_type"]=="CREDIT") {  echo $cr["amount"]; } else { } ?></font></td>


<?php  if($cr["cheque_no"] !="") { ?>
<br>Ch. No.<?php echo $cr["cheque_no"]; ?><br>Date: <?php echo $cr["cheque_date"]; ?>
<?php } else {} ?>

</td>

<td >&nbsp;<?php /*echo $cr["amount"]; $total_am=$total_am + $cr["amount"]; */ echo $am_w=$cr["balance"]; $total_am=$total_am + $cr["balance"]; ?> /-</td>
</tr>
 
 <?php 
$i++; 
 }?>
<!-- <tr style="height:30px;"><td colspan="9" align="right">Total&nbsp;</td><td>&nbsp;<?php echo $total_am; ?> /-</td></tr> -->
 </table>
<script>
function show_p() {
 var v=document.getElementById("cat1").value;
 var vv=document.getElementById("cat2").value;
  var vvv=document.getElementById("select_bank").value;
 window.location.href="?fd="+v+"&td="+vv+"&bank="+vvv+"&type=transaction";
}
</script>	


</div>
<?php } else {} ?>	

<?php  if($_REQUEST["type"]=="debit_credit") { ?>
<div style="background-color:#FFCCFF"><br>

<form method="post">
<table width="100%" border="0">
<tr><td height="40" width="20%">&nbsp;Transaction Date</td>
<td height="40" width="30%" ><input type="date" name="transaction_date" style="height:30px;" required ></td><td rowspan="6"><img src="bank.jpg" width="220"><br>
<?php $cw=mysqli_query($con,"select * from counter_wallet"); $cwr=mysqli_fetch_array($cw,MYSQLI_ASSOC); ?>
Bank Wallet : <?php echo $c_w=$cwr['wallet']; ?> /-
</td></tr>
<tr height="40"><td width="20%">&nbsp;Select Bank</td><td><select style="width:90%; height:30px;" name="bank_name"   >
<?php $q=mysqli_query($con,"select * from bank where `status`='active'"); while($qr=mysqli_fetch_array($q,MYSQLI_ASSOC)){?>
<option value="<?php echo $qr["id"]; ?>"><?php echo $qr["bank_name"]; ?>( <?php echo $qr["acc"]; ?> )</option>
<?php } ?>
</select>
</td></tr>
<tr height="40"><td width="20%">&nbsp;Select Debit / Credit</td><td><select style="width:155px; height:30px;" name="debit_credit"   >
<option value="DEBIT">DEBIT ( খরচ )</option><option value="CREDIT">CREDIT ( জমা )</option>
</select>
</td></tr>

<tr height="40"><td width="20%">&nbsp;Transaction Type</td><td><select style="width:155px; height:30px" onChange="ch_display()" id="tr_type" name="transaction_type"   >
<option value="CASH">CASH</option><option value="NEFT">NEFT</option><option value="RTGS">RTGS</option><option value="IMPS">IMPS</option><option value="NET_BANKING">NET BANKING</option><option value="CHEQUE">CHEQUE</option><option value="GOOGLE-PAY">GOOGLE-PAY</option><option value="PAYTM">PAYTM</option><option value="PHONE-PAY">PHONE-PAY</option><option value="OTHERS">OTHERS</option>
</select>
</td></tr>
<tr height="40"><td width="20%">&nbsp;Transaction Goes To</td><td><select style="width:155px; height:30px" name="transaction_goes_to"   >
<option value="BANK">BANK</option><option value="VENDOR">VENDOR</option>
</select>
</td></tr>
<tr height="40" id="che" style="display:none"><td width="20%">Cheque No.</td><td><input type="text" style="width:155px; height:30px" name="cheque_no" > Date <input type="date" name="cheque_date" ></td></tr>
<tr height="40"><td width="20%">&nbsp;Transaction Id</td><td><input type="text" name="transaction_id" style="width:155px; height:30px" > </td></tr>
<tr height="40"><td width="20%" width="20%">&nbsp;Amount</td>

<td><input type="text" style="width:155px; height:30px" name="amount"   > 
<tr height="40"><td width="20%" width="20%">&nbsp;Remarks</td><td> 
<input type="text" name="remark" style="width:90%; height:30px;" > 
</td>
</tr>
<tr height="40"><td width="20%" width="20%">&nbsp;Transfet By</td><td><select name="transfer_by" id="cat" style="width:155px; height:30px; background-color:#99FF66">
<option  value="0">Select User </option>
<?php $c=mysqli_query($con,"select * from user where `type`!='admin' and `status`='active'"); while($cr=mysqli_fetch_array($c,MYSQLI_ASSOC)) {  $ct=$cr["id"]; ?>
<option  value="<?php echo $cr["name"]; ?>"><?php echo $cr["name"]; ?></option>

<?php } ?>
</select>
</td></tr>
<tr height="40"><td></td><td><input type="submit" value="Submit" name="transaction" style="width:100px; height:30px"  > </td></tr>
</table>
</form>
</div>
<p>&nbsp;</p>
<script>
function ch_display() {
var v=document.getElementById("tr_type").value;
if(v=="CHEQUE") {
document.getElementById("che").style.display = "table-row";
 } else { document.getElementById("che").style.display = "none"; }
}
</script>

<?php } ?>

		 


<?php  
 
if(isset($_POST["wallet_submit"]))
        { 
            $bank_wallet=$_POST["bank_wallet"];
            $date=date('Y-m-d');
          mysqli_query($con,"insert into counter_cash(`amount`,`date`) values('".$bank_wallet."','".$date."')"); 
          $wl=$pr["wallet"]+$bank_wallet; 
          mysqli_query($con,"update counter_wallet set `wallet`='".$wl."' where `id`='1'");
          ?>
         <script>alert("Successfully Added");
         window.location.href="?type=wallet";
         </script> <?php   
            
        }


if(isset($_POST["transaction"]))
        { 
		$amount=$_POST["amount"];
	$bank_name=$_POST["bank_name"];
	$transaction_date=$_POST["transaction_date"];		
	$debit_credit=$_POST["debit_credit"];
	$transaction_type=$_POST["transaction_type"];
	
	$cheque_no=$_POST["cheque_no"];
	$cheque_date=$_POST["cheque_date"];
	$transaction_id=$_POST["transaction_id"];
	$transfer_by=$_POST["transfer_by"];
	$transaction_goes_to=$_POST["transaction_goes_to"];
	$remark=$_POST["remark"];
	$ch=mysqli_query($con,"select * from bank_transfer ORDER BY `id` DESC"); $chr=mysqli_fetch_array($ch,MYSQLI_ASSOC);
	$balance=$chr["balance"];
	if($debit_credit=="CREDIT") {
	 $c_w=$c_w-$amount;
	
	 if($c_w <0) { ?> <script>alert("Wallet amount not available"); window.location.href="?type=debit_credit";</script> <?php  } else {  $balance=$balance+$amount; }
	 
	 
	 } else {
	    $balance=$balance-$amount;
	 }
	 if($c_w >=0) {
	 mysqli_query($con,"insert into  bank_transfer (`bank_id`,`amount`,`transaction_type`,`type`,`cheque_no`,`cheque_date`,`date`,`transaction_id`,`transaction_by`,`remark`,`balance`,`transaction_for`) values('".$bank_name."','".$amount."','".$debit_credit."','".$transaction_type."','".$cheque_no."','".$cheque_date."','".$transaction_date."','".$transaction_id."','".$transfer_by."','".$remark."','".$balance."','".$transaction_goes_to."')");	
	mysqli_query($con,"update `counter_wallet` set `wallet`='".$c_w."'");

		?>
<script> alert("Added Successfull");
window.location.href="?type=transaction";
</script><?php 		
	} else {}	
		}



if(isset($_POST["bank_submit"]))
        { 
	
	$bank_name=$_POST["bank_name"];	
	$branch_name=$_POST["branch_name"];
	$date=date('Y-m-d');
	$account=$_POST["account"];

	$ifsc=$_POST["ifsc"];
	
	 mysqli_query($con,"insert into  bank (`bank_name`,`branch`,`ifsc`,`acc`,`status`) values('".$bank_name."','".$branch_name."','".$ifsc."','".$account."','active')");	
		?>
<script>alert("New Bank Added");
window.location.href="?type=new_bank";
</script><?php 		
		} 




if(isset($_POST["apay"]))
        { 
	$id=$_REQUEST["id"];
	$full_salary=$_REQUEST["full_salary"];
	$rs=$_POST["advance"];	
	$rs2=$_POST["advne"];
	$date=date('Y-m-d');
	$rss=$rs+$rs2; // total due 
	$remain=$rs2+$rs;
	mysqli_query($con,"update user set  `advance_date`='".$date."',`remain_advance`='".$remain."' where `id`='".$id."'");	
	
	mysqli_query($con,"insert into  salary (`emp_id`,`advance`,`type`,`total_advance`,`remain_advance`,`date`) values('".$id."','".$rs."','0','".$rss."','".$remain."','".$date."')");	
		?>
<script>alert(" Advance Salary Successfully Done");
window.location.href="?id=<?php echo $_REQUEST['id']; ?>";
</script><?php 		
		} ?>					 
					 
	<!--				 					
											 <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>