master
cyc 5 years ago
parent d4ac04d757
commit 66209db64f

@ -20,6 +20,12 @@ class forms extends CI_Controller {
$data['travelNumber'] = $this->input->get_post('travelNumber'); $data['travelNumber'] = $this->input->get_post('travelNumber');
$data['totalprice'] = $this->input->get_post('totalprice'); $data['totalprice'] = $this->input->get_post('totalprice');
if(isset($_SERVER['HTTP_REFERER'])){
$data['orderfrom'] = $_SERVER['HTTP_REFERER'];
}else{
$data['orderfrom'] = '';
}
$this->load->view('header'); $this->load->view('header');
$this->load->view('orders/lantern_form',$data); $this->load->view('orders/lantern_form',$data);
$this->load->view('footer'); $this->load->view('footer');

@ -194,7 +194,12 @@ class Orders extends CI_Controller {
$this->Orders_model->COLI_ProductSN = $this->input->post('cli_sn'); $this->Orders_model->COLI_ProductSN = $this->input->post('cli_sn');
$this->Orders_model->COLI_OrderStartDate = $this->input->post('Date_Start'); if(!empty($this->input->post('Date_Start'))){
$this->Orders_model->COLI_OrderStartDate = $this->input->post('Date_Start');
}else{
$this->Orders_model->COLI_OrderStartDate = $this->input->post('Date_Start_Mobile');
}
$this->Orders_model->MEI_Gender = $this->input->post('gender'); $this->Orders_model->MEI_Gender = $this->input->post('gender');
$this->Orders_model->MEI_Phone = $this->input->post('PhoneNo'); $this->Orders_model->MEI_Phone = $this->input->post('PhoneNo');

@ -119,8 +119,6 @@ function ReplaceFieldName($fields) {
case 'url': case 'url':
$OrderDetailText .= '来源页面' . ':' . $value . "\n"; $OrderDetailText .= '来源页面' . ':' . $value . "\n";
break; break;
case 'Date_Start_Mobile':
break;
case 'TicketType': case 'TicketType':
$OrderDetailText .= 'Which Location' . ':' . $value . "\n"; $OrderDetailText .= 'Which Location' . ':' . $value . "\n";
break; break;

@ -94,6 +94,11 @@ class Tags_analysis {
default:; default:;
} }
if (strpos($data['detail']->ic_content, '@TMBOTTOMBUTTON@') !== false) {
$pd_booking_from = $this->CI->load->view(CONST_SITE_CODE .'/forms/tm_buttom_button', $data, true);
$data['detail']->ic_content = str_replace('@TMBOTTOMBUTTON@', $pd_booking_from, $data['detail']->ic_content);
}
if (strpos($data['detail']->ic_content, '@QUICKBOOKINGFORM@') !== false) { if (strpos($data['detail']->ic_content, '@QUICKBOOKINGFORM@') !== false) {
$pd_booking_from = $this->CI->load->view(CONST_SITE_CODE .'/forms/quick_inquiry_form', $data, true); $pd_booking_from = $this->CI->load->view(CONST_SITE_CODE .'/forms/quick_inquiry_form', $data, true);
$data['detail']->ic_content = str_replace('@QUICKBOOKINGFORM@', $pd_booking_from, $data['detail']->ic_content); $data['detail']->ic_content = str_replace('@QUICKBOOKINGFORM@', $pd_booking_from, $data['detail']->ic_content);

@ -1,6 +1,6 @@
<footer class="commerce-footer center"> <footer class="commerce-footer center">
<nav class="mx-auto md-mb0 md-pt5 md-pb5"> <nav class="mx-auto md-mb0 md-pt5 md-pb5">
<div class="footerLink"><a href="/contact-us.htm" >Contact Us</a> | <a href="/about-us.htm" >About Us</a></div> <div class="footerLink"><a href="/contact-us.htm" >Contact Us</a> | <a href="/about-us.htm" >About Us</a></div>
<div class="copyright">Copyright © 2018 Asia Highlights</div> <div class="copyright">Copyright © <?php echo date('Y',time());?> Asia Highlights</div>
</nav> </nav>
</footer> </footer>

@ -0,0 +1,3 @@
<div class="inquiryBtn hidden-xs">
<div class="container">Start planning your tailor-made journey by contacting one of our specialists... <span class="inquiryNow"><a href="/forms/tailormade">Begin a journey </a></span></div>
</div>

@ -72,7 +72,7 @@
</div> </div>
</div> </div>
<div class="copyRight"> <div class="copyRight">
<span class="crInfo">Copyright &copy; 2019 Asia Highlights.</span> <span class="crInfo">Copyright &copy; <?php echo date('Y',time());?> Asia Highlights.</span>
<span class="hidden-xs privacyLinks"><a href="/privacy.htm">Privacy policy</a> <a href="/terms-of-use.htm">Terms of use</a></div> <span class="hidden-xs privacyLinks"><a href="/privacy.htm">Privacy policy</a> <a href="/terms-of-use.htm">Terms of use</a></div>
</div> </div>
</div> </div>

@ -161,6 +161,7 @@
<input type="hidden" name="travelNumber" value="<?php echo $travelNumber;?>"/> <input type="hidden" name="travelNumber" value="<?php echo $travelNumber;?>"/>
<input type="hidden" name="totalprice" value="<?php echo $totalprice;?>"/> <input type="hidden" name="totalprice" value="<?php echo $totalprice;?>"/>
<input type="hidden" name="cli_sn" value="13349"/> <input type="hidden" name="cli_sn" value="13349"/>
<input type="hidden" name="url" value="<?php echo $orderfrom;?>" />
</div> </div>
</form> </form>
</div> </div>

@ -154,6 +154,7 @@
<input type="submit" value="Pay Now"> <input type="submit" value="Pay Now">
</div> </div>
<input type="hidden" name="cli_sn" value="13349"/> <input type="hidden" name="cli_sn" value="13349"/>
<input type="hidden" name="url" value="<?php echo $_SERVER['HTTP_REFERER'];?>" />
</form> </form>
<div class="contactUs"> <div class="contactUs">
<p> <p>

@ -427,6 +427,7 @@
</div> </div>
<div class="inquiryBtn"> <div class="inquiryBtn">
<input type="submit" value="Start My Journey"> <input type="submit" value="Start My Journey">
<input type="hidden" name="url" value="<?php echo $orderfrom;?>" />
</div> </div>
</div> </div>
</form> </form>

@ -283,6 +283,7 @@
</div> </div>
<div class="inquiryBtn"> <div class="inquiryBtn">
<input type="submit" value="Start My Journey"> <input type="submit" value="Start My Journey">
<input type="hidden" name="url" value="<?php echo $orderfrom;?>" />
</div> </div>
</form> </form>
<div class="contactUs"> <div class="contactUs">

@ -1750,15 +1750,14 @@
</div> </div>
<div class="aboutAH"> <div class="aboutAH">
<div class="container"> <div class="container">
<div class="crumbNav"><a href="/">Home</a><a href="/tours/">Top Tours</a>Vietnam Tours</div> <div class="crumbNav"><a href="/">Home</a><a href="/tours/">Top Tours</a>India Tours</div>
<div class="col-md-24 col-sm-24 col-xs-24">
<p>Vietnam is a “safe, good-value option” whenever considering a trip to Asia! It encompasses <div class="col-md-24 col-sm-24 col-xs-24">
everything — from nature, rich history, culture and to its food. Without spending too much <p>India is a large country that is packed full of incredible things to see and do from ancient palaces and temples to colonial streets and busy markets. It is also full of unique wildlife and natural scenery, such as the jungles of Central India, the deserts of Western India, the backwaters and the beaches of South India, and the striking Himalayas in the north. No matter who you travel with and which parts you would like to visit, we are happy to customize a private trip to India and also any extensions to other South Asian countries.</p>
money, you will be paid back with guaranteed good experiences and go home with interesting
stories to tell.</p> <h2>Best India Tour Packages</h2>
<h2>Top 3 Private Vietnam Tour Packages</h2>
<p>The itineraries below are for your inspiration providing you the possibilities of a Vietnam trip. <p>The following India tour packages have been designed to cover most highlights of India's unique culture, which are good choices for your first India tour. For first-time visitors, we recommend exploring the Golden Triangle cities of Delhi, Agra, and Jaipur. Visitors who have a few extra days can also add trips to Ranthambore National Park and Varanasi. Sign up for your favorite tours or simply treat these as inspiration, allowing each trip to be crafted especially for you.</p>
These can be tailor-made for your visit to Vietnam and its neighboring countries.</p>
<div class="row"> <div class="row">
<div class="col-md-8 col-sm-8 col-xs-24"> <div class="col-md-8 col-sm-8 col-xs-24">
<div class="tourBlock"><a href="/tours/ah-1.htm" rel="nofollow"><img alt="Hoi An Lady" <div class="tourBlock"><a href="/tours/ah-1.htm" rel="nofollow"><img alt="Hoi An Lady"

Loading…
Cancel
Save