debug=true; if (empty($_GET["x"])) { //*** Listing Overview $msg_listnews = ""; $SQL = "SELECT * FROM overview "; $RS =$db->Execute($SQL); if ($RS->fields["id_overview"] != "") { $total_jumlah_record = $RS->RecordCount(); $total_jumlah_page = ceil(($total_jumlah_record)/$conf["front_page"]); $teks_parameter = ""; if ($page != 0 ) { if ($page > $total_jumlah_page) $page=$total_jumlah_page; $pagination = pagination($page, $total_jumlah_page, $teks_parameter); $SQL = "SELECT * FROM overview LIMIT " . (($conf["front_page"] * $page ) - $conf["front_page"]) . ",".$conf["front_page"]; $RS = $db->Execute($SQL); //debugvar($total_jumlah_record); //****** Tampilan Listing Overview $i=0; echo ""; while (!$RS->EOF) { $list_id_overview = $RS->fields["id_overview"]; $list_title = $RS->fields["title".$language]; $list_overview_description = $RS->fields["description".$language]; if(empty($RS->fields["thumbnail"])) $image="tnophoto.png"; else $image=$RS->fields["thumbnail"]; echo ""; echo ""; echo ""; echo ""; echo ""; $RS->MoveNext(); $i++; } echo ""; echo "

  ".$list_title."
"; echo ""; echo "
".$list_overview_description."

"; echo ""; if($language=='_in')echo'


'; else echo'


'; echo"

Page :  
" .$pagination["halaman_first"] . $pagination["halaman_next"] . $pagination["halaman_content"] . $pagination["halaman_prev"] .$pagination["halaman_last"]."
"; } else $msg_listnews = "Sorry, There is no record in our database
"; } else $msg_listnews = "Sorry, There is no record in our database
"; } else { //*** Detail Overview $x = $_GET["x"]; //$x = $crypt->decrypt($x); if(is_numeric($x)){ $SQL = "SELECT * FROM overview WHERE id_overview = '".$x."' "; $RS =$db->Execute($SQL); } if (($RS->fields["id_overview"]) != "") { $list_id_overview = $RS->fields["id_overview"]; $list_title = $RS->fields["title".$language]; $list_overview_description = $RS->fields["description".$language]; $list_image = $RS->fields["thumbnail"]; $SQL1 = "SELECT * FROM overview WHERE id_overview != '".$x."' "; $RS1 = $db->Execute($SQL1); $i=0; while (!$RS1->EOF) { $temp_newsid[$i] = $RS1->fields["id_overview"]; $temp_newstitle[$i] = $RS1->fields["title".$language]; $temp_newsdate[$i] = date("d-m-Y" , strtotime($RS1->fields["title"])); $RS1->MoveNext(); $i++; } } //*** Tampilan Detail Overview if (($RS->fields["id_overview"]) != "") { echo ""; echo ""; echo ""; echo ""; echo ""; */ echo ""; echo ""; if ($_SESSION['language'] == '_in') echo ""; else echo ""; echo ""; echo "
".$list_title."
"; /* if ($list_image != "") echo "
".$list_overview_description."
[ Kembali ]
[ Back ]
"; if (($temp_newsid[0]) != "") { echo "

"; if ($_SESSION['language'] == '_in') {echo "Overview Lainnya :