-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.php
99 lines (93 loc) · 4.74 KB
/
contact.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
<?php session_start(); ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Contact</title>
<link href="css/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="wrapper">
<div id="header">
<div class="container">
<div id="container" clear:both;>
<div class="login" style="height: 30px; float: right;">
<?php if (isset($_SESSION['username'])){ ?>
<p class="welcome">
Halo, Selamat Datang <?php echo $_SESSION['username']; ?>
<a href="process/logout_submit.php">Log Out</a>
</p>
<?php }else{ ?>
<form action="process/login_submit.php" method="post" class="member_frm_lgn">
<input type="text" name="username" placeholder="username" required>
<input type="password" name="password" placeholder="password" required>
<input type="submit" value="Login" >
<a href="register.php"><input type="button" value="Register"></a>
</form>
<?php } ?>
</div>
</div>
<img id="logo" src="images/logo.png">
<div id="menu">
<ul>
<li class="nav1"><a href="index.php">HOME</a></li>
<li class="nav2"><a href="news.php">NEWS</a></li>
<li class="nav3"><a href="products.php">PRODUCTS</a></li>
<li class="nav4"><a href="contact.php">CONTACT</a></li>
<li class="nav5"><a href="gallery.php">GALLERY</a></li>
</ul>
</div>
</div>
</div>
<!---------------------------------------- END HEADER -------------------------------->
<div id="greenLine"></div>
<div id="content">
<div class="container">
<form id="form_contact" method="post" action="#" >
<h2>Contact Form</h2>
<table>
<tr>
<td>Your Name :</td>
<td><input type="text" name="name"></td>
</tr>
<tr>
<td>Your City :</td>
<td><input type="text" name="city"></td>
</tr>
<tr>
<td>Your E-mail :</td>
<td><input type="text" name="email"></td>
</tr>
<tr>
<td colspan="2">Your Message :</td>
</tr>
<tr>
<td colspan="2"><textarea name="message" class="message"></textarea></td>
</tr>
<tr>
<td colspan="2" align="right">
<input type="reset" class="effect" value="Clear">
<input type="button" class="effect" value="Send">
</td>
</tr>
</table>
</form>
<div id="contact_right">
<h2>Contacts</h2>
<p><strong>Country</strong> : USA</p>
<p><strong>City</strong> : San Diego</p>
<p><strong>Telephone</strong> : +354 5635600</p>
<p><strong>Email</strong> : <a href="#">yourcompany@info.com</a></p>
<h2>Our Location</h2>
<iframe width="400" height="300" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=Itc+Permata+Hijau,+Kebayoran+Lama,+Indonesia&aq=0&oq=Itc+Per&ie=UTF8&hq=&hnear=&ll=-6.221635,106.78456&spn=0.006295,0.006295&t=m&iwloc=A&output=embed"></iframe><br /><small><a href="https://maps.google.com/maps?f=q&source=embed&hl=en&geocode=&q=Itc+Permata+Hijau,+Kebayoran+Lama,+Indonesia&aq=0&oq=Itc+Per&ie=UTF8&hq=&hnear=&ll=-6.221635,106.78456&spn=0.006295,0.006295&t=m&iwloc=A" style="color:#0000FF;text-align:left">View Larger Map</a></small>
</div>
</div>
</div>
<!--------------------------------------- END CONTENT CONTENT--------------------------->
<div id="footer">
<p> Copyright © Your Company All Right Reserved</p>
</div>
<!---------------------------------------- END FOOTER --------------------------------->
</div>
</body>
</html>