-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxxx.php
188 lines (158 loc) · 8.63 KB
/
xxx.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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<?php
$tanggal=date("dmY");
session_cache_limiter(FALSE);
session_start();
include "config/koneksi.php";
include "config/fungsi_indotgl.php";
include "config/library.php";
include "config/class_paging.php";
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Hotelier - Hotel HTML Template</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta content="" name="keywords">
<meta content="" name="description">
<!-- Favicon -->
<link href="img/favicon.ico" rel="icon">
<!-- Google Web Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;600;700&family=Montserrat:wght@400;500;600;700&display=swap" rel="stylesheet">
<!-- Icon Font Stylesheet -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.0/css/all.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css" rel="stylesheet">
<!-- Libraries Stylesheet -->
<link href="tema/lib/animate/animate.min.css" rel="stylesheet">
<link href="tema/lib/owlcarousel/assets/owl.carousel.min.css" rel="stylesheet">
<link href="tema/lib/tempusdominus/css/tempusdominus-bootstrap-4.min.css" rel="stylesheet" />
<!-- Customized Bootstrap Stylesheet -->
<link href="tema/css/bootstrap.min.css" rel="stylesheet">
<!-- Template Stylesheet -->
<link href="tema/css/style.css" rel="stylesheet">
<link href="post.css" rel="stylesheet">
</head>
<body>
<div class="container-xxl bg-white p-0">
<!-- Spinner Start -->
<div id="spinner" class="show bg-white position-fixed translate-middle w-100 vh-100 top-50 start-50 d-flex align-items-center justify-content-center">
<div class="spinner-border text-primary" style="width: 3rem; height: 3rem;" role="status">
<span class="sr-only">Loading...</span>
</div>
</div>
<!-- Spinner End -->
<!-- Header Start -->
<?php include"menu.php"; ?>
<!-- Page Header Start -->
<div class="container-fluid page-header mb-5 p-0" style="background-image: url(tema/img/carousel-1.jpg);">
<div class="container-fluid page-header-inner py-5">
<div class="container text-center pb-5">
<h1 class="display-3 text-white mb-3 animated slideInDown"><?=$k[nama]?></h1>
<nav aria-label="breadcrumb">
<ol class="breadcrumb justify-content-center text-uppercase">
<li class="breadcrumb-item"><a href="index.php">Home</a></li>
</ol>
</nav>
</div>
</div>
</div>
<!-- Page Header End -->
<!-- Contact Start -->
<div class="container-xxl py-5">
<div class="container">
<div class="text-center wow fadeInUp" data-wow-delay="0.1s">
<h6 class="section-title text-center text-primary text-uppercase">INFORMASI</h6>
<h1 class="mb-5"><span class="text-primary text-uppercase">INFORMASI</span> <?=$k[nama]?></h1>
</div>
<?php include "int.php"; ?>
</div>
</div>
<!-- Contact End -->
<!-- Newsletter Start -->
<div class="container newsletter mt-5 wow fadeIn" data-wow-delay="0.1s">
<div class="row justify-content-center">
<div class="col-lg-10 border rounded p-1">
<div class="border rounded text-center p-1">
<div class="bg-white rounded text-center p-5">
<h4 class="mb-4">Subscribe Our <span class="text-primary text-uppercase">Newsletter</span></h4>
<div class="position-relative mx-auto" style="max-width: 400px;">
<input class="form-control w-100 py-3 ps-4 pe-5" type="text" placeholder="Enter your email">
<button type="button" class="btn btn-primary py-2 px-3 position-absolute top-0 end-0 mt-2 me-2">Submit</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Newsletter Start -->
<!-- Footer Start -->
<div class="container-fluid bg-dark text-light footer wow fadeIn" data-wow-delay="0.1s">
<div class="container pb-5">
<div class="row g-5">
<div class="col-md-6 col-lg-4">
<div class="bg-primary rounded p-4">
<a href="index.html"><h1 class="text-white text-uppercase mb-3">Tentang <?=$k[nama]?></h1></a>
<p class="text-white mb-0"><?=$k[isi]?>
</p>
</div>
</div>
<div class="col-md-6 col-lg-3">
<h6 class="section-title text-start text-primary text-uppercase mb-4">Hubungi Kami</h6>
<p class="mb-2"><i class="fa fa-map-marker-alt me-3"></i><?=$k[alamat]?></p>
<p class="mb-2"><i class="fa fa-phone-alt me-3"></i><?=$k[tahun]?></p>
<p class="mb-2"><i class="fa fa-envelope me-3"></i><?=$k[email]?></p>
<div class="d-flex pt-2">
<a class="btn btn-outline-light btn-social" href=""><i class="fab fa-twitter"></i></a>
<a class="btn btn-outline-light btn-social" href=""><i class="fab fa-facebook-f"></i></a>
<a class="btn btn-outline-light btn-social" href=""><i class="fab fa-youtube"></i></a>
<a class="btn btn-outline-light btn-social" href=""><i class="fab fa-linkedin-in"></i></a>
</div>
</div>
<div class="col-lg-5 col-md-12">
<div class="row gy-5 g-4">
<div class="col-md-6">
<h6 class="section-title text-start text-primary text-uppercase mb-4">Kategori</h6>
<?$kat=mysql_query(" SELECT COUNT( berita.id_berita ) as jlh, kategori.id_kategori, kategori.kategori, kategori.gambar_kat FROM
kategori LEFT JOIN berita ON berita.id_kat= kategori.id_kategori GROUP BY kategori.id_kategori ORDER BY jlh DESC ");
while($t=mysql_fetch_array($kat)){
$no++;?>
<a class="btn btn-link" href="xxx.php?module=kategori&id_k=<?=$t[id_kategori]?>"><?=$t[kategori]?></a>
<?}?>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<div class="copyright">
<div class="row">
<div class="col-md-6 text-center text-md-start mb-3 mb-md-0">
© <a class="border-bottom" href="#"><?=$k[nama]?></a>, All Right Reserved.
<!--/*** This template is free as long as you keep the footer author’s credit link/attribution link/backlink. If you'd like to use the template without the footer author’s credit link/attribution link/backlink, you can purchase the Credit Removal License from "https://htmlcodex.com/credit-removal". Thank you for your support. ***/-->
Designed By <a class="border-bottom" href="https://htmlcodex.com">HTML Codex</a>
</div>
</div>
</div>
</div>
</div>
<!-- Footer End -->
<!-- Back to Top -->
<a href="#" class="btn btn-lg btn-primary btn-lg-square back-to-top"><i class="bi bi-arrow-up"></i></a>
</div>
<!-- JavaScript Libraries -->
<script src="tema/js/jquery-3.4.1.min.js"></script>
<script src="tema/js/bootstrap.bundle.min.js"></script>
<script src="tema/lib/wow/wow.min.js"></script>
<script src="tema/lib/easing/easing.min.js"></script>
<script src="tema/lib/waypoints/waypoints.min.js"></script>
<script src="tema/lib/counterup/counterup.min.js"></script>
<script src="tema/lib/owlcarousel/owl.carousel.min.js"></script>
<script src="tema/lib/tempusdominus/js/moment.min.js"></script>
<script src="tema/lib/tempusdominus/js/moment-timezone.min.js"></script>
<script src="tema/lib/tempusdominus/js/tempusdominus-bootstrap-4.min.js"></script>
<!-- Template Javascript -->
<script src="tema/js/main.js"></script>
</body>
</html>