--- templates/home.tpl 2001/10/02 16:18:09 1.13 +++ templates/home.tpl 2001/10/10 12:40:59 1.15 @@ -1,50 +1,56 @@
-{if ($EDIT)}{$EDIT}{else}
-{if ($top_id)}
-{if (! $spec)}{if ($ismed)}aktualna tema{else}aktualno{/if} {/if} -{if ($top_read)}{/if}{if ($top_titlepic_url && ($top_titlepic_type == 1 || $top_titlepic_type == 2 || $top_titlepic_type == 3))} - {/if} +{if ($ismed)}aktualna tema{else}aktualno{/if} +{$EDIT} +{section name=i loop=$top} + | |||
+{if ($i/top.EDIT)}
+{$i/top.EDIT}
+{else}
+{if ($i/top.titlepic_url && ($i/top.titlepic_type == 1 || $i/top.titlepic_type == 2 || $i/top.titlepic_type == 3))}
+ {/if} {/if}{if ($top_titlepic_url && ($top_titlepic_type == 6 || $top_titlepic_type == 7 || $top_titlepic_type == 8))} - {if ($i/top_text.class)}{/if}{$i/top_text.title}{if ($i/top_text.class)}{/if} +{if ($i/j.text/top.class)}{/if}{$i/j.text/top.title}{if ($i/j.text/top.class)}{/if}
|
[ novi ]
{/if}{/if} +
-{if ($i/wn.read)}{/if}{if ($i/wn.pic && ($i/wn.pos == 4 || $i/wn.pos == 5))}
+{if ($i/wn.pic && ($i/wn.pos == 4 || $i/wn.pos == 5))}
{if ($i/wn.pos == 4)} {/if}{if ($i/wn.read)}{/if} +{if ($i/wn.lead)}{$i/wn.lead} {/if} |
-{if ($i/pn.read)}{/if}{if ($i/pn.pic && ($i/pn.pos == 4 || $i/pn.pos == 5))}
+{if ($i/pn.pic && ($i/pn.pos == 4 || $i/pn.pos == 5))}
{if ($i/pn.pos == 4)} {/if}{if ($i/pn.read)}{/if} +{if ($i/pn.lead)}{$i/pn.lead} {/if} |