<?php if($_SERVER['REQUEST_METHOD'] == 'POST'){ $rally = Classloader('rally'); if(isset($_POST['RallyReset'])){ $rally->RallyReset($_POST); } if(isset($_POST['rally_verteilung'])){ $rally->verteilungSave($_POST,$_GET); } if(isset($_POST['RallyConfig'])){ $rally->ConfigSave($_POST); } if(isset($_POST['rallyDelete'])){ $rally->Delete($_POST); } if(isset($_POST['rally'])){ $rally->NeueRally($_POST); } if(isset($_POST['eintragen'])){ $rally->AddOrt($_POST); } if(isset($_POST['OrtEdit'])){ $rally->EditOrt($_POST); } if(isset($_POST['OrtDelete'])){ $rally->OrtDelete($_POST); } if(isset($_POST['RallyAuswerten'])){ $rally->RallyAuswerten($_POST,$_GET); } }