'; } else { $bgid = $_GET['id']; if($bgid == "vision") { echo ''; } else if($bgid == "decor") { echo ''; } else if($bgid == "product") { echo ''; } else if($bgid == "legality") { echo ''; } } ?>
 

'; if(!isset($_GET['id'])) { echo $row['about_desc']; } else { //vision and mission if($id == "vision") { echo '
'; echo $row['about_vision']; echo '
'; echo '

MISSION

'; echo '
'; echo $row['about_mission']; echo '
'; } //our community else if($id == "community") { echo $row['about_comm']; echo "

"; $qimg = mysql_query("SELECT * FROM bx_comm_img"); while($row = mysql_fetch_array($qimg)) { echo '

'.$row['ci_name'].'

'; } } //decoation division else if($id == "decor") { echo $row['about_decor']; echo "

"; $qimg = mysql_query("SELECT * FROM bx_decor"); while($row = mysql_fetch_array($qimg)) { echo '

'.$row['decor_text'].'

'; } } //production division else if($id == "product") { echo $row['about_product']; echo "

"; $qimg = mysql_query("SELECT * FROM bx_product"); while($row = mysql_fetch_array($qimg)) { echo '

'.$row['product_name'].'

'; } } //company legality else if($id == "legality") { echo $row['about_company']; } //what people say else if($id == "people") { require('paging.php'); $limit = 4; $query = new CnnNav($limit,'bx_testi ORDER BY testi_date DESC','*','testi_date'); $result = $query->getResult(); if(isset($_GET['offset'])) { $nomor = ($limit * $_GET['offset'])+1; } else { $nomor = 1; } if(mysql_num_rows($result) > 0) { $i=1; echo ''; while($row = mysql_fetch_array($result)) { if($i % 2 != 0) { echo' '; } else { echo' '; } $i+=1; } echo "
'; if(($row['testi_company'] == "") or (empty($row['testi_company']))) { echo ""; } else { echo ' '; } echo'

'. $row['testi_name']. '



'; if(($row['testi_company'] == "") or (empty($row['testi_company']))) { echo ''; } else { echo ' '; } echo'
 

'. $row['testi_name']. '



"; echo '
'; if($i > 4) { echo ' '; $query->printNav(); echo '
'; } } else { echo "Tidak ada berita pada kategori ini."; } } } echo '
'; ?>