

<table class="mt10" border="0" cellpadding="5">
 <tr>
 <?php if($this->a_action_permission['add']) { ?>
   <td><input type="button" class="btn" value="<?php echo L_G_CREATEAFFILIATE?>"  onclick="javascript:addUser();"></td>
 <?php } ?>
 <?php if($this->a_action_permission['add']) { ?>
   <td><input type="button" class="btn" value="<?php echo L_G_AFFILIATE_IMPORT?>"  onclick="document.location='index.php?md=Affiliate_Merchants_Views_AffiliateImport';"></td>
 <?php } ?>
 <?php if($this->a_action_permission['view']) { ?>
   <td><input type="button" class="btn" value="<?php echo L_G_SHOWTREE?>"  onclick="javascript:showTree();"></td>
 <?php } ?>
 </tr>
 </table>

