<table class="tblist mt10" border=0 cellspacing=0 cellpadding=2 width="780">
    <tr class="header">
        <td class=listheader width="15%"><?php echo L_G_AFFILIATE?></td>
        <td class=listheader width="10%"><?php echo L_G_IMPRESSIONS?></td>
        <td class=listheader width="10%"><?php echo L_G_CLICKS?></td>
        <td class=listheader width="10%"><?php echo L_G_SALES?></td>
        <td class=listheader width="10%"><?php echo L_G_LEADS?></td>
        <td class=listheader width="15%"><?php echo L_G_LOGINCOUNT?></td>
        <td class=listheader width="15%"><?php echo L_G_JOINED?></td>
        <td class=listheader width="15%"><?php echo L_G_LASTLOGINDATE?></td>
    </tr>
    <?php if (empty($this->a_this->results)) { ?>
    <tr>
        <td class=listresult colspan=8 align=center><?php echo L_G_NORESULTS?></td>
    </tr>
    <?php } else { ?>
        <?php foreach($this->a_this->results as $key => $result) { ?>
            <tr class=listresult onMouseover="this.className='listresultMouseOver'" onMouseOut="this.className='listresult';">
                <td class=listresultnocenter align=left>
                    <?php showQuickDetails("index_popup2.php?md=Affiliate_Merchants_Views_AffiliateManager&action=affalldetails&aid=".$result['userid'], 300);?>
                    <font color="#0000ff"><?php echo $result['name']?></font>
                </td>
                <td class=listresultnocenter align=right><?php echo $result['impressions']?></td>
                <td class=listresultnocenter align=right><?php echo $result['clicks']?></td>
                <td class=listresultnocenter align=right><?php echo $result['sales']?></td>
                <td class=listresultnocenter align=right><?php echo $result['leads']?></td>
                <td class=listresultnocenter align=right><?php echo $result['logincount']?></td>
                <td class=listresultnocenter align=right><?php echo $result['datejoined']; ?></td>
                <td class=listresultnocenter align=right><?php echo $result['lastlogindate']?></td>
            </tr>
        <?php } ?>
    <?php } ?>


    <tr>
        <td class=listheader colspan=8 align=center>
            <?php QUnit_Templates::printPaging($this->a_list_page, $this->a_list_pages, $this->a_allcount) ?>
        </td>
    </tr>
</table>

</form>

