// *** Security Header *** define('IN_PHPBB', true); $phpbb_root_path = '../umm/'; include($phpbb_root_path . 'extension.inc'); include('common.'.$phpEx); include('./inc/online.php'); $userdata = session_pagestart($user_ip, CONTEST_ADMIN); init_userprefs($userdata); if (!$userdata['session_logged_in']) { redirect(append_sid("login.$phpEx?redirect=../contest/admin.php", true)); } // ** End Security Header ?> //Page components answer 'yes' or 'no' $page_name = 'contest'; $lock = 'yes'; $breakout = 'yes'; $refresh = 'no'; $br = 'no'; $path = '../'; //Page Title Start $page_title = '
Contest Admin List For ". $userdata['username'] ." | |||||||||||
Start Date | Name | Entry Fee | Type | Car | Prizes | Rules | Status | Slot/Accept/Apply | Tree | Delete | |
You are not running any Contests | |||||||||||
" . date("M d, Y", $line['start']) . " | " . "" . htmlspecialchars($line['name']) . " | " . "" . $fee . " | " . "" . $line['type'] . " | " . "" . $car_name . " | "; if ($line['status'] == 'Open' | $line['status'] == 'Staging') { echo "" . "" . "" . "";} else { echo "". $line['status'] ." | ". $line['racers'] ." | ";} if ($line['racers'] == $accepted & $racing == 0) { echo " ";} else { if ($racing > 0) { echo " ";} else {echo "N / A | ";}} if ($line['status'] == 'Staging' | $line['status'] == 'Ended') { echo "";} else { echo "N / A | ";} echo "