Cannot save: User not authenticated'; } } # Did the user add a season? if ($series !== false && isset($_POST['AddSeason'])) { # Require auth (or for the time being, specific IP addresses) if (preg_match('/^(?:172\.19\.[17]\.|2602:3f:e50d:76|74\.93\.97\.65)/', $_SERVER['REMOTE_ADDR'])) { # Add a season folder $new_season = intval($_POST['season_new']); addSeason($series, $new_season); } else { echo '

Cannot save: User not authenticated

'; } } #========================================================================================= # Generic XHTML 1.1 header print << UberZach TV ENDOLA; if ($series === false) { printAllSeries(); } else { printSeries($series); } # Generic XHTML 1.1 footer print << ENDOLA; ?>