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