Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PSW_II_PARIWISATA_TRANSPORTASI
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Proyek_PSW_II_PARIWISATA
PSW_II_PARIWISATA_TRANSPORTASI
Commits
6ebd7f11
Commit
6ebd7f11
authored
Jun 06, 2020
by
11319009_Pratiwi Sibarani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
aa8387da
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
101 additions
and
0 deletions
+101
-0
index.php
transportasi/user/index.php
+101
-0
No files found.
transportasi/user/index.php
0 → 100644
View file @
6ebd7f11
<?php
session_start
();
include
(
'../config.php'
);
include
(
"template/header.php"
);
include
(
"../common/function.php"
);
open_page
(
"Index"
);
if
(
!
isset
(
$_SESSION
[
'is_login'
]))
{
header
(
'location:../index.php'
);
}
if
(
!
isset
(
$_SESSION
[
"username"
])){
// echo "<script>alert('Login terlebih dahulu');window.location='../index.php';</script>";
// exit;
echo
"Anda harus login dulu <br><a href='../index.php'>Klik disini</a>"
;
exit
;
}
$role
=
$_SESSION
[
"role"
];
if
(
$role
!=
"user"
){
echo
"<script>alert('Anda bukan user');window.location='../index.php';</script>"
;
exit
;
}
$id_akun
=
$_SESSION
[
"id_akun"
];
$nama
=
$_SESSION
[
"nama"
];
$username
=
$_SESSION
[
"username"
];
?>
<!-- ======= Hero Section ======= -->
<section
id=
"hero"
>
<div
id=
"heroCarousel"
class=
"carousel slide carousel-fade"
data-ride=
"carousel"
>
<ol
class=
"carousel-indicators"
id=
"hero-carousel-indicators"
></ol>
<div
class=
"carousel-inner"
role=
"listbox"
>
<!-- Slide 1 -->
<div
class=
"carousel-item active"
style=
"background-image: url(
<?=
BASEURL
?>
public/img/view.jpg)"
>
<div
class=
"carousel-container"
>
<div
class=
"container"
>
<h2
class=
"animate__animated animate__fadeInDown"
>
Welcome to
<span>
Travel
<img
src=
"
<?=
BASEURL
;
?>
public/img/logo4.png"
alt=
""
width=
"75px;"
>
K
</span></h2>
<p
class=
"animate__animated animate__fadeInUp"
>
Halo!
<?=
$_SESSION
[
"nama"
]
?>
</p>
</div>
</div>
</div>
<!-- Slide 2 -->
<div
class=
"carousel-item"
style=
"background-image: url(
<?=
BASEURL
?>
public/img/slide1.jpg)"
>
<div
class=
"carousel-container"
>
<div
class=
"container"
>
<h2
class=
"animate__animated animate__fadeInDown"
>
Udara
<img
src=
"
<?=
BASEURL
;
?>
public/img/logo4.png"
alt=
""
width=
"75px;"
>
K!
</h2>
<p
class=
"animate__animated animate__fadeInUp"
>
Ayo lintasi bumi melalui udara dan lihat pemandangan bagus dan indah.
</p>
<a
href=
"destinasi_user.php"
class=
"btn-get-started animate__animated animate__fadeInUp scrollto"
>
Read More
</a>
</div>
</div>
</div>
<!-- Slide 3 -->
<div
class=
"carousel-item"
style=
"background-image: url(
<?=
BASEURL
?>
public/img/slide2.jpg)"
>
<div
class=
"carousel-container"
>
<div
class=
"container"
>
<h2
class=
"animate__animated animate__fadeInDown"
>
Darat
<img
src=
"
<?=
BASEURL
;
?>
public/img/logo4.png"
alt=
""
width=
"75px;"
>
K!
</h2>
<p
class=
"animate__animated animate__fadeInUp"
>
Jalan jalan dari darat. Rasakan sensasi dan tantangan.
</p>
<a
href=
"destinasi_user.php"
class=
"btn-get-started animate__animated animate__fadeInUp scrollto"
>
Read More
</a>
</div>
</div>
</div>
<!-- Slide 3 -->
<div
class=
"carousel-item"
style=
"background-image: url(
<?=
BASEURL
?>
public/img/slide3.jpg)"
>
<div
class=
"carousel-container"
>
<div
class=
"container"
>
<h2
class=
"animate__animated animate__fadeInDown"
>
Laut
<img
src=
"
<?=
BASEURL
;
?>
public/img/logo4.png"
alt=
""
width=
"75px;"
>
K!
</h2>
<p
class=
"animate__animated animate__fadeInUp"
>
Rasa santai, hening, dan nyaman bisa anda dapatkan melalui jalur Laut.
</p>
<a
href=
"destinasi_user.php"
class=
"btn-get-started animate__animated animate__fadeInUp scrollto"
>
Read More
</a>
</div>
</div>
</div>
</div>
<a
class=
"carousel-control-prev"
href=
"#heroCarousel"
role=
"button"
data-slide=
"prev"
>
<span
class=
"carousel-control-prev-icon icofont-simple-left"
aria-hidden=
"true"
></span>
<span
class=
"sr-only"
>
Previous
</span>
</a>
<a
class=
"carousel-control-next"
href=
"#heroCarousel"
role=
"button"
data-slide=
"next"
>
<span
class=
"carousel-control-next-icon icofont-simple-right"
aria-hidden=
"true"
></span>
<span
class=
"sr-only"
>
Next
</span>
</a>
</div>
</section>
<!-- End Hero -->
<?php
include
(
"template/footer.php"
)
?>
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