{section loop=$halaman name=i} {/section}
.:: Menu Utama
{$halaman[i].PageName}

{if $banner}
{/if}
{if $smarty.get.hal == '' OR $smarty.get.hal == 'Home'}
{if $smarty.get.NewsID ==''} {if $content.Content} {/if} {section loop=$berita name=i} {/section}
{$content.Content}
  Berita Terbaru  
{$berita[i].NewsTitle}
{$berita[i].NewsContent|truncate:300} Detail »
Ditulis oleh: {$berita[i].NewsAuthor} {$berita[i].CreatedDate}
{else}
  Detail Berita  
{$berita.NewsTitle}
{$berita.NewsContent}
Ditulis oleh: {$berita.NewsAuthor} {$berita.CreatedDate}

{section loop=$komentar name=i} {/section}
Komentar

{$komentar[i].Komentar}

Dari: {$komentar[i].Nama} [{$komentar[i].Email}] {$komentar[i].CreatedDate}

Kirim Komentar
{if $errorsx}

Error(s): {section name=i loop=$errorsx}
  • {$errorsx[i]}
  • {/section}

    {/if} {if $smarty.get.x == 'OK' AND !$smarty.post}
    Terima kasih, Komentar anda sudah terkirim dan dalam proses approval.

    {/if}
    Nama
    Email
    Komentar
     
    {/if}{/if} {if $smarty.get.hal == 'Arsip Berita'}
    {section loop=$berita name=i} {/section}
      {$smarty.get.hal}  
    {$content.Content}
    {$berita[i].NewsTitle}
    {$berita[i].NewsContent|truncate:300} Detail »
    Ditulis oleh: {$berita[i].NewsAuthor} {$berita[i].CreatedDate}
    {elseif $smarty.get.hal == 'Galeri Foto'}
      {$smarty.get.hal}  
    {if $content.Content}{$content.Content} {/if}{if $smarty.get.alb}{if $galeri}Album: {$AlbumName} ({$all->total_foto($smarty.get.alb)} Foto)

    {section name=h loop=$galeri} {math equation="x % 4" x=$smarty.section.h.index+1 assign="z"} {if $z==0}{/if} {/section}
    klik untuk lihat gambar lebih besar
     
    {else}Tidak Ada Foto{/if} {else}
    {section name=h loop=$album} {/section}
    {$album[h].AlbumName}
    {/if}

    {else}
    {if $smarty.get.hal != 'Home' AND $smarty.get.hal != ''}
      {$smarty.get.hal}  

    {$content.Content}
    {/if} {/if}{if $pages > 1}

    {if $smarty.get.pg|default:1 > 1} {math equation='b+a' a=$INTVL b=0 assign='btsbwh'} {math equation='a - b' b=1 a=$smarty.get.pg|default:1 assign='pp'} {if $smarty.get.pg >= $INTVL} {math equation='a + b' a=$btsbwh b=$smarty.get.pg assign='bts'} {if $bts >= $pages} {math equation='a + b' a=0 b=$pages assign='bts'} {/if} {math equation='b-a' a=$BS b=$smarty.get.pg assign='btsats'} {math equation='b+a' a=$BW b=$smarty.get.pg assign='btsbw'} {math equation='b-a' a=1 b=$btsbw assign='tng'} {else} {if $pages >$INTVL} {math equation='a + b' a=0 b=$INTVL assign='bts'} {else} {math equation='a + b' a=0 b=$pages assign='bts'} {/if} {/if} Previous | {/if} {section name=i loop=$bts|default:$pages} {if $smarty.get.pg|default:1 == %i.rownum%}[{%i.rownum%}] {else} {if $smarty.get.pg >= $INTVL} {if %i.rownum% > $btsats AND %i.rownum% < $btsbw} {%i.rownum%} {/if} {else} {if %i.rownum% <= $INTVL} {%i.rownum%} {/if} {/if} {/if} {if $smarty.get.pg >= $INTVL} {if %i.rownum% > $btsats AND %i.rownum% != $tng AND %i.rownum% < $btsbw AND %i.rownum% != $pages AND %i.rownum% != $btsats} - {/if} {else} {if %i.rownum% <$INTVL} {if %i.rownum% != $pages AND %i.rownum% != '$INTVL'} - {/if} {/if} {/if} {/section} {if $smarty.get.pg|default:1 < $pages} {math equation='a + b' a=1 b = $smarty.get.pg|default:1 assign='np'} | Next {/if}

    {/if}

    .:: Berita Top 10
    {section loop=$topberita name=i} {/section}
      {$topberita[i].NewsTitle}
    Oleh:{$topberita[i].NewsAuthor}, {$topberita[i].CreatedDate|date_format:"%d.%m.%Y"}

    {if $PollingQuestion}
    .:: Polls
    {if $smarty.get.vote != 'result' AND !$smarty.session.vote_session} {section loop=$polling name=i} {/section} {else} {section loop=$polling name=i} {/section} {/if}
    {if $errors}

    Error(s): {section name=i loop=$errors}
  • {$errors[i]}
  • {/section}

    {/if}{$PollingQuestion}
    {$polling[i].PollingAnswer}
    {$polling[i].PollingAnswer}
    Jumlah suara : {$polling[i].PollingAnswerCount}
    {if $TotalPollingAnswer != '0'}{math equation='(a/b)*100' a=$polling[i].PollingAnswerCount b=$TotalPollingAnswer assign=persentasi}{/if}
    {$persentasi|string_format:"%.2f"}%
    {if !$smarty.session.vote_session}

    {else} {/if}
    user online:
    {$all->user_online()}
    Pengunjung hari ini:
    {$all->hit_counter('1', 'd')}
    Pengunjung bulan ini:
    {$all->hit_counter('2', 'm')}
    Total Pengunjung:
    {$all->hit_counter('3', 'x')}


    2007, Free Webdevindo-CMS Created by Iwan Setiawan.