$(document).ready(function() { function showLoader(){ $('.load-background').fadeIn(200); } function hideLoader(){ $('.load-background').fadeOut(200); }; $('.paginasi2 a').click(function () { showLoader(); var IDdiv = $(this).attr('rev'); var linknya = $(this).attr('rel'); $(IDdiv).load(linknya, hideLoader); }); }); "; $sql_news="select * from {$app[table][news]} where published = 'active' order by post_date $sort "; app::set_navigator($sql_news, $nav,$page_size, "".$app[http]."/news/index.php?act=jqGetHasil","rel","rev:#gallery"); db::query($sql_news, $rs[news], $nr[news]); if ($nr[news]) $ketemu++; while ($news=db::fetch($rs[news])): $output .='
  • '; if ($news['file']): if(substr($news[file], -3) == "flv"): $output .='
    Get the Flash Player to see this player.
    '; else: $output .=''; endif; endif; $output .= '

    '.$news[judul_eng].'

    '.app::format_date($news[post_date], 'ina').'
    '.$news[lead_eng].''; endwhile; echo $output; echo "
    ".$nav->navbar()."
    "; exit; endif; ?>