. */ session_start(); require_once 'autoloader-inc.php'; $cdaContrObj = new CdaContr(); $cdaContrObj->checkIfLoggedIn(null); if (!isset($_POST['create_submit'])) { header("Location: ../errorpage.php?error=emptyfields"); exit(); } $cdaContrObj->postponeCurrentPhase((int) $_POST['topicid'], (int) $_POST['postponeendofcurrentphaseindays'], $_POST['currentphase']);