76 lines
2.4 KiB
Smarty
76 lines
2.4 KiB
Smarty
{***************************************************************************
|
|
* You can find the license in the docs directory
|
|
*
|
|
* Unicode Reminder メモ
|
|
***************************************************************************}
|
|
{* OCSTYLE *}
|
|
<div class="content2-pagetitle">
|
|
<img src="resource2/{$opt.template.style}/images/cacheicon/traditional.gif" style="align: left; margin-right: 10px;" width="32" height="32" alt="{t}Latest caches{/t}" />
|
|
{t}Latest caches{/t}
|
|
</div>
|
|
|
|
<table width="100%" class="table">
|
|
<tr>
|
|
<td class="header-small">
|
|
|
|
{if $startat>0}
|
|
<a href="newcaches.php?startat=0"><<</a>
|
|
<a href="newcaches.php?startat={$startat-$perpage}"><</a>
|
|
{else}
|
|
<<
|
|
<
|
|
{/if}
|
|
|
|
{section name=page start=$firstpage loop=$lastpage+1 step=100}
|
|
{if $smarty.section.page.index!=$startat}
|
|
<a href="newcaches.php?startat={$smarty.section.page.index}">{$smarty.section.page.index/$perpage+1}</a>
|
|
{else}
|
|
{$smarty.section.page.index/$perpage+1}
|
|
{/if}
|
|
{/section}
|
|
|
|
{if $startat<$maxstart}
|
|
<a href="newcaches.php?startat={$startat+$perpage}">></a>
|
|
<a href="newcaches.php?startat={$maxstart}">>></a>
|
|
{else}
|
|
>
|
|
>>
|
|
{/if}
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
{foreach name=newCaches from=$newCaches item=newCache}
|
|
<tr><td>{$newCache.date_created|date_format:$opt.format.date} ({$newCache.country}): <img src="resource2/{$opt.template.style}/images/cacheicon/{$newCache.icon_large}" width="16" height="16" border="0" alt="Cache" title="Cache" style="margin-top:4px;" /> <a href="viewcache.php?wp={$newCache.wpoc}">{$newCache.cachename|escape}</a> {t}by{/t} <a href="viewprofile.php?userid={$newCache.userid}">{$newCache.username|escape}</a></td></tr>
|
|
{/foreach}
|
|
|
|
<tr>
|
|
<td class="header-small">
|
|
|
|
{if $startat>0}
|
|
<a href="newcaches.php?startat=0"><<</a>
|
|
<a href="newcaches.php?startat={$startat-$perpage}"><</a>
|
|
{else}
|
|
<<
|
|
<
|
|
{/if}
|
|
|
|
{section name=page start=$firstpage loop=$lastpage+1 step=100}
|
|
{if $smarty.section.page.index!=$startat}
|
|
<a href="newcaches.php?startat={$smarty.section.page.index}">{$smarty.section.page.index/$perpage+1}</a>
|
|
{else}
|
|
{$smarty.section.page.index/$perpage+1}
|
|
{/if}
|
|
{/section}
|
|
|
|
{if $startat<$maxstart}
|
|
<a href="newcaches.php?startat={$startat+$perpage}">></a>
|
|
<a href="newcaches.php?startat={$maxstart}">>></a>
|
|
{else}
|
|
>
|
|
>>
|
|
{/if}
|
|
|
|
</td>
|
|
</tr>
|
|
</table> |