%PDF- %PDF-
Direktori : /home/alliance/domains/sedl.alnetis.fr/public_html/ |
Current File : /home/alliance/domains/sedl.alnetis.fr/public_html/a-valider_hotpage.php |
<?php include_once("inc/config.php"); include_once("inc/functions.php"); include_once("inc/session.php"); include_once("inc/init.php"); verif_get($_GET['id']); verif_co_admin(); if($_GET['action'] == 1) { $where = "id = ".$_GET['id']; $values = array( "hotpage" => 2 ); $db->update("actu", $values, $where); } else if($_GET['action'] == 2) { $where = "id = ".$_GET['id']; $values = array( "hotpage" => 0 ); $db->update("actu", $values, $where); } header("Location:hotpage.php?msg=yes"); ?>