
<?php 
/*if($_SESSION["login"]!="True")
{
	header('Location:./index.php');
}*/




/*if($_SESSION["login"]!="True")
{
	header('Location:./index.php');
}*/

	

						 
	require_once("config.inc.php");
	require_once("DBConnector.php");
						
	$sql = "delete FROM TMP_EDU_FILTER";
	$db = new DBConnector(); $dbinv = $db->GetConnection();
	$result =$db->RunQuery($sql);
						
	$sql = "delete FROM	TMP_QUALI_FILTER";
	$db = new DBConnector(); $dbinv = $db->GetConnection();
	$result =$db->RunQuery($sql);
?>	

						 
	



<link rel="stylesheet" href="css/table_min.css" type="text/css"/>	
<link rel="stylesheet" type="text/css" media="all" href="css/jsDatePick_ltr.min.css" />
<script type="text/javascript" src="js/jsDatePick.min.1.3.js"></script>


<script language="javascript" type="text/javascript">
<!--
/****************************************************
     Author: Eric King
     Url: http://redrival.com/eak/index.shtml
     This script is free to use as long as this info is left in
     Featured on Dynamic Drive script library (http://www.dynamicdrive.com)
****************************************************/
var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
win=window.open(mypage,myname,settings);}
// -->
</script>

<script type="text/javascript">
function openWin()
{
myWindow=window.open('serach_inv.php','','width=200,height=100');
myWindow.focus();

}
</script>

<script type="text/javascript">
	window.onload = function(){
		new JsDatePick({
			useMode:2,
			target:"dte_dor",
			dateFormat:"%Y-%m-%d"
			/*selectedDate:{				This is an example of what the full configuration offers.
				day:5,						For full documentation about these settings please see the full version of the code.
				month:9,
				year:2006
			},
			yearsRange:[1978,2020],
			limitToToday:false,
			cellColorScheme:"beige",
			dateFormat:"%m-%d-%Y",
			imgPath:"img/",
			weekStartDay:1*/
		});
	};
</script>

</label>
          
<style type="text/css">
<!--
.style1 {
	color: #FF0000;
	font-weight: bold;
	font-size: 18px;
}
-->
</style>
<fieldset>
                                                	<legend>
  <div class="text_forheader">Limit Exceed Form</div>
                                               	 </legend>             

                                                 <input type="hidden" name="txt_stat" id="txt_stat" />
                                                 <input type="text"  name="dtfrom" id="dtfrom" value="<?php echo date("Y-m-d"); ?>"  class="text_purchase1"/>
                                                 <input type="hidden" name="mcount" id="mcount" />
<form name="form1" id="form1"><div class="style1" id="wait_lbl"></div>
<br/>
<fieldset>
<legend></legend>
<table width="100%" border="0">
  
  
  <tr>
	<td colspan="9">
    <div class="CSSTableGenerator" id="itemdetails" >
<table>
                                                        			<tr>
                              											<td width="10%"   background="" ><font color="#FFFFFF">Code</font></td>
                              											<td width="15%"  background=""><font color="#FFFFFF">Name</font></td>
                              											<td width="10%"  background=""><font color="#FFFFFF">Limit</font></td>
                              											<td width="10%"  background=""><font color="#FFFFFF">Outstanding</font></td>
                                                                        <td width="10%"  background=""><font color="#FFFFFF">Ret Chq</font></td>
                                                                        <td width="10%"  background=""><font color="#FFFFFF">Ret Chq - BEN</font></td>
                                                                        <td width="10%"  background=""><font color="#FFFFFF">Order Val</font></td>
                                                                        <td width="10%"  background=""><font color="#FFFFFF">Ex Limit</font></td>
                                                                         <td width="2%"  background=""><font color="#FFFFFF"></font></td>
                                                                          <td width="10%"  background=""><font color="#FFFFFF">PD for Rtn</font></td>
                                                                           <td width="10%"  background=""><font color="#FFFFFF">Over 60</font></td>
                                                                            <td width="2%"  background=""><font color="#FFFFFF"></font></td>
                                                                             <td width="10%"  background=""><font color="#FFFFFF">Settlement</font></td>
                                                                              <td width="10%"  background=""><font color="#FFFFFF">Ret Chq</font></td>
                                                                               <td width="10%"  background=""><font color="#FFFFFF">Settlement</font></td>
                                                                                <td width="2%"  background=""><font color="#FFFFFF"></font></td>
                                                                                 <td width="10%"  background=""><font color="#FFFFFF">Settlement</font></td>
                                                                                  <td width="10%"  background=""><font color="#FFFFFF">Settlement</font></td>
                                                                                   <td width="10%"  background=""><font color="#FFFFFF">Type</font></td>
                           											</tr>
                   												</table>   </div>                                                 		</td>
                                                		</tr>
  
  <tr>
    <td width="10%">&nbsp;</td>
    <td width="30%">&nbsp;</td>
    <td width="10%">&nbsp;</td>
    <td width="10%">&nbsp;</td>
    <td width="10%">&nbsp;</td>
    <td width="10%">&nbsp;</td>
    <td width="10%">&nbsp;</td>
    <td width="10%">&nbsp;</td>
    <td width="10%">&nbsp;</td>
  </tr>
  <tr>
    <td><input type="hidden" name="mcou" id="mcou" /></td>
    <td><div id="storgrid"></div></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
</form>        

</fieldset>    
            
            <table width="765" border="0" cellpadding="0">
<tr>
                	<th height="189" colspan="5" align="left" nowrap="nowrap">
              			<div align="left">

