删除cht的文件
parent
142a0e0868
commit
fa583f1185
@ -1,53 +0,0 @@
|
|||||||
<form action="http://www.chinahighlights.com/forms/booking-form-pay1.asp" id="formquestion" method="post" novalidate="novalidate" class="is_stuck" style="">
|
|
||||||
|
|
||||||
<div id="InquiryPay">
|
|
||||||
<div class="PayBoxTop"></div><div class="PayInfo">
|
|
||||||
<span class="BookTitle"><?php echo $pd_tour->CLI2_Name ?></span>
|
|
||||||
<ul class="tourList">
|
|
||||||
<li><strong>Duration:</strong> 10 hours (approx.)</li>
|
|
||||||
<li>Tour Type: Private Tour</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<div class="promoPrice"> <a class="priceLink" href="#gotoprice">See price details</a></div>
|
|
||||||
<div class="PayInfoBottom"><img src="http://data.chinahighlights.com/pic/pay-form-bottom.png"></div>
|
|
||||||
</div>
|
|
||||||
<div class="PayBox">
|
|
||||||
<div class="infoRequired">
|
|
||||||
<p>
|
|
||||||
<input type="text" id="Starting_Date" name="Starting_Date" value="" placeholder="Travel Date">
|
|
||||||
<span id="dateerrmsg" class="hidden"></span>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<input name="season" type="hidden" value="2">
|
|
||||||
<input name="grade" type="hidden" value="<?php echo $pd_tour->CLI_Grade; ?>">
|
|
||||||
<input name="cli_no" type="hidden" value="<?php echo $pd_tour->CLI_NO; ?>">
|
|
||||||
<input type="submit" value="Reserve Your Date" id="form_sumbit_button" class="sendButton">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(function() {
|
|
||||||
$("#formquestion").stick_in_parent({parent: "#mcontent"});
|
|
||||||
//form valid
|
|
||||||
$('#form_sumbit_button').click(function() {
|
|
||||||
var stdate = $('input[name="Starting_Date"]').val();
|
|
||||||
if (stdate == '') {
|
|
||||||
$('#dateerrmsg').html('<span style="color:#c00">Please select prefered time</span>');
|
|
||||||
$('#dateerrmsg').removeClass('hidden');
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
$("#Starting_Date").datepicker({
|
|
||||||
showAnim: "fadeIn",
|
|
||||||
duration: 0,
|
|
||||||
minDate: 7,
|
|
||||||
maxDate: "2y",
|
|
||||||
numberOfMonths: 2,
|
|
||||||
showButtonPanel: true
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
@ -1,67 +0,0 @@
|
|||||||
<form action="http://www.chinahighlights.com/forms/reserve-tour-simple-save.asp" id="formquestion" method="post" novalidate="novalidate">
|
|
||||||
<div id="questionBox">
|
|
||||||
<div class="questionContent">
|
|
||||||
<span class="interested">What's Your Style?</span> <span class="interest-label">Each tour can be tailored.</span>
|
|
||||||
<div class="infoRequired">
|
|
||||||
<div class="yourStyle hidden-xs">
|
|
||||||
<input type="radio" name="travelstyle" value="Comfort" /> Comfort <input type="radio" name="travelstyle" value="Discovery" /> Discovery <input type="radio" name="travelstyle" value="Essential" /> Essential
|
|
||||||
</div>
|
|
||||||
<p style="display:block;">
|
|
||||||
<label for="realname" style="opacity:1;">Full Name: </label> <input name="realname" type="text" id="realname" value="" />
|
|
||||||
</p>
|
|
||||||
<p style="display:block;">
|
|
||||||
<label for="yemail">Email: </label> <input name="yemail" type="text" id="yemail" value="" />
|
|
||||||
</p>
|
|
||||||
<p class="des" style="display:block;">
|
|
||||||
<label for="Aquestion">Tell us your tour ideas: where to visit, how many people and days... </label>
|
|
||||||
<textarea name="Aquestion" id="Aquestion"></textarea>
|
|
||||||
<input type="hidden" name="Q_URL" id="Q_URL" value="<?php echo $detail->ic_url; ?>" />
|
|
||||||
<input type="hidden" value="<?php echo $pd_tour->CLI_NO; ?>" name="clino" />
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<input type="submit" value="Send" class="sendButton" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(function() {
|
|
||||||
$("#formquestion").stick_in_parent({parent: "#mcontent"});
|
|
||||||
|
|
||||||
$(document).on("click", ".error", function() {
|
|
||||||
$(this).parent("p").find(".arrowDownTest").remove();
|
|
||||||
});
|
|
||||||
$("#formquestion").validate({
|
|
||||||
rules: {
|
|
||||||
realname: {
|
|
||||||
required: true,
|
|
||||||
minlength: 1
|
|
||||||
},
|
|
||||||
yemail: {
|
|
||||||
required: true,
|
|
||||||
email: true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
messages: {
|
|
||||||
realname: "Please enter a real name",
|
|
||||||
yemail: "Please enter a valid email address."
|
|
||||||
},
|
|
||||||
errorLabelContainer: "#questionBox .infoRequired p .arrowDownTest",
|
|
||||||
errorPlacement: function(error, element) {
|
|
||||||
var error_tip = "<div class=\"arrowDownTest\"><div class=\"arrowDown\"><img src=\"/css/images/whiteArrow.png\"></div></div>";
|
|
||||||
element.parent().append(error_tip);
|
|
||||||
error.appendTo(element.parent().find(".arrowDownTest"));
|
|
||||||
},
|
|
||||||
focusInvalid: true,
|
|
||||||
submitHandler: function(form) {
|
|
||||||
//form.find(".arrowDownTest").show();
|
|
||||||
form.submit();
|
|
||||||
},
|
|
||||||
//debug: true
|
|
||||||
});
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
})
|
|
||||||
</script>
|
|
Loading…
Reference in New Issue