Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pa2d4ti06
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Juliper
pa2d4ti06
Commits
6a3b18ae
Commit
6a3b18ae
authored
Jun 16, 2017
by
Juliper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reapir again
parent
2f2acab0
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
4 deletions
+25
-4
GuestController.php
app/Http/Controllers/GuestController.php
+9
-1
map.JPG
public/img/map.JPG
+0
-0
new_map.jpg
public/img/new_map.jpg
+0
-0
Home.blade.php
resources/views/vendor/adminlte/layouts/pages/Home.blade.php
+1
-1
detilSHomestay.blade.php
...ws/vendor/adminlte/layouts/pages/detilSHomestay.blade.php
+15
-2
No files found.
app/Http/Controllers/GuestController.php
View file @
6a3b18ae
...
@@ -160,8 +160,16 @@ class GuestController extends Controller
...
@@ -160,8 +160,16 @@ class GuestController extends Controller
->
where
(
'kamar.id_homestay'
,
'='
,
$id
)
->
where
(
'kamar.id_homestay'
,
'='
,
$id
)
->
get
();
->
get
();
$dataFeedback
=
DB
::
table
(
'feedback'
)
->
join
(
'pelanggan'
,
'feedback.id_pelanggan'
,
'pelanggan.id'
)
->
select
(
'feedback.*'
,
'pelanggan.nama'
)
->
where
(
'feedback.id_pemilik_homestay'
,
'='
,
$data
[
0
]
->
id_pemilik
)
->
orderBy
(
'feedback.id'
,
'desc'
)
->
get
();
//dd($dataFeedback);
return
view
(
'adminlte::layouts.pages.detilSHomestay'
)
->
with
(
'id'
,
$id
)
->
with
(
'data'
,
$data
[
0
])
->
with
(
'tm'
,
$tm
)
->
with
(
'lm'
,
$lm
)
->
with
(
'ts'
,
$ts
)
->
with
(
'jt'
,
$jt
)
->
with
(
'jk'
,
$jk
)
->
with
(
'dataKamar'
,
$dataKamar
);
return
view
(
'adminlte::layouts.pages.detilSHomestay'
)
->
with
(
'id'
,
$id
)
->
with
(
'data'
,
$data
[
0
])
->
with
(
'tm'
,
$tm
)
->
with
(
'lm'
,
$lm
)
->
with
(
'ts'
,
$ts
)
->
with
(
'jt'
,
$jt
)
->
with
(
'jk'
,
$jk
)
->
with
(
'dataKamar'
,
$dataKamar
)
->
with
(
'feedback'
,
$dataFeedback
)
;
}
}
public
function
cari
(
Request
$request
){
public
function
cari
(
Request
$request
){
...
...
public/img/map.JPG
0 → 100644
View file @
6a3b18ae
39.5 KB
public/img/new_map.jpg
0 → 100644
View file @
6a3b18ae
53.4 KB
resources/views/vendor/adminlte/layouts/pages/Home.blade.php
View file @
6a3b18ae
...
@@ -173,7 +173,7 @@
...
@@ -173,7 +173,7 @@
{{--frameborder="
0
" style="
border
:
0
"--}}
{{--frameborder="
0
" style="
border
:
0
"--}}
{{--src="
https
://
www
.
google
.
com
/
maps
/
embed
/
v1
/
place
?
key
=
AIzaSyBsbx4u_4cq_g
-
Qq7YCoPyYcO6A48YkOgQ
=
Pantai
+
Lumban
+
Bulbul
,
+
Kabupaten
+
Toba
+
Samosir
,
+
Sumatera
+
Utara
" allowfullscreen>--}}
{{--src="
https
://
www
.
google
.
com
/
maps
/
embed
/
v1
/
place
?
key
=
AIzaSyBsbx4u_4cq_g
-
Qq7YCoPyYcO6A48YkOgQ
=
Pantai
+
Lumban
+
Bulbul
,
+
Kabupaten
+
Toba
+
Samosir
,
+
Sumatera
+
Utara
" allowfullscreen>--}}
<img src="
/
img
/
map
.
jpg
" alt="
Agileits
W3layouts
" >
<img src="
/
img
/
new_
map
.
jpg
" alt="
Agileits
W3layouts
" >
</div>
</div>
...
...
resources/views/vendor/adminlte/layouts/pages/detilSHomestay.blade.php
View file @
6a3b18ae
...
@@ -119,11 +119,24 @@
...
@@ -119,11 +119,24 @@
<div class="
cuisines
agileits
w3layouts
">
<div class="
cuisines
agileits
w3layouts
">
<div class="
container
">
<div class="
container
">
<div class="
col
-
md
-
6
col
-
sm
-
6
cuisines
-
grids
agileits
w3layouts
cuisines
-
grids
-
1
">
<div class="
col
-
md
-
8
col
-
sm
-
8
cuisines
-
grids
agileits
w3layouts
cuisines
-
grids
-
1
">
<h3 style="
margin
-
bottom
:
0
px
;
font
-
weight
:
10
px
;
"> Review Pengunjung </h3>
<h3 style="
margin
-
bottom
:
0
px
;
font
-
weight
:
10
px
;
"> Review Pengunjung </h3>
<img style="
width
:
450
px
;
margin
-
top
:
3
px
;
" src="
{{
asset
(
'img/line1.png'
)}}
"><br>
<img style="
width
:
450
px
;
margin
-
top
:
3
px
;
" src="
{{
asset
(
'img/line1.png'
)}}
"><br>
DISINI REVIEW
<ul class="
timeline
">
@foreach(
$feedback
as
$a
)
<li>
<i class="
glyphicon
glyphicon
-
envelope
"></i>
<div class="
timeline
-
item
">
<span class="
time
"><i class="
fa
fa
-
clock
-
o
"></i>
{
{$a->created_at}
}
</span>
<h3 class="
timeline
-
header
" style="
border
-
bottom
:
0
px
;
"><a href="
#">{{$a->nama}}</a> </h3>
<
div
class
="
timeline
-
body
">
{
{$a->feedback}
}
</div>
</div>
</li>
@endforeach
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment