forked from science-ation/science-ation
Update /config files too
This commit is contained in:
parent
ad0468e4e1
commit
2a4b64588d
@ -25,7 +25,7 @@
|
|||||||
require_once("../user.inc.php");
|
require_once("../user.inc.php");
|
||||||
require("../tableeditor.class.php");
|
require("../tableeditor.class.php");
|
||||||
|
|
||||||
user_auth_required('committee', 'config');
|
user_auth_required('config');
|
||||||
send_header("External Award Sources Manager",
|
send_header("External Award Sources Manager",
|
||||||
array('Committee Main' => 'committee_main.php',
|
array('Committee Main' => 'committee_main.php',
|
||||||
'SFIAB Configuration' => 'config/index.php'),
|
'SFIAB Configuration' => 'config/index.php'),
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
<?
|
<?
|
||||||
require("../common.inc.php");
|
require("../common.inc.php");
|
||||||
require_once("../user.inc.php");
|
require_once("../user.inc.php");
|
||||||
user_auth_required('committee', 'config');
|
user_auth_required('config');
|
||||||
|
|
||||||
if($_GET['action']=="edit" || $_GET['action']=="new") {
|
if($_GET['action']=="edit" || $_GET['action']=="new") {
|
||||||
send_header(($_GET['action']=="edit") ? 'Edit Category' : 'New Category',
|
send_header(($_GET['action']=="edit") ? 'Edit Category' : 'New Category',
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
<?
|
<?
|
||||||
require("../common.inc.php");
|
require("../common.inc.php");
|
||||||
require_once("../user.inc.php");
|
require_once("../user.inc.php");
|
||||||
user_auth_required('committee', 'config');
|
user_auth_required('config');
|
||||||
send_header("Dates",
|
send_header("Dates",
|
||||||
array('Committee Main' => 'committee_main.php',
|
array('Committee Main' => 'committee_main.php',
|
||||||
'Conference Configuration' => 'config/index.php')
|
'Conference Configuration' => 'config/index.php')
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
<?
|
<?
|
||||||
require("../common.inc.php");
|
require("../common.inc.php");
|
||||||
require_once("../user.inc.php");
|
require_once("../user.inc.php");
|
||||||
user_auth_required('committee', 'config');
|
user_auth_required('config');
|
||||||
|
|
||||||
if($_GET['action']=="edit" || $_GET['action']=="new") {
|
if($_GET['action']=="edit" || $_GET['action']=="new") {
|
||||||
send_header(($_GET['action']=="edit") ? "Edit Division" : "New Division",
|
send_header(($_GET['action']=="edit") ? "Edit Division" : "New Division",
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
<?
|
<?
|
||||||
require("../common.inc.php");
|
require("../common.inc.php");
|
||||||
require_once("../user.inc.php");
|
require_once("../user.inc.php");
|
||||||
user_auth_required('committee', 'config');
|
user_auth_required('config');
|
||||||
send_header("CWSF Project Divisions",
|
send_header("CWSF Project Divisions",
|
||||||
array('Committee Main' => 'committee_main.php',
|
array('Committee Main' => 'committee_main.php',
|
||||||
'SFIAB Configuration' => 'config/index.php')
|
'SFIAB Configuration' => 'config/index.php')
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
<?
|
<?
|
||||||
require_once('../common.inc.php');
|
require_once('../common.inc.php');
|
||||||
require_once('../user.inc.php');
|
require_once('../user.inc.php');
|
||||||
user_auth_required('committee', 'config');
|
user_auth_required('config');
|
||||||
|
|
||||||
$title=$conference['name']." Logo Image";
|
$title=$conference['name']." Logo Image";
|
||||||
$cstr=$conference['id']."-";
|
$cstr=$conference['id']."-";
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
<?
|
<?
|
||||||
require("../common.inc.php");
|
require("../common.inc.php");
|
||||||
require_once("../user.inc.php");
|
require_once("../user.inc.php");
|
||||||
user_auth_required('committee', 'config');
|
user_auth_required('config');
|
||||||
|
|
||||||
send_header("Conference Configuration",
|
send_header("Conference Configuration",
|
||||||
array('Committee Main' => 'committee_main.php')
|
array('Committee Main' => 'committee_main.php')
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
require("../questions.inc.php");
|
require("../questions.inc.php");
|
||||||
require("../common.inc.php");
|
require("../common.inc.php");
|
||||||
require_once("../user.inc.php");
|
require_once("../user.inc.php");
|
||||||
user_auth_required('committee', 'config');
|
user_auth_required('config');
|
||||||
send_header("Judge Registration Questions",
|
send_header("Judge Registration Questions",
|
||||||
array('Committee Main' => 'committee_main.php',
|
array('Committee Main' => 'committee_main.php',
|
||||||
'SFIAB Configuration' => 'config/index.php')
|
'SFIAB Configuration' => 'config/index.php')
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
<?
|
<?
|
||||||
require("../common.inc.php");
|
require("../common.inc.php");
|
||||||
require_once("../user.inc.php");
|
require_once("../user.inc.php");
|
||||||
user_auth_required('committee', 'config');
|
user_auth_required('config');
|
||||||
|
|
||||||
//make sure storage folder exists
|
//make sure storage folder exists
|
||||||
if(!file_exists("../data/userfiles"))
|
if(!file_exists("../data/userfiles"))
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
<?
|
<?
|
||||||
require("../common.inc.php");
|
require("../common.inc.php");
|
||||||
require_once("../user.inc.php");
|
require_once("../user.inc.php");
|
||||||
user_auth_required('committee', 'config');
|
user_auth_required('config');
|
||||||
send_header("Safety Questions",
|
send_header("Safety Questions",
|
||||||
array('Committee Main' => 'committee_main.php',
|
array('Committee Main' => 'committee_main.php',
|
||||||
'SFIAB Configuration' => 'config/index.php')
|
'SFIAB Configuration' => 'config/index.php')
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
<?
|
<?
|
||||||
require("../common.inc.php");
|
require("../common.inc.php");
|
||||||
require_once("../user.inc.php");
|
require_once("../user.inc.php");
|
||||||
user_auth_required('committee', 'config');
|
user_auth_required('config');
|
||||||
send_header("Signature Page",
|
send_header("Signature Page",
|
||||||
array('Committee Main' => 'committee_main.php',
|
array('Committee Main' => 'committee_main.php',
|
||||||
'SFIAB Configuration' => 'config/index.php')
|
'SFIAB Configuration' => 'config/index.php')
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
<?
|
<?
|
||||||
require("../common.inc.php");
|
require("../common.inc.php");
|
||||||
require_once("../user.inc.php");
|
require_once("../user.inc.php");
|
||||||
user_auth_required('committee', 'config');
|
user_auth_required('config');
|
||||||
if($_GET['action']=="edit" || $_GET['action']=="new") {
|
if($_GET['action']=="edit" || $_GET['action']=="new") {
|
||||||
send_header(($_GET['action']=="edit") ? "Edit Sub-Division" : "New Sub-Division",
|
send_header(($_GET['action']=="edit") ? "Edit Sub-Division" : "New Sub-Division",
|
||||||
array('Committee Main' => 'committee_main.php',
|
array('Committee Main' => 'committee_main.php',
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
require("../common.inc.php");
|
require("../common.inc.php");
|
||||||
require_once("../user.inc.php");
|
require_once("../user.inc.php");
|
||||||
require_once("../config_editor.inc.php");
|
require_once("../config_editor.inc.php");
|
||||||
user_auth_required('committee', 'config');
|
user_auth_required('config');
|
||||||
|
|
||||||
$q=mysql_query("SELECT * FROM config WHERE conferences_id='-1' AND conferencetypes LIKE '%{$conference['type']}%'");
|
$q=mysql_query("SELECT * FROM config WHERE conferences_id='-1' AND conferencetypes LIKE '%{$conference['type']}%'");
|
||||||
while($r=mysql_fetch_object($q)) {
|
while($r=mysql_fetch_object($q)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user