--- 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))} -

{$top_titlepic_alt}

-{/if}{if ($top_read)}
{/if} -{if ($top_title)}{if ($top_read)}{/if}{$top_title}{if ($top_read)}{/if}
{/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))} +

{$i/top.titlepic_alt}

+{/if} +{if ($i/top.title)}{if ($i/top.read)}{/if}{$i/top.title}{if ($i/top.read)}{/if}
{/if}
-{if ($top_read)}{/if} -{if ($top_titlepic_url && ($top_titlepic_type == 4 || $top_titlepic_type == 5))} - {if ($top_titlepic_type == 4)}{$top_titlepic_alt}{/if} - {if ($top_titlepic_type == 5)}{$top_titlepic_alt}{/if} +{if ($i/top.titlepic_url && ($i/top.titlepic_type == 4 || $i/top.titlepic_type == 5))} + {if ($i/top.titlepic_type == 4)}{$i/top.titlepic_alt}{/if} + {if ($i/top.titlepic_type == 5)}{$i/top.titlepic_alt}{/if} {/if} -{if ($top_lead)}{$top_lead}
{/if} -{if ($top_read)}
{/if} +{if ($i/top.lead)}{$i/top.lead}
{/if}
-{if ($top_read)}{/if}{if ($top_titlepic_url && ($top_titlepic_type == 6 || $top_titlepic_type == 7 || $top_titlepic_type == 8))} -

{$top_titlepic_alt}

-{/if}{if ($top_read)}
{/if} -{section name=i loop=0} -{if ($i/top_text.pic && ($i/top_text.pos == 1 || $i/top_text.pos == 2 || $i/top_text.pos == 3))} -

{$i/top_text.alt}

+{if ($i/top.titlepic_url && ($i/top.titlepic_type == 6 || $i/top.titlepic_type == 7 || $i/top.titlepic_type == 8))} +

{$i/top.titlepic_alt}

+{/if} +{section name=j loop=0} +{if ($i/j.text/top.pic && ($i/j.text/top.pos == 1 || $i/j.text/top.pos == 2 || $i/j.text/top.pos == 3))} +

{$i/j.text/top.alt}

{/if} -

{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}

-{if ($i/top_text.pic && ($i/top_text.pos == 4 || $i/top_text.pos == 5))} - {if ($i/top_text.pos == 4)}{$i/top_text.alt}{/if} - {if ($i/top_text.pos == 5)}{$i/top_text.alt}{/if} +{if ($i/j.text/top.pic && ($i/j.text/top.pos == 4 || $i/j.text/top.pos == 5))} + {if ($i/j.text/top.pos == 4)}{$i/j.text/top.alt}{/if} + {if ($i/j.text/top.pos == 5)}{$i/j.text/top.alt}{/if} {/if} -{$i/top_text.text} +

+{$i/j.text/top.text}

-{if ($i/top_text.pic && ($i/top_text.pos == 6 || $i/top_text.pos == 7 || $i/top_text.pos == 8))} -

{$i/top_text.alt}

+{if ($i/j.text/top.pic && ($i/j.text/top.pos == 6 || $i/j.text/top.pos == 7 || $i/j.text/top.pos == 8))} +

{$i/j.text/top.alt}

{/if} {/section} -{if ($AUTHOR)}
{$AUTHOR}{/if} -{else} -{if (! $EDIT)}

Nema članaka.{/if} -{/if} -{$top_links} +
{if ($i/top.AUTHOR && $ismed)}{$i/top.AUTHOR}{/if} +{$i/top.links} {/if} +{sectionelse} +{if (! $EDIT)}

Nema članaka.
+{if ($isedit)}

[ novi ]

{/if}{/if} +
  +{/section} + VIJESTI @@ -60,20 +66,20 @@ {$i/wn.EDIT} {else} -{if ($i/wn.read)}{/if}{if ($i/wn.pic && ($i/wn.pos == 1 || $i/wn.pos == 2 || $i/wn.pos == 3))} +{if ($i/wn.pic && ($i/wn.pos == 1 || $i/wn.pos == 2 || $i/wn.pos == 3))}

{$i/wn.alt}

-{/if}{if ($i/wn.read)}
{/if} -{if ($i/wn.title)}{if ($i/wn.read)}{/if}{$i/wn.title}{if ($i/wn.read)}{/if}
{/if} +{/if} +{if ($i/wn.title)}{if ($i/wn.read)}{/if}{$i/wn.title}{if ($i/wn.read)}{/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)}{$i/wn.alt}{/if} {if ($i/wn.pos == 5)}{$i/wn.alt}{/if} {/if} -{if ($i/wn.lead)}{$i/wn.lead}
{/if}{if ($i/wn.read)}
{/if} +{if ($i/wn.lead)}{$i/wn.lead}
{/if}
-{if ($i/wn.read)}{/if}{if ($i/wn.pic && ($i/wn.pos == 6 || $i/wn.pos == 7 || $i/wn.pos == 8))} +{if ($i/wn.pic && ($i/wn.pos == 6 || $i/wn.pos == 7 || $i/wn.pos == 8))}

{$i/wn.alt}

-{/if}{if ($i/wn.read)}
{/if} +{/if} {$i/wn.links}
{/if} @@ -92,20 +98,20 @@ {$i/pn.EDIT} {else} -{if ($i/pn.read)}{/if}{if ($i/pn.pic && ($i/pn.pos == 1 || $i/pn.pos == 2 || $i/pn.pos == 3))} +{if ($i/pn.pic && ($i/pn.pos == 1 || $i/pn.pos == 2 || $i/pn.pos == 3))}

{$i/pn.alt}

-{/if}{if ($i/pn.read)}
{/if} -{if ($i/pn.title)}{if ($i/pn.read)}{/if}{$i/pn.title}{if ($i/pn.read)}{/if}
{/if} +{/if} +{if ($i/pn.title)}{if ($i/pn.read)}{/if}{$i/pn.title}{if ($i/pn.read)}{/if}
{/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)}{$i/pn.alt}{/if} {if ($i/pn.pos == 5)}{$i/pn.alt}{/if} {/if} -{if ($i/pn.lead)}{$i/pn.lead}
{/if}{if ($i/pn.read)}
{/if} +{if ($i/pn.lead)}{$i/pn.lead}
{/if}
-{if ($i/wn.read)}{/if}{if ($i/pn.pic && ($i/pn.pos == 6 || $i/pn.pos == 7 || $i/pn.pos == 8))} +{if ($i/pn.pic && ($i/pn.pos == 6 || $i/pn.pos == 7 || $i/pn.pos == 8))}

{$i/pn.alt}

-{/if}{if ($i/pn.read)}
{/if} +{/if} {$i/pn.links}
{/if}