query('SELECT ...'); //$Rows = $Result->fetch_array(MYSQLI_NUM); // SET DYNAMIC LOCALE DATA $query="SELECT tforex_cntrycode,tforex_country,tforex_currencycode FROM $auxforexglobal_tablename WHERE tforex_cntrycode=\"$pub_loc\"";$result = mysql_query ($query); while($nt=mysql_fetch_array($result)){ $locx=$nt[tforex_country];$mktloc=$nt[tforex_country]; if($pub_loc=="MY"){$publoc="DOMESTIC ONLY";}else{$publoc=$nt[tforex_country]." ONLY";}} // SET DYNAMIC LOCALE COOKIE STARTS if($set=="loc") { if(!$lc||!$cr){}else{ $query="SELECT tforex_cntrycode,tforex_country,tforex_currencycode FROM $auxforexglobal_tablename WHERE tforex_cntrycode=\"$lc\" AND tforex_currencycode=\"$cr\"";$result = mysql_query ($query); while($nt=mysql_fetch_array($result)){ $lc = $nt[tforex_cntrycode];$cr = $nt[tforex_currencycode]; setcookie('pub_loc',$lc,time() + (86400 * 90), "/", ".asianfamoustours.com.my"); // 90 DAYS setcookie('pub_cur',$cr,time() + (86400 * 90), "/", ".asianfamoustours.com.my"); // 90 DAYS header('Refresh: 0; url='.$pagename.'');}} } // SET DYNAMIC LOCALE COOKIE ENDS //echo"locx is $locx
mktloc is $mktloc
publoc is $publoc"; // DATE FORMAT FUNCTION function dateconvertout($dateout) {list($dayout, $monthout, $yearout) = split('[/.-]', $dateout); $dateout = "$yearout-$monthout-$dayout"; return $dateout;} // HUMAN DATE FORMAT function dateconvertoutSH($dateoutSH) { list($dayoutSH, $monthoutSH, $yearoutSH) = split('[/.-]', $dateoutSH); if($monthoutSH == 1) {$monthoutYSH = "Jan";}if($monthoutSH == 2) {$monthoutYSH = "Feb";}if($monthoutSH == 3) {$monthoutYSH = "Mar";}if($monthoutSH == 4) {$monthoutYSH = "Apr";}if($monthoutSH == 5) {$monthoutYSH = "May";}if($monthoutSH == 6) {$monthoutYSH = "Jun";}if($monthoutSH == 7) {$monthoutYSH = "Jul";}if($monthoutSH == 8) {$monthoutYSH = "Aug";}if($monthoutSH == 9) {$monthoutYSH = "Sep";}if($monthoutSH == 10) {$monthoutYSH = "Oct";}if($monthoutSH == 11) {$monthoutYSH = "Nov";}if($monthoutSH == 12) {$monthoutYSH = "Dec";} $dayoutYSH = substr("$dayoutSH", -2); if($dayoutYSH==1 || $dayoutYSH==21 || $dayoutYSH==31){$xtd="st";}elseif($dayoutYSH==2 || $dayoutYSH==22){$xtd="nd";}elseif($dayoutYSH==3 || $dayoutYSH==23){$xtd="rd";}else{$xtd="th";} $dateoutSH = "$dayoutYSH-$monthoutYSH"; return $dateoutSH;} function dateconvertoutSHMY($dateoutSHMY) { list($dayoutSHMY, $monthoutSHMY, $yearoutSHMY) = split('[/.-]', $dateoutSHMY); if($monthoutSHMY == 1) {$monthoutYSHMY = "Jan";}if($monthoutSHMY == 2) {$monthoutYSHMY = "Feb";}if($monthoutSHMY == 3) {$monthoutYSHMY = "Mac";}if($monthoutSHMY == 4) {$monthoutYSHMY = "Apr";}if($monthoutSHMY == 5) {$monthoutYSHMY = "Mei";}if($monthoutSHMY == 6) {$monthoutYSHMY = "Jun";}if($monthoutSHMY == 7) {$monthoutYSHMY = "Jul";}if($monthoutSHMY == 8) {$monthoutYSHMY = "Ogo";}if($monthoutSHMY == 9) {$monthoutYSHMY = "Sep";}if($monthoutSHMY == 10) {$monthoutYSHMY = "Okt";}if($monthoutSHMY == 11) {$monthoutYSHMY = "Nov";}if($monthoutSHMY == 12) {$monthoutYSHMY = "Dis";} $dayoutYSHMY = substr("$dayoutSHMY", -2); if($dayoutYSHMY==1 || $dayoutYSHMY==21 || $dayoutYSHMY==31){$xtdMY="st";}elseif($dayoutYSHMY==2 || $dayoutYSHMY==22){$xtdMY="nd";}elseif($dayoutYSHMY==3 || $dayoutYSHMY==23){$xtdMY="rd";}else{$xtdMY="th";} $dateoutSHMY = "$dayoutYSHMY-$monthoutYSHMY"; return $dateoutSHMY;} ?> Asian Famous Tours & Travel (MALAYSIA)
Asian Famous Tours & Travels
  ";$ulocx = strtoupper($locx);echo"$ulocx ($pub_cur) 
