Merge branch 'master' of github.com:hainatravel/information-system

hotfix/paypal-note
赵鹏 2 years ago
commit 17a0d23704

@ -1,4 +1,4 @@
# . # Disabled
name: 🚀 Deploy INFO-SYS name: 🚀 Deploy INFO-SYS
on: on:
# Triggers the workflow on push or pull request events but only for the master branch # Triggers the workflow on push or pull request events but only for the master branch

@ -92,3 +92,90 @@ jobs:
*.exe *.exe
*.docx *.docx
.ftp-deploy-sync-state.json .ftp-deploy-sync-state.json
hn-notification:
needs: gh-win-cn-deploy
name: 🔔 Send notificaiton
runs-on: ubuntu-latest
if: always() # set "always"
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v3
# run this action to get the workflow conclusion
# You can get the conclusion via env (env.WORKFLOW_CONCLUSION)
- uses: technote-space/workflow-conclusion-action@v3
- name: Expose git commit data
uses: rlespinasse/git-commit-data-action@v1
- name: Print git commit data
run: |
echo "Get workflow conclusion"
echo " - ${{ env.WORKFLOW_CONCLUSION }}"
echo "Get commit info"
echo " - ${{ env.GIT_COMMIT_SHA }}"
echo " - ${{ env.GIT_COMMIT_SHORT_SHA }}"
# echo "Get author info"
# echo " - ${{ env.GIT_COMMIT_AUTHOR }}"
# echo " - ${{ env.GIT_COMMIT_AUTHOR_NAME }}"
# echo " - ${{ env.GIT_COMMIT_AUTHOR_EMAIL }}"
# echo "Get committer info"
# echo " - ${{ env.GIT_COMMIT_COMMITTER }}"
# echo " - ${{ env.GIT_COMMIT_COMMITTER_NAME }}"
# echo " - ${{ env.GIT_COMMIT_COMMITTER_EMAIL }}"
# echo "Get message info"
# echo " - ${{ env.GIT_COMMIT_MESSAGE_SUBJECT }}"
# echo " - ${{ env.GIT_COMMIT_MESSAGE_SUBJECT_SANITIZED }}"
# echo " - ${{ env.GIT_COMMIT_MESSAGE_BODY }}"
- name: ✉ Send some mail
uses: dawidd6/action-send-mail@v3
with:
# Specify connection via URL (replaces server_address, server_port, secure,
# username and password)
#
# Format:
#
# * smtp://user:password@server:port
# * smtp+starttls://user:password@server:port
# connection_url: ${{secrets.MAIL_CONNECTION}}
# Required mail server address if not connection_url:
server_address: hwsmtp.exmail.qq.com
# Server port, default 25:
server_port: 465
# Optional whether this connection use TLS (default is true if server_port is 465)
secure: true
# Optional (recommended) mail server username:
username: ${{secrets.MAIL_USERNAME}}
# Optional (recommended) mail server password:
password: ${{secrets.MAIL_PASSWORD}}
# Required mail subject:
subject: ${{env.WORKFLOW_CONCLUSION}} ${{ github.repository }}
# Required recipients' addresses:
to: ${{ env.GIT_COMMIT_COMMITTER_EMAIL }}
# Required sender full name (address can be skipped):
from: Git # <user@example.com>
# Optional plain body:
body: |
${{ env.WORKFLOW_CONCLUSION }}
${{ github.repository }}
${{ env.GIT_COMMIT_SHORT_SHA }}: ${{ env.GIT_COMMIT_MESSAGE_SUBJECT }}
# Optional HTML body read from file:
# html_body: file://README.html
# Optional carbon copy recipients:
# cc: lyt@hainatravel.com
# Optional blind carbon copy recipients:
# bcc: r2d2@example.com,hansolo@example.com
# Optional recipient of the email response:
# reply_to: luke@example.com
# Optional Message ID this message is replying to:
# in_reply_to: <random-luke@example.com>
# Optional unsigned/invalid certificates allowance:
ignore_cert: true
# Optional converting Markdown to HTML (set content_type to text/html too):
convert_markdown: true
# Optional attachments:
# attachments: attachments.zip,git.diff,./dist/static/*.js
# Optional priority: 'high', 'normal' (default) or 'low'
priority: low

