Commit 39e495d1 by Visgha Olivia

Upload New File

parent 8280ab25
<!DOCTYPE html>
<html lang="en">
<?php
require_once 'common/database.php';
if(!isset($_SESSION['logged_in'])){
header('location: index.php');
}
?>
<!-- Basic -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Mobile Metas -->
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<!-- Site Metas -->
<title>Paket</title>
<meta name="keywords" content="">
<meta name="description" content="">
<meta name="author" content="">
<!-- Site Icons -->
<link rel="shortcut icon" href="images/logos/logo1.png" type="image/x-icon" />
<link rel="apple-touch-icon" href="images/apple-touch-icon.png">
<link rel="stylesheet" href="css/bootstrap.css">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<!-- Site CSS -->
<link rel="stylesheet" href="style.css">
<!-- Colors CSS -->
<link rel="stylesheet" href="css/colors.css">
<!-- ALL VERSION CSS -->
<link rel="stylesheet" href="css/versions.css">
<!-- Responsive CSS -->
<link rel="stylesheet" href="css/responsive.css">
<!-- Custom CSS -->
<link rel="stylesheet" href="css/custom.css">
<link rel="stylesheet" href="css/paket.css">
<!-- Modernizer for Portfolio -->
<script src="js/modernizer.js"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body class="host_version">
<!-- Modal -->
<!-- LOADER -->
<div id="preloader">
<div class="loading">
<div class="finger finger-1">
<div class="finger-item">
<span></span><i></i>
</div>
</div>
<div class="finger finger-2">
<div class="finger-item">
<span></span><i></i>
</div>
</div>
<div class="finger finger-3">
<div class="finger-item">
<span></span><i></i>
</div>
</div>
<div class="finger finger-4">
<div class="finger-item">
<span></span><i></i>
</div>
</div>
<div class="last-finger">
<div class="last-finger-item"><i></i></div>
</div>
</div>
</div>
<!-- END LOADER -->
<header class="header header_style_01">
<nav class="megamenu navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="dashboard1.php"><img src="images/logos/logo1.png" alt="image"></a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="dashboard1.php">Beranda</a></li>
<li><a class="active" href="paket1.php">Paket</a></li>
<li><a href="tiket1.php">Tiket</a></li>
<li><a href="contact1.php">Kontak</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a class="btn-light btn-radius btn-brd log" href="logout.php"><i class="flaticon-padlock"></i> Log out</a></li>
</ul>
</div>
</div>
</nav>
</header>
<div class="all-title-box">
<div class="container text-center">
<?php
$id_paket = $_GET['id'];
$paket = getSatuPaket($id_paket);
// $datapaket = mysqli_query($db,"SELECT * FROM paket WHERE id_paket = '$id_paket'");
// // $email = $_SESSION['email'];
// $subject = "Pemesanan Paket";
// $message = "Terima kasih sudah memesan tiket dari kami. Have a nice holiday!!";
// if(isset($_POST['pesan'])){
// // if(mail($_POST['email'],$_POST['subject'],$_POST['message']))
// if(mail($_SESSION[],$subject,$message)){
// echo "<script>alert('Email terkirim ke email anda');
// window.location = 'paket1.php'</script>";
// }
// else{
// echo "<script>alert('Email tidak terkirim ke email anda');
// window.location = 'paket1.php'</script>";
// }
// }
?>
<h1>Paket<span class="m_1">Beberapa pilihan paket yang tersedia.</span></h1>
<a href="paket1.php" class="btn btn-light btn-radius btn-brd grd1 effect-1 fa fa-arrow-left">&nbsp Lihat Semua Paket Kembali</a>
</div>
</div>
<hr>
<section class="courses-section spad">
<div class="container">
<center>
<div class="thumbnail" style="width:50%;height:100%;">
<img src="uploads/<?= $paket['gambar']; ?>"width="350"></div></center>
<div class="col-md-7">
<div class="caption">
<!-- <form action="" method="post"> -->
<table style="color:black;">
<tr >
<td>
ID Paket
</td>
<td>
: <?= $paket['id_paket']; ?>
</td>
</tr>
<tr>
<td>
Nama Paket
</td>
<td>
: <?= $paket['nama_paket']; ?>
</td>
</tr>
<tr>
<td>
Deskripsi
</td>
<td>
: <?= $paket['deskripsi']; ?>
</td>
</tr>
<tr>
<td>
Tanggal
</td>
<td>
: <?= $paket['tanggal'] ?>
</td>
</tr>
<tr>
<td>
Harga
</td>
<td>
: Rp.<?= $paket['harga']; ?>
</td>
</tr>
<tr>
<td>
Kuota
</td>
<td>
: <?= $paket['kuota']; ?> Paket
</td>
</tr>
<tr>
<td>
<a href="daftar_tiket_proses.php?id=<?= $id_paket?>&id_akun=<?= $_SESSION['id_akun']?>" class="btn btn-light btn-radius btn-brd grd1 effect-1 fa fa-dollar" name="pesan">&nbsp Pesan Paket</a>
</td>
</tr>
</table>
<!-- </form> -->
</div>
</div>
<div class="col-md-4">
<?php require_once 'chart.php'; ?>
</div>
</div>
</div>
</section>
<footer class="footer">
<div class="container">
<div class="row">
<div class="col-md-4 col-sm-4 col-xs-12">
<div class="widget clearfix">
<div class="widget-title">
<img src="images/logos/logo1.png" alt="">
<small>Mickie Funland</small>
</div>
<p>Taman bermain nomor 1 di Sumatera Utara.</p>
</div><!-- end clearfix -->
</div><!-- end col -->
<div class="col-md-3 col-sm-3 col-xs-12">
<div class="widget clearfix">
<div class="widget-title">
<h3>Information Link</h3>
</div>
<ul class="footer-links">
<li><a href="dashboard1.php">Beranda</a></li>
<li><a href="paket1.php">Paket</a></li>
<li><a href="tiket1.php">Tiket</a></li>
<li><a href="contact1.php">Kontak</a></li>
</ul><!-- end links -->
</div><!-- end clearfix -->
</div><!-- end col -->
<div class="col-md-2 col-sm-2 col-xs-12">
<div class="widget clearfix">
<div class="widget-title">
<h3>Social</h3>
</div>
<ul class="footer-links">
<li><a href="#"><i class="fa fa-facebook"></i> 22.543 Likes</a></li>
<li><a href="#"><i class="fa fa-github"></i> 128 Projects</a></li>
<li><a href="#"><i class="fa fa-twitter"></i> 12.860 Followers</a></li>
<li><a href="#"><i class="fa fa-dribbble"></i> 3312 Shots</a></li>
<li><a href="#"><i class="fa fa-pinterest"></i>3331 Pins</a></li>
</ul><!-- end links -->
</div><!-- end clearfix -->
</div><!-- end col -->
</div><!-- end row -->
</div><!-- end container -->
</footer><!-- end footer -->
<div class="copyrights">
<div class="container">
<div class="footer-distributed">
<div class="footer-left">
<p class="footer-company-name">&copy; 2020 <a href="#">Funland</a> Design By : PSW-01 </p>
</div>
<!-- <div class="footer-right"> -->
<!-- <form method="get" action="#"> -->
<!-- <input placeholder="Subscribe our newsletter.." name="search"> -->
<!-- <i class="fa fa-envelope-o"></i> -->
<!-- </form> -->
<!-- </div> -->
</div>
</div><!-- end container -->
</div><!-- end copyrights -->
<a href="#" id="scroll-to-top" class="dmtop global-radius"><i class="fa fa-angle-up"></i></a>
<!-- ALL JS FILES -->
<script src="js/all.js"></script>
<!-- ALL PLUGINS -->
<script src="js/custom.js"></script>
</body>
</html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment