ob_start();
$halaman_dinamsi=1;
require_once("inc/config.php");
require_once("inc/fungsi.php");
mysql_select_db($database,$connRead);
$npage=$_GET['npage'];
$id=(int)$_GET['id'];
$npage=str_replace("_"," ",substr($npage,0,strpos($npage,".php")));
$sql_halaman="Select * from tb_content where content_id='".($id*1)."'";
$res_halaman=mysql_query($sql_halaman);
$row_halaman=mysql_fetch_assoc($res_halaman);
$id_setting=1;
$qwert=1;
$halamane=$row_halaman[nama_content];
$judul_halaman=$row_halaman['nama_content'];
$judul_halaman_e=$row_halaman['nama_content_e'];
$kategori=$row_halaman[kategori_halaman];
$includeNya=$row_halaman[file_include];
$nama_halaman=$judul_halaman;
if($kategori==1 && file_exists($includeNya)) header("Location: /".$kodeBahasa."/".str_replace(".php",".html",$includeNya));
include("inc/header.php");
?>