Execute($sqlIns,array($nilai)) === false) { $error = "Error Insert Data"; die ($error); }else{ $error = ""; } return $error; } function updateDB($tbl,$select,$where,$nilai){ global $db; $sqlIns = "update {$tbl} SET $select $where"; //$db->debug = true; if($db->Execute($sqlIns,array($nilai)) === false) { $error = "Error Update Data"; die ($error); }else{ $error = ""; } return $error; } function deleteDB($tbl,$where){ global $db; $del = "DELETE from {$tbl} $where"; if($db->Execute($del) === false) { $error = "Error Delete Data"; die ($error); }else{ $error = ""; } return $error; } /* Fungsi select satu data (c) Rapelino 6 Feb 2011 */ function selectRowDB($select,$tbl,$where){ global $db; $sqlSel = "select $select from {$tbl} $where"; $rs = &$db->GetRow($sqlSel); return $rs; } /* Fungsi select banyak data (c) Rapelino 6 Feb 2011 */ function selectAllDB($select,$tbl,$where,$order='',$limit=''){ global $db; $sqlSel = "select $select from {$tbl} $where $order $limit"; $rs = &$db->GetAll($sqlSel); return $rs; } /* Fungsi untuk memasukan aktifitas user ke dalam log Fungsi ini dapat dilakukan untuk user yang login, dengan table member_log (v.1) */ function insertMemberLog($tblUse,$activity,$nilai){ global $db; $sqlIns = "insert into {member_log} (rand_id,session_id,date_action,info_action,info_table,info_primary_key,id_user) values($values)"; if($db->Execute($sqlIns,array($nilai)) === false) { $error = "Error Insert Log Data"; die ($error); }else{ $error = ""; } return $error; } /* Funsi untuk Generate No Contoh SQL lengkap : "SELECT max(SUBSTR(mem_no_register,5,5))As nomor FROM member WHERE SUBSTR(mem_no_register,1,4)='".$periode."' "; $select1 = mem_no_register $n1 = 5 $n2 = 5 $form = member $select2 = mem_no_register $n3 = 1 $n4 = 4 */ function generateNumberTahun($select1,$n1,$n2,$form,$select2,$n3,$n4){ $thn = date('Y'); $periode= $thn; $SQLNo = "SELECT max(SUBSTR($select1,$n1,$n2))As nomor FROM $form WHERE SUBSTR($select2,$n3,$n4)='".$periode."' "; $rsNo = $db->GetRow($SQLNo); $LastNumber = $rsNo['nomor']; $NewNumber = $LastNumber+1; $MuchChar = strlen($NewNumber); If ($MuchChar == 1) { $NewNumber = $periode.'0000'.$NewNumber; } Else If ($MuchChar == 2) { $NewNumber = $periode.'000'.$NewNumber; } Else If ($MuchChar == 3) { $NewNumber = $periode.'00'.$NewNumber; } Else If ($MuchChar == 4) { $NewNumber = $periode.'0'.$NewNumber; } Else If ($MuchChar == 5) { $NewNumber = $periode.$NewNumber; } Else { $NewNumber = $periode.$NewNumber; } return $NewNumber; } /* nextVal(namaDatabase,namaTable) 8 April 2011 --> FUngsi untuk mendapatkan auto increment id yang terakhir */ function nextVal($schema,$table){ global $db; $sqlNextVal = " SELECT AUTO_INCREMENT AS last_id FROM INFORMATION_SCHEMA.TABLES WHERE table_schema = '$schema' AND TABLE_NAME='$table' "; $rsNextval = &$db->GetRow($sqlNextVal); $id_next = $rsNextval['last_id']; return $id_next; } ?> Hotel in Cipanas, Puncak | Discovery Hotels & Resorts "; print_r($frontImg); echo ""; */ ?>
Central Reservation: 62-21-3835050
green globe tuv






HOTELS & RESORTS
Palace Hotel, Cipanas
Palace Hotel, Cipanas

Jl. Raya Cipanas, Puncak
West Java – Indonesia
Phone : (62-263) 524100
Fax : (62-263) 524200

Number of Room : 185
Location : Cipanas, Puncak
Book Now

Hotel Info | Rooms | Dining | Facilities | Photo Gallery | Hotel Website

HOTEL OVERVIEW

Recently and completed refurbished, all of our 185 rooms and suites share a modern contemporary style and character and are much larger than anything else available on Puncak. From cozy superior rooms to spacious suites, with three exclusive cottages and elegant President Suite will provide ample space for larger families. Completed with outstanding Food and Beverages outlet s with outstanding panoramic views of the surrounding peaks and valleys also our entertainment facilities that provide a unique experience for special occasion for family and friends.

The Palace Hotel is situated in Cipanas, Puncak, with mild climate and fresh air overlooking the dramatic panorama of Mount Gede. We are Ideally located next to the Presidential Palace and within walking distance to Cipanas Market. Located less than 2 hours drive from Jakarta and 1 hour and a half from Bandung, whether its for a weekend break, business gathering or more active pursuits, the Palace Hotel is the ideal setting to get away from it all.

NEWS & UPDATE
Type in your e-mail to stay up to date with our promotion