-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.blade.php
131 lines (125 loc) · 4.19 KB
/
index.blade.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
@extends('layouts.master')
@section('head')
@parent
<title>Home Page</title>
@stop
@section('content')
<div id="wowslider-container1">
<div class="ws_images">
<ul>
<li><img src="{{app('customURL')}}data1/images/parking.jpg" alt="parking" title="parking" id="wows1_0"/></li>
<li><img src="{{app('customURL')}}data1/images/olympic_pool.jpg" alt="Olympic Pool" title="Olympic Pool" id="wows1_1"/></li>
<li><img src="{{app('customURL')}}data1/images/main_pool.jpg" alt="Main Pool" title="Main Pool" id="wows1_2"/></li>
<li><a href="http://wowslider.com"><img src="data1/images/kiddie_pool.jpg" alt="wow slider" title="Kiddie Pool" id="wows1_3"/></a></li>
<li><img src="{{app('customURL')}}data1/images/fishpond.jpg" alt="Fishpond" title="Fishpond" id="wows1_4"/></li>
</ul>
</div>
<div class="ws_bullets">
<div>
<a href="#" title="parking"><span><img src="{{app('customURL')}}data1/tooltips/parking.jpg" alt="parking"/>1</span></a>
<a href="#" title="Olympic Pool"><span><img src="{{app('customURL')}}data1/tooltips/olympic_pool.jpg" alt="Olympic Pool"/>2</span></a>
<a href="#" title="Main Pool"><span><img src="{{app('customURL')}}data1/tooltips/main_pool.jpg" alt="Main Pool"/>3</span></a>
<a href="#" title="Kiddie Pool"><span><img src="{{app('customURL')}}data1/tooltips/kiddie_pool.jpg" alt="Kiddie Pool"/>4</span></a>
<a href="#" title="Fishpond"><span><img src="{{app('customURL')}}data1/tooltips/fishpond.jpg" alt="Fishpond"/>5</span></a>
</div>
</div>
<div class="ws_script" style="position:absolute;left:-99%"><a href="http://wowslider.com">wowslider.com</a> by WOWSlider.com v8.5</div>
<div class="ws_shadow"></div>
</div>
<script type="text/javascript" src="{{app('customURL')}}engine1/wowslider.js"></script>
<script type="text/javascript" src="{{app('customURL')}}engine1/script.js"></script>
<!-- End WOWSlider.com BODY section -->
<div id="div3">
@if(!Auth::check())
<div class="log-in">
<ul>
<li><a class="play-icon popup-with-zoom-anim" href="#small-dialog"><span> </span>Login</a></li>
<li><a class="play-icon popup-with-zoom-anim" href="#small-dialog1">Signup</a></li>
<!--<li><a class="play-icon popup-with-zoom-anim" href="#small-dialog2"><span> </span>Forgot Log-in</a></li>-->
</ul>
</div>
@else
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
@endif
</div>
<!--start-staff-->
<div class="staff">
<div class="container">
<div class="staff-top">
<h3>WELCOME TO KALUGDAN GARDEN RESORT</h3>
</div>
<div class="staff-bottom">
<?php $allBanners = Banners::all(); ?>
@if(!empty($allBanners))
@foreach($allBanners as $allBanner)
<div class="col-md-4 staff-left">
<a href="{{ URL::Route('getGallery') }}"><img src="{{app('customURL')}}images/{{$allBanner['img']}}" height="200" width="250" alt=""></a>
<h4>{{$allBanner['title']}}</h4>
<p>{{$allBanner['content']}}</p>
</div>
@endforeach
@endif
<div class="clearfix"> </div>
</div>
</div>
</div>
<div class="staffs">
<div class="container">
<div>
<div>
<?php
$allNews = News::orderByRaw("RAND()")->get();
$ctr = 0;
?>
@if(!empty($allNews))
<h3>News</h3>
@foreach($allNews as $allNew)
@if($ctr < 2)
<ul>
<li>
<h4>{{$allNew['title']}}</h4>
<span>{{$allNew['created_at']}}</span>
<p>
<span>{{$allNew['content']}}</span>
</p>
</li>
</ul>
</br>
</br>
<?php $ctr++; ?>
@endif
@endforeach
@endif
</div>
</div>
</div>
<!--<div class="staffs">
<div class="container">
<div>
<div>
<h3><a href="{{ URL::Route('getTestimonials') }}">Testimonials</h3>
<ul>
<li>
<p><a href="{{ URL::Route('getTestimonials') }}">
Masaya super saya sa mga slides! Overnight sulit mo ang pag swimming .This is totally fun!<br>
<span><a href="{{ URL::Route('getTestimonials') }}">- Margaux Anne Muesco Barbin</a></span>
</p>
</li>
</ul>
</div>
<div class="clearfix"> </div>
</div>
</div>
</div>-->
</div>
<!--end-staff-->
@include('includes.footer')
@stop