{include file="header.tpl"}

<h3>{t}All Referral Commissions Backs{/t}</h3>
<div class="allrcb">
{foreach from=$listings item=listing}
<div class="program">
<div class="title clearfix">
<a class="name" href="{"?a=go&lid=`$listing.id`"|encurl}" target=_blank>{$listing.name}</a>
<ul>
  <li><a href="{"?a=details&lid=`$listing.id`"|encurl}">{t}Program Details{/t}</a></li>
  <li><a href="{"?a=add_vote&lid=`$listing.id`"|encurl}">{t}Vote Now{/t}</a></li>
  <li><a href="{"?a=statistics&lid=`$listing.id`"|encurl}">{t}Payouts{/t}</a></li>
  <li><a href="{"?a=report_scam&lid=`$listing.id`"|encurl}">{t}Report Scam{/t}</a></li>
{if $settings.refback_enabled}
  <li><a href="{"?a=refback&lid=`$listing.id`"|encurl}">{t}Request RCB{/t}</a></li>
{/if}
  <li>{if $listing.bookmark}<a href="{"?a=bookmarks&action=remove&lid=`$listing.id`"|encurl}" onclick="return confirm('{t}Do you really want to remove the program from bookmarks?{/t}')">- {t}Bookmark{/t}</a>{else}<a href="{"?a=bookmarks&action=add&lid=`$listing.id`"|encurl}">{t}Bookmark{/t}</a>{/if}</li>
</ul>
</div>
{include file="rcb_table.tpl" rcbs=$listing.rcb}

</div>
{foreachelse}
<div class="message">{t}No RCB found{/t}</div>
{/foreach}
</div>

{paginator col=$pages.col cur=$pages.cur url="?a=allrcb&p=%s"|encurl}

{include file="footer.tpl"}