-
Notifications
You must be signed in to change notification settings - Fork 9
/
viewsellvehiclemore.php
86 lines (80 loc) · 2.56 KB
/
viewsellvehiclemore.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
<?php
include("header.php");
include("sidebar.php");
include("dbconnection.php");
?>
<?php
$sql = mysql_query("select * from vehicle where sellno='$_GET[vehicleid]'");
$row = mysql_fetch_array($sql);
?>
<div id="main">
<a name="TemplateInfo"></a>
<h1>View More</h1>
<form action="viewsellvehicle.php" method="post" name="form1" id="form1">
<table width="500", border="0">
<th width="169" height="33" scope="row">Customer Name</th>
<td width="140">
<label for="fname"></label>
<label for="custname"></label>
<label for="sparename"></label>
<label for="vehname2"></label>
<label for="empname"></label>
<?php
$result = mysql_query("select fname from customer where custid='$row[custid]'");
$res = mysql_fetch_array($result);
?>
<?php echo $res['fname']; ?></td>
</tr>
<tr>
<th height="33" scope="row">Vehicle Name
<label for="lname"></label></th>
<td><?php echo $row['vehname']; ?></td>
</tr>
<tr>
<th height="28" scope="row">Model</th>
<td><?php echo $row['model']; ?>
</td>
</tr>
<tr>
<th height="31" scope="row">Brand</th>
<td><label for="password"></label>
<label for="date"></label>
<label for="description"></label>
<label for="brand"></label>
<?php echo $row['brand']; ?></td>
</tr>
<tr>
<th height="36" scope="row">Image</th>
<td><label for="confpass"></label>
<label for="images"></label>
<label for="address"></label>
<label for="image"></label>
<label for="images2"></label>
<label for="images3"></label>
<label for="file"></label>
<img src="upload/<?php echo $row['images']; ?>" width="150" height="150" />
</tr>
<tr>
<th height="33" scope="row">Estimated Price</th>
<td><label for="estprice"></label>
<?php echo $row['estmdprice']; ?></td>
</tr>
<tr>
<th height="33" scope="row">Status</th>
<td><label for="estprice"></label>
<?php echo $row['status']; ?></td>
</tr>
<tr>
<th scope="row"> </th>
<td><input type="submit" name="submit" id="submit" value="Back" /></td>
</tr>
</table>
</form>
<p> </p>
<br />
</div>
<!-- wrap ends here -->
</div>
<?php
include("footer.php");
?>