Example #1
0
function documentationPage($page = null)
{
    global $app;
    $wiki = new RemWiki\RemWiki(get_protocol() . 'lmms.io/wiki/');
    if ($page === null or $page === '') {
        $page = 'Main_Page';
    }
    $json = $wiki->parse($page);
    return $app['twig']->render('documentation.twig', ['json' => $json, 'text' => $json['text']['*']]);
}
Example #2
0
/**
 *	get_base_url
 *	return the path to folder
 */
function get_base_url($dropqs = true)
{
    // $site_base_url = get_protocol().$_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']);
    // if( $site_base_url[strlen($site_base_url)-1] != '/' )
    // 	$site_base_url.="/";
    $site_base_url = sprintf('%s%s%s', get_protocol(), $_SERVER['SERVER_NAME'], dirname($_SERVER['REQUEST_URI']) . '/');
    $parts = parse_url($site_base_url);
    $port = $_SERVER['SERVER_PORT'];
    $scheme = $parts['scheme'];
    $host = $parts['host'];
    $path = @$parts['path'];
    $qs = @$parts['query'];
    $port or $port = $scheme == 'https' ? '443' : '80';
    if ($scheme == 'https' && $port != '443' || $scheme == 'http' && $port != '80') {
        $host = "{$host}:{$port}";
    }
    $url = "{$scheme}://{$host}{$path}";
    if (!$dropqs) {
        return "{$url}?{$qs}";
    } else {
        return $url;
    }
}
                <div class="col-sm-8 col-xs-12" style="padding-left: 0;">
                    <table width="100%">
                        <tbody>
                            <tr>
                                <td><b style="font-size: 25px;line-height: 94px;color:#545454" class="mainhead">Flight Reservation</b></td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                
                <div class="col-sm-4 col-xs-12">
                    <table width="100%">
                        <tbody>
                            <tr>
                                <td><b style="font-size:24px;"><img src="<?php 
echo base_url('assets/img/logo-invert.png', get_protocol());
?>
" alt="Image Alternative text" title="Image Title" class="img-responsive" /></b></td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
            <div style="padding: 0;padding-top: 10px;border-top: 3px solid #0067AB;" class="col-sm-12 col-xs-12">
                <div class="col-sm-12 col-xs-12" style="padding:0;">
                    <div class="booking-item-payment" style="border:none;box-shadow:none;-webkit-box-shadow:none;">
                        <h5 style="font-weight: 400;border-bottom: 2px solid #0067AB;padding-bottom: 8px;">Flight Details</h5>
                        <ul class="">
                            <?php 
if (isset($ItineraryInfo->ReservationItems)) {
    $ReservationItems = $ItineraryInfo->ReservationItems;
Example #4
0
			<div class="row">
				<div class="col-md-12">
					<!-- BEGIN PORTLET-->
					<div class="portlet box green-meadow">
						<div class="portlet-title">
							<div class="caption">
								<i class="fa fa-gift"></i><?php 
echo $this->lang->line('edit_customer');
?>
							</div>
							
						</div>
						<div class="portlet-body form">
							<!-- BEGIN FORM-->
							<form action="<?php 
echo base_url('Customers/addCustomer', get_protocol());
?>
" class="form-horizontal form-bordered" method="post">
								<div class="form-body">
									<div class="form-group">
										<label class="control-label col-md-3"><?php 
echo $this->lang->line('email');
?>
<span class="errormsg">*</span></label>
										<div class="col-md-6">
												<input type="text" class="form-control" value="<?php 
echo set_value('email');
?>
" name="email">
												<span class="errormsg"><?php 
echo form_error('email');
"/>
<link rel="stylesheet" type="text/css" href="<?php 
echo base_url('assets/global/plugins/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css', get_protocol());
?>
"/>
<!-- END PAGE LEVEL STYLES -->
<!-- BEGIN THEME STYLES -->
<link href="<?php 
echo base_url('assets/global/css/components.css', get_protocol());
?>
" id="style_components" rel="stylesheet" type="text/css"/>
<link href="<?php 
echo base_url('assets/global/css/plugins.css', get_protocol());
?>
" rel="stylesheet" type="text/css"/>
<link href="<?php 
echo base_url('assets/admin/layout/css/layout.css', get_protocol());
?>
" rel="stylesheet" type="text/css"/>
<link id="style_color" href="<?php 
echo base_url('assets/admin/layout/css/themes/default.css', get_protocol());
?>
" rel="stylesheet" type="text/css"/>
<link href="<?php 
echo base_url('assets/admin/layout/css/custom.css', get_protocol());
?>
" rel="stylesheet" type="text/css"/>
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.4.1/css/bootstrap-datepicker.min.css">
        
		
Example #6
0
    <div class="row">
        <div class="col-md-12">
            <!-- BEGIN PORTLET-->
            <div class="portlet box green-meadow">
                <div class="portlet-title">
                    <div class="caption">
                        <i class="fa fa-gift"></i>Ticket Details
                    </div>
   
                </div>
                <div class="portlet-body">
                    <?php 
if (is_array($result) && count($result) > 0) {
    ?>
                    <form action="<?php 
    echo base_url("Bookinghistory/updateBooking/" . $result['t_id'], get_protocol());
    ?>
" class="form-horizontal form-bordered" method="post">
                        <table class="table table-striped table-hover table-bordered" id="sample_editable_1">
                            <tr>
                                <th>Booking Ref. No.</th>
                                <th>Total Cost.</th>
                                <th>Created Date.</th>
                            </tr>
                            <?php 
    $sno = 1;
    foreach ($result['ticketResult'] as $ticketResult) {
        $t_id = $ticketResult->t_id;
        ?>
                            <tr>
                                <td><?php 
Example #7
0
 /**
  * get the current URL
 */
 function get_current_url($with_parameters = false)
 {
     if ($with_parameters) {
         $protocol = get_protocol();
         return $protocol . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
     } else {
         $uri_parts = explode('?', $_SERVER['REQUEST_URI']);
         $protocol = get_protocol();
         return $protocol . $_SERVER['HTTP_HOST'] . $uri_parts[0];
     }
 }
function get_server()
{
    global $options;
    $protocol = get_protocol();
    if ($options['general']['local_assets'] === true) {
        return $protocol . $_SERVER['SERVER_NAME'] . dirname($_SERVER['PHP_SELF']) . "/";
    }
    return null;
}
Example #9
0
			<div class="row">
				<div class="col-md-12">
					<!-- BEGIN PORTLET-->
					<div class="portlet box green-meadow">
						<div class="portlet-title">
							<div class="caption">
								<i class="fa fa-gift"></i><?php 
    echo $this->lang->line('edit_customer');
    ?>
							</div>
							
						</div>
						<div class="portlet-body form">
							<!-- BEGIN FORM-->
							<form action="<?php 
    echo base_url('Customers/updateCustomer/' . $row->user_id, get_protocol());
    ?>
" class="form-horizontal form-bordered" method="post">
								<div class="form-body">
									<div class="form-group">
										<label class="control-label col-md-3"><?php 
    echo $this->lang->line('title');
    ?>
<span class="errormsg">*</span></label>
										<div class="col-md-6">											
												<input type="text" class="form-control" value="<?php 
    echo $row->title;
    ?>
" name="title">
												<span class="errormsg"><?php 
    echo form_error('title');
			dateFormat: 'mm-dd-yy',
			minDate : '-100y',
			maxDate : new Date,
			yearRange:'-100y:'+ new Date,
			changeYear: true,
			changeMonth: true
			
		});
		

		 function printDiv() {
		    var printContents = $(".printdiv").html();
		    document.body.innerHTML = printContents;
		    window.print();
		    window.location.href="<?php 
echo base_url('Bookinghistory', get_protocol());
?>
";
		}


		
		$(document).ready(function(){
     $('#sample_editable_1').DataTable( {
        "lengthMenu": [[25, 50, 100, -1], [25, 50, 100, "All"]],
        "oLanguage": {
	      "sSearch": "<?php 
echo $this->lang->line('search');
?>
",
	      "oPaginate": {
Example #11
0
    ?>
							<tr>
								<td>
									<?php 
    echo $count;
    $count++;
    ?>
								</td>
								<td>
									<?php 
    echo $row->airline_code;
    ?>
								</td>
								<td>
									 <img src="<?php 
    echo base_url("assets/airline_logo/" . $row->airline_image, get_protocol());
    ?>
" width="100px" />
								</td>
				
								<td>
                 
                                        <a onClick="fndelete('<?php 
    echo $row->a_id;
    ?>
');" class="btn default btn-xs red">
										<i class="fa fa-trash-o"></i> <?php 
    echo $this->lang->line('delete');
    ?>
</a>
								</td>
Example #12
0
                $("#submit" + i).click();
            }
        });
    }


</script>

<script type="text/javascript">
    $('.remove_search').click(function () {

        id = $(this).text();
        $(this).parent("span").hide();
        $.ajax({
            url: "<?php 
echo base_url('trip/removeHistory', get_protocol());
?>
",
            type: "post",
            data: {
                id: id
            },
            success: function (data) {

            }
        });
    })


</script>
Example #13
0
                if(ua.search(MobileEsp.deviceNintendoDs) > -1)        { return "Nintendo DS"};
                if(ua.search(MobileEsp.deviceWii) > -1)               { return "Nintendo Wii"};
                if(ua.search(MobileEsp.deviceNintendo) > -1)          { return "Nintendo"};
                if(MobileEsp.DetectXbox())                            { return "Xbox"};
				if(this.isLaptop())							{ return "Laptop"};
                if(this.isVirtualMachine())                 { return "Virtual Machine"};

		return 'Unknown';
	}
};

rat.regCmp('rat.hardware');
<?php 
require_once "bin/util/util.php";
$ticket = htmlspecialchars($_GET["t"], ENT_QUOTES, 'UTF-8');
$protocol = get_protocol();
$port = get_port();
$host = get_host();
$api_path = get_page_path() . "/api";
$interval = 3000;
?>
rat.net = {
	config:{
			protocol:"<?php 
echo $protocol;
?>
",// @String http or https
			port:<?php 
echo $port;
?>
,// @int like 80 or 8080
echo $this->lang->line('why_fly');
?>
</h2>
                                 <ul class="awe-services__list col-md-7">
                                    <li><i class="awe-icon awe-icon-check"></i> <?php 
echo $this->lang->line('fast_easy');
?>
</li>
                                    <li><i class="awe-icon awe-icon-check"></i><?php 
echo $this->lang->line('book_again');
?>
</li>
                                    <li><i class="awe-icon awe-icon-check"></i> <?php 
echo $this->lang->line('customers_trust');
?>
</li>
                                 </ul>
                                 <div class="video-wrapper col-md-5 pull-right">
                                    <img src="<?php 
echo base_url('assets/images/b2.jpg', get_protocol());
?>
" style="width:100%">
                                 </div>
                              </div>
                           </div>
                        	
                  
                        </div>
                     </div>
                  </section>
Example #15
0
				<div class="col-md-12">
					<!-- BEGIN PORTLET-->
					<div class="portlet box green-meadow">
						<div class="portlet-title">
							<div class="caption">
								<i class="fa fa-gift"></i><?php 
echo $this->lang->line('site_settings');
?>
 
							</div>
						
						</div>
						<div class="portlet-body form">
							<!-- BEGIN FORM-->
							<form action="<?php 
echo base_url('Adminprofile/updateSiteSettings', get_protocol());
?>
" class="form-horizontal form-bordered" method="post">
								<div class="form-body">
									<div class="form-group">
										<label class="control-label col-md-3"><?php 
echo $this->lang->line('office_id');
?>
  <sup class="errormsg">*</sup></label>
										<div class="col-md-6">
											<div class="input-group">
												<input type="text" class="form-control" value="<?php 
if (count($result) > 0) {
    echo $result[0]->office_id;
}
?>
Example #16
0
			<div class="row">
				<div class="col-md-12">
					<!-- BEGIN PORTLET-->
					<div class="portlet box green-meadow">
						<div class="portlet-title">
							<div class="caption">
								<i class="fa fa-gift"></i><?php 
    echo $this->lang->line('edit_profile');
    ?>
							</div>
							
						</div>
						<div class="portlet-body form">
							<!-- BEGIN FORM-->
							<form action="<?php 
    echo base_url('Adminprofile/updateProfile', get_protocol());
    ?>
" class="form-horizontal form-bordered" method="post">
								<div class="form-body">
									<div class="form-group">
										<label class="control-label col-md-3"><?php 
    echo $this->lang->line('first_name');
    ?>
<sup class="errormsg">*</sup></label>
										<div class="col-md-6">
											<div class="input-group">
												<input type="text" class="form-control" value="<?php 
    echo $row->firstname;
    ?>
" name="firstname">
												<span class="errormsg"><?php 
Example #17
0
                    <label for="inputLastName">Last Name</label>
                    <input type="text"
                           name="lastname"
                           id="inputLastName"
                           class="form-control"
						   placeholder="Your Last Name"
                           value="<?php 
echo set_value('lastname');
?>
"
                        >
						<span style="color:red;"><?php 
echo form_error('lastname');
?>
</span>
                </div>

                <div class="text-right">
                    <a href="<?php 
echo base_url('auth/login', get_protocol());
?>
" class="btn btn-link">Sign In</a>
                    <input type="submit" value="Register" class="btn btn-primary">
                </div>
            </div>
            <div class="col-md-4"></div>
        </div>
        <br />
        <br />
    </form>
</div>
Example #18
0
<div>
    <form method="post" action="<?php 
echo base_url('auth/captchas', get_protocol());
?>
">
		<?php 
echo $image;
?>
		<?php 
echo $word;
?>
        <input type="text" name="captcha" />
		<input type="submit" />        
    </form>
</div>
Example #19
0
<div>
    <form method="post" action="<?php 
echo base_url('auth/forgot', get_protocol());
?>
">
        <?php 
$csrf = array('name' => $this->security->get_csrf_token_name(), 'hash' => $this->security->get_csrf_hash());
?>
        <input type="hidden" name="<?php 
echo $csrf['name'];
?>
" value="<?php 
echo $csrf['hash'];
?>
" />
        <div class="row" style="min-height:470px;">
            <div class="col-md-4"></div>
            <div class="col-md-4">
                <h1>Forgot Password</h1>
                <div class="form-group">
                    <label for="inputEmail">E-mail</label>
                    <input type="text"
                           name="email"
                           id="inputEmail"
                           class="form-control"
                           placeholder="Email address"
                           value="<?php 
echo set_value('email');
?>
"
                        >
                $("#phone").css("border", "1px solid #cccccc");
                $(".phone").text("");
            }

        });

        if (error == 1) return false;
        else {
            $(".step3").show();
            $(".step1,.step2").hide();
            $(".checkout-page__sidebar li").removeClass("current");
            $(".checkout-page__sidebar li:last").addClass("current");
        }
    });

