"; $rst = open_mysql("partners_abldata", $sql); open_mysql("close"); $line = mysql_fetch_array($rst, MYSQL_ASSOC); if ($line[rate] > 0) { if ($line[hotdeals] > 0) { $out = "from USD " . round($line[rate] / 1.21) ." " . round($line[hotdeals] / 1.21).""; } else { $out = "from USD ".round($line[rate] / 1.21); } } else { $sql3 = "SELECT MIN(rate) as 'rate' FROM rate_availability WHERE org_id='{$oid}' AND date like '%$year%' AND rate !=0"; //echo $sql3."
"; $rst3 = open_mysql("partners_abldata", $sql3); open_mysql("close"); $line3 = mysql_fetch_array($rst3, MYSQL_ASSOC); if ($line3[rate] > 0) { $out = "from USD ".round($line3[rate] / 1.21); }else{ $out = ""; } } return $out; } function get_minimum_rate_rms($oid, $checkin) { global $myrow; $validity = get_validityX($oid, $checkin); if ($validity["code"] != 0) { $sql = "SELECT curr, sr_single FROM org_rate_room WHERE org_id='{$oid}' AND validity='{$validity["code"]}' ORDER BY sr_single ASC LIMIT 0,1 "; $rst = open_mysql("abldata", $sql); open_mysql("close"); $line = mysql_fetch_array($rst, MYSQL_ASSOC); if (($line[sr_single] + 0) > 0 && $myrow["no_rate_show"] != "Y") { $out = $line[curr] . " ". round($line[sr_single] / 1.21); } else { //$out = "TBA"; $out = ""; } } else { //$out = "TBA"; $out = ""; } return $out; } function list_success_($qty=2){ $sql = "SELECT * FROM success ORDER BY RAND() LIMIT 0,$qty"; $result = open_mysql("etc",$sql); open_mysql ("close"); $output = ""; while ($line = mysql_fetch_array($result, MYSQL_ASSOC)){ $str = strip_tags($line["comment"]); $str = str_replace("[", "<", $str); $str = str_replace("]", ">", $str); $str = preg_replace("/<[^>]+\>/i", "", $str); //$output .= smooth_cutter($str,500)."
"; //$output .= "
From ".$line["name"]; $output .= stripslashes(strip_tags($str))."
"; } return $output; } $tomorrow = mktime (0,0,0,date("m"),date("d")+7,date("Y")); $checkin = date("Y-m-d",$tomorrow); $CID = $checkin; $bln = (int) substr($checkin,5,2); $thn = (int) substr($checkin,0,4); $dt = (int) substr($checkin,8,2); $COD = date("Y-m-d", mktime (0,0,0, $bln, $dt+3, $thn)); ?> <?php echo ucwords($location); ?> Hotels Villas - Discount Rates for all Hotels Villas in <?php echo ucwords($location); ?>-Bali-Indonesia
  • Search Hotels Villas

    Baliwww.com provides over 13,000 hotels booking in more than 100 Indonesia cities from the most luxurious hotels to comfortable villas with best deals.

In and around


Soka area is a convenient pit stop along the main Bali-Java road. Soka has one of the most beautiful beaches in western part of Bali. Soka Beach is black sand with the row of palm trees and beautiful panorama of hills that form natural walls on the west side, Batukaru Mountain Range on the north. On the eastside, Agung Mountain is seen in the distance and Indonesian ocean is on the south with the eastern tip of east Java in the backdrop. There is also a charming rice terrace view along the main road of Soka.

Soka area can be reached with a 2-hour drive from Ngurah Rai International Airport, a 90-minute drive to West Bali National Park which has world class diving and snorkeling as well as birding, hiking and trekking in the area and10 minutes away from Balian, a world class surf destination.

Featured Hotels Villas

Hotels Villas Travel Tips


Hotels Villas Blog


Top Destinations

