<?php
ini_set('session.gc_maxlifetime', 30 * 60 * 60 * 60);
session_start();
$_SESSION["brand"] = "";
if ($_SESSION["dev"] == "") {
    echo "Invalid User Session";
    exit();
}
?>

<link rel="stylesheet" href="css/themes/redmond/jquery-ui-1.10.3.custom.css" />

<!-- Main content -->
<section class="content">

    <div class="box box-primary">
        <div class="box-header with-border">
            <h3 class="box-title">CHECKER</h3>
        </div>

        <form role="form" name ="form1" class="form-horizontal" target="_blank" action="checker_print.php">
            <div class="box-body">
                <br>               
                <div class="form-group">
                     <a onclick="location.reload()" class="btn btn-default">
                            <span class="fa fa-user-plus"></span> &nbsp; New

                        </a>
                      
                          <input type="submit" class="btn btn-default" value="PRINT" id="button" name="button">

                       
 

                </div>
                <div id="msg_box"  class="span12 text-center"  ></div>
                <div class="form-group">
                    <label class="col-sm-1 control-label" for="invno">Code</label>
                    <div class="col-sm-1">
                        <input type="text"  class="form-control input-sm  "   name="Txtcusco" id="Txtcusco">
                    </div>

                    <div class="col-sm-3">
                        <input type="text" class="form-control input-sm  " disabled="disabled" id="txtcusname" name="txtcusname" />
                    </div>
                    
                    <div class="col-sm-1">
                        <a href=""  class="btn btn-danger btn-sm " onClick="NewWindow('../serach_customer.php?stname=ret_cheque_entry', 'mywin', '800', '700', 'yes', 'center');
                                return false" onFocus="this.blur()">
                            ...
                        </a>
                    </div>
              
                

                    <label class="col-sm-1 control-label" for="sdate">Date From</label>
                    <div class="col-sm-2">
                        <input type="text" value="<?php echo date('Y-m-d'); ?>" name="dtfrom" id="dtfrom" class="form-control dt input-sm">  
                    </div>
                     <label class="col-sm-1 control-label" for="sdate">Date To</label>
                    <div class="col-sm-2">
                        <input type="text" value="<?php echo date('Y-m-d'); ?>" name="dtto" id="dtto" class="form-control dt input-sm">  
                    </div>

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

</section>

 

<script>
                            function myFunction() {
                                location.reload();
                            }
</script>