-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.php
62 lines (53 loc) · 2.08 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
<?php
// Start session
if(!session_id()){
session_start();
}
// Include the database config file
include('db.php');
// Initialize shopping cart class
include_once 'Cart.class.php';
$cart = new Cart;
?>
<!DOCTYPE html>
<html><head>
<title>Frontpage</title>
<meta charset="utf-8">
<meta name = "viewport" content = "width=device-width, minimum-scale=1.0, maximum-scale = 1.0, user-scalable = no">
<link rel="shortcut icon" href="favicon.ico">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/contact_form.css" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script defer src="https://use.fontawesome.com/releases/v5.0.7/js/all.js"></script>
<!-- jQuery library -->
<script type="text/javascript" language="javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" language="javascript" src="js/time.js" ></script>
<script type="text/javascript" language="javascript" src="js/slide.js" ></script>
<script type="text/javascript" language="javascript" src="js/contact_form.js"></script>
<script type="text/javascript" language="javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
</head>
<body>
<div id="content">
<?php include( 'slide.php' ); ?>
<div class="shop">
<div id="mainform">
<form id="form">
<h3>Contact Form</h3>
<p id="returnmessage"></p>
<label>Name: <span>*</span></label><br>
<input type="text" id="name" placeholder="Name"/><br>
<label>Email: <span>*</span></label><br>
<input type="text" id="email" placeholder="Email"/><br>
<label>Contact No: <span>*</span></label><br>
<input type="text" id="contact" placeholder="10 digit Mobile no."/><br>
<label>Message:</label><br>
<textarea id="message" placeholder="Message......."></textarea><br>
<input type="button" id="submit" value="Send Message"/>
</form>
</div> <!-- END OF mainform id -->
</div>
<?php include('menu.php'); ?>
</div>
</body>
</html>