Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:0_bassac:1.0_charter [2025/01/24 08:43] benoiten:0_bassac:1.0_charter [2026/07/06 09:28] (current) – external edit 127.0.0.1
Line 52: Line 52:
  
 [WEBLEADS] [WEBLEADS]
 +
 +<html><div style="height: 1.5rem;"></div></html>
 +{{section>:admin:snippets:bassac_tag#en public&noheader}}
  
 <html><div style="clear: both"></div></html> <html><div style="clear: both"></div></html>
Line 61: Line 64:
 Get a glimpse of what your itinerary could look like. For **ultimate freedom** in pacing and tuning your cruise, make it over more than one night. Get a glimpse of what your itinerary could look like. For **ultimate freedom** in pacing and tuning your cruise, make it over more than one night.
  
-<php> +[CHARTER_PROGRAM]
-$GET = "?id={$_REQUEST['id']}&prog=1#iti"; +
- +
-# if there is a requested trip, parse it into the POST +
-$POST = $_POST;    +
-foreach ($POST as $key => $val){ +
-    if (empty($val)) unset($POST[$key]); +
-+
-if (!empty($_REQUEST['iti'])){ +
-    $ports = explode('-', $_REQUEST['iti']); +
-    $POST = array(); +
-    $poc = 1; +
-    foreach($ports as $port){ +
-        $POST["day${poc}"] = $port; +
-        $poc++; +
-    } +
-+
- +
-$ch = curl_init(); +
-curl_setopt($ch, CURLOPT_URL, "https://transmekong.com/charter_prog.php{$GET}"); +
-curl_setopt($ch, CURLOPT_POST, 1); +
-curl_setopt($ch, CURLOPT_POSTFIELDS, $POST); +
-curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); +
- +
-$charter_prog = curl_exec($ch); +
-curl_close ($ch); +
- +
-echo $charter_prog; +
-</php>+
 <html> <html>
 <img src="/img/NavMekPtt.png" style='float: right; clear: both' width="302" height="162" usemap="#map1" border="0" alt="Mekong Delta Map" /> <img src="/img/NavMekPtt.png" style='float: right; clear: both' width="302" height="162" usemap="#map1" border="0" alt="Mekong Delta Map" />
Line 109: Line 84:
 Our [[en:terms:sales_terms]] apply. Our [[en:terms:sales_terms]] apply.
  
-<php> +[RATE_TABLE page=charter]
- +
-_tpl_load_live('https://transmekong.com/lib/libRates.php?lang=en&page=charter'); +
- +
-</php>+
  
 [FOLDABLE stop=] [FOLDABLE stop=]