| Server IP : 167.99.254.82 / Your IP : 216.73.216.76 Web Server : Apache System : Linux host.techisquad.com 5.15.0-187-generic #197-Ubuntu SMP Fri Jul 17 19:17:01 UTC 2026 x86_64 User : pawluxera ( 1011) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/factures/public_html/ |
Upload File : |
<?php
session_start();
if (!isset($_SESSION['compte_user']))
{
header('Location: erreur_surfing.html');
exit();
}
$link = mysqli_connect("localhost", "advery", "EoM6IJlnirGIfcu","factures") or die("Impossible de se connecter : " . mysqli_error());
$reponse = "select * from comptes_user where id_clt = $_SESSION[compte_user] ;";
$exec =mysqli_query($link,$reponse);
$row = mysqli_fetch_assoc($exec);
$b = date('H:i');
$c = date('d-m-Y');
$dt = $c . ' [ '. $b . ' ]';
$reponse = "UPDATE comptes_user SET dern_cnx = '$dt' WHERE id_clt = $_SESSION[compte_user] ;";
mysqli_query($link,$reponse);
session_destroy();
?>
<!doctype html>
<html lang="fr">
<meta http-equiv="content-type" content="text/html;charset=windows-1251" />
<head>
<meta charset="utf-8">
<title> ADVERY | CONNEXION</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="YOSRY MLIKA">
<meta name="description" content="ADVERY - Espace ADMIN">
<link rel="shortcut icon" href="images/logo-xs.png" type="image/png">
<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="css/dripicons.min.css" rel="stylesheet" type="text/css">
<link href="css/animate/animate.css" rel="stylesheet" type="text/css">
<link href="css/hover/hover-min.css" rel="stylesheet" type="text/css">
<link href="css/styles.css" rel="stylesheet" type="text/css">
</head>
<?php
if ($row['pic_user'] == 'Vide')
$pic = 'images/user_male.png';
else
$pic = $row['pic_user']; ?>
<body>
<div class="row">
<div class="col-md-3">
</div>
<div class="col-md-6">
<div class="panel">
<div class="panel-body">
<div class="row">
<div class="col-sm-3 col-xs-4">
<img class="img-responsive img-circle" src="<?php echo $pic; ?>" width="331" height="331">
</div>
<div class="col-sm-9 col-xs-8">
<h3 class="margin-top-0"><?php echo $row['nom']; ?> <span class="label label-danger">Administrateur</span></h3><hr>
<ul class="row vertical-bordered-blocks">
<li class="col-xs-4 text-center">
<h3 class="margin-0"><?php echo $row['identificateur_client']; ?></h3>
<small>Code</small>
</li>
<li class="col-xs-4 text-center">
<h3 class="margin-0"><?php echo $row['dt_creation']; ?></h3>
<small>Date Création</small>
</li>
<li class="col-xs-4 text-center">
<h3 class="margin-0"><?php echo $dt; ?></h3>
<small>Dernière CNX</small>
</li>
</ul>
</div>
</div>
<hr>
<h2 class="margin-top-0"><img src="images/load.gif" width="50" height="50"> Déconnexion : Sauvegarde en cours ..</h2>
</div>
</div>
</div>
<div class="col-md-3">
</div>
</div>
</body>
</html>
<script language="JavaScript">
function t()
{
var compteur=document.getElementById('compteur');
s=duree;
m=0;h=0;
if(s==0)
{
document.location.href="http://www.factures.advery.agency/";
}
else
{
if(s>59)
{
m=Math.floor(s/60);
s=s-m*60
}
if(m>59)
{
h=Math.floor(m/60);
m=m-h*60
}
if(s<10)
{
s="0"+s
}
if(m<10)
{
m="0"+m
}
}
duree=duree-1;
window.setTimeout("t();",999);
}
</script>
<div id="compteur"></div>
<script language="JavaScript">
duree="5";
t();
</script>