-
Notifications
You must be signed in to change notification settings - Fork 1
/
shorts.php
57 lines (43 loc) · 1.84 KB
/
shorts.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
<html>
<div><br/><center><h2><font face="Lucida Handwriting" size="+1" color="#00CCFF">Shorts</font></h2></center></div>
<div style="width:100%;float:left" >
<?php
include("config.php");
$catg=$_REQUEST['catg'];
$subcatg=$_REQUEST['subcatg'];
$sel=mysql_query("select * from items where catg='$catg' and subcatg='$subcatg'");
echo"<form method='post'><table border='0' align='center'><tr>";
$n=1;
while($arr=mysql_fetch_array($sel))
{
$i=$arr['itemno'];
if($n%4==0)
{
echo "<tr>";
}
echo "
<td height='280' width='240' align='center'><img src='admin/itempics/$i.jpg' height='200' width='200'><br/>
<b>Item No:</b>".$arr['itemno'].
"<br><b>Price:</b>Rs ".$arr['price'].
"<br><b>Description:</b>".$arr['desc'].
"<br><br><a href='index.php?con=12 & itemno=$i'><img src='images/MetalPlakDa5new.gif' width='70' height='20'/></a>
<a href='index.php?con=14 & itemno=$i'><img src='images/view7.jpg' width='70' height='20'/></a>
</td>";
$n++;
}
echo "</tr></table>
</form>";
?>
<div><br>
<marquee behavior="scroll" dir="ltr" align="absbottom"><img src="usepics/logo5.jpg" width="100" height="70"/>
<img src="usepics/logo11.jpg" width="100" height="70"/>
<img src="usepics/logo12.jpg" width="100" height="70"/><img src="usepics/logo8.jpg" width="100" height="70"/><img src="usepics/logo6.jpg" width="100" height="70"/>
<img src="usepics/logo4.jpg" width="100" height="70"/>
<img src="usepics/logo3.jpg" width="100" height="70"/>
<img src="usepics/logo13.jpg" width="100" height="70"/> <img src="usepics/logo15.jpg" width="100" height="70"/>
<img src="usepics/logo1.jpg" width="100" height="70"/> <img src="usepics/logo2.jpg" width="100" height="70"/><img src="usepics/logo14.jpg" width="100" height="70"/><img src="usepics/logo9.jpg" width="100" height="70"/>
</marquee>
</div>
</div>
</body>
</html>