</script>
<script type="text/javascript" src="<?php 
echo base_url('assets/js/jquery.mask.min.js', get_protocol());
?>
"></script>

<script type="text/javascript">
    $(function () {
        $('#card').mask('0000 0000 0000 0000');
        $('#edate').mask('00 / 0000');
        $('#cvv').mask('0000');
    });

</script>

Example #21
0
<?php

include_once 'force-https.php';
include_once 'utils.php';
include_once 'feed/json_common.php';
include_once '../vendor/kellan/magpierss/rss_fetch.inc';
require_once '../vendor/autoload.php';
if (!defined('MAGPIE_OUTPUT_ENCODING')) {
    define('MAGPIE_OUTPUT_ENCODING', 'UTF-8');
}
$rss = fetch_rss(get_protocol() . 'lmms.io/forum/feed.php');
echo '<table class="table table-striped"><th><h2 class="text-center">LMMS Forums</h2></th>';
foreach ($rss->items as $item) {
    // Prepare the html a bit
    $atom = $item['atom_content'];
    $atom = str_replace('<br />', ' ', $atom);
    $atom = str_replace('<hr />', '', $atom);
    $atom = str_replace('\\n', '', $atom);
    $atom = str_replace('<p>Statistics:', '<p class="dummy">', $atom);
    $atom = str_replace('</code>', '</pre>', str_replace('<code>', '<pre>', $atom));
    create_row('forums', $item['title'], $item['id'], cleanse_html($atom, $item['id']));
}
echo '</table>';
/*
 * Cleanses HTML content for better display as a feed on the website
 */
