- include user.inc.php before using user_auth_required()

This commit is contained in:
dave 2007-11-21 17:02:09 +00:00
parent e0b50f8128
commit 0ff8489d58
56 changed files with 56 additions and 0 deletions

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
send_header('Create All Divisional Awards',

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
send_header("Awards Management",

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
send_header("Award Contacts",

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
send_header("Award Prizes",

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
send_header("Award Sponsors",

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
send_header("Awards",

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
include "communication.inc.php";
send_header("Communication",

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
send_header("Communication Sending Status",

View File

@ -22,6 +22,7 @@
*/
include "xml.inc.php";
require_once("../user.inc.php");
function get_cwsf_award_winners()
{

View File

@ -22,6 +22,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
$q=mysql_query("SELECT * FROM documents WHERE id='".$_GET['id']."'");
if($r=mysql_fetch_object($q))

View File

@ -23,6 +23,7 @@
<?
require("../common.inc.php");
require("../tableeditor.class.php");
require_once("../user.inc.php");
//make sure storage folder exists
if(!file_exists("../data/documents"))

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
require("../lpdf.php");

View File

@ -23,6 +23,7 @@
?>
<?
include "../common.inc.php";
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
foreach($config['languages'] AS $l=>$ln)
{

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
send_header("Judges",

View File

@ -28,6 +28,7 @@
require("../questions.inc.php");
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
$preferencechoices=array(

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
include "judges.inc.php";

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
include "judges.inc.php";

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
include "judges.inc.php";

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
include "judges.inc.php";
require("../tableeditor.class.php");

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
equire_once("../user.inc.php");
require("../questions.inc.php");
require("../projects.inc.php");
require("judges.inc.php");

View File

@ -24,6 +24,7 @@ ogram; see the file COPYING. If not, write to
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
require("../config_editor.inc.php");
user_auth_required('committee', 'admin');
require("judges.inc.php");

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
include "judges.inc.php";

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
include "judges.inc.php";

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
require("judges.inc.php");
require("../projects.inc.php");

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
require("judges.inc.php");

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
send_header("Judging Timeslots",
array('Committee Main' => 'committee_main.php',

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
require("../register_participants.inc.php");
user_auth_required('committee', 'admin');

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
send_header("Participant Registration",
array('Committee Main' => 'committee_main.php',

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
require("../register_participants.inc.php");

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
require("../register_participants.inc.php");

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
send_header("Web Consent",

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
require_once('reports.inc.php');
user_auth_required('committee', 'admin');
send_header("Reports",

View File

@ -1,5 +1,6 @@
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
require("../lpdf.php");
require("../lcsv.php");

View File

@ -1,5 +1,6 @@
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
require("../lpdf.php");
require("../lcsv.php");

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
require_once('reports_students.inc.php');

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
require_once('reports_students.inc.php');

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
require("../lpdf.php");
require("../lcsv.php");

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
require("../lpdf.php");
require("../lcsv.php");

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
send_header("Mailing Label Generator",
array('Committee Main' => 'committee_main.php',

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
require("../lpdf.php");
require("../lcsv.php");

View File

@ -1,5 +1,6 @@
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
require("../lpdf.php");
require("../lcsv.php");

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
require("../lpdf.php");
require("../lcsv.php");

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
require("../lpdf.php");
require("../lcsv.php");

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
require("../lpdf.php");
require("../lcsv.php");

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
require("../lpdf.php");
require("../lcsv.php");

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
require("../lpdf.php");
require("../lcsv.php");

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
require("../csvimport.inc.php");
user_auth_required('committee', 'admin');

View File

@ -23,6 +23,7 @@
?>
<?
include "../common.inc.php";
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
foreach($config['languages'] AS $l=>$ln)
{

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
send_header("Student Editor",

View File

@ -27,6 +27,7 @@
//it needs the student ID passed into it.
//thus, we do not need the normal header and footer
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
if($_GET['id'])

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
require("../tours.class.php");
require("../tableeditor.class.php");

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
send_header("Translations",

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
require("../tableeditor.class.php");
user_auth_required('committee', 'admin');

View File

@ -23,6 +23,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
require("../projects.inc.php");
user_auth_required('committee', 'admin');

View File

@ -22,6 +22,7 @@
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
user_auth_required('committee', 'admin');
include "xml.inc.php";