/
index.php
41 lines (41 loc) · 1.38 KB
/
index.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
<?php
session_start();
include("includes/connect.php");
include("includes/functions.php");
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Therade</title>
<link rel="stylesheet" href="css/main.css" />
<link rel="stylesheet" href="css/form.css"/>
<link rel="stylesheet" href="css/index.css"/>
</head>
<body>
<div id="wrapper">
<?php
headerSearch();
?>
<aside id="main_aside">
<?php side_cat(); ?>
</aside>
<section id="main_section">
<?php
$sqlDis="SELECT `item_number`, `title`,`subtitle`,`icon`,`price` FROM items_available ORDER BY bids DESC, title LIMIT 5";
display_items($sqlDis);
?>
<!--<div id='item_box'><img src='images\cat\building\bridge.jpg' width='300px' height='200px'/>
<div class='subtitles'> <h2><a href='display.php'> Bridge </a></h2> <br/> The bridge on river of italy </div>
<div class="price"> Rs. 200/- </div>
</div>
<div id='item_box'><img src='images\cat\building\bridge.jpg' width='300px' height='200px'/>
<div class='subtitles'> <h2><a href='display.php'> Bridge </a></h2> <br/> The bridge on river of italy </div>
<div class="price"> Rs. 200/- </div>
</div>
<div id='item_box'><img src='images\cat\building\bridge.jpg' width='300px' height='200px'/>
<div class='subtitles'> <h2><a href='display.php'> Bridge </a></h2> <br/> The bridge on river of italy </div>
<div class="price"> Rs. 200/- </div>
</div>-->
</section>
</body>
</html>