include("class/class.site.php"); $mth = new mth;
include("libraries/pager/class.php"); $pager = new pager;
include("modules/users/users.php"); $users = new users;
$site = $mth->in('site','*',"WHERE active='1'");
$online = $mth->in('users','*',"WHERE id='".$_SESSION["userID"]."'");
$page = mysql_real_escape_string($_GET["s"]);
?>
$site_title = $site->title;
if($page=="product"){
$data = $mth->ins("products","title","WHERE id='".$_GET["id"]."'");
$title = $data["title"]." - ".$site_title;
}elseif($page=="about"){
$data = $mth->ins("about","title","WHERE id='".$_GET["id"]."'");
$title = $data["title"]." - ".$site_title;
}else{
$title = $site_title;
}
?>
<script></script>
<script></script>
<script></script>
<script></script>
<script></script>
<script></script>
<script></script>
<script></script>
<script></script>
<script></script>
=$site->analytics;?>
online($_SESSION)){ ?>
Hoşgeldin; =$online->name?>
Siparişlerim
Adreslerim
Bilgilerimi Düzenle
Şifremi Değiştir
Çıkış Yap
Sepetinizde 0 adet ürün bulunmaktadır.
$page = mysql_real_escape_string($_GET["s"]);
if($page=="") $page = "home";
if(file_exists($page.".php")) include($page.".php");
?>