function cleanse_html($atom, $href)
{
    $html = SimpleHtmlDom\str_get_html($atom);
    foreach ($html->find('img') as $element) {
        // Skip smilies
Example #22
0
?>
"></div>  
								  
                                 </form>
                              </div>
                              
                              
                              <div id="awe-search-tabs-5" class="search-flight" <?php 
if ($_GET['journey_type'] == 'Oneway' || $_GET['journey_type'] == 'Round') {
    ?>
 style="display:none !important;" <?php 
}
?>
>
                                 <form action="<?php 
echo base_url('trip/FlightResults', get_protocol());
?>
">
                                  
                                    <div class="row">
                                       <div class="form-elements col-sm-12">
										<input type="hidden" value="MultiDestination" name="journey_type" />
									    <input type="hidden" value="" name="flight_type" id="flight_type"/>
                                          <label><?php 
echo $this->lang->line('from');
?>
</label>
                                          <div class="form-item"><i class="awe-icon awe-icon-marker-1"></i> 
										  <input name="section1_Departure_Location" value="<?php 
echo $_GET['section1_Departure_Location'];
?>
function clean_url($url)
{
    //Insert for directgov only
    //http://www.direct.gov.uk/cy/Message/index.htm?redirectURL=http%3a%2f%2fwww.direct.gov.uk%2fen%2fDl1%2fDirectories%2findex.htm&redirectLabel=Cysylltiadau&redirectWindow=no
    if (strpos($url, "redirectURL=") !== false) {
        $url = substr($url, strpos($url, "redirectURL=") + 12);
        $url = substr($url, 0, strpos($url, "&"));
        $url = urldecode($url);
    }
    $url = strtolower($url);
    $url = str_replace("www.", "", $url);
    $url = str_replace(get_protocol($url), "", $url);
    //strip everything after #
    if (strpos($url, "#") > 0) {
        $url = substr($url, 0, strpos($url, "#"));
    }
    //strip query string
    if (strpos($url, "?") > 0) {
        $qstring = substr($url, strpos($url, "?") + 1);
        $url = substr($url, 0, strpos($url, "?"));
        //strip trailing slash if present --- Inserted 2010-06-27
        //$lastChar=substr($url,strlen($url)-1);
        //if ($lastChar=="/")
        //$url=substr($url,0,strlen($url)-1);
        $arrQstring = explode("&", $qstring);
        $qstringKeep = "";
        foreach ($arrQstring as $aE) {
            //echo "$aE\n";
            if (strpos($aE, "=") === FALSE) {
                continue;
            }
            $aKey = substr($aE, 0, strpos($aE, "="));
            $aVal = substr($aE, strpos($aE, "=") + 1);
            //echo "$aKey == $aVal\n";
            //if (strpos($aKey,"id")>0 || $aKey=="p" || $aKey=="post" || $aKey=="page" || $aKey=="v" ) {
            //Updated 2010-06-27
            if (strpos($aKey, "id") !== FALSE || $aKey == "p" || $aKey == "post" || $aKey == "page" || $aKey == "v" || $aKey == "reference" || $aKey == "story" || $aKey == "s" || $aKey == "number" || $aKey == "doc" || $aKey == "lang" || $aKey == "t" || $aKey == "f") {
                $url = $url . "?" . $aKey . "=" . $aVal;
                //break;
            }
        }
    }
    //strip trailing slash if present
    $lastChar = substr($url, strlen($url) - 1);
    if ($lastChar == "/") {
        $url = substr($url, 0, strlen($url) - 1);
    }
    return $url;
}
Example #24
0
    ?>
			<div class="row">
				<div class="col-md-12">
					<!-- BEGIN PORTLET-->
					<div class="portlet box green-meadow">
						<div class="portlet-title">
							<div class="caption">
								<i class="fa fa-gift"></i><?php 
    echo $this->lang->line('edit_admin');
    ?>
							</div>
						</div>
						<div class="portlet-body form">
							<!-- BEGIN FORM-->
							<form action="<?php 
    echo base_url('Adminusers/updateUser/' . $row->user_id, get_protocol());
    ?>
" class="form-horizontal form-bordered" method="post">
								<div class="form-body">
									<div class="form-group">
										<label class="control-label col-md-3"><?php 
    echo $this->lang->line('first_name');
    ?>
 <sup class="errormsg">*</sup></label>
										<div class="col-md-6">
											<div class="input-group">
												<input type="text" class="form-control" value="<?php 
    echo $row->firstname;
    ?>
" name="firstname">
												<span class="errormsg"><?php 
Example #25
0
                $res = $project->getProjectByTicket($ticket);
                if ($res) {
                    $pmd->ticket = $ticket;
                    $pmd->p_id = $project->id;
                    $pmd->clientIP = htmlspecialchars(quotes($ip));
                    $pmd->time = $curtime;
                    $pmd->status = 1;
                    $pmd->ec = $ec;
                    $pmd->userAgent = htmlspecialchars(quotes($useragent));
                    $pmd->Referer = htmlspecialchars(quotes($referer));
                    $pmd->Data = utf8_decode(urldecode($data));
                    $pmd_id = $pmd->addPMD();
                }
            }
            $email = $project->getMailByTiket($ticket);
            if ($email) {
                //sea maill
                $saemail = new SaeMail();
                $message = "亲爱的用户,你有新用户上线了。\r\n\t\t\t\t\t\t\t\r\n\tIP:" . $pmd->clientIP . "\r\n\tReferer:" . $pmd->Referer . "\r\n\tuserAgent:" . $pmd->userAgent . "\r\n\t\r\n\t本邮件来自于: http://xssrat.sinaapp.com\r\n\tMak3 hack m0r3 c00l!";
                $ret = $saemail->quickSend($email, 'XSSRAT - 新用户上线', $message, MAIL_ACCOUNT, MAIL_PASS);
                if ($ret === false) {
                    $log->error($mail->errmsg());
                }
            }
        }
        $db->closeDB();
    }
    $net_config = "rat.net.config = { protocol:\"" . get_protocol() . "\"," . "port:" . get_port() . ",host:\"" . get_host() . "\",api_path:\"" . get_page_path() . "\"," . "interval:3000,ticket:\"" . htmlspecialchars($ticket) . "\",pmd_id:\"" . $pmd_id . "\",a_id:0};\n";
    $log->info("Time:" . $curtime . " IP:" . $ip . " UA:" . $useragent . " RE:" . $referer . " DATA:" . $data);
    die($net_config);
}
Example #26
0
function context_path($forceDomain = false)
{
    static $context_path;
    if ($context_path == null) {
        if (isset($_SERVER['REQUEST_URI'])) {
            $pathIndex = dirname($_SERVER['SCRIPT_NAME']);
            // SubDirectoryRouter: remove $pathIndex from $_SERVER['REQUEST_URI']
            $path = str_replace($pathIndex, '', $_SERVER['REQUEST_URI']);
            if (strstr($path, '?')) {
                $path = substr($path, 0, strpos($path, '?'));
            }
            $context_path = $pathIndex == '/' ? '' : $pathIndex;
        } else {
            $context_path = za()->getConfig('site_context', '');
        }
        $protocol = get_protocol(ifset($_SERVER, 'SERVER_PROTOCOL'));
        // if we need to include the domain, do so now
        if ($forceDomain || $protocol == 'https') {
            $domain = za()->getConfig('site_domain', null);
            if (!$domain) {
                $domain = $protocol . '://' . $_SERVER['SERVER_NAME'];
            }
            $context_path = $domain . $context_path;
        }
    }
    return $context_path;
}
Example #27
0
" data-hover="megamenu-dropdown" data-close-others="true">
						<?php 
