From ce77253d3b87902fce0701e29731bea0c5987b33 Mon Sep 17 00:00:00 2001 From: "Igor Barkov (iwork)" Date: Wed, 30 Sep 2020 17:19:55 +0300 Subject: [PATCH] =?UTF-8?q?=D0=92=D0=BD=D0=B5=D0=B4=D1=80=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D1=88=D0=B0=D0=B1=D0=BB=D0=BE=D0=BD=D0=B8=D0=B7?= =?UTF-8?q?=D0=B0=D1=82=D0=BE=D1=80=D0=B0.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- clan.php | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) 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