$timer['debut']=microtime(true);
include_once("app/func.php");
if ($_GET['deco']==1)
{
$n=$_SESSION['user_name'];
session_destroy();
session_start();
$_SESSION['errok']="A bientot, $n.";
header("Location: /"); exit;
}
// Gestion des utilisateurs ===
include("app/user.php");
include("app/actions.php");
//include("actions_part.php");
echo "go234"; exit;
if ($page!="")
{
$test="SELECT * FROM pages WHERE code = '$page' AND lang = '$lng'";
$qpp=sql($test);
if ($rpp=mysqli_fetch_array($qpp))
{
echo "SuPr"; exit;
if (file_exists("app/p_".$rpp['code'].".php"))
{
// echo $rpp['code']." | "; exit;
$file="app/p_".$rpp['code'].".php";
$xpage = $rpp;
include_once($file);
}
else $page="404";
}
else $page="404";
}
else { $page="404"; }
// PAGE 404 ===================================================================================================================
if ($page=="404")
{
include("app/z_head.php");
//get_headbar($pge['h1'],$pge['icon'],$pge['alt_icon'],1);
?>