: BASE_URL . 'index.php';
// Resources needed for every page.
- $GLOBALS['styleSheets'] = array();
+ $GLOBALS['styleSheets'] = array(JQUERY_UI_CDN_CSS);
// Resources needed for every page.
$GLOBALS['topScripts'][] = JQUERY_CDN_JS;
+ $GLOBALS['topScripts'][] = JQUERY_UI_CDN_JS;
}
private function _video()
--- /dev/null
+<?php
+$arrival = filter_var($_REQUEST['arrival']);
+$departure = filter_var($_REQUEST['departure']);
+?>
+<iframe
+ height="600px"
+ width="100%"
+ scrolling="auto"
+ src="http://reservations.troutcreek.com/irmnet/res/resmain.aspx?Arrival=<?php echo $arrival;?>&Departure=<?php echo $departure;?>"></iframe>
--- /dev/null
+<form action="{baseURL:h}index.php?catid=427" method="post">
+ <div><input id="resArrival" name="arrival"></div>
+ <div><input id="resDeparture" name="departure"></div>
+ <div><input type="submit" id="resSubmit" name="submit" value="Check Availability"></div>
+</form>
+<script>
+ $(function(){
+ $("#resArrival").datepicker({onSelect: function(dateStr) {
+ var d = $.datepicker.parseDate('mm/dd/yy', dateStr);
+ d.setDate(d.getDate() + 2); // Add two days
+ $('#resDeparture').datepicker('setDate', d);
+ }});
+ $("#resDeparture").datepicker();
+});
+</script>
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
+{styles:h}
<link rel="shortcut icon" href="/favicon.ico?v=1.1">
<link rel="stylesheet" href="styles.css"/>
<link rel="stylesheet" href="fancybox/jquery.fancybox.css"/>
-{styles:h}
{topScripts:h}
</head>
<body id="home">
<!--<img src="baseurl/assets/TMP_slideshow_1.jpg" width="990" height="260">-->
</div><!--/#slideshow_wrapper-->
<div id="reservation_wrapper">
- Reservation Widget Here
+ <flexy:include src="reservation.html">
</div><!--/#reservation_wrapper-->
<div id="action_wrapper">
<ul id="actionlinks">