Rev | Line | |
---|
[19304] | 1 | {$TITLE} |
---|
[18997] | 2 | <ul class="evil_blog_posts"> |
---|
| 3 | {foreach from=$row item=value} |
---|
| 4 | <li class="thumbnailCategory"> |
---|
| 5 | <span class="post_title"> |
---|
| 6 | <span class="post_number"> |
---|
| 7 | {if isset($show_number) and $show_number}{$value.id} * {/if} |
---|
| 8 | </span> |
---|
| 9 | <span class="post_header"> |
---|
[19049] | 10 | <a href="{$ROOT_URL}?/blog/id/{$value.id}">{$value.header}</a> |
---|
[18997] | 11 | </span> |
---|
| 12 | <span class="post_date"> |
---|
| 13 | {if isset($show_date) and $show_date}{$value.date}{/if} |
---|
| 14 | </span> |
---|
| 15 | </span> |
---|
| 16 | <div class="post_description"> |
---|
| 17 | {$value.text} |
---|
| 18 | </div> |
---|
| 19 | </li> |
---|
| 20 | {/foreach} |
---|
| 21 | </ul> |
---|
| 22 | |
---|
[19048] | 23 | {if $pages>1} |
---|
[18997] | 24 | <div class="navigationBar"> |
---|
[19048] | 25 | {if $npage!=1} |
---|
[19049] | 26 | {if $show_on_main_page} |
---|
| 27 | <a href="{$ROOT_URL}?/" rel="first">{'First'|@translate}</a> | |
---|
| 28 | {else} |
---|
| 29 | <a href="{$ROOT_URL}?/blog/1" rel="first">{'First'|@translate}</a> | |
---|
| 30 | {/if} |
---|
| 31 | {if $show_on_main_page and $npage==2} |
---|
| 32 | <a href="{$ROOT_URL}?/" rel="prev">{'Previous'|@translate}</a> | |
---|
| 33 | {else} |
---|
| 34 | <a href="{$ROOT_URL}?/blog/{$npage-1}" rel="prev">{'Previous'|@translate}</a> | |
---|
| 35 | {/if} |
---|
[19048] | 36 | {/if} |
---|
[18997] | 37 | {foreach from=$pagi item=v} |
---|
| 38 | {if $v!=$npage} |
---|
[19048] | 39 | <a class='blog_pagination' href="{$ROOT_URL}?/blog/{$v}">{$v}</a> | |
---|
[18997] | 40 | {else} |
---|
| 41 | <span class='pageNumberSelected'>{$v}</span> | |
---|
| 42 | {/if} |
---|
| 43 | {/foreach} |
---|
[19048] | 44 | {if $npage!=$pages} |
---|
| 45 | <a href="{$ROOT_URL}?/blog/{$npage+1}" rel="next">{'Next'|@translate}</a> | |
---|
| 46 | <a href="{$ROOT_URL}?/blog/{$pages}" rel="last">{'Last'|@translate}</a> |
---|
| 47 | {/if} |
---|
[18997] | 48 | </div> |
---|
[19048] | 49 | {/if} |
---|
[18997] | 50 | {$TITLE_END} |
---|
Note: See
TracBrowser
for help on using the repository browser.