{template 'header'} {template 'slide'}
{php $bg = '#5d4bbb';} {php $num = 1;} {loop $navs $nav} {php if($num == 2) $bg = '#10b7ee';} {php if($num == 3) $bg = '#dfba2b';} {php if($num == 4) $bg = '#73ba30';} {php if($num == 5) $bg = '#b22e51';} {php if($num == 6) $bg = '#d65538';} {if !empty($nav['icon'])} {else} {/if} {$nav['name']} {php $num++;} {php if($num >= 7) $num = 1;} {/loop}
{template 'footer'}