Initial commit
This commit is contained in:
34
viewyouritinerary.php
Normal file
34
viewyouritinerary.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
include 'php/classes/page.php';
|
||||
|
||||
$page = new Page();
|
||||
|
||||
$page->attr('title','View Your Itinerary');
|
||||
$page->layout('iframe_layout.php');
|
||||
|
||||
$iframeSrc = '';
|
||||
switch(isset($_GET['type']) ? $_GET['type'] : '')
|
||||
{
|
||||
case 'noinstructions':
|
||||
$iframeSrc = 'https://viewtrip.com/';
|
||||
break;
|
||||
case 'worldspan':
|
||||
$iframeSrc = 'http://www.mytripandmore.com';
|
||||
break;
|
||||
case 'sabre':
|
||||
$iframeSrc = 'https://www.virtuallythere.com/new/homePage.html?pnr=&name=&language=0&style=&host=1W&clocktype=12&Finali=0&res=0';
|
||||
break;
|
||||
case 'amadeus':
|
||||
$iframeSrc = 'https://www.checkmytrip.com/ITN/LoginServlet?SITE=ITN&LANGUAGE=US';
|
||||
break;
|
||||
default:
|
||||
$page->layout('default_layout.php');
|
||||
$page->content('viewyouritinerary.php');
|
||||
break;
|
||||
}
|
||||
$page->data('iframe_src', $iframeSrc);
|
||||
|
||||
$page->process();
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user