switch($_REQUEST['module']){
case 'hal':
$id = base64_decode($_REQUEST['id']);
$DetailBerita=mysql_fetch_array(mysql_query("select * from news where news_id='".$id."'"));
$categoryBerita=mysql_fetch_array(mysql_query("select * from news_category where news_cat_id='".$DetailBerita['news_cat_id']."'"));
$bulanBerita = substr($DetailBerita['news_tgl'],5,2);
$tanggalBerita = substr($DetailBerita['news_tgl'],8,2);
$tahunBerita = substr($DetailBerita['news_tgl'],0,4);
//echo $tanggal;
$isiLates = substr($isi_beritaLates,0,strrpos($isiLates," "));
echo'
'.$DetailBerita['news_detail'].'
';
echo'
';
$rsql = ("select * from content where id_content in ('K001','K002','K003','K004')order by RAND(id_content) desc limit 0,3");
$dt = mysql_query($rsql);
while ($rox=mysql_fetch_array($dt)){
echo '
-
';
}
break;
}
?>
include 'pages/footer.php';?>