2009-09-09 00:26:12 +00:00
< ?
/*
This file is part of the 'Science Fair In A Box' project
SFIAB Website : http :// www . sfiab . ca
Copyright ( C ) 2005 Sci - Tech Ontario Inc < info @ scitechontario . org >
Copyright ( C ) 2005 James Grant < james @ lightbox . org >
Copyright ( C ) 2007 David Grant < dave @ 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 " );
require_once ( " user.inc.php " );
require_once ( " user_page.inc.php " );
require_once ( " fair.inc.php " );
user_auth_required ( 'fair' );
$u = user_load ( $_SESSION [ 'users_id' ]);
/*
if ( $u [ 'fair_active' ] == 'no' ) {
2010-11-02 20:35:47 +00:00
message_push ( notice ( i18n ( " Your fair role is not active. If you would like to participate as a fair for the %1 %2 please click the '<b>Activate Role</b>' button in the Volunteer section below " , array ( $conference [ 'name' ], $config [ 'fairname' ]))));
2009-09-09 00:26:12 +00:00
header ( 'Location: user_activate.php' );
exit ;
}
*/
send_header ( " Science Fair Main " , array ());
//only display the named greeting if we have their name
echo i18n ( " Hello <b>%1</b> " , array ( $_SESSION [ 'name' ]));
echo " <br /> " ;
echo " <br /> " ;
2010-01-27 20:24:09 +00:00
echo " <table class= \" adminconfigtable \" > " ;
echo " <tr> " ;
echo " <td><a href= \" fair_stats.php \" > " . theme_icon ( " fair_stats " ) . " <br /> " . i18n ( " Fair Information and Statistics " ) . " </a></td> " ;
echo " <td><a href= \" admin/registration_list.php \" > " . theme_icon ( " participant_registration " ) . " <br /> " . i18n ( " Student/Project Management " ) . " </a></td> " ;
echo " <td><a href= \" admin/winners.php \" > " . theme_icon ( " enter_winning_projects " ) . " <br /> " . i18n ( " Enter Winning Projects " ) . " </a></td> " ;
echo " </tr> \n " ;
echo " </table> \n " ;
echo " <hr/> " ;
echo " <table class= \" adminconfigtable \" > " ;
echo " <tr> \n " ;
echo " <td><a href= \" user_personal.php \" > " . theme_icon ( " edit_profile " ) . " <br /> " . i18n ( " Edit My Profile " ) . " </a></td> " ;
2010-07-15 09:18:06 +00:00
echo " <td><a href= \" user_account.php \" > " . theme_icon ( " change_password " ) . " <br /> " . i18n ( " Change My Email, Username, and, Password " ). " </ a ></ td > " ;
2010-01-27 20:24:09 +00:00
echo " <td><a href= \" user_activate.php \" > " . theme_icon ( " manage_roles " ) . " <br /> " . i18n ( " Manage My Roles " ) . " </a></td> " ;
echo " </tr> \n " ;
echo " </table> \n " ;
2009-09-09 00:26:12 +00:00
send_footer ();
?>