-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
53 lines (41 loc) · 940 Bytes
/
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
42
43
44
45
46
47
48
49
50
51
52
53
<?php
session_start();
include "db.php";
include "header.php";
?>
<div class="all">
<?php
require_once("leftmenu.php");
?>
<div id='main'>
<?php
$tok = "";
if(isset($_GET["pid"])){
$tok = $_GET["pid"];
include($tok);}
else { ?>
<h2>това е началната страница</h2>
<div id="product">
<p>НАЙ-НОВИЯ НИ ПРОДУКТ</p>
<?php
$query3="SELECT * FROM `products` ORDER BY `products`.`date` DESC LIMIT 1";
$rows3=show_query($query3);
echo $rows3['name'] . $rows3['latin_name']. $rows3['description'];
?>
</div>
<div id="news">
<p>голямa nowina - голяма работа</p>
</div>
<br style="clear:both"/><br style="clear:both"/>
<?php
}
?>
</div>
<div id='right_menu'>
<p>твоята количка с поръчки съдържа 'N' поръчки<p>
</div>
</div>
<br style="clear:both"/>
<?php
require_once("footer.php");
?>