-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmenu.php
More file actions
107 lines (90 loc) · 3.12 KB
/
menu.php
File metadata and controls
107 lines (90 loc) · 3.12 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<?php include("dbconnect.php"); ?>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="SideTableHeading" background="images/table2_top_bg.gif" height="27">Category Index</td>
</tr>
<tr>
<td bgcolor="#b9a993" height="1"><img src="images/spacer.gif" border="0" height="1" width="1"></td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td bgcolor="#b9a993" width="1"><img src="images/spacer.gif" border="0" height="1" width="1"></td>
<td>
<table border="0" cellpadding="4" cellspacing="0">
<tr>
<td>
<?php
$res1 = mysql_query("select * from category_tbl");
$row1 = mysql_num_rows($res1);
for($x=0;$x<$row1;$x++)
{
$catid = mysql_result($res1,$x,"catid");
$category = mysql_result($res1,$x,"description");
?>
<table border="0" cellpadding="1" cellspacing="0">
<tr>
<td valign="middle"> <a href="prod.php?cat=<?php echo $catid; ?>" class="cats"> » <?php echo $category; ?></a></td>
</tr>
</table>
<?php } ?>
</td>
</tr>
</table>
</td>
<td bgcolor="#b9a993" width="1"><img src="images/spacer.gif" border="0" height="1" width="1"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td background="images/table2_bottom_bg.gif" height="8"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td height="6"><img src="images/spacer.gif" border="0" height="6" width="1"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="SideTableHeading" background="images/table1_top_bg.gif" height="28">Current Specials</td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td bgcolor="#cecece" width="1"><img src="images/spacer.gif" border="0" height="1" width="1"></td>
<td>
<table align="center" border="0" cellpadding="4" cellspacing="0" width="100%">
<tr>
<td valign="bottom" width="33%">
<B>» <A HREF="about.php"> About Us</A> </B><br>
<B>» <A HREF="index.php"> Store</A> </B><br>
<B>» <A HREF="terms.php"> Terms & Conditions</A> </B><br>
<B>» <A HREF="contact.php"> Contact</A> </B><br>
<B>» <A HREF="howto.php"> How to buy</A> </B><br>
</td>
</tr>
</table>
</td>
<td bgcolor="#cecece" width="1"><img src="images/spacer.gif" border="0" height="1" width="1"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td background="images/table1_bottom_bg.gif" height="10"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td height="6"><img src="images/spacer.gif" border="0" height="6" width="1"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td height="6"><img src="images/spacer.gif" border="0" height="6" width="1"></td>
</tr>
</table>