{include file="header.tpl"}

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

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

{include file="footer.tpl"}