Файл: upload/module/ad/template/default/controller/manage-sponsor.html.php
Строк: 75
<?php
/**
* [PHPFOX_HEADER]
*
* @copyright [PHPFOX_COPYRIGHT]
* @author Raymond_Benc
* @package Phpfox
* @version $Id: manage-sponsor.html.php 4529 2012-07-19 08:38:44Z Raymond_Benc $
*/
defined('PHPFOX') or exit('NO DICE!');
?>
<div class="page_section_menu page_section_menu_header">
<ul>
<li{if empty($sView)} class="active"{/if}><a href="{url link='ad.manage-sponsor'}">{phrase var='ad.approved'}</a></li>
<li{if $sView == 'pending'} class="active"{/if}><a href="{url link='ad.manage-sponsor' view='pending'}">{phrase var='ad.pending_approval'}</a></li>
<li{if $sView == 'payment'} class="active"{/if}><a href="{url link='ad.manage-sponsor' view='payment'}">{phrase var='ad.pending_payment'}</a></li>
<li class="last{if $sView == 'denied'} active{/if}"><a href="{url link='ad.manage-sponsor' view='denied'}">{phrase var='ad.denied'}</a></li>
</ul>
<div class="clear"></div>
</div>
<table class="default_table" cellpadding="0" cellspacing="0">
<tr>
<th>{phrase var='ad.campaign'}</th>
<th>{phrase var='ad.status'}</th>
<th>{phrase var='ad.impressions'}</th>
<th>{phrase var='ad.clicks'}</th>
<th style="width:50px;">{phrase var='ad.active'}</th>
</tr>
{foreach from=$aAds name=ads item=aAd}
<tr{if is_int($phpfox.iteration.ads/2)} class="on"{/if}>
<td><a href="{url link='ad.sponsor' view=$aAd.sponsor_id}"> {$aAd.campaign_name|clean} </a>{if $aAd.is_custom == '1'}<a href="{url link='ad.sponsor' pay=$aAd.sponsor_id}">({phrase var='ad.pay_now'})</a>{/if}</td>
<td class="t_center">{$aAd.status}</td>
<td class="t_center">{$aAd.total_view}</td>
<td class="t_center">{$aAd.total_click}</td>
<td class="t_center">
{if empty($sView)}
<div class="js_item_is_active"{if !$aAd.is_active} style="display:none;"{/if}>
{img theme='misc/bullet_green.png' alt=''}
</div>
<div class="js_item_is_not_active"{if $aAd.is_active} style="display:none;"{/if}>
{img theme='misc/bullet_red.png' alt=''}
</div>
{else}
{phrase var='ad.n_a'}
{/if}
</td>
</tr>
{foreachelse}
<tr>
<td colspan="5" id="no_ads_found">
{phrase var='ad.no_ads_found'}
{if empty($sView)}
{/if}
</td>
</tr>
{/foreach}
</table>