Line | |
---|
1 | {$TITLE} |
---|
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"> |
---|
10 | <a href="{$ROOT_URL}?/blog/id/{$value.id}">{$value.header}</a> |
---|
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 | |
---|
23 | {if $pages>1} |
---|
24 | <div class="navigationBar"> |
---|
25 | {if $npage!=1} |
---|
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} |
---|
36 | {/if} |
---|
37 | {foreach from=$pagi item=v} |
---|
38 | {if $v!=$npage} |
---|
39 | <a class='blog_pagination' href="{$ROOT_URL}?/blog/{$v}">{$v}</a> | |
---|
40 | {else} |
---|
41 | <span class='pageNumberSelected'>{$v}</span> | |
---|
42 | {/if} |
---|
43 | {/foreach} |
---|
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} |
---|
48 | </div> |
---|
49 | {/if} |
---|
50 | {$TITLE_END} |
---|
Note: See
TracBrowser
for help on using the repository browser.