forked from science-ation/science-ation
75 lines
2.8 KiB
PHP
75 lines
2.8 KiB
PHP
<?
|
|
/*
|
|
This file is part of the 'Science Fair In A Box' project
|
|
SFIAB Website: http://www.sfiab.ca
|
|
|
|
Copyright (C) 2008 James Grant <james@lightbox.org>
|
|
|
|
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, version 2.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; see the file COPYING. If not, write to
|
|
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
Boston, MA 02111-1307, USA.
|
|
*/
|
|
?>
|
|
<?
|
|
require_once("common.inc.php");
|
|
send_header("Login/Register");
|
|
|
|
echo i18n("Please choose one of the following:");
|
|
echo "<br />\n";
|
|
echo "<br />\n";
|
|
echo "<h4>Participant</h4>\n";
|
|
echo "<ul style=\"margin-top: 0px;\">";
|
|
echo "<li><a href=\"register_participants.php\">I am a participant</a></li>\n";
|
|
echo "</ul>\n";
|
|
|
|
echo "<h4>Judge</h4>\n";
|
|
echo "<ul style=\"margin-top: 0px;\">";
|
|
echo "<li><a href=\"user_login.php?type=judge\">I am a judge and I already have an account</a></li>\n";
|
|
echo "<li><a href=\"user_new.php?type=judge\">I am a new judge and would like to register to judge</a></li>\n";
|
|
echo "</ul>\n";
|
|
|
|
echo "<h4>Sponsor</h4>\n";
|
|
echo "<ul style=\"margin-top: 0px;\">";
|
|
echo "<li><a href=\"user_login.php?type=sponsor\">I am an existing sponsor</a></li>\n";
|
|
echo "<li><a href=\"user_new.php?type=sponsor\">I would like to become a sponsor</a></li>\n";
|
|
echo "</ul>\n";
|
|
|
|
echo "<h4>Teacher/School</h4>\n";
|
|
echo "<ul style=\"margin-top: 0px;\">";
|
|
echo "<li><a href=\"schoolaccess.php\">I am a teacher or science fair coordinator at a school</a></li>\n";
|
|
echo "</ul>\n";
|
|
|
|
if($config['volunteer_enable'] == 'yes') {
|
|
echo "<h4>Volunteer</h4>\n";
|
|
echo "<ul style=\"margin-top: 0px;\">";
|
|
echo "<li><a href=\"user_login.php?type=volunteer\">I am a volunteer and I already have an account</a></li>\n";
|
|
echo "<li><a href=\"user_new.php?type=volunteer\">I am a new volunteer and would like to help out</a></li>\n";
|
|
echo "</ul>\n";
|
|
}
|
|
|
|
echo "<h4>Committee</h4>\n";
|
|
echo "<ul style=\"margin-top: 0px;\">";
|
|
echo "<li><a href=\"user_login.php?type=committee\">I am a committee member</a></li>\n";
|
|
echo "</ul>\n";
|
|
|
|
if($config['fairs_enable'] == 'yes' && $config['fairs_allow_login'] == 'yes') {
|
|
echo "<h4>".i18n("Science Fairs")."</h4>\n";
|
|
echo "<ul style=\"margin-top: 0px;\">";
|
|
echo "<li><a href=\"{$config['SFIABDIRECTORY']}/user_login.php?type=fair\">".i18n("{$config['fairs_name']} Fair Login").'</a></li>';
|
|
echo "</ul>\n";
|
|
}
|
|
|
|
send_footer();
|
|
?>
|
|
|