@ -1679,6 +1679,7 @@ class Information extends CI_Controller
$data = array(); $data = array();
$data['information'] = $information; $data['information'] = $information;
$recommand_template = '';
switch ($device) { switch ($device) {
case 'mobile': case 'mobile':
//获取移动优先的模板,如果有的话 //获取移动优先的模板,如果有的话
@ -1689,6 +1690,7 @@ class Information extends CI_Controller
} else { } else {
return false; return false;
} }
$recommand_template = 'mobile_first/ah-next-mobile';
break; break;
case 'pc': case 'pc':
//获取PC的模板如果有的话 //获取PC的模板如果有的话
@ -1699,6 +1701,7 @@ class Information extends CI_Controller
} else { } else {
return false; return false;
} }
$recommand_template = 'mobile_first/ah-next';
break; break;
default: default:
} }
@ -1771,9 +1774,8 @@ class Information extends CI_Controller
); );
//推荐信息或者产品 //推荐信息或者产品
//信息推荐 $template_recommand = $recommand_information;
$template_recommand = $recommand_information; // $this->recommand_information($information); $template = str_replace('<!--@ARTICLENEXT@-->', $this->load->view($recommand_template, array('recommands' => $template_recommand), true), $template);
$template = str_replace('<!--@ARTICLENEXT@-->', $this->load->view($template_path . '-next', array('recommands' => $template_recommand), true), $template);
//广告改叫tips防止被插件屏蔽 //广告改叫tips防止被插件屏蔽
if (!empty($template_recommand['Tips Right'])) { if (!empty($template_recommand['Tips Right'])) {
$template = str_replace('<!--@TIPS-RIGHT@-->', "<div class='right_tour'><div class='ah_inforight'>" . $template_recommand['Tips Right']->it_content . "</div></div>", $template); $template = str_replace('<!--@TIPS-RIGHT@-->', "<div class='right_tour'><div class='ah_inforight'>" . $template_recommand['Tips Right']->it_content . "</div></div>", $template);
@ -2801,7 +2803,7 @@ class Information extends CI_Controller
} }
if (!empty($data)) { if (!empty($data)) {
$exclude_ids[] = $data->is_id; $exclude_ids[] = $data->is_id;
//读取附加移动端图片 $data->desktop_photo = get_meta($data->ic_id, 'meta_addon_picture');
$data->mobile_photo = get_meta($data->ic_id, 'meta_addon_picture_mobile'); $data->mobile_photo = get_meta($data->ic_id, 'meta_addon_picture_mobile');
if (empty($data->mobile_photo)) { if (empty($data->mobile_photo)) {
if (!empty($data->ic_photo)) { if (!empty($data->ic_photo)) {

@ -139,7 +139,7 @@
value="<?php echo isset($keywords) ? $keywords : false; ?>"> value="<?php echo isset($keywords) ? $keywords : false; ?>">
<button class="btn">搜索</button> <button class="btn">搜索</button>
<?php if (in_array($this->config->item('site_code'), array('jp', 'gm', 'vc', 'vac', 'ru', 'it'))) { ?> <?php if (in_array($this->config->item('site_code'), array('jp', 'gm', 'vc', 'vac', 'ru', 'it'))) { ?>
<a href="https://res.chinarundreisen.com/icht-heroes/#/picture-manager/picture-storehouse" target="_blank" <a href="https://cdn.chinarundreisen.com/icht-heroes/#/picture-manager/picture-storehouse" target="_blank"
class="btn" title="图片上传管理"><i class="icon-picture"></i></a> class="btn" title="图片上传管理"><i class="icon-picture"></i></a>
<?php } else { ?> <?php } else { ?>
<a href="#" onclick="openKCFinder_singleFile_res();" class="btn" title="快速上传图片"><i <a href="#" onclick="openKCFinder_singleFile_res();" class="btn" title="快速上传图片"><i

@ -21,39 +21,38 @@
sitecode: '<?php echo $this->config->item('site_code'); ?>', sitecode: '<?php echo $this->config->item('site_code'); ?>',
width: 1024, width: 1024,
height: 800, height: 800,
onInit: function(finder) { onInit: function (finder) {
finder.on('files:choose', function(evt) { finder.on('files:choose', function (evt) {
var file = evt.data.files.first(); var file = evt.data.files.first();
alert(file.getUrl()); alert(file.getUrl());
}); });
finder.on('file:choose:resizedImage', function(evt) { finder.on('file:choose:resizedImage', function (evt) {
alert(evt.data.resizedUrl); alert(evt.data.resizedUrl);
}); });
} }
}); });
/*
window.KCFinder = {};
window.KCFinder.callBack = function(url) {
<?php
switch ($this->config->item('site_code')) {
case 'ah':
echo "alert(url.replace('/kcfinder/upload/ah/','https://data.asiahighlights.com/'));";
break;
case 'gm':
echo "alert(url.replace('/kcfinder/upload/gm/','https://data.chinarundreisen.com/'));";
break;
default:
echo 'alert(url);';
}
?>
window.KCFinder = null;
};
window.open('/kcfinder/browse.php?type=<?php echo $this->config->item('site_code'); ?>', 'kcfinder_textbox', 'status=0, toolbar=0, location=0, menubar=0, directories=0,resizable=1, scrollbars=0, width=800, height=600' );
*/ // window.KCFinder = {};
// window.KCFinder.callBack = function (url) {
// <?php
// switch ($this->config->item('site_code')) {
// case 'ah':
// echo "alert(url.replace('/kcfinder/upload/ah/','https://data.asiahighlights.com/'));";
// break;
// case 'gm':
// echo "alert(url.replace('/kcfinder/upload/gm/','https://data.chinarundreisen.com/'));";
// break;
// default:
// echo 'alert(url);';
// }
// ?>
// window.KCFinder = null;
// };
// window.open('/kcfinder/browse.php?type=<?php echo $this->config->item('site_code'); ?>', 'kcfinder_textbox', 'status=0, toolbar=0, location=0, menubar=0, directories=0,resizable=1, scrollbars=0, width=800, height=600');
} }
@ -77,7 +76,7 @@
var url = '<?php echo site_url("author/set_msg_to_read"); ?>'; var url = '<?php echo site_url("author/set_msg_to_read"); ?>';
$.post(url, { $.post(url, {
'msg_ids': ic_ids 'msg_ids': ic_ids
}, function(result) { }, function (result) {
window.location.href = window.location.href; window.location.href = window.location.href;
}); });
} }
@ -124,7 +123,7 @@
</script> </script>
<script> <script>
var _hmt = _hmt || []; var _hmt = _hmt || [];
(function() { (function () {
var hm = document.createElement("script"); var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?57ab7a81de0914994d5f2cf7986124f8"; hm.src = "https://hm.baidu.com/hm.js?57ab7a81de0914994d5f2cf7986124f8";
var s = document.getElementsByTagName("script")[0]; var s = document.getElementsByTagName("script")[0];
@ -204,7 +203,7 @@
<span class="input-group-btn"> <span class="input-group-btn">
<button class="btn btn-default btn-sm" type="submit">搜索</button> <button class="btn btn-default btn-sm" type="submit">搜索</button>
<?php if (in_array($this->config->item('site_code'), array('jp', 'gm', 'vc', 'vac', 'ru', 'it'))) { ?> <?php if (in_array($this->config->item('site_code'), array('jp', 'gm', 'vc', 'vac', 'ru', 'it'))) { ?>
<a href="https://res.chinarundreisen.com/icht-heroes/#/picture-manager/picture-storehouse" target="_blank" <a href="https://cdn.chinarundreisen.com/icht-heroes/#/picture-manager/picture-storehouse" target="_blank"
class="btn btn-default btn-sm" title="图片上传管理"><span class="glyphicon glyphicon-picture"></span></a> class="btn btn-default btn-sm" title="图片上传管理"><span class="glyphicon glyphicon-picture"></span></a>
<?php } else { ?> <?php } else { ?>
<a href="#" onclick="openKCFinder_singleFile_res();" class="btn btn-default btn-sm" title="快速上传图片"><span <a href="#" onclick="openKCFinder_singleFile_res();" class="btn btn-default btn-sm" title="快速上传图片"><span
@ -256,8 +255,7 @@
onclick="set_allmsg_to_read($('#unreadinfomsg').val());">标记全部收录信息为已读</a> onclick="set_allmsg_to_read($('#unreadinfomsg').val());">标记全部收录信息为已读</a>
<li class="divider"></li> <li class="divider"></li>
<?php foreach ($info_unread_sms['sms'] as $m) { ?> <?php foreach ($info_unread_sms['sms'] as $m) { ?>
<li><a <li><a href="<?php echo site_url('information/edit/' . $m[0]->is_id); ?>"><?php
href="<?php echo site_url('information/edit/' . $m[0]->is_id); ?>"><?php
$t_title = get_text_short($m[0]->t_title, 15); $t_title = get_text_short($m[0]->t_title, 15);
echo '[' . $m[0]->ic_sitecode . '] ' . $t_title['content'] . ' (' . $m[0]->m_content . ')'; echo '[' . $m[0]->ic_sitecode . '] ' . $t_title['content'] . ' (' . $m[0]->m_content . ')';
?></a> ?></a>
@ -269,8 +267,7 @@
<?php } ?> <?php } ?>
<!--作者平台的消息--> <!--作者平台的消息-->
<?php foreach ($all_unread_sms['sms'] as $am) { ?> <?php foreach ($all_unread_sms['sms'] as $am) { ?>
<li><a <li><a href="<?php echo site_url('author/edit_task/' . $am[0]->m_object_id); ?>"><?php
href="<?php echo site_url('author/edit_task/' . $am[0]->m_object_id); ?>"><?php
$t_title = get_text_short($am[0]->t_title, 15); $t_title = get_text_short($am[0]->t_title, 15);
echo $t_title['content'] . ' (' . count($am) . ')'; echo $t_title['content'] . ' (' . count($am) . ')';
?></a> ?></a>
@ -291,8 +288,7 @@
</a> </a>
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<?php foreach ($this->config->item('site') as $site_item) { ?> <?php foreach ($this->config->item('site') as $site_item) { ?>
<li> <a <li> <a href="<?php echo site_url('login/change_site/' . $site_item['site_code']); ?>"><?php echo $site_item['site_code'] ?></a>
href="<?php echo site_url('login/change_site/' . $site_item['site_code']); ?>"><?php echo $site_item['site_code'] ?></a>
</li> </li>
<?php } ?> <?php } ?>
<li><a href="<?php echo site_url('login/out'); ?>">退出</a></li> <li><a href="<?php echo site_url('login/out'); ?>">退出</a></li>

@ -349,13 +349,21 @@
<input type="checkbox" value="yes" name="contact_via_phone_call" id="Phone" class="checkBorder" > <input type="checkbox" value="yes" name="contact_via_phone_call" id="Phone" class="checkBorder" >
<label for="Phone">Phone call</label> <label for="Phone">Phone call</label>
</div> </div>
<div class="checkYes">
<input type="checkbox" value="yes" name="contact_via_email" id="Email" class="checkBorder" >
<label for="Email">Email</label>
</div>
<div class="checkYes"> <div class="checkYes">
<input type="checkbox" value="yes" name="contact_via_video_appointment" id="Video" class="checkBorder" > <input type="checkbox" value="yes" name="contact_via_video_appointment" id="Video" class="checkBorder" >
<label for="Video">Video appointment</label> <label for="Video">Video appointment</label>
</div> </div>
<p style=" clear: both;
margin-top: 60px;
margin-bottom: -30px; padding: 0;">We require a USD 300 deposit per adult or child charged at adult rates. For single room requests or if traveling with children, please inform us. Additional costs will be added to your balance.</p>
<button class="sendButton" id="submit_gp_form" type="button">Inquire Now</button> <button class="sendButton" id="submit_gp_form" type="button">Inquire Now</button>
<input name="total_price" id="totalPriceHidden" type="hidden" value="10000" />
<input name="payment_required" id="payment_required" type="hidden" value="required" />
<input name="product_code" type="hidden" value="<?php echo $meta_product_code; ?>"/> <input name="product_code" type="hidden" value="<?php echo $meta_product_code; ?>"/>
<input name="itinerary" type="hidden" value="<?php echo $information->ic_title; ?>" /> <input name="itinerary" type="hidden" value="<?php echo $information->ic_title; ?>" />
</form> </form>
@ -399,6 +407,16 @@
var adultNumberValue = el('adultNumber').value; var adultNumberValue = el('adultNumber').value;
const plusAdultBtn = el('plusAdult'); const plusAdultBtn = el('plusAdult');
const minusAdultBtn = el('minusAdult'); const minusAdultBtn = el('minusAdult');
const totalPriceHidden = el("totalPriceHidden");
function calcTotalPrice(ticketPrice, adultNumber) {
var totalPrice = ticketPrice * adultNumber;
if (adultNumber >= 10) {
totalPrice = totalPrice * 0.95;
}
return totalPrice.toFixed(2);
}
plusAdultBtn.on('click', () => { plusAdultBtn.on('click', () => {
adultNumberValue++; adultNumberValue++;
@ -453,6 +471,9 @@
const gp_form = el('gp_form'); const gp_form = el('gp_form');
submitFormBtn.on('click', () => { submitFormBtn.on('click', () => {
if (validateGPForm()) { if (validateGPForm()) {
var ticketPrice = 300;
var totalPrice = calcTotalPrice(ticketPrice, adultNumberValue);
totalPriceHidden.value = totalPrice;
if (typeof(grecaptcha) === "undefined") { if (typeof(grecaptcha) === "undefined") {
console.warn('grecaptcha is disabled.'); console.warn('grecaptcha is disabled.');

@ -477,6 +477,10 @@ Our must-dos/must-sees are…" style="height:90px;"></textarea>
<input type="checkbox" value="yes" name="contact_via_phone_call" id="Phone" class="checkBorder" > <input type="checkbox" value="yes" name="contact_via_phone_call" id="Phone" class="checkBorder" >
<label for="Phone">Phone call</label> <label for="Phone">Phone call</label>
</div> </div>
<div class="checkYes">
<input type="checkbox" value="yes" name="contact_via_email" id="Email" class="checkBorder" >
<label for="Email">Email</label>
</div>
<div class="checkYes"> <div class="checkYes">
<input type="checkbox" value="yes" name="contact_via_video_appointment" id="Video" class="checkBorder" > <input type="checkbox" value="yes" name="contact_via_video_appointment" id="Video" class="checkBorder" >
<label for="Video">Video appointment</label> <label for="Video">Video appointment</label>

@ -537,6 +537,10 @@ margin-bottom: 10px;
<input type="checkbox" value="yes" name="contact_via_phone_call" id="Phone" class="checkBorder" > <input type="checkbox" value="yes" name="contact_via_phone_call" id="Phone" class="checkBorder" >
<label for="Phone">Phone call</label> <label for="Phone">Phone call</label>
</div> </div>
<div class="checkYes">
<input type="checkbox" value="yes" name="contact_via_email" id="Email" class="checkBorder" >
<label for="Email">Email</label>
</div>
<div class="checkYes"> <div class="checkYes">
<input type="checkbox" value="yes" name="contact_via_video_appointment" id="Video" class="checkBorder" > <input type="checkbox" value="yes" name="contact_via_video_appointment" id="Video" class="checkBorder" >
<label for="Video">Video appointment</label> <label for="Video">Video appointment</label>

@ -324,6 +324,10 @@
<input type="checkbox" value="yes" name="contact_via_phone_call" id="Phone" class="checkBorder" > <input type="checkbox" value="yes" name="contact_via_phone_call" id="Phone" class="checkBorder" >
<label for="Phone">Phone call</label> <label for="Phone">Phone call</label>
</div> </div>
<div class="checkYes">
<input type="checkbox" value="yes" name="contact_via_email" id="Email" class="checkBorder" >
<label for="Email">Email</label>
</div>
<div class="checkYes"> <div class="checkYes">
<input type="checkbox" value="yes" name="contact_via_video_appointment" id="Video" class="checkBorder" > <input type="checkbox" value="yes" name="contact_via_video_appointment" id="Video" class="checkBorder" >
<label for="Video">Video appointment</label> <label for="Video">Video appointment</label>
@ -335,8 +339,9 @@
font-style: italic; font-style: italic;
color: #333; color: #333;
">A USD 200 deposit is required for each adult/child over 8. Please let us know if you need a single room or if you're traveling with children under 8. Any additional costs will be added to your balance.</p> ">A USD 200 deposit is required for each adult/child over 8. Please let us know if you need a single room or if you're traveling with children under 8. Any additional costs will be added to your balance.</p>
<button class="sendButton" id="submit_gp_form" type="button">Proceed to Payment</button> <button class="sendButton" id="submit_gp_form" type="button">Inquire</button>
<input name="total_price" id="totalPriceHidden" type="hidden" value="10000" /> <input name="total_price" id="totalPriceHidden" type="hidden" value="10000" />
<input name="payment_description" type="hidden" value="Booking Yi Peng Festival Mini-Group Tour" />
<input name="product_code" type="hidden" value="<?php echo $meta_product_code; ?>"/> <input name="product_code" type="hidden" value="<?php echo $meta_product_code; ?>"/>
<input name="itinerary" type="hidden" value="<?php echo $information->ic_title; ?>" /> <input name="itinerary" type="hidden" value="<?php echo $information->ic_title; ?>" />
</form> </form>

@ -4,7 +4,7 @@
<h3 style="font-size: 24px; line-height: 22px;">Chiang Mai CAD Yi Peng Festival 2023 - Secure Your Exclusive Tickets Before They're Gone!</h3> <h3 style="font-size: 24px; line-height: 22px;">Chiang Mai CAD Yi Peng Festival 2023 - Secure Your Exclusive Tickets Before They're Gone!</h3>
<form id='ticket_form' action="https://www.asiahighlights.com/orders/lantern_save" method="post"> <form id='ticket_form' action="https://www.asiahighlights.com/orders/lantern_save" method="post">
<p style=" font-size: 22px;"><strong>Select Date</strong></p> <p style=" font-size: 22px;"><strong>Select Date</strong></p>
<div class="selectHotl"> <div class="selectHotl" style="margin-bottom: 20px;">
<div class="optionLable"> <div class="optionLable">
<input type="radio" value="2023-11-27" id="november27th" name="ticket_date"> <input type="radio" value="2023-11-27" id="november27th" name="ticket_date">
<label for="november27th"> <label for="november27th">
@ -19,7 +19,7 @@
</div> </div>
</div> </div>
<p style=" font-size: 22px;"><strong>Select Ticket Type</strong></p> <p style=" font-size: 22px;"><strong>Select Ticket Type</strong></p>
<div class="selectHotl"> <div class="selectHotl" style="margin-bottom: 20px;">
<div class="optionLable" id="ticket_type_premium"> <div class="optionLable" id="ticket_type_premium">
<input type="radio" value="Premium+Transfer+Dinner" id="Premium" name="ticket_type"> <input type="radio" value="Premium+Transfer+Dinner" id="Premium" name="ticket_type">
<label for="Premium" style="font-size:18px;"> <label for="Premium" style="font-size:18px;">
@ -48,6 +48,7 @@
</label> </label>
</div> </div>
</div> </div>
<p style="display: inline-block;">Premium ticket booking for the 27th is closed. However, we've reserved tickets for those booking our Lantern Festival Tour. We highly recommend our <a href="/thailand/tours/lantern-festival">Lantern Festival Tou</a>r to secure a premium ticket for November 27th.</p>
<p style=" font-size: 22px;"><strong>Select Quantity</strong></p> <p style=" font-size: 22px;"><strong>Select Quantity</strong></p>
<div class="peopleSelect" style="width: auto;"> <div class="peopleSelect" style="width: auto;">
<span class="formMemo"> <span class="formMemo">
@ -366,6 +367,10 @@
<input type="checkbox" value="yes" name="contact_via_phone_call" id="Phone" class="checkBorder"> <input type="checkbox" value="yes" name="contact_via_phone_call" id="Phone" class="checkBorder">
<label for="Phone">Phone call</label> <label for="Phone">Phone call</label>
</div> </div>
<div class="checkYes">
<input type="checkbox" value="yes" name="contact_via_email" id="Email" class="checkBorder">
<label for="Email">Email</label>
</div>
<div class="checkYes"> <div class="checkYes">
<input type="checkbox" value="yes" name="contact_via_video_appointment" id="Video" class="checkBorder"> <input type="checkbox" value="yes" name="contact_via_video_appointment" id="Video" class="checkBorder">
<label for="Video">Video appointment</label> <label for="Video">Video appointment</label>
@ -422,14 +427,13 @@
var ticketDateNode = ticketDateList[i]; var ticketDateNode = ticketDateList[i];
ticketDateNode.addEventListener('click', function (event) { ticketDateNode.addEventListener('click', function (event) {
var currentTarget = event.currentTarget; var currentTarget = event.currentTarget;
// 8 号所有的票卖完了 if (currentTarget.id === 'november27th') {
// if (currentTarget.id === 'november8th') { ticketTypePremium.style.display = 'none';
// ticketTypePremium.style.display = 'none';
// vipTypePremium.style.display = 'none'; // vipTypePremium.style.display = 'none';
// } else { } else {
// ticketTypePremium.style.display = ''; ticketTypePremium.style.display = '';
// vipTypePremium.style.display = ''; // vipTypePremium.style.display = '';
// } }
}); });
} }
var plusButton = document.getElementById("plusButton"); var plusButton = document.getElementById("plusButton");

@ -3,7 +3,7 @@
<h3 style="font-size: 24px; line-height: 22px;">Chiang Mai CAD Yi Peng Festival 2023 - Secure Your Exclusive Tickets Before They're Gone!</h3> <h3 style="font-size: 24px; line-height: 22px;">Chiang Mai CAD Yi Peng Festival 2023 - Secure Your Exclusive Tickets Before They're Gone!</h3>
<form id='ticket_form' action="https://www.asiahighlights.com/orders/lantern_save" method="post" > <form id='ticket_form' action="https://www.asiahighlights.com/orders/lantern_save" method="post" >
<p style=" font-size: 22px;"><strong>Select Date</strong></p> <p style=" font-size: 22px;"><strong>Select Date</strong></p>
<div class="selectHotl"> <div class="selectHotl" style="margin-bottom: 20px;">
<div class="optionLable"> <div class="optionLable">
<input type="radio" value="2023-11-27" id="november27th" name="ticket_date"> <input type="radio" value="2023-11-27" id="november27th" name="ticket_date">
<label for="november27th"> <label for="november27th">
@ -17,8 +17,9 @@
</label> </label>
</div> </div>
</div> </div>
<p style=" font-size: 22px;"><strong>Select Ticket Type</strong></p> <p style="font-size: 22px;"><strong>Select Ticket Type</strong></p>
<div class="selectHotl">
<div class="selectHotl" style="margin-bottom: 20px;">
<div class="optionLable" id="ticket_type_premium"> <div class="optionLable" id="ticket_type_premium">
<input type="radio" value="Premium+Transfer+Dinner" id="Premium" name="ticket_type"> <input type="radio" value="Premium+Transfer+Dinner" id="Premium" name="ticket_type">
<label for="Premium" style="font-size:18px;"> <label for="Premium" style="font-size:18px;">
@ -47,6 +48,7 @@
</label> </label>
</div> </div>
</div> </div>
<p style="display: inline-block;">Premium ticket booking for the 27th is closed. However, we've reserved tickets for those booking our Lantern Festival Tour. We highly recommend our <a href="/thailand/tours/lantern-festival">Lantern Festival Tour</a> to secure a premium ticket for November 27th.</p>
<p style=" font-size: 22px;"><strong>Select Quantity</strong></p> <p style=" font-size: 22px;"><strong>Select Quantity</strong></p>
<div class="peopleSelect" style="width: auto;"> <div class="peopleSelect" style="width: auto;">
<span class="formMemo"> <span class="formMemo">
@ -360,6 +362,10 @@
<input type="checkbox" value="yes" name="contact_via_phone_call" id="Phone" class="checkBorder" > <input type="checkbox" value="yes" name="contact_via_phone_call" id="Phone" class="checkBorder" >
<label for="Phone">Phone call</label> <label for="Phone">Phone call</label>
</div> </div>
<div class="checkYes">
<input type="checkbox" value="yes" name="contact_via_email" id="Email" class="checkBorder" >
<label for="Email">Email</label>
</div>
<div class="checkYes"> <div class="checkYes">
<input type="checkbox" value="yes" name="contact_via_video_appointment" id="Video" class="checkBorder" > <input type="checkbox" value="yes" name="contact_via_video_appointment" id="Video" class="checkBorder" >
<label for="Video">Video appointment</label> <label for="Video">Video appointment</label>
@ -416,14 +422,13 @@
var ticketDateNode = ticketDateList[i]; var ticketDateNode = ticketDateList[i];
ticketDateNode.addEventListener('click', function (event) { ticketDateNode.addEventListener('click', function (event) {
var currentTarget = event.currentTarget; var currentTarget = event.currentTarget;
// 8 号所有的票卖完了 if (currentTarget.id === 'november27th') {
// if (currentTarget.id === 'november8th') { ticketTypePremium.style.display = 'none';
// ticketTypePremium.style.display = 'none';
// vipTypePremium.style.display = 'none'; // vipTypePremium.style.display = 'none';
// } else { } else {
// ticketTypePremium.style.display = ''; ticketTypePremium.style.display = '';
// vipTypePremium.style.display = ''; // vipTypePremium.style.display = '';
// } }
}); });
} }
var plusButton = document.getElementById("plusButton"); var plusButton = document.getElementById("plusButton");

@ -0,0 +1,252 @@
<div class="nextcontext">
<?php if(!empty($recommands['Tour A']) || !empty($recommands['Tour B']) || !empty($recommands['Tour C']) || !empty($recommands['Tour D'])){ ?>
<h2 class="nexttitle">Get Inspired with Some Popular Itineraries</h2>
<p class="nextinfo">At Asia Highlights, we create your kind of journey — your dates, your destinations, at your pace. You can have any trip tailor made for your travel.</p>
<?php if(!empty($recommands['Tour A'])){ ?>
<div class="nextarticle">
<a href="<?php echo $recommands['Tour A']->ic_url; ?>" id="bottom_tour_a_image_mobile"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Tour A']->desktop_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Tour A']->ic_title; ?>"></a>
<div class="tournextname"><a href="<?php echo $recommands['Tour A']->ic_url; ?>" id="bottom_tour_a_title_mobile"><?php echo $recommands['Tour A']->ic_title; ?></a></div>
</div>
<?php } ?>
<?php if(!empty($recommands['Tour B'])){ ?>
<div class="nextarticle">
<a href="<?php echo $recommands['Tour B']->ic_url; ?>" id="bottom_tour_b_image_mobile"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Tour B']->desktop_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Tour B']->ic_title; ?>"></a>
<div class="tournextname"><a href="<?php echo $recommands['Tour B']->ic_url; ?>" id="bottom_tour_b_title_mobile"><?php echo $recommands['Tour B']->ic_title; ?></a></div>
</div>
<?php } ?>
<?php if(!empty($recommands['Tour C'])){ ?>
<div class="nextarticle">
<a href="<?php echo $recommands['Tour C']->ic_url; ?>" id="bottom_tour_c_image_mobile"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Tour C']->desktop_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Tour C']->ic_title; ?>"></a>
<div class="tournextname"><a href="<?php echo $recommands['Tour C']->ic_url; ?>" id="bottom_tour_c_title_mobile"><?php echo $recommands['Tour C']->ic_title; ?></a></div>
</div>
<?php } ?>
<?php if(!empty($recommands['Tour D'])){ ?>
<div class="nextarticle">
<a href="<?php echo $recommands['Tour D']->ic_url; ?>" id="bottom_tour_d_image_mobile"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Tour D']->desktop_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Tour D']->ic_title; ?>"></a>
<div class="tournextname"><a href="<?php echo $recommands['Tour D']->ic_url; ?>" id="bottom_tour_d_title_mobile"><?php echo $recommands['Tour D']->ic_title; ?></a></div>
</div>
<?php } ?>
<?php if(!empty($recommands['Tour E'])){ ?>
<div class="nextarticle">
<a href="<?php echo $recommands['Tour E']->ic_url; ?>" id="bottom_tour_e_image_mobile"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Tour E']->desktop_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Tour E']->ic_title; ?>"></a>
<div class="tournextname"><a href="<?php echo $recommands['Tour E']->ic_url; ?>" id="bottom_tour_e_title_mobile"><?php echo $recommands['Tour E']->ic_title; ?></a></div>
</div>
<?php } ?>
<?php if(!empty($recommands['Tour F'])){ ?>
<div class="nextarticle">
<a href="<?php echo $recommands['Tour F']->ic_url; ?>" id="bottom_tour_f_image_mobile"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Tour F']->desktop_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Tour F']->ic_title; ?>"></a>
<div class="tournextname"><a href="<?php echo $recommands['Tour F']->ic_url; ?>" id="bottom_tour_f_title_mobile"><?php echo $recommands['Tour F']->ic_title; ?></a></div>
</div>
<?php } ?>
<?php if(!empty($recommands['Tour G'])){ ?>
<div class="nextarticle">
<a href="<?php echo $recommands['Tour G']->ic_url; ?>" id="bottom_tour_g_image_mobile"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Tour G']->desktop_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Tour G']->ic_title; ?>"></a>
<div class="tournextname"><a href="<?php echo $recommands['Tour G']->ic_url; ?>" id="bottom_tour_g_title_mobile"><?php echo $recommands['Tour G']->ic_title; ?></a></div>
</div>
<?php } ?>
<?php if(!empty($recommands['Tour H'])){ ?>
<div class="nextarticle">
<a href="<?php echo $recommands['Tour H']->ic_url; ?>" id="bottom_tour_h_image_mobile"><img src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Tour H']->desktop_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Tour H']->ic_title; ?>"></a>
<div class="tournextname"><a href="<?php echo $recommands['Tour H']->ic_url; ?>" id="bottom_tour_h_title_mobile"><?php echo $recommands['Tour H']->ic_title; ?></a></div>
</div>
<?php } ?>
<?php } ?>
<?php if(!empty($recommands['Article A']) || !empty($recommands['Article B']) || !empty($recommands['Article C']) || !empty($recommands['Article D'])){ ?>
<h2 class="nexttitle">More Travel Ideas and Inspiration</h2>
<?php if(!empty($recommands['Article A'])){ ?>
<div class="nextarticle">
<a href="<?php echo $recommands['Article A']->ic_url; ?>" id="bottom_info_a_image_mobile"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Article A']->desktop_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Article A']->ic_title; ?>"></a>
<div class="tournextname">
<a href="<?php echo $recommands['Article A']->ic_url; ?>" id="bottom_info_a_title_mobile"> <?php echo $recommands['Article A']->ic_title; ?> </a>
</div>
</div>
<?php } ?>
<?php if(!empty($recommands['Article B'])){ ?>
<div class="nextarticle">
<a href="<?php echo $recommands['Article B']->ic_url; ?>" id="bottom_info_b_image_mobile"></a> <img
src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Article B']->desktop_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Article B']->ic_title; ?>"></a>
<div class="tournextname">
<a href="<?php echo $recommands['Article B']->ic_url; ?>" id="bottom_info_b_title_mobile"> <?php echo $recommands['Article B']->ic_title; ?> </a>
</div>
</div>
<?php } ?>
<?php if(!empty($recommands['Article C'])){ ?>
<div class="nextarticle">
<a href="<?php echo $recommands['Article C']->ic_url; ?>" id="bottom_info_c_image_mobile"> <img
src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Article C']->desktop_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Article C']->ic_title; ?>"></a>
<div class="tournextname">
<a href="<?php echo $recommands['Article C']->ic_url; ?>" id="bottom_info_c_title_mobile"> <?php echo $recommands['Article C']->ic_title; ?> </a>
</div>
</div>
<?php } ?>
<?php if(!empty($recommands['Article D'])){ ?>
<div class="nextarticle">
<a href="<?php echo $recommands['Article D']->ic_url; ?>" id="bottom_info_d_image_mobile"> <img
src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Article D']->desktop_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Article D']->ic_title; ?>"></a>
<div class="tournextname">
<a href="<?php echo $recommands['Article D']->ic_url; ?>" id="bottom_info_d_title_mobile"> <?php echo $recommands['Article D']->ic_title; ?> </a>
</div>
</div>
<?php } ?>
<?php if(!empty($recommands['Article E'])){ ?>
<div class="nextarticle">
<a href="<?php echo $recommands['Article E']->ic_url; ?>" id="bottom_info_e_image_mobile"> <img
src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Article E']->desktop_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Article E']->ic_title; ?>"></a>
<div class="tournextname">
<a href="<?php echo $recommands['Article E']->ic_url; ?>" id="bottom_info_e_title_mobile"> <?php echo $recommands['Article E']->ic_title; ?> </a>
</div>
</div>
<?php } ?>
<?php if(!empty($recommands['Article F'])){ ?>
<div class="nextarticle">
<a href="<?php echo $recommands['Article F']->ic_url; ?>" id="bottom_info_f_image_mobile"> <img
src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Article F']->desktop_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Article F']->ic_title; ?>"></a>
<div class="tournextname">
<a href="<?php echo $recommands['Article F']->ic_url; ?>" id="bottom_info_f_title_mobile"> <?php echo $recommands['Article F']->ic_title; ?> </a>
</div>
</div>
<?php } ?>
<?php if(!empty($recommands['Article G'])){ ?>
<div class="nextarticle">
<a href="<?php echo $recommands['Article G']->ic_url; ?>" id="bottom_info_g_image_mobile"> <img
src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Article G']->desktop_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Article G']->ic_title; ?>"></a>
<div class="tournextname">
<a href="<?php echo $recommands['Article G']->ic_url; ?>" id="bottom_info_g_title_mobile"> <?php echo $recommands['Article G']->ic_title; ?> </a>
</div>
</div>
<?php } ?>
<?php if(!empty($recommands['Article H'])){ ?>
<div class="nextarticle">
<a href="<?php echo $recommands['Article H']->ic_url; ?>" id="bottom_info_h_image_mobile"> <img
src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Article H']->desktop_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Article H']->ic_title; ?>"></a>
<div class="tournextname">
<a href="<?php echo $recommands['Article H']->ic_url; ?>" id="bottom_info_h_title_mobile"> <?php echo $recommands['Article H']->ic_title; ?> </a>
</div>
</div>
<?php } ?>
<?php } ?>
</div>

