<form id="domains" method="POST" action="index.php?fuse=domains&action=DeleteDomains">
    <div style="padding: 2px 0px;" align="left">
      <table width=100% cellpadding="0" border="0" cellspacing="0">
        <tr>
          <td>
            <span class="{firstPageStyle}">{firstPageLink}</span>
            <!-- BEGIN DYNAMIC BLOCK: page -->
            <span class="{pageStyle}">{pageLink}</span>
            <!-- END DYNAMIC BLOCK: page -->
            <span class="{lastPageStyle}">{lastPageLink}</span>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            [l]Jump To:[/l] <input type="text" id="jumptopage" name="jumptopage" size="3" value="1"> / {numPages}&nbsp;&nbsp;<span class="tablenavpagelink"><a href="javascript:fetchList($('jumptopage').value,'{sortby}','{order}',{numPerPage},{filter});">[l]Go[/l]</a></span>
          </td>
          <td align="right">
            <span align="right">[l]Results Per Page[/l]:
              <select id="resultsPerPage" onchange="fetchList({currentPage},'{sortby}','{order}',selectedValue(this),{filter});">
		        <option value="10" {10_res}>10&nbsp;&nbsp;&nbsp;</option>
		        <option value="30" {30_res}>30&nbsp;&nbsp;&nbsp;</option>
	  	        <option value="50" {50_res}>50&nbsp;&nbsp;&nbsp;</option>
  		        <option value="70" {70_res}>70&nbsp;&nbsp;&nbsp;</option>
		        <option value="100" {100_res}>100&nbsp;&nbsp;&nbsp;</option>
	          </select>
            </span>
          </td>
        </tr>
      </table>
    </div>
    <table width=100% cellpadding=0 border=0 cellspacing=0>
        <tr>
            <td class="snapshot-header-left"></td>
            <td class="snapshot-header">
                <font class=snapshot-header-text>[l]Domains list[/l]: {startRow}-{endRow} [l]of[/l] {numRows}</font>
            </td>
            <td class="snapshot-header" align="right">
              <span class="snapshot-header-text-small">[l]Domains Filter[/l] : </span>
				<select id="domainsFilter" onchange="fetchList({currentPage},'{sortby}','{order}',{numPerPage},selectedValue(this));">
					<option value="0" {0_sel}>[l]Active Domains[/l]</option>
					<option value="1" {1_sel}>[l]All Domains[/l]</option>
					<option value="2" {2_sel}>[l]Expiring Domains[/l]&nbsp;&nbsp;&nbsp;</option>
					<option value="3" {3_sel}>[l]Expired Domains[/l]&nbsp;&nbsp;&nbsp;</option>

				</select>
            </td>
            <td class="snapshot-header-right"></td>
        </tr>
    </table>
    <table width="l00%" class="sort-table" id="table-1" border="0" cellpadding="0" cellspacing="0">
        <col style="text-align: right" />
        <col />
        <col />
        <col />
        <col />
        <col />
        <thead>
            <tr>
                <!-- BEGIN DYNAMIC BLOCK: domainHeaderCheckbox -->
                <td width="1%">&nbsp;</td>
                <!-- END DYNAMIC BLOCK: domainHeaderCheckbox -->
                <td align="center" onClick="fetchList({currentPage},'domain','{domain_order}',{numPerPage},{filter});" width="60">[l]Domain[/l]</td>
                <td align="left" onClick="fetchList({currentPage},'fullname','{customer_order}',{numPerPage},{filter});">[l]Customer[/l]</td>
                <td align="left" onClick="fetchList({currentPage},'nextbilldate','{expiry_order}',{numPerPage},{filter});">[l]Expiry Date[/l]</td>
                <td align="left" onClick="fetchList({currentPage},'d.status','{status_order}',{numPerPage},{filter});">[l]Status[/l]</td>
                <td align="left" onClick="fetchList({currentPage},'registrar','{registrar_order}',{numPerPage},{filter});">[l]Registrar[/l]</td>
            </tr>
        </thead>
        <tbody>
            <!-- BEGIN DYNAMIC BLOCK: domain -->
                <tr class="{trClass}">
                    <!-- BEGIN DYNAMIC BLOCK: domainCheckbox -->
                    <td width="5"><input type="checkbox" style="position:relative;top:1px;" name="domainid[]" value="{DOMAIN_ID}" onClick="checkCheckBox(this);" /></td>
                    <!-- END DYNAMIC BLOCK: domainCheckbox -->
                    <td><a href="index.php?fuse=domains&view=ManageDomain&domainid={DOMAIN_ID}">{DOMAIN_NAME}</a></td>
                    <td>{DOMAIN_CUSTOMER}</td>
                    <td>{DOMAIN_EXPIRY}</td>
                    <td>{DOMAIN_STATUS}</td>
                    <td>{DOMAIN_REGISTRAR}</td>
                </tr>
            <!-- END DYNAMIC BLOCK: domain -->
        </tbody>
    </table>
    {NODOMAINS}

    <!-- BEGIN DYNAMIC BLOCK: deleteBtn -->
    <br />
    <input type="checkbox" name="toggleAllChk" onclick="toggleAll(this.form);"/>
    <b>&nbsp;&nbsp;&nbsp;[l]Toggle All[/l]</b>
    <br /><br />
    <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr class="actionfooter">
            <td valign="middle" align="left" width="53" nowrap>
                <input type="button" class="button_medium" value="[lh]delete[/lh]" style="filter:alpha(opacity=50); -moz-opacity:0.4" disabled="true" onClick="deleteDomains({currentPage},'{sortby}','{order}',{numPerPage},{filter});" />
            </td>
        </tr>
    </table>
    <!-- END DYNAMIC BLOCK: deleteBtn -->
</form>
