
<style>
.label{
background-color: #B7B7B7;
    color: #000000;
    font-size: 10.5px;
    font-weight: bold !important;
    padding: 5px 10px;
    text-align: left;
}
</style>
<form action="" method="post">
<div align="center">
<h3>Retention Release Report</h3>
<table >
  <tr>
    <td><table width="100%" border="0" cellspacing="2" cellpadding="2">
     <tr>
        <td class="label">Project</td>
        <td><select name="project"  id="project" style="width: 200px">
    <option value="0">Select</option>	
    <?php
    $proj=DB_query("select * from locations",$db);
	while($locdata=DB_fetch_array($proj))
	{
	$c='';	
	if($project==$locdata['loccode'])
	{
	$c="selected";	
	}    
     ?>	
    <option value="<?php echo $locdata['loccode']; ?>"<?php echo $c; ?>><?php echo $locdata['locationname']; ?></option>	
    <?php } ?>
   </select></td>
   </tr>
    <tr>
    <td class="label">Contractor</td>
     <td><select name="contractor" id="contractor" style="width: 200px">
    <option value="0">Select</option>	
    <?php
    $cont=DB_query("select * from sub_contractor_definition",$db);
	while($contdata=DB_fetch_array($cont))
	{
	$e='';
	if($contdata['id']==$contractor)
	{
	$e="selected";	
	}	    
     ?>	
    <option value="<?php echo $contdata['id']; ?>"<?php echo $e; ?>><?php echo $contdata['contractor_name']; ?></option>	
    <?php } ?>	
    	
 </select></td></tr>
 <tr>
          <td class="label">Request From Date</td>
        <td><input type="text" name="from_date" id="from_date" class="datepicker" style="width: 100px">
   </td>
      </tr>
       <tr>
          <td class="label">Request To Date</td>
        <td><input type="text" name="to_date" id="to_date" class="datepicker" style="width: 100px">
   </td>
      </tr>
   
    </table>
    </td>
  </tr>
</table>
 
</div>
<br>
<div align="right">
<table width="100%" border="0" cellspacing="2" cellpadding="2">
<tr><td width="40%">&nbsp;</td>
          <td colspan="2"><input type="submit" name="ViewReport" value="View Report"><input type="submit" name="Close" value="Close"></td>
        </tr>
      </table></div>
</form>
<br>
<table width="100%">
<!--<tr>
<th>Project</th>
<th>Contractor</th>
<th>MBook No</th>	
<th>Work Order</th>
<th>MBook Date</th>	
<th>RA Bill No</th>
</tr>-->	
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>	
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
	
	
</tr>
	
	
	
</table>