@ -485,6 +485,10 @@
<input type="checkbox" value="yes" name="contact_via_phone_call" id="Phone" class="checkBorder" style="width:auto !important"> <input type="checkbox" value="yes" name="contact_via_phone_call" id="Phone" class="checkBorder" style="width:auto !important">
<label for="Phone">Phone call</label> <label for="Phone">Phone call</label>
</div> </div>
<div class="checkYes">
<input type="checkbox" value="yes" name="contact_via_email" id="Email" class="checkBorder" style="width:auto !important">
<label for="Email">Email</label>
</div>
<div class="checkYes"> <div class="checkYes">
<input type="checkbox" value="yes" name="contact_via_video_appointment" id="Video" class="checkBorder" style="width:auto !important"> <input type="checkbox" value="yes" name="contact_via_video_appointment" id="Video" class="checkBorder" style="width:auto !important">
<label for="Video">Video appointment</label> <label for="Video">Video appointment</label>

@ -480,6 +480,7 @@
<div class="checkYes"><label for="WeChat"><input class="checkBorder" id="WeChat" name="contact_via_WeChat" type="checkbox" value="yes">WeChat</label></div> <div class="checkYes"><label for="WeChat"><input class="checkBorder" id="WeChat" name="contact_via_WeChat" type="checkbox" value="yes">WeChat</label></div>
<div class="checkYes"><label for="WhatsApp"><input class="checkBorder" id="WhatsApp" name="contact_via_WhatsApp" type="checkbox" value="yes">WhatsApp </label></div> <div class="checkYes"><label for="WhatsApp"><input class="checkBorder" id="WhatsApp" name="contact_via_WhatsApp" type="checkbox" value="yes">WhatsApp </label></div>
<div class="checkYes"><label for="Phone"><input class="checkBorder" id="Phone" name="contact_via_phone_call" type="checkbox" value="yes">Phone call</label></div> <div class="checkYes"><label for="Phone"><input class="checkBorder" id="Phone" name="contact_via_phone_call" type="checkbox" value="yes">Phone call</label></div>
<div class="checkYes"><label for="Email"><input class="checkBorder" id="Email" name="contact_via_email" type="checkbox" value="yes">Email</label></div>
<div class="checkYes"><label for="video"><input class="checkBorder" id="video" name="contact_via_video_appointment" type="checkbox" value="yes">Video appointment</label></div> <div class="checkYes"><label for="video"><input class="checkBorder" id="video" name="contact_via_video_appointment" type="checkbox" value="yes">Video appointment</label></div>
<input type="hidden" name="nullemail"> <input type="hidden" name="nullemail">
<input name="product_code" type="hidden" value="YDFW"/> <input name="product_code" type="hidden" value="YDFW"/>