"; while ($orgALL = mysql_fetch_array($result, MYSQL_ASSOC)) { $url = ""; $photo_td = "/coba/img_js/td_".$i.".jpg"; echo "
  • \"Destination".$url.$orgALL["org_state"]."".$orgALL["count"]."
  • "; $i++; } echo ""; ?>
    All Destinations
    Top Selling Cities
    "; while ($org_cit = mysql_fetch_array($result_cit, MYSQL_ASSOC)) { $url_cit = ""; echo "
  • ".$url_cit.$org_cit["org_city"]."
  • "; if ($iii == 10){echo "
      "; }else{ $iii++; } } echo "
    "; ?>


    true (at main header page) or false (at others) ######################################################################################## function form_search_hotel_auto($main_header){ global $PHP_SELF; global $HTTP_POST_VARS; global $type; global $location; global $config_abl; global $checkin; global $nights; global $rooms; global $org; global $gmode; global $gtype; global $ghotel; global $glocation; global $grategt; global $gratelt; global $gcheckin; global $gnights; global $grooms; global $gsort; global $affiliate_id; global $gview; $hotel = $HTTP_POST_VARS["Hotel"]; if($hotel==""){$hotel = $ghotel;} if($hotel==""){$hotel = "all";} if ($hotel == "all"){ $type = $HTTP_POST_VARS["Type"]; if($type==""){$type = $gtype;} if($type==""){$type = "all";} //$location = $HTTP_POST_VARS["Location"]; if($location==""){$location = $glocation;} if($location==""){$location = "all";} $rate_gt = $HTTP_POST_VARS["Rate-gt"]; if($rate_gt==""){$rate_gt = $grategt;} if($rate_gt==""){$rate_gt = $config_abl["default_rate_gt"];} $rate_lt = $HTTP_POST_VARS["Rate-lt"]; if($rate_lt==""){$rate_lt = $gratelt;} if($rate_lt==""){$rate_lt = $config_abl["default_rate_lt"];} }else{ $type = ""; $location = ""; $rate_gt = "all"; $rate_lt = "all"; } $nights = $HTTP_POST_VARS["nights"]; if($nights==""){$nights = $gnights;} if ($nights==""){$nights=$config_abl["default_nights"];} $rooms = $HTTP_POST_VARS["rooms"]; if($rooms==""){$rooms = $grooms;} if ($rooms==""){$rooms=$config_abl["default_rooms"];} if($checkin==""){$checkin = $gcheckin;} if(strlen($checkin)!=10){$checkin = "";} $sortby = $HTTP_POST_VARS["sortby"]; if($sortby==""){$sortby = $gsort;} if($sortby==""){$sortby = "0";} $view = $HTTP_POST_VARS["view"]; if($view==""){$view = $gview;} if($view==""){$view = "0";} $ID = $org["id"]; $submit_title = "Search"; $hidden_fields = ""; $form_action = "/hotel/search.html"; if ($ID != ""){ $type = $org["type"]; $hotel = $org["name"]; $location = $org["city"]; $submit_title = "Check Rooms Availability"; $form_action = "/".$type."/".$type."_detail/super_saver/".$ID.".html"; $hidden_fields = ""; $hidden_fields .= ""; $hidden_fields .= ""; } $hidden_fields .= ""; //list city dalam combo box /*$sqlcity = "SELECT DISTINCT org_city,org_state FROM organization order by org_state,org_city "; $resultcity = open_mysql ("abldata", $sqlcity); $listcity = "\n"; $resultcity = open_mysql ("close"); */ $sqlcity = "SELECT DISTINCT org_city,org_state,org_country FROM organization order by org_country,org_state,org_city "; $resultcity = open_mysql("abldata", $sqlcity); $listcity = "\n"; $resultcity = open_mysql("close"); $arr_type = array(0=>"hotel", 1=>"villa", 2=>"preferred", 3=>"homestay", 4=>"hotdeals", 5=>"all"); if ($type==""){$type = "all";} $output_type = ''; $bgcolor="#CCCCCC"; if ($type=="hotdeals"){$bgcolor="#CCFFCC";} if ($checkin==""){ $tomorrow = mktime (0,0,0,date("m"),date("d")+$config_abl["default_start_checkin"],date("Y")); $checkin = date("Y-m-d",$tomorrow); }else{ #validate the date; $checkin = date ("Y-m-d", mktime (0,0,0,substr($checkin,5,2)+0,substr($checkin,8,2)+0,substr($checkin,0,4))); } $org["checkin"] = $checkin; $org["rooms"] = $rooms; $org["nights"] = $nights; $bln = (int) substr($checkin,5,2); $thn = (int) substr($checkin,0,4); $dt = (int) substr($checkin,8,2); $output_ci = ''; $output_ci .= ''; $output_ci .= ''; $output_ni = ''; $output_ro = ''; $arr_sort = array(0=>"Hits", 1=>"Name", 2=>"Room Rate", 3=>"Location", 4=>"Star"); $output_sort = ''; if($gmode=="availability"){$view="1";} $arr_sava = array(0=>"All", 1=>"Instant Confirm"); /*$output_sava = ''; */ //GANTI DENGAN RADIO GROUP $output_sava .= ''; if ($view !=1){ $output_sava .= ' '; }else{ $output_sava .= ' '; } if (!$main_header){ if ($ID != ""){ //check availability for hotel that selected echo <<
    {$hotel}
    Check In: {$output_ci} Nights: {$output_ni} Rooms: {$output_ro} {$hidden_fields}

    EOT; }else{ //if id == blank so nothing to display } }else{ if ($ID!=""){$hotel = "all";} echo <<


    {$listcity}

    {$output_ci}

    {$output_ni}
    EOT; } } ?>