Difference between revisions of "Landing Page"

From Beds24 Wiki
Jump to navigation Jump to search
Line 2: Line 2:
 
[[Category:Booking_Page]]
 
[[Category:Booking_Page]]
  
If you have entered a Booking Return Url we will redirect the guest to your site after they book.
+
Required skills: php, html, css
 +
 
 +
If you have entered a Booking Return Url the guest will be redirected to your site after they book.
 
We will include information about the booking as parameters added to your Url
 
We will include information about the booking as parameters added to your Url
  
Using PHP or other scripting languages it is possible to process and display personalised information to the guest.
+
Using PHP or other scripting languages it is possible to process the parameters and display personalised information to the guest.
The following PHP test script will show the supplied data.
+
The following PHP test script will display the raw data.  
 +
 
 +
Use this as a starting point to create your own design:
  
 
  <?php
 
  <?php
echo "<br>bookid=".$_GET["bookid"];
+
echo "<br>bookid=".$_GET["bookid"];
 
  echo "<br>propid=".$_GET["propid"];
 
  echo "<br>propid=".$_GET["propid"];
 
  echo "<br>roomid=".$_GET["roomid"];
 
  echo "<br>roomid=".$_GET["roomid"];

Revision as of 18:01, 13 September 2014


Required skills: php, html, css

If you have entered a Booking Return Url the guest will be redirected to your site after they book. We will include information about the booking as parameters added to your Url

Using PHP or other scripting languages it is possible to process the parameters and display personalised information to the guest. The following PHP test script will display the raw data.

Use this as a starting point to create your own design:

<?php

echo "
bookid=".$_GET["bookid"];

echo "
propid=".$_GET["propid"]; echo "
roomid=".$_GET["roomid"]; echo "
roomname=".urldecode($_GET["roomname"]); echo "
propname=".urldecode($_GET["propname"]); echo "
firstnight=".urldecode($_GET["firstnight"]); echo "
lastnight=".urldecode($_GET["lastnight"]); echo "
checkout=".urldecode($_GET["checkout"]); echo "
numnight=".urldecode($_GET["numnight"]); echo "
numadult=".urldecode($_GET["numadult"]); echo "
numchild=".urldecode($_GET["numchild"]); echo "
lang=".urldecode($_GET["lang"]); echo "
price=".urldecode($_GET["price"]); echo "
confirmtype=".urldecode($_GET["confirmtype"]); echo "
qty=".urldecode($_GET["qty"]); echo "
pricenum=".urldecode($_GET["pricenum"]); echo "
referer=".urldecode($_GET["referer"]); echo "
guestname=".urldecode($_GET["guestname"]); echo "
guestfirstname=".urldecode($_GET["guestfirstname"]); echo "
guestemail=".urldecode($_GET["guestemail"]); echo "
guestphone=".urldecode($_GET["guestphone"]); echo "
guestmobile=".urldecode($_GET["guestmobile"]); echo "
guestaddress=".urldecode($_GET["guestaddress"]); echo "
guestarrivaltime=".urldecode($_GET["guestarrivaltime"]); echo "
guestcomments=".urldecode($_GET["guestcomments"]); echo "
ratedesc=".urldecode($_GET["ratedesc"]); ?>