@ -424,6 +424,7 @@ margin-bottom: -25px;
<div class="checkYes"><label for="WeChat"><input class="checkBorder" id="WeChat" name="contact_via_WeChat" type="checkbox" value="yes">WeChat</label></div> <div class="checkYes"><label for="WeChat"><input class="checkBorder" id="WeChat" name="contact_via_WeChat" type="checkbox" value="yes">WeChat</label></div>
<div class="checkYes"><label for="WhatsApp"><input class="checkBorder" id="WhatsApp" name="contact_via_WhatsApp" type="checkbox" value="yes">WhatsApp </label></div> <div class="checkYes"><label for="WhatsApp"><input class="checkBorder" id="WhatsApp" name="contact_via_WhatsApp" type="checkbox" value="yes">WhatsApp </label></div>
<div class="checkYes"><label for="Phone"><input class="checkBorder" id="Phone" name="contact_via_phone_call" type="checkbox" value="yes">Phone call</label></div> <div class="checkYes"><label for="Phone"><input class="checkBorder" id="Phone" name="contact_via_phone_call" type="checkbox" value="yes">Phone call</label></div>
<div class="checkYes"><label for="Email"><input class="checkBorder" id="Email" name="contact_via_email" type="checkbox" value="yes">Email</label></div>
<div class="checkYes"><label for="video"><input class="checkBorder" id="video" name="contact_via_video_appointment" type="checkbox" value="yes">Video appointment</label></div> <div class="checkYes"><label for="video"><input class="checkBorder" id="video" name="contact_via_video_appointment" type="checkbox" value="yes">Video appointment</label></div>
<input type="hidden" name="nullemail"> <input type="hidden" name="nullemail">
<input name="product_code" type="hidden" value="<?php echo $meta_product_code; ?>"/> <input name="product_code" type="hidden" value="<?php echo $meta_product_code; ?>"/>

