예제 #1
0
파일: step_02.php 프로젝트: jcodesdotme/pp
<?php
	$category = new Category();
	$accTypes = $category->all();
	$mainCity = new MainCity();
	$mCities = $mainCity->all();
	$subCity = new SubCity();
	$sCities = $subCity->all();
	$hotelFeatureType = new HotelFeatureType();
	$hFTypes = $hotelFeatureType->all();
	$roomType = new RoomType();
	$rTypes = $roomType->all();
	$roomFeature = new RoomFeature();
	$rFeatures = $roomFeature->all();

	if(!isset($_SESSION['step_01_completed']) || $_SESSION['step_01_completed'] != true){
		die(header('Location: ' . DOMAIN . 'dashboard/add-hotel/step-01'));
	}

	if(isset($_SESSION['hotel_step_error']) && (strlen($_SESSION['hotel_step_error']) > 0)){
?>
<div><?php echo $_SESSION['hotel_step_error']; $_SESSION['hotel_step_error'] = ''; ?></div>
<?php } ?>
<form action="<?php echo HTTP; ?>dashboard/get_step_02.php" method="post">
	<input type="hidden" value="83620581b63ecf30c23cd5f97cc84939" name="csrf"/>
	<fieldset>
		<legend>Hotel Registration/Property-details</legend>
		<h3 class="h3">Hotel facilities</h3>

		<div class="row">
			<div class="col-xs-12">
				<h4>Hotel Facilities<span class="text-danger">*</span></h4>
예제 #2
0
파일: footer.php 프로젝트: jcodesdotme/pp
<?php
	$mainCity = new MainCity();
	$mainCityList = $mainCity->all();
?>
<div class="befor-footer_3">
    <div class="container">
        <div class="footer-inner col-xs-12 no-padding">
            <div class="news_letters">
                <h2>Subscribe Now &amp; Get Exclusive Hotel Deals from roomista</h2>
                <div class="col-xs-12 no-padding" id="subscribe_div">
					<?php if(isset($_SESSION['']) && (strlen($_SESSION['']) > 1)){ ?>
					<div class="alert alert-success"><?php echo $_SESSION['']; ?></div>
					<?php } ?>
                    <form action="<?php echo DOMAIN; ?>assets/subscribers" method="post">
						<input type="hidden" name="csrf" value="2f2f6673aab0fa90d9992a67801046cf">
						<div class="form-group col-xs-12 col-sm-4 no-padding">
							<input class="form-control" id="subscribe_email" name="subscribe_email" placeholder="E-Mail" type="email"/>
						</div>
						<button class="btn btn-default" id="subscribe" name="subscribe" type="submit">Subscribe</button>
						<span class="alert alert-danger hidden" id="subcrbchk">Please enter the valid email address</span>
					</form>
				</div>
            </div>
        </div>
        <div class="footer-inner col-xs-12 no-padding">
            <h2>Hotels by Top City</h2>
            <ul class="hotel_list col col-xs-12 n-padding">
            <?php foreach($mainCityList as $mainCityItem){ ?>
                <li class="col-xs-12 col-lg-2 col-md-3 col-sm-4">
                    <a href="<?php echo HTTP_PATH; ?>sri-lanka/hotels-in-<?php echo implode("-", explode(" ", strtolower($mainCityItem->name))); ?>">Hotels in <?php echo $mainCityItem->name; ?></a>
                </li>