<script>
function ViewInfo(TransID)
{
	var wnd = window.open("index_popup.php?md=Affiliate_Merchants_Views_MerchantReports&reporttype=transactioninfo&transid="+TransID, "<?php echo L_G_TRANSACTIONDETAILS?>" ,"scrollbars=1, top=100, left=100, width=320, height=450, resizable=1, status=0")
    wnd.focus(); 
}
</script>

    <br>
    <table class=listing border=0 cellspacing=0 cellpadding=1 align="left">
    <tr>
      <td class=listheader colspan=11 align=center>
        <?php QUnit_Templates::printPaging($this->a_list_page, $this->a_list_pages, $this->a_allcount) ?>
      </td>
    </tr>          
        <tr class=listheader>
        <td class=listheader width=1% nowrap><?php echo L_G_DATA1?></td>
        <td class=listheader width=1% nowrap><?php echo L_G_DATA2?></td>
        <td class=listheader width=1% nowrap><?php echo L_G_DATA3?></td>
        <td class=listheader width=1% nowrap><?php echo L_G_CLICKS?></td>
        <td class=listheader width=1% nowrap><?php echo L_G_SALES?></td>
        <td class=listheader width=1% nowrap><?php echo L_G_LEADS?></td>
        <td class=listheader width=1% nowrap><?php echo L_G_SALES."/".L_G_CLICKS?></td>
        <td class=listheader width=1% nowrap><?php echo L_G_LEADS."/".L_G_CLICKS?></td>
        </tr>    
        
        <?php
        while($data=$this->a_list_data->getNextRecord())
        {
        ?>    
            <tr class=listresult class=row onMouseover="this.className='listresultMouseOver'" onMouseOut="this.className='listresult';">
            <td class=listresult nowrap>&nbsp;<?php echo $data['data1']?>&nbsp;</td>
            <td class=listresult nowrap>&nbsp;<?php echo $data['data2']?>&nbsp;</td>
            <td class=listresult nowrap>&nbsp;<?php echo $data['data3']?>&nbsp;</td>
            <td class=listresult nowrap>&nbsp;<?php echo $data['clicks']?>&nbsp;</td>
            <td class=listresult nowrap>&nbsp;<?php echo $data['sales']?>&nbsp;</td>
            <td class=listresult nowrap>&nbsp;<?php echo $data['leads']?>&nbsp;</td>
            <td class=listresult nowrap>&nbsp;<?php echo $data['salesclicks']?>&nbsp;</td>
            <td class=listresult nowrap>&nbsp;<?php echo $data['leadsclicks']?>&nbsp;</td>
            </tr>
        <?php
        }
        ?>    
      </table>

  </td>
</tr>
</table>
<br>
