dimeoxide

dimeoxide does not currently provide support for this item.

Popular questions for this item

How to installation Ezy – Hotel Booking Engine ?

  • Login to your Host Cpanel
  • Create your MySQL Database, Hostname, Username and Password
  • Extract zip file to yourdomainname.com/booking/
  • CHMOD 777 – file /booking/admin/config.inc.php
  • CHMOD 777 – dir /booking/uploads/
  • CHMOD 777 – dir /booking/uploads/addon/
  • CHMOD 777 – dir /booking/images/
  • CHMOD 777 – dir /booking/images/imagecache/
  • Open http://www.yourdomainname.com/booking/ with internet browser
  • Run step to setup program
First installation - file /booking/admin/config.inc.php should be empty file

How to plugin Ezy – Hotel Booking Engine DateBox into Wordpress?

  • Login to your wp-admin
  • Go to Appearance
  • Click Editor
  • Put this code into header file between head tag.

    <link rel=”stylesheet” href=”//code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css”> <script src=”//code.jquery.com/jquery-1.10.2.js”></script> <script src=”//code.jquery.com/ui/1.11.2/jquery-ui.js”></script>

  • Put this code into whatever file you want to display dateboxt;

    <div style="width: 300px; margin: auto; border:solid 1px #000;"> <form action="/PATH_TO_BOOKING/" method="post"> <table width="100%" border="0" cellspacing="0"> <tbody> <tr> <td bgcolor="#ccc" colspan="2" nowrap="nowrap"><strong>Your Stay</strong></td> </tr> <tr> <td colspan="2"><strong> Check In </strong> </td> </tr> <tr> <td colspan="2"><input type="text" name="checkin" id="checkin" class="pms-cal"></td> </tr> <tr> <td colspan="2"><strong> Check Out </strong> </td> </tr> <tr> <td colspan="2"><input type="text" name="checkout" id="checkout" class="pms-cal"></td> </tr> <tr> <td colspan="2"><strong> Rooms </strong></td> </tr> <tr> <td colspan="2"><select name="rooms" id="rooms"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> </select></td> </tr> <tr> <td nowrap="nowrap"><strong> Total Adults </strong> </td> <td nowrap="nowrap"><strong> Total Children </strong> </td> </tr> <tr> <td><select name="adults" id="adults"> <option value="1">1</option> <option selected="" value="2">2</option> </select></td> <td><select name="child" id="child"> <option selected="" value="0">0</option> <option value="1">1</option> </select></td> </tr> <tr> <td height="30" colspan="2"> <input type="submit" name="checkavai" class="pms-btn" id="button" value="Check Availability"> <input name="action" type="hidden" value="rateavai" /> </td> </tr> </tbody> </table> </form> </div>
  • Put this code into footer file
    <script> var today = new Date(); var today_year = today.getFullYear(); var today_month = today.getMonth(); var today_day = today.getDate(); today_month++; if(today_month < 10){ today_month = "0"+today_month; } $("#checkin").val(today_day+"/"+today_month+"/"+today_year); var tomorrow = new Date(today_year, today_month-1, today_day+1); var tomorrow_year = tomorrow.getFullYear(); var tomorrow_month = tomorrow.getMonth(); var tomorrow_day = tomorrow.getDate(); tomorrow_month++; if(tomorrow_month < 10){ tomorrow_month = "0"+tomorrow_month; } $("#checkout").val(tomorrow_day+"/"+tomorrow_month+"/"+tomorrow_year); $("#checkin").datepicker({ dateFormat: "dd/mm/yy", numberOfMonths: 2, minDate: 0, onClose: function(selectedDate) { $("#checkout").datepicker("option", "minDate", selectedDate); return $("#checkout").datepicker("show"); } }); $("#checkin").change(function(){ var dateString = $('#checkin').val(); var year = dateString.substr(6,4); var month = dateString.substr(3,2); var day = dateString.substr(0,2); var checkOutDate = new Date(year,month-1,day); checkOutDate.setDate(checkOutDate.getDate()+1); $("#checkout").val($.datepicker.formatDate('dd/mm/yy',checkOutDate)); }); $("#checkout").datepicker({ minDate:1, dateFormat: "dd/mm/yy", numberOfMonths: 2, minDate: 0 }); $("#checkout").change(function(){ var dateString = $('#checkout').val(); var year = dateString.substr(6,4); var month = dateString.substr(3,2); var day = dateString.substr(0,2); var checkOutDate = new Date(year, month-1, day); var dateString = $('#checkin').val(); var year = dateString.substr(6,4); var month = dateString.substr(3,2); var day = dateString.substr(0,2); var checkInDate = new Date(year, month-1, day); if(checkOutDate <= checkInDate){ checkInDate.setDate(checkInDate.getDate()+1); $("#checkout").val($.datepicker.formatDate('dd/mm/yy',checkInDate)); } }); </script>
by
by
by
by
by
by