-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSELL.php
More file actions
67 lines (65 loc) · 2.59 KB
/
SELL.php
File metadata and controls
67 lines (65 loc) · 2.59 KB
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
<?php
require 'common.php';
if(!isset($_SESSION['email'])){
header('location:login.php');
}
?>
<html>
<head>
<title>index</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://kit.fontawesome.com/a076d05399.js"></script>
</head>
<body>
<?php
require 'home2.php';
?>
<div class="container" style="max-width:500px;margin-left:auto;margin-right:auto;">
<div class="panel panel-success">
<div class="panel-heading">
<center><h2>|SELL|</h2></center>
</div>
<div class="panel-body">
<form method="post" action="SELL_script.php" enctype="multipart/form-data">
<div class="form-group">
<input type="text" placeholder="Enter Your Name" class="form-control" name="Name" required>
</div>
<div class="form-group">
<input type="tel" placeholder="Contact Number" class="form-control" pattern="[6789][0-9]{9}" name="cont" required>
</div>
<div class="form-group">
<textarea name="address" placeholder="enter address" class="form-control" required></textarea>
</div>
<div class="form-group">
<select class="form-control" name="option">
<option value="Books">Books</option>
<option value="components">Components</option>
<option value="other">Other</option>
</select>
</div>
<div class="form-group">
<input type="text" placeholder="Product Name" name="product" class="form-control">
</div>
<div class="form-group">
<input type="number" placeholder="price" class="form-control" name="price" required>
</div>
<div class="form-group">
<textarea name="detail" placeholder="Provide few information about product (like how's product condition,when baught, etc.)" class="form-control" required></textarea>
</div>
<div class="form-group">
<input type="file" accept="image/*" placeholder="upload" class="form-control" name="upload" required>
</div>
<center> <button class="btn btn-success btn-block">submit</button></center>
</form>
</div>
</div>
<div class="panel-footer">
<p><center>Copyright<span class="glyphicon glyphicon-copyright-mark"></span> College Buddy. All Rights Reserved | Contact Us: +91 90000 00000</center></p>
</div>
</div>
</div>
</body>
</html>