-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpostads.php
More file actions
83 lines (76 loc) · 3.28 KB
/
postads.php
File metadata and controls
83 lines (76 loc) · 3.28 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?php include("header.php"); ?>
<?php
// Start the session
session_start();
?>
<div class="container-fluid main-home">
<div class="row toprow">
<div class="container main-container">
<div class="row">
<?php include("homeheader.php"); ?>
</div>
</div>
</div>
<div class="container main-body">
<div class="row">
<div class="col-md-6 nopadding temp-account col-centered">
<p style="font-size: 24px; text-align: center; font-family: Tahoma;">Post A Product To The Sycamore Market</p>
<form id="Uploadform" class="home-post" enctype="multipart/form-data" method="Post">
<input type="hidden" id="sessionvar" name="sessionvar" value="<?php echo $_SESSION["userid"]; ?>">
<table width="100%">
<tbody>
<tr>
<td><input type="text" name="prodcategory" id="userid" value="" class="innertext" placeholder="Select a Category" list="list">
<datalist id="list">
<option>Books</option>
<option>Entertainment</option>
<option>Games</option>
<option>Phones</option>
<option>Furniture</option>
<option>Clothing</option>
<option>Accessories</option>
<option>Cars</option>
<option>Others</option>
</datalist>
<p class="errormessage" id="sycamoreuser">Please select a category</p></td>
</tr>
<tr>
<td><input type="text" name="prodname" id="sellingwhat" value="" class="innertext" placeholder="What are you selling"><p class="errormessage" id="sycamoreuser">Please enter product name</p></td>
</tr>
<tr>
<td><input type="text" name="prodprice" id="addprice" value="" class="innertext" placeholder="Add price"><p class="errormessage" id="sycamoreuser">Please enter price</p><p class="priceerror" id="sycamoreuser">Error!!! Invalid price entered</p></td>
</tr>
<tr>
<td><input type="text" name="prodlocation" id="prodlocate" value="" class="innertext" placeholder="Location"><p class="errormessage" id="sycamoreuser">Please enter location</p></td>
</tr>
<tr>
<td><textarea placeholder="Description" name="proddesc" rows="4" cols="51" class="textfieldeid"></textarea><p class="errormessage" id="sycamorepass">Please enter product description</p></td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td><input type="submit" name="UploadProduct" value="Upload Product" class="posting-btn-login" id="product-upload"></td>
</tr>
</tbody>
</table>
</form>
</div>
</div>
</div>
<footer class="page-footer bottompage">
<div class="container nopadding"><label class="footerlabel">
This website was developed by <a href="https://www.linkedin.com/in/jagbadu/" target="_blank">Ose Agbadu</a> for the sole purpose of practice and demonstration of his awesome programming skills</label>
</div>
</footer>
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="js/uploads.js"></script>
<script src="js/scripts.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js" integrity="sha384-vFJXuSJphROIrBnz7yo7oB41mKfc8JzQZiCq4NCceLEaO4IHwicKwpJf9c9IpFgh" crossorigin="anonymous"></script>
<script src="js/bootstrap.min.js" integrity="sha384-alpBpkh1PFOepccYVYDB4do5UnbKysX5WZXm3XxPqe5iKTfUKjNkCk9SaVuEZflJ" crossorigin="anonymous"></script>
</body>
</html>