{HEADER}
<script language="javascript">
	function reload(){
        ind=document.DateForm.temp.value;
		page="display_exp.php?temp="+ind;
		window.location.href=page;
    }
</script>
<table width="780" height="80%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
      <TD background="../img/bg.jpg" vAlign=top align="center" class="thank">
	  <br><table cellspacing="0" cellpadding="3" width="700">
	<FORM ACTION="" METHOD="POST" NAME="DateForm">
          <tr class="hproduct2"> 
            <td colspan="2" class="product-d1">
			From Date: 
		<SCRIPT LANGUAGE="JavaScript">
			frdate=	"{FRDATE}";
			todate=	"{TODATE}";
			FSfncWriteFieldHTML("DateForm","MyDate1",frdate,100,"images/FSdateSelector/")</SCRIPT>
			</td>
			<td class="product-d1">To Date: 
			<SCRIPT LANGUAGE="JavaScript">FSfncWriteFieldHTML("DateForm","MyDate2",todate,100,"images/FSdateSelector/")</SCRIPT>
			</td>
			<td class="product-d1">select: 
			<SELECT NAME="disrep" onchange="selectmenu();" >
			<option value="today"{TODAY}>Today</option>
			<option value="yesterday"{YESTERDAY}>Yesterday</option>
			<option value="last7"{LAST7}>Last 7 Days</option>
			<option value="month"{MONTH}>Current Month</option>
			<option value="lastmonth"{LASTMONTH}>LastMonth</option>
			<option value="alltime"{ALLTIME}>Alltime</option>
			</SELECT>
			</td>
			<td   align="left" valign="bottom" class="product-d1"  colspan="2"><input type="submit" value="Search"></td>
          </tr>
          <tr> 
            <td colspan="4" valign="top">Select the Template 
              <select name="temp" onchange="reload();">
							<!-- BEGIN list -->
								<option value="{ROW}" {TEMP}>{ROW}</option>
							<!-- END list -->
              </select>
			</td>
	            <td colspan="4"> 
				</td>		
		</tr>
	</form>
          <tr class="hproduct1"> 
            <td colspan="5" ><a href="index.php">Admin Home</a></td>
            <td width="57"  align="center"><a href="login_view.php?mode=d">Logout</a></td>
          </tr>
          <tr > 
            <td colspan="6" class="hproduct" valign="middle" align="center"> 
              Free Report of Our Closing Tips Now Data Base. </td>
          </tr>
          <tr class="hproduct1"> 
            <td width="22" class="product-d1">Id</td>
            <td width="159" class="product-d1">First Name</td>
            <td width="28" class="product-d1">Search engine</td>
			<td width="28" class="product-d1">Full Url</td>
            <td width="28" class="product-d1">&nbsp;</td>
            <td class="product-d1">&nbsp;</td>
          </tr>
					<!-- BEGIN list1 -->
					<tr class="{HP}"> 
						<td class="product-d">{I}</td>
						<td class="product-d">{ROW1}&nbsp;</td>
						<td class="product-d"><a href="{ROW2}">{ROW2}</a>&nbsp;</td>
						<td class="product-d"><a href="{ROW3}">{ROW3}</a>&nbsp;</td>
						<td class="product-d">
							<a href="admin.php?mode=edit&isposted=y&id={ROW4}&call_from={CURENT}">Edit</a></td>
						<td class="product-d">
							<a href="admin.php?mode=edit&isposted=D&id={ROW4}">Delete</a></td>
					</tr>
					<!-- END list1 -->
			</table>
		</TD>
	</tr>
</table>
{FOOTER}