aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/report.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2003-09-07 13:46:51 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2003-09-07 13:46:51 +0000
commit8ac06a256b841d2249264ce9ac67885b9849d80f (patch)
treebaf91a347bdc40ac8334a2a84c1703895c7704a3 /phpBB/report.php
parente1ba6d3c5247debfd65011117059ac38202ba4fe (diff)
downloadforums-8ac06a256b841d2249264ce9ac67885b9849d80f.tar
forums-8ac06a256b841d2249264ce9ac67885b9849d80f.tar.gz
forums-8ac06a256b841d2249264ce9ac67885b9849d80f.tar.bz2
forums-8ac06a256b841d2249264ce9ac67885b9849d80f.tar.xz
forums-8ac06a256b841d2249264ce9ac67885b9849d80f.zip
Updates mainly for removal of extension + header comment ... moved some aspects of ucp around, further work to be done on these areas ... not commiting search for time being
git-svn-id: file:///svn/phpbb/trunk@4473 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/report.php')
-rw-r--r--phpBB/report.php35
1 files changed, 12 insertions, 23 deletions
diff --git a/phpBB/report.php b/phpBB/report.php
index 9d91922c90..2e568db305 100644
--- a/phpBB/report.php
+++ b/phpBB/report.php
@@ -1,36 +1,26 @@
<?php
-/***************************************************************************
- * report.php
- * -------------------
- * begin : July 4, 2001
- * copyright : (C) 2001 The phpBB Group
- * email : support@phpbb.com
- *
- * $Id$
- *
- ***************************************************************************/
-
-/***************************************************************************
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- ***************************************************************************/
+// -------------------------------------------------------------
+//
+// $Id$
+//
+// FILENAME : report.php
+// STARTED : Thu Apr 3, 2003
+// COPYRIGHT : © 2001, 2003 phpBB Group
+// WWW : http://www.phpbb.com/
+// LICENCE : GPL vs2.0 [ see /docs/COPYING ]
+//
+// -------------------------------------------------------------
define('IN_PHPBB', true);
$phpbb_root_path = './';
-include($phpbb_root_path . 'extension.inc');
+$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.'.$phpEx);
// Start session management
$user->start();
$auth->acl($user->data);
-
$user->setup();
-
// var definitions
$post_id = (!empty($_REQUEST['p'])) ? intval($_REQUEST['p']) : 0;
$reason_id = (!empty($_REQUEST['reason_id'])) ? intval($_REQUEST['reason_id']) : 0;
@@ -43,7 +33,6 @@ if (isset($_POST['cancel']))
redirect("viewtopic.$phpEx$SID&p=$post_id#$post_id");
}
-
// Grab all relevant data
$sql = 'SELECT f.*, t.*, p.*
FROM ' . POSTS_TABLE . ' p, ' . TOPICS_TABLE . ' t, ' . FORUMS_TABLE . " f