Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64
Your IP : 3.142.55.138
<?php
//Modules information
$moduleclassid = "{u4r7-5rt9ay4}-(7rt5c93-asp1v22)";
$permission = 4;
//Load the standard includes
include("../includes/secur_isloggedin.php");
include("../includes/mysql_connect.php");
include("../includes/secur_accessverify.php");
//Library includes
include('../includes/contants.php');
include('../lib/saisons.php');
//Get all the seasons
$seasons = season_list($mysql_link, SEASON_TYPE_PYF, 'DESC');
//Get the current season
if(isset($_GET['id_saison']) && is_numeric($_GET['id_saison']) && isset($seasons[$_GET['id_saison']])){
$currentseason = $seasons[$_GET['id_saison']];
}else{
include("../includes/mysql_cleanup.php");
header('location: main_step1.php');
exit();
}
//Delete the item
mysql_query($sql = "DELETE FROM season_pyf_docs WHERE id = $id", $mysql_link);
//Load the standard includes footers
include("../includes/mysql_cleanup.php");
//Send a header to change back to page group_main_admin
header("location: main_step2.php?id_saison=$id_saison");
?>
|