-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
52 lines (33 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
<?
require_once "1.php";
print "<title>".ayar_al("site_baslik")."</title>";
echo "<meta name=description content='".ayar_al("site_tanim")."'>";
$duyuru=ayar_al("duyuru");
if($duyuru!=""){
tema_tablo_ac();
echo $duyuru;
tema_tablo_kapat();
}
echo "<div class=karsilama>";
echo "<div class=karsilama-orta>";
echo "<div class=karsilama-resim>";
include "eklenti/karsilama.php";
echo "</div>";
echo "</div>";
echo "</div>";
tema_tablo_ac();
echo "<div class=vitrin><div class=vitrin-satir>";
$i=0;
$a=0;
$sql=mysql_query("SELECT * FROM urunler WHERE vitrin=1 ORDER BY vitrin_sira");
while($s=mysql_fetch_object($sql))
{
if($i==3){print "<div class=temizle></div></div><div class=vitrin-satir>";$a=$a+1;;$i=0;}
if($a==ayar_al("vitrin_satir")){break;}
tema_urun_kucuk($s);
$i=$i+1;
}
echo "<div class=temizle></div></div></div>";
tema_tablo_kapat();
require_once "2.php";
?>