@ -72,12 +72,10 @@
src="https://data.chinahighlights.com/pic/pc-top-navigation-web-search-bg.png"> src="https://data.chinahighlights.com/pic/pc-top-navigation-web-search-bg.png">
</form> </form>
</div> </div>
<button class="action action--close" aria-label="Close Menu"><svg class="icon icon--cross" id="close" <button class="action action--close" aria-label="Close Menu"><svg class="icon icon--cross" id="close"
aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="52" height="52" viewBox="0 0 52 52" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="52" height="52" viewBox="0 0 52 52"
style="width: 20px; height: 20px;"> style="width: 20px;height: 20px;">
<g stroke-width="6" stroke="#fff"> <g stroke-width="6" stroke="#000">
<line x1="26" x2="4" y1="26" y2="4"></line> <line x1="26" x2="4" y1="26" y2="4"></line>
<line x1="26" x2="48" y2="4" y1="26"></line> <line x1="26" x2="48" y2="4" y1="26"></line>
<line x1="26" x2="2" y1="26" y2="48"></line> <line x1="26" x2="2" y1="26" y2="48"></line>

@ -1,7 +1,6 @@
<!-- Bangkok --> <!-- Bangkok -->
<h2 id="thailand">Thailand Travel Reviews</h2>
<?php if (!empty($Bangkok)) {?> <?php if (!empty($Bangkok)) {?>
<?php foreach ($Bangkok as $index => $feedback) {?> <?php foreach ($Bangkok as $index => $feedback) {?>
<div class="feedback_content"> <div class="feedback_content">
@ -15,7 +14,7 @@
<!-- Vietnam --> <!-- Vietnam -->
<h2 id="vietnam">Vietnam Travel Reviews</h2>
<?php if (!empty($Hanoi)) {?> <?php if (!empty($Hanoi)) {?>
<?php foreach ($Hanoi as $index => $feedback) {?> <?php foreach ($Hanoi as $index => $feedback) {?>
<div class="feedback_content"> <div class="feedback_content">
@ -29,7 +28,7 @@
<!-- Cambodia --> <!-- Cambodia -->
<h2 id="cambodia">Cambodia Travel Reviews</h2>
<?php if (!empty($Siem_Reap)) {?> <?php if (!empty($Siem_Reap)) {?>
<?php foreach ($Siem_Reap as $index => $feedback) {?> <?php foreach ($Siem_Reap as $index => $feedback) {?>
<div class="feedback_content"> <div class="feedback_content">
@ -43,7 +42,7 @@
<!-- Japan --> <!-- Japan -->
<h2 id="japan">Japan Travel Reviews</h2>
<?php if (!empty($Tokyo)) {?> <?php if (!empty($Tokyo)) {?>
<?php foreach ($Tokyo as $index => $feedback) {?> <?php foreach ($Tokyo as $index => $feedback) {?>
<div class="feedback_content"> <div class="feedback_content">
@ -55,24 +54,10 @@
<?php }?> <?php }?>
<?php }?> <?php }?>
<!-- India
<h2 id="india">India Travel Reviews</h2>
<?php if (!empty($Delhi)) {?>
<?php foreach ($Delhi as $index => $feedback) {?>
<div class="feedback_content">
<strong><?php echo $feedback['title'] ?></strong>
<p><?php echo $feedback['content'] ?></p>
<a href="<?php echo $feedback['url'] ?>" target="_blank">More</a>
<div class="customer_name"><?php echo $feedback['customer'] ?>,<?php echo $feedback['createdOn'] ?></div>
</div>
<?php }?><div class="more_tours"><a href="/reviews/india">More India reviews</a></div>
<?php }?>
-->
<!-- Myanmar --> <!-- Myanmar -->
<h2 id="myanmar">Myanmar Travel Reviews</h2>
<?php if (!empty($Yangon)) {?> <?php if (!empty($Yangon)) {?>
<?php foreach ($Yangon as $index => $feedback) {?> <?php foreach ($Yangon as $index => $feedback) {?>
<div class="feedback_content"> <div class="feedback_content">
@ -86,7 +71,7 @@
<!-- China --> <!-- China -->
<h2 id="china">China Travel Reviews</h2>
<?php if (!empty($Beijing)) {?> <?php if (!empty($Beijing)) {?>
<?php foreach ($Beijing as $index => $feedback) {?> <?php foreach ($Beijing as $index => $feedback) {?>
<div class="feedback_content"> <div class="feedback_content">

@ -486,18 +486,21 @@
}">I prefer to }">I prefer to
be contacted via:</p> be contacted via:</p>
<div class="checkYes" style="color:#000;"> <label for="contact whatsapp"><input <div class="checkYes" style="color:#000;"> <label for="contact whatsapp"><input
class="checkBorder mgr-primary" id="contact whatsapp" name="contact_via_WhatsApp" class="checkBorder " id="contact whatsapp" name="contact_via_WhatsApp"
type="checkbox" value="yes" style="width:auto !important;">WhatsApp</label> type="checkbox" value="yes" style="width:auto !important;">WhatsApp</label>
</div> </div>
<div class="checkYes" style="color:#000;"> <label for="contact iMessage"><input <div class="checkYes" style="color:#000;"> <label for="contact iMessage"><input
class="checkBorder mgr-primary" id="contact iMessage" name="contact_via_iMessage" class="checkBorder " id="contact iMessage" name="contact_via_iMessage"
type="checkbox" value="yes" style="width:auto !important;">iMessage</label> type="checkbox" value="yes" style="width:auto !important;">iMessage</label>
</div> </div>
<div class="checkYes" style="color:#000;"> <label for="contact Phone"><input <div class="checkYes" style="color:#000;"> <label for="contact Phone"><input
class="checkBorder mgr-primary" id="contact Phone" name="contact_via_phone_call" class="checkBorder " id="contact Phone" name="contact_via_phone_call"
type="checkbox" value="yes" style="width:auto !important;">Phone call</label></div> type="checkbox" value="yes" style="width:auto !important;">Phone call</label></div>
<div class="checkYes" style="color:#000;"> <label for="Email"><input
class="checkBorder " id="Email" name="contact_via_email"
type="checkbox" value="yes" style="width:auto !important;">Email</label></div>
<div class="checkYes" style="color:#000;"> <label for="contact Video"><input <div class="checkYes" style="color:#000;"> <label for="contact Video"><input
class="checkBorder mgr-primary" id="contact Video" name="contact_via_video_appointment" class="checkBorder " id="contact Video" name="contact_via_video_appointment"
type="checkbox" value="yes" style="width:auto !important;">Video appointment</label></div> type="checkbox" value="yes" style="width:auto !important;">Video appointment</label></div>
<input name="nullemail" placeholder="Your alternative email?" type="hidden"> <input name="nullemail" placeholder="Your alternative email?" type="hidden">

@ -491,29 +491,6 @@
<script src="https://data.globalhighlights.com/js/swiper-bundle-7.0.9.min.js"></script> <script src="https://data.globalhighlights.com/js/swiper-bundle-7.0.9.min.js"></script>
<script src="https://data.globalhighlights.com/js/flatpickr-v4.6.11.min.js"></script> <script src="https://data.globalhighlights.com/js/flatpickr-v4.6.11.min.js"></script>
<script> <script>
((doc, buttonId, contentId, lastContentId) => {
doc.addEventListener('DOMContentLoaded', () => {
var moreButton = doc.getElementById(buttonId);
var contentDiv = doc.getElementById(contentId);
var lastContentDiv = doc.getElementById(lastContentId);
if (moreButton === null || contentDiv === null || lastContentDiv === null) {
console.warn('CHECK MORE config error');
return;
}
moreButton.addEventListener('click', () => {
moreButton.classList.add('gh-animate-fade-out');
setTimeout(() => {
moreButton.classList.add('gh-display-none');
}, 80);
contentDiv.classList.remove('gh-display-none');
lastContentDiv.classList.add('normal_content');
setTimeout(() => {
contentDiv.classList.remove('gh-animate-slide-down');
contentDiv.classList.add('gh-animate-slide-up');
}, 0);
});
});
})(document, 'checkMoreButton', 'moreContentDiv', 'lastContentDiv');
document.addEventListener('DOMContentLoaded', () => { document.addEventListener('DOMContentLoaded', () => {
flatpickr("#starting_date", { flatpickr("#starting_date", {
dateFormat: "Y-m-d", dateFormat: "Y-m-d",
@ -524,7 +501,6 @@
}); });
}); });
document.addEventListener('DOMContentLoaded', () => { document.addEventListener('DOMContentLoaded', () => {
var submitbutton = document.getElementById("submit_newsletter"); var submitbutton = document.getElementById("submit_newsletter");
var newsletterForm = document.getElementById("newsletter_form"); var newsletterForm = document.getElementById("newsletter_form");

@ -439,12 +439,13 @@
efficiency.</p> efficiency.</p>
<p style="margin-top: 0;margin-bottom: 10px;padding: 0;color: #000;font-size: 20px;">I prefer to <p style="margin-top: 0;margin-bottom: 10px;padding: 0;color: #000;font-size: 20px;">I prefer to
be contacted via:</p> be contacted via:</p>
<div class="checkYes" style="color:#000;"> <label for="whatsapp"><input class="checkBorder mgr-primary" id="whatsapp" name="contact_via_WhatsApp" type="checkbox" value="yes" style="width:auto !important;">WhatsApp</label> <div class="checkYes" style="color:#000;"> <label for="whatsapp"><input class="checkBorder " id="whatsapp" name="contact_via_WhatsApp" type="checkbox" value="yes" style="width:auto !important;">WhatsApp</label>
</div> </div>
<div class="checkYes" style="color:#000;"> <label for="iMessage"><input class="checkBorder mgr-primary" id="iMessage" name="contact_via_iMessage" type="checkbox" value="yes" style="width:auto !important;">iMessage</label> <div class="checkYes" style="color:#000;"> <label for="iMessage"><input class="checkBorder " id="iMessage" name="contact_via_iMessage" type="checkbox" value="yes" style="width:auto !important;">iMessage</label>
</div> </div>
<div class="checkYes" style="color:#000;"> <label for="Phone"><input class="checkBorder mgr-primary" id="Phone" name="contact_via_phone_call" type="checkbox" value="yes" style="width:auto !important;">Phone call</label></div> <div class="checkYes" style="color:#000;"> <label for="Phone"><input class="checkBorder " id="Phone" name="contact_via_phone_call" type="checkbox" value="yes" style="width:auto !important;">Phone call</label></div>
<div class="checkYes" style="color:#000;"> <label for="Video"><input class="checkBorder mgr-primary" id="Video" name="contact_via_video_appointment" type="checkbox" value="yes" style="width:auto !important;">Video appointment</label></div> <div class="checkYes" style="color:#000;"> <label for="Email"><input class="checkBorder " id="Email" name="contact_via_email" type="checkbox" value="yes" style="width:auto !important;">Email</label></div>
<div class="checkYes" style="color:#000;"> <label for="Video"><input class="checkBorder " id="Video" name="contact_via_video_appointment" type="checkbox" value="yes" style="width:auto !important;">Video appointment</label></div>
<input name="nullemail" placeholder="Your alternative email?" type="hidden"> <input name="nullemail" placeholder="Your alternative email?" type="hidden">
<input name="product_code" type="hidden" value="<?php echo $meta_product_code; ?>"/> <input name="product_code" type="hidden" value="<?php echo $meta_product_code; ?>"/>
<button class="sendButton" id="tourFormBtn" type="button"> <button class="sendButton" id="tourFormBtn" type="button">

@ -478,29 +478,6 @@
<script src="https://data.globalhighlights.com/js/swiper-bundle-7.0.9.min.js"></script> <script src="https://data.globalhighlights.com/js/swiper-bundle-7.0.9.min.js"></script>
<script src="https://data.globalhighlights.com/js/flatpickr-v4.6.11.min.js"></script> <script src="https://data.globalhighlights.com/js/flatpickr-v4.6.11.min.js"></script>
<script> <script>
((doc, buttonId, contentId, lastContentId) => {
doc.addEventListener('DOMContentLoaded', () => {
var moreButton = doc.getElementById(buttonId);
var contentDiv = doc.getElementById(contentId);
var lastContentDiv = doc.getElementById(lastContentId);
if (moreButton === null || contentDiv === null || lastContentDiv === null) {
console.warn('CHECK MORE config error');
return;
}
moreButton.addEventListener('click', () => {
moreButton.classList.add('gh-animate-fade-out');
setTimeout(() => {
moreButton.classList.add('gh-display-none');
}, 80);
contentDiv.classList.remove('gh-display-none');
lastContentDiv.classList.add('normal_content');
setTimeout(() => {
contentDiv.classList.remove('gh-animate-slide-down');
contentDiv.classList.add('gh-animate-slide-up');
}, 0);
});
});
})(document, 'checkMoreButton', 'moreContentDiv', 'lastContentDiv');
document.addEventListener('DOMContentLoaded', () => { document.addEventListener('DOMContentLoaded', () => {
flatpickr("#starting_date", { flatpickr("#starting_date", {
dateFormat: "Y-m-d", dateFormat: "Y-m-d",

Loading…
Cancel
Save