<?php
ob_start();
require("includes/check_auth_user.php");
require("includes/dbconnect.php");
include('includes/function.php');

mysqli_query($conn, "SET NAMES 'utf8'");
mysqli_query($conn, 'SET CHARACTER SET utf8');

$formname = 'Entry';

$ztit = $_SESSION["tit_" . $dbname];

$maindb = 'visamain';
$trandb = 'visatran';
$trandb2 = 'category';

//$printfile = "invwh_print.php";
$file = 'entrymain.php';
$keyfld = "vouchno";

$keycond = "";


$admin = $_SESSION["admin_" . $dbname];
$zdb = $_SESSION["zdbyear_" . $dbname];
$myyear = $_SESSION[$myyear];
$compcd = $_SESSION["comp_" . $dbname];

$zroot = $_SESSION["zdir"];


mysqli_select_db($conn, $zdb);
//include("includes/vouchno_generate.php");
//include("includes/prev&next.php");

include("includes/linkshead.php");
?>
<script src="MyScript/jquery.scannerdetection.js?a=<?= mt_rand(); ?>" type="text/javascript"></script>

<script src="MyScript/visamofa_search.js" type="text/javascript"></script>

</head>
<body>
    <form action='' method='POST' >
        <!-- Default box -->



        <!--<br>-->
        <div class="panel panel-default">
            <div class="panel-heading">
                <h3 class="panel-title" style="color:inherit"><?php Echo $formname; ?></h3>
                <div class="actions pull-right">
                    <!--<i class="fa fa-chevron-down"></i>-->
                    <!--<i class="fa fa-times"></i>-->
                </div>
            </div>
            <div class="panel-body">
                <div class="row">
                    <div class="col-lg-2">
                        <input type="text" value="" class="form-control ssearch" placeholder="Scan Here">
                    </div>
                    <div class="col-lg-1">
                        OR
                    </div>
                    <div class="col-lg-2">
                        <input type="text" value="" class="form-control ssearch2" placeholder="Search Here">
                    </div>
                    <div class="col-lg-1">
                        <input type="button" class="btn btn-primary sload" value="Search" style="padding: 3px;width: 100%">
                    </div>
                    <div class="col-lg-12 sloader text-center">
                    </div>
                    <div class="col-lg-12 snoRecord text-center">
                        <h3>NO RECORDS FOUND</h3>
                    </div>

                </div>
            </div>

            <div class="col-lg-11 table responsive ssload" style="overflow-y: scroll;height: 480px;">
                <table class="table table-striped table-condensed table-bordered" width="100%" >
                    <thead>
                        <tr class="mySearchTr">
                            <th style="width:5%;">File No.</th>
                            <th style="width:3%;">V.T.</th>
                            <th style="width:20%;">Pax Name</th>
                            <th style="width:10%;">Passport No.</th>
                            <th style="width:10%;">Sponsor</th>
                            <th style="width:10%;">Agent</th>
                            <th style="width:7%;">Id No</th>
                            <th style="width:8%;">Mofa No.</th> 
                            <th style="width:8%;">Mofa No.2</th> 
                            <th style="width:8%;">Visa No.</th> 
                            <th style="width:4%;">Voucher</th>
                            <th style="width:7%;">Date</th>
                            <th align="center"  style="width:1%;">Action</th>
                        </tr>
                    </thead>
                    <tbody class="sTbody">

                    </tbody>  
                </table>
            </div>
            <br>
            <div class="row">
                <div class="col-xs-11 text-right search-action-bar">
                    <input type="button"  class="btn btn-primary sprev" value="Previous">
                    <input type="button"  class="btn btn-primary snext" value="Next">
                </div>
            </div>
        </div>




        <!--        <div class="row">
                    <div class="col-xs-10 text-right search-action-bar">
                        <input type="button"  class="btn btn-primary sprev" value="Previous">
                        <input type="button"  class="btn btn-primary snext" value="Next">
                    </div>
                </div>-->

        <?php include("includes/linksfoot.php"); ?>

</body>
</html>