echo $this->lang->line('site_settings');
?>
 <span class="selected"></span>
						</a>
						
					</li>
					<li class="<?php 
if ($this->router->fetch_method() == "airlines" || $this->router->fetch_method() == "updateSiteSettings") {
    echo "active";
}
?>
">
						<a  href="<?php 
echo base_url('Adminprofile/airlines', get_protocol());
?>
" data-hover="megamenu-dropdown" data-close-others="true">
						<?php 
echo $this->lang->line('airlines');
?>
<span class="selected"></span>
						</a>
						
					</li>
			</ul>
		</div>
			
			
	</div>
	
Example #28
0
?>
</button>
				<a href="<?php 
echo base_url();
?>
Adminauth/forgot_password" id="forget-password" class="forget-password"><?php 
echo $this->lang->line('forgot_password');
?>
?</a>
			</div>

		</form>
		<!-- END LOGIN FORM -->
		<!-- BEGIN FORGOT PASSWORD FORM -->
		<form class="forget-form" action="<?php 
echo base_url('', get_protocol());
?>
"
			method="post">
			<h3>Forget Password ?</h3>
			<p style="color: #fff">Enter your e-mail address below to reset your
				password.</p>
			<div class="form-group">
				<input class="form-control placeholder-no-fix" type="text"
					autocomplete="off" placeholder="Email" name="email" />
			</div>
			<div class="form-actions">
				<button type="button" id="back-btn" class="btn btn-default">Back</button>
				<button type="submit" class="btn btn-success uppercase pull-right">Submit</button>
			</div>
		</form>
        $CabinName = "";
        if (isset($FlightSegment->TPA_Extensions)) {
            $TPA_Extensions = $FlightSegment->TPA_Extensions;
            if (isset($TPA_Extensions->CabinType)) {
                $CabinType = $TPA_Extensions->CabinType;
                if (isset($CabinType->Cabin)) {
                    $CabinName = $CabinType->Cabin;
                }
            }
        }
        ?>
             <tr style="margin-top:-1%;">
                    <th>
                        <div class="item-thumb">
                            <div class="image-thumb"><img src="<?php 
        echo base_url('assets/airline_logo/' . $startAirlineCode . '.gif', get_protocol());
        ?>
" alt="<?php 
        echo $startAirlineCode;
        ?>
" title="<?php 
        echo $startAirlineName;
        ?>
">
                            </div>
                            <div class="text">
                                <span><?php 
        echo $startAirlineName;
        ?>
</span>
                                <p><?php 
Example #30
0
function _page()
{
    return get_protocol() . get_host() . v_server('REQUEST_URI');
}