"; ?>
 
  DESTINATION
"; $query="SELECT comm_trlocation, comm_trlocationcountry FROM $commontrlocation_tablename WHERE comm_trlocationcountry!=\"$locx\" ORDER BY `comm_trlocationcountry` ASC"; $result = mysql_query ($query); echo "
  PACKAGE TYPE
"; $query="SELECT comm_trtype FROM $commontrtype_tablename ORDER BY `comm_trtype` ASC"; $result = mysql_query ($query); echo "
  TRAVEL DATE
 
"; ////////////////////////////////////// GADGET ENDS HERE /////////////////////////////// ?>

 

CONTACT US

 

"; echo"
$agent_name
$agent_licence
MALAYSIA

  $agent_address2
  +603 4258 1017 / +603 4258 1018 / 19
  +603 4258 1008
  +6019 7713 846 / +6019 7753 846
  $agent_email
  www.asianfamoustours.com.my

SINGAPORE (HQ)

  465, Crawford Lane, #02-16
190465 SINGAPORE
  +65 6392 0342 / +65 6392 0343
  +65 6392 0343
  +65 8311 7900 / +65 8620 0379
View Map  

DUBAI

  Office 204, Swiss Tower, JLT
P.O.Box : 309073 Dubai
United Arab Emirates (U.A.E)
View Map  

BANGLADESH

  Rangs Pearl (10th floor) Flat No.76
Road No. 12 and 17, Block-E
Banani Dhaka BANGLADESH
  +88 01678565900 / +88 01678565901
  +88 01678565902
View Map  

PHILIPPINES (Preferred Sales Agent)

  #128 Manila Executive Regency
Condominium, 1200 Jorge Bocobo St.
Ermita Manila, 1200 Metro Manila PHILIPPINES
  (02) 456-3227
  +(639) 0919 5081805
View Map  

 
"; echo"

 SEND US MESSAGE

"; // END CONTACT DETAILS // START CONTACT FORM echo"
"; echo"
 
 
 
 
 
 
"; // END CONTACT FORM ?>
 

 

Subscribe Our Newsletter
"; echo"
"; echo"
"; // SUBSCRIPTION BOX ?>
We are a Member of
  • MATTA
  • NATAS
"; echo"
DUBAI
Location Map
"; echo"
"; echo"
INDIA
Location Map
"; echo"
"; echo"
PHILIPPINES
Location Map
"; echo"
"; echo"
BANGLADESH
Location Map
"; echo"
"; echo"
SINGAPORE
Location Map
"; // SHOW MAP ENDS ?>