<?php include 'loader.php';
$db->query("INSERT INTO " . DBPREFIX . "events SET customer_id = '".$customer->getId()."',page='logout',description= 'Çıkış yapıldı'");
$customer->logout();
$location->redirect('index')
?>