diff --git a/ag/gm/gm_seite.php b/ag/gm/gm_seite.php
index 54a3621..6072c4c 100644
--- a/ag/gm/gm_seite.php
+++ b/ag/gm/gm_seite.php
@@ -251,7 +251,7 @@ if(checkLoginData($_SESSION['user'],$_SESSION['password'])){
} else if($_REQUEST['choose'] == 'usergroups'){
displayUserGroups($_REQUEST['action'] ,$_REQUEST['uname'] ,$_REQUEST['ugname'], $_REQUEST['delete'], $_REQUEST['add']);
} else if($_REQUEST['choose'] == 'tournament'){
- displayTournamentOptions($_REQUEST['action']);
+ displayTournamentOptions($_REQUEST['action'], $_REQUEST['klein'], $_REQUEST['wochen']);
}else {
displayOptions();
}
diff --git a/ag/gm/include/tournament.inc.php b/ag/gm/include/tournament.inc.php
index ed5c693..9f96687 100644
--- a/ag/gm/include/tournament.inc.php
+++ b/ag/gm/include/tournament.inc.php
@@ -6,24 +6,20 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
-
-print_r($_GET);
?>
';
- echo 'Zurück';
- }
- } else {*/
- ?>
-
+function displayTournamentOptions($action, $klein, $wochen) {
+ if($action == 'starttnmt') {
+ /*if($action === "starttnmt") {
+ if(is_numeric($_REQUEST['anzahl']) && is_numeric($_REQUEST['minlevel']) && is_numeric($_REQUEST['maxlevel'])
+ && is_numeric($_REQUEST['grp_size']) && is_numeric($_REQUEST['grp_proceed'])) {
+ include_once($_SERVER['DOCUMENT_ROOT'].'cronjob/generic_turnier.php');
+ } else {
+ echo 'Keine gültige Eingabe
';
+ echo 'Zurück';
+ }
+ } else {*/
+ ?>
Übersicht |
@@ -99,14 +95,14 @@ function displayTournamentOptions($action) {
|||
---|---|---|---|
Turnier starten! | - ++ Turnier starten! + | ||
+ | + Zurück | ||
+ Turnier starten (in Arbeit) + | +
+ Anmeldegebühren bearbeiten + | +
+ Zum Hauptmenu + | +