diff --git a/clan.php b/clan.php index e4db355..49cc9ec 100644 --- a/clan.php +++ b/clan.php @@ -3,6 +3,7 @@ ob_start("ob_gzhandler"); session_start(); if (empty($_SESSION['uid'])) { header("Location: index.php"); + exit; } include_once 'functions.php'; if (!$user->clan) { @@ -99,15 +100,8 @@ if ($login && $action == 'edit_status') { } $clan_memberlist = db::c()->query('SELECT `id`, `login`, `status`, `level`, `room`, `align`, (select `id` from `online` WHERE `date` >= ?i AND `id` = users.`id`) AS `online` FROM `users` WHERE `klan` = ?i ORDER BY `online` DESC , `login` ASC', (time() - 60), $clanRow['id']); - +Template::header('clan'); ?> - - - - - - -
@@ -236,6 +230,4 @@ $clan_memberlist = db::c()->query('SELECT `id`, `login`, `status`, `level`, `roo function use(option) { document.getElementById(option).innerHTML = "
"; } - - - \ No newline at end of file + \ No newline at end of file