<?include_once('includes/top.php');?>
<style>
 td{font-family:arial;font-size:14;color:black;background-color:ivory}
 th{font-family:arial;font-size:14;color:black;background-color:ivory}
 body{background-color:ivory}
 input
  {border-style:ridge;
   border-color:#22437f;
   background-color:white;
   height:25px;
   border-size=1;
   font-family:sans-serif;
   color:BLACK;
  }
</style>

<center>
<p>&nbsp;<p>&nbsp;<p>&nbsp;
<FONT FACE='ARIAL BLACK'>
SELECT DATE FOR DEBTORS AGING
</FONT>
<?
$d1=$_REQUEST['d1'];
$m1=$_REQUEST['m1'];
$y1=$_REQUEST['y1'];
$dt=$y1."-".$m1."-".$d1;
?>
<form action='custledgermail.php?dt=<?echo $dt?>' target='_blank'>
<table border=1 width=250>
<tr><td>As ON</td><td>
<input type=text name=d1 value='<?print date("d",time());?>' size=1>
<input type=text name=m1 value='<?print date("m",time());?>' size=1>
<input type=text name=y1 value='<?print date("Y",time());?>' size=3>
</td></tr>
<tr><td colspan=2 align=center><input type=submit value="Show"></td></tr>
</table>
</form>
