-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhub_kami.php
236 lines (204 loc) · 6.87 KB
/
hub_kami.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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
<?php
session_start();
include_once("function/koneksi.php");
$email = isset($_GET['email']) ? $_GET['email'] : false;
$subject = isset($_GET['subject']) ? $_GET['subject'] : false;
$pesan = isset($_GET['pesan']) ? $_GET['pesan'] : false;
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>WEAR</title>
<!-- Google font -->
<link href="https://fonts.googleapis.com/css?family=Hind:400,700" rel="stylesheet">
<!-- Bootstrap -->
<link type="text/css" rel="stylesheet" href="css/bootstrap.min.css" />
<!-- Slick -->
<link type="text/css" rel="stylesheet" href="css/slick.css" />
<link type="text/css" rel="stylesheet" href="css/slick-theme.css" />
<!-- nouislider -->
<link type="text/css" rel="stylesheet" href="css/nouislider.min.css" />
<!-- Font Awesome Icon -->
<link rel="stylesheet" href="css/font-awesome.min.css">
<!-- Custom stlylesheet -->
<link type="text/css" rel="stylesheet" href="css/style.css" />
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- HEADER -->
<header>
<!-- header -->
<div id="header">
<div class="container">
<div class="pull-left">
<!-- Logo -->
<div class="header-logo">
<a class="logo" href="index.html">
<img src="./img/logo.jpg" alt="">
</a>
</div>
<!-- /Logo -->
</div>
<div class="pull-right">
<ul class="header-btns">
<!-- Mobile nav toggle-->
<li class="nav-toggle">
<button class="nav-toggle-btn main-btn icon-btn"><i class="fa fa-bars"></i></button>
</li>
<!-- / Mobile nav toggle -->
</ul>
</div>
</div>
<!-- header -->
</div>
<!-- container -->
</header>
<!-- /HEADER -->
<!-- NAVIGATION -->
<div id="navigation">
<!-- container -->
<div class="container">
<div id="responsive-nav">
<div class="category-nav">
<span class="category-header"> </span>
</div>
</div>
</div>
<!-- /container -->
</div>
<!-- /NAVIGATION -->
<!-- section -->
<div class="section">
<!-- container -->
<div class="container">
<!-- row -->
<div class="row">
<div class="col-md-12">
<form action="function/send_hub.php" method="POST">
<div class="form-group">
<p class="top-p3"></p>
<label for="hub" class="p-login">Hubungi Kami</label><br/>
<?php
$notif = isset($_GET['notif']) ? $_GET['notif'] : false;
if($notif == "require"){
echo "<div class='alert alert-danger'>Field tidak boleh kosong!</div>";
}elseif($notif == "minSub"){
echo "<div class='alert alert-danger'>Panjang subject minimal 5 karakter!</div>";
}elseif($notif == "minMes"){
echo "<div class='alert alert-danger'>Panjang pesan minimal 15 karakter!</div>";
}elseif($notif == "sukses"){
echo "<div class='alert alert-succes'>Berhasil mengirim pesan!</div>";
}
?>
<label for="email">Alamat Email</label>
<input type="email" name="email" class="form-control" value=<?php echo $email;?>>
</div>
<div class="form-group">
<label for="subject">Subject</label>
<input type="text" name="subject" class="form-control" value=<?php echo $subject;?>>
</div>
<div class="form-group">
<label for="pesan">Pesan</label>
<input type="text" name="pesan" class="form-control" value=<?php echo $pesan;?>>
</div>
<button type="submit" class="btn btn-primary">Kirim</button>
</form>
</div>
</div>
<!-- /row -->
</div>
<!-- /container -->
</div>
<!-- /section -->
<!-- FOOTER -->
<footer id="footer" class="section section-grey">
<!-- container -->
<div class="container">
<!-- row -->
<div class="row">
<!-- footer widget -->
<div class="col-md-4 col-sm-6 col-xs-6">
<div class="footer">
<!-- footer logo -->
<div class="footer-logo">
<a class="logo" href="#">
<img src="./img/logo.jpg" alt="">
</a>
</div>
<!-- /footer logo -->
<p>Tempat beli sepatu terkini dan terbaru, serta perawatan sepatu nomor satu di Indonesia.</p>
<!-- footer social -->
<ul class="footer-social">
<li><a href="#"><i class="fa fa-facebook"></i></a></li>
<li><a href="#"><i class="fa fa-instagram"></i></a></li>
</ul>
<!-- /footer social -->
</div>
</div>
<!-- /footer widget -->
<div class="clearfix visible-sm visible-xs"></div>
<!-- footer widget -->
<div class="col-md-4 col-sm-6 col-xs-6">
<div class="footer">
<h3 class="footer-header">Customer Service</h3>
<ul class="list-links">
<li><a href="#">Tentang Kami</a></li>
<li><a href="#">Pengiriman & Pengembalian</a></li>
<li><a href="#">Pedoman Pengiriman</a></li>
<li><a href="hub_kami.php">Hubungi Kami</a></li>
</ul>
</div>
</div>
<!-- /footer widget -->
<!-- footer subscribe -->
<div class="col-md-4 col-sm-6 col-xs-6">
<div class="footer">
<h3 class="footer-header">Langganan</h3>
<p>Dapatkan info produk terbaru dari kami serta penawaran khusus.</p>
<form>
<div class="form-group">
<input class="input" placeholder="Enter Email Address">
</div>
<button class="primary-btn">Gabung langganan</button>
</form>
</div>
</div>
<!-- /footer subscribe -->
</div>
<!-- /row -->
<hr>
<!-- row -->
<div class="row">
<div class="col-md-8 col-md-offset-2 text-center">
<!-- footer copyright -->
<div class="footer-copyright">
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
Copyright ©<script>document.write(new Date().getFullYear());</script> All rights reserved | This template is made with <i class="fa fa-heart-o" aria-hidden="true"></i> by <a href="https://colorlib.com" target="_blank">Colorlib</a>
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
</div>
<!-- /footer copyright -->
</div>
</div>
<!-- /row -->
</div>
<!-- /container -->
</footer>
<!-- /FOOTER -->
<!-- jQuery Plugins -->
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/slick.min.js"></script>
<script src="js/nouislider.min.js"></script>
<script src="js/jquery.zoom.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>