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 /////////////////////////////// ?>

 

paginate(); while ($row = mysql_fetch_assoc($rs)){ $variable1=$row["tarticle_title"]; echo"

";print($row["tarticle_title"]);echo"

";print($row["tarticle_detail"]);echo"

"; if($row["tarticle_auxsrc"]==""){}else{echo"

";print($row["tarticle_auxsrc"]);echo"

";} if($row["tarticle_auxsrc2"]==""){}else{echo"

";print($row["tarticle_auxsrc2"]);echo"

";} if($row["tarticle_auxsrc3"]==""){}else{echo"

";print($row["tarticle_auxsrc3"]);echo"

";} echo"
"; } if (!$variable1){echo"

 

 ";echo"FATAL ERROR

Item Code Invalid or Not Found. Page URL has been modified or tampered OR Page has been removed and no longer Valid OR You are trying to access through a Bookmark which might expired. Please Try Again OR Contact Us $agent_phone

 

";} // END SHOW ARTICLE ?>
 

 

Subscribe Our Newsletter
"; echo"
"; echo"
"; // SUBSCRIPTION BOX ?>
We are a Member of
  • MATTA
  • NATAS