0byt3m1n1
Path:
/
data
/
applications
/
aps.bak
/
tikiwiki
/
1.9.7-31
/
htdocs
/
templates
/
[
Home
]
File: tiki-list_banners.tpl
<h1><a class="pagetitle" href="tiki-list_banners.php">{tr}Banners{/tr}</a> {if $feature_help eq 'y'} <a href="{$helpurl}Banners" target="tikihelp" class="tikihelp" title="{tr}admin Banners{/tr}"> <img src="img/icons/help.gif" border="0" height="16" width="16" alt='{tr}help{/tr}' /></a>{/if} {if $feature_view_tpl eq 'y'} <a href="tiki-edit_templates.php?template=tiki-list_banners.tpl" target="tikihelp" class="tikihelp" title="{tr}View tpl{/tr}: {tr}admin Banners tpl{/tr}"> <img src="img/icons/info.gif" border="0" height="16" width="16" alt='{tr}edit tpl{/tr}' /></a>{/if}</h1> <div class="rbox" name="tip"> <div class="rbox-title" name="tip">{tr}Tip{/tr}</div> <div class="rbox-data" name="tip">{tr}To use a banner in a <a class="rbox-link" href="tiki-admin_modules.php">module</a> or a template, use {literal}{banner zone=ABC}{/literal}, where ABC is the name of the zone.{/tr}</div> </div> <br /> <a class="linkbut" href="tiki-edit_banner.php">{tr}Create banner{/tr}</a> <br /><br /> <div align="center"> <table class="findtable"> <tr><td class="findtable">{tr}Find{/tr}</td> <td class="findtable"> <form method="get" action="tiki-list_banners.php"> <input type="text" name="find" value="{$find|escape}" /> <input type="submit" value="{tr}find{/tr}" name="search" /> <input type="hidden" name="sort_mode" value="{$sort_mode|escape}" /> </form> </td> </tr> </table> <table class="normal"> <tr> <td class="heading"><a class="tableheading" href="tiki-list_banners.php?offset={$offset}&sort_mode={if $sort_mode eq 'bannerId_desc'}bannerId_asc{else}bannerId_desc{/if}">{tr}Id{/tr}</a></td> <td class="heading"><a class="tableheading" href="tiki-list_banners.php?offset={$offset}&sort_mode={if $sort_mode eq 'client_desc'}client_asc{else}client_desc{/if}">{tr}Client{/tr}</a></td> <td class="heading"><a class="tableheading" href="tiki-list_banners.php?offset={$offset}&sort_mode={if $sort_mode eq 'zone_desc'}zone_asc{else}zone_desc{/if}">{tr}Zone{/tr}</a></td> <td class="heading"><a class="tableheading" href="tiki-list_banners.php?offset={$offset}&sort_mode={if $sort_mode eq 'created_desc'}created_asc{else}created_desc{/if}">{tr}Created{/tr}</a></td> <td class="heading"><a class="tableheading" href="tiki-list_banners.php?offset={$offset}&sort_mode={if $sort_mode eq 'which_desc'}which_asc{else}which_desc{/if}">{tr}Method{/tr}</a></td> <td class="heading"><a class="tableheading" href="tiki-list_banners.php?offset={$offset}&sort_mode={if $sort_mode eq 'useDates_desc'}useDates_asc{else}useDates_desc{/if}">{tr}Use Dates?{/tr}</a></td> <td class="heading"><a class="tableheading" href="tiki-list_banners.php?offset={$offset}&sort_mode={if $sort_mode eq 'maxImpressions_desc'}maxImpressions_asc{else}maxImpressions_desc{/if}">{tr}Max Impressions{/tr}</a></td> <td class="heading"><a class="tableheading" href="tiki-list_banners.php?offset={$offset}&sort_mode={if $sort_mode eq 'impressions_desc'}impressions_asc{else}impressions_desc{/if}">{tr}Impressions{/tr}</a></td> <td class="heading"><a class="tableheading" href="tiki-list_banners.php?offset={$offset}&sort_mode={if $sort_mode eq 'clicks_desc'}clicks_asc{else}clicks_desc{/if}">{tr}Clicks{/tr}</a></td> <td class="heading">{tr}Action{/tr}</a></td> </tr> {section name=changes loop=$listpages} <tr> {if $smarty.section.changes.index % 2} <td class="odd"> {$listpages[changes].bannerId} </td> <td class="odd"> {$listpages[changes].client} </td> <td class="odd"> {$listpages[changes].zone} </td> <td class="odd"> {$listpages[changes].created|tiki_short_date} </td> <td class="odd"> {$listpages[changes].which} </td> <td class="odd"> {$listpages[changes].useDates} </td> <td class="odd"> {$listpages[changes].maxImpressions} </td> <td class="odd"> {$listpages[changes].impressions} </td> <td class="odd"> {$listpages[changes].clicks} </td> <td class="odd"> {if $tiki_p_admin_banners eq 'y'} <a class="link" href="tiki-edit_banner.php?bannerId={$listpages[changes].bannerId}">{tr}Edit{/tr}</a> <a class="link" href="tiki-list_banners.php?offset={$offset}&sort_mode={$sort_mode}&remove={$listpages[changes].bannerId}">{tr}Remove{/tr}</a> {/if} <a class="link" href="tiki-view_banner.php?bannerId={$listpages[changes].bannerId}">{tr}Stats{/tr}</a> </td> {else} <td class="even"> {$listpages[changes].bannerId} </td> <td class="even"> {$listpages[changes].client} </td> <td class="even"> {$listpages[changes].zone} </td> <td class="even"> {$listpages[changes].created|tiki_short_date} </td> <td class="even"> {$listpages[changes].which} </td> <td class="even"> {$listpages[changes].useDates} </td> <td class="even"> {$listpages[changes].maxImpressions} </td> <td class="even"> {$listpages[changes].impressions} </td> <td class="even"> {$listpages[changes].clicks} </td> <td class="even"> {if $tiki_p_admin_banners eq 'y'} <a class="link" href="tiki-edit_banner.php?bannerId={$listpages[changes].bannerId}">{tr}Edit{/tr}</a> <a class="link" href="tiki-list_banners.php?offset={$offset}&sort_mode={$sort_mode}&remove={$listpages[changes].bannerId}">{tr}Remove{/tr}</a> {/if} <a class="link" href="tiki-view_banner.php?bannerId={$listpages[changes].bannerId}">{tr}Stats{/tr}</a> </td> {/if} </tr> {sectionelse} <tr><td class="odd" colspan="10"> {tr}No records found{/tr} </td></tr> {/section} </table> <div class="mini"> {if $prev_offset >= 0} [<a class="prevnext" href="tiki-list_banners.php?find={$find}&offset={$prev_offset}&sort_mode={$sort_mode}">{tr}prev{/tr}</a>] {/if} {tr}Page{/tr}: {$actual_page}/{$cant_pages} {if $next_offset >= 0} [<a class="prevnext" href="tiki-list_banners.php?find={$find}&offset={$next_offset}&sort_mode={$sort_mode}">{tr}next{/tr}</a>] {/if} {if $direct_pagination eq 'y'} <br /> {section loop=$cant_pages name=foo} {assign var=selector_offset value=$smarty.section.foo.index|times:$maxRecords} <a class="prevnext" href="tiki-list_banners.php?find={$find}&offset={$selector_offset}&sort_mode={$sort_mode}"> {$smarty.section.foo.index_next}</a> {/section} {/if} </div> </div>