-
Notifications
You must be signed in to change notification settings - Fork 0
/
bidding.php
211 lines (160 loc) · 5.39 KB
/
bidding.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
<?php
session_start();
$ses=$_SESSION['name'];
include("database.php");
$id=$_GET['id'];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>AUCTIONING FORUM</title>
<meta name="keywords" content="photo blog template, free website layout, CSS, download HTML" />
<meta name="description" content="Photo Blog Template, Free xHTML/CSS Layout, Free Website Template from TemplateMo.com" />
<link href="templatemo_style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
#templatemo_container #templatemo_left_section #templatemo_left_content #form3 table {
text-align: left;
}
</style>
</head>
<body>
<div id="templatemo_container">
<div id="templatemo_left_section">
<div id="templatemo_left_header">
<div id="templatemo_left_title"> AUCTIONING FORUM </div>
<div id="templatemo_left_slogan"> Enjoy Your Bidding Application...</div>
<div id="templatemo_latest"><a href="#"> <?php echo "$ses"; ?> </a></div>
</div>
<div id="templatemo_left_menu">
<div class="templatemo_topmenu">
<ul>
<li><a href="user_profile.php" >HOME</a></li>
<li ><a href="add_product.php">ADD PRODUCT</a> </li>
<li class="current"><a href="category.php">CATEGORIES</a></li>
<li><a href="index.html">LOGOUT</a></li>
</ul>
</div>
</div>
<div id="templatemo_left_content">
<h1>BIDDING FOR YOUR PRODUCT</h1>
<form action="bidding_code.php" method="post" enctype="multipart/form-data" name="form3" id="form3">
<table width="100%" border="0">
<?php
$s=mysqli_query($con,"select * from add_products where p_id=$id ");
while($row=mysqli_fetch_array($s))
{
?>
<tr>
<td>IMAGE</td>
<td>:</td>
<td><img name="file" src="upload/<?php echo $row['image']; ?>" alt="" width="130" height="121" /></td>
</tr>
<tr>
<td>BIDDING DATE</td>
<td>:</td>
<td><label for="textfield"></label>
<input type="date" name="date" id="date" /></td>
</tr>
<tr>
<td width="26%">PRODUCT NAME</td>
<td width="7%">:</td>
<td width="67%"><label for="p_name"></label>
<input name="p_name" type="text" id="p_name" value="<?php echo $row['p_name']; ?>" size="30" readonly="readonly" /></td>
</tr>
<tr>
<td>CATEGORIES</td>
<td>:</td>
<td><input name="catry" type="text" id="catry" value="<?php echo $row['category']; ?>" size="30" readonly="readonly" /></td>
</tr>
<tr>
<td>PRICE</td>
<td>:</td>
<td><input name="price" type="text" id="price" value="<?php echo $row['price']; ?>" size="30" readonly="readonly" /></td>
</tr>
<tr>
<td>BIDDING COST</td>
<td>:</td>
<td><input name="bid_price" type="text" id="bid_price" size="30" /></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td colspan="3"><h1>Personal Info</h1></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>NAME</td>
<td>:</td>
<td><input name="name" type="text" id="name" size="30" /></td>
</tr>
<tr>
<td>E-MAIL</td>
<td>:</td>
<td><input name="mail" type="text" id="mail" size="30" /></td>
</tr>
<tr>
<td>ADDRESS</td>
<td>:</td>
<td><label for="add"></label>
<textarea name="add" id="add" cols="24" rows="3"></textarea></td>
</tr>
<tr>
<td>PONE NO</td>
<td>:</td>
<td><input name="ph" type="text" id="ph" size="30" /></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td><input type="submit" name="button" id="button" value="Submit" /></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<?php
}
?>
</table>
</form>
<p> </p>
</div>
</div>
<div id="templatemo_right_section">
<div id="templatemo_right_top"></div>
<div id="templatemo_right_search">
<form id="form1" name="form1" method="post" action="">
</form>
</div>
<div id="templatemo_category">
<h2>CATEGORIES</h2>
<div class="templatemo_rightmenu">
<ul>
<li><a href="#">Latest Collections</a></li>
<li> <a href="#">2013 Collections</a></li>
<li> <a href="#">Vechile</a></li>
<li> <a href="#">Lands</a></li>
<li> <a href="#">Modren Arts</a></li>
<li> <a href="#">Books</a></li>
</ul>
</div>
</div>
<div id="templatemo_contact"><h2>QUICK CONTACT</h2>
<p>Tel: 010-100-1001<br />
Fax: 020-200-2002<br />
Email: [email protected]</p>
</div>
</div>
<div id="templatemo_footer">Copyright © Your AUCTIONING FORUM | Designed by <a href="" target="_parent" title="">SHANS</a></div>
</div>
</body>
</html>