Esempio n. 1
0
<?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>
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     //
     $room_type = RoomType::all();
     return $room_type;
 }
Esempio n. 3
0
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     $room_types = RoomType::all();
     return $room_types;
 }