. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| Server IP : 213.186.33.4 / Your IP :
216.73.216.146 [
Web Server : Apache System : Linux webm002.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : dealkatnwc ( 662330) PHP Version : 7.0.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/dealkatnwc/www/GDEAL/pages/ |
Upload File : |
<?php
// session_start();
include 'class/utilisateur.class.php';
include 'config.php';
// $db = new PDO('mysql:host='.$host.';dbname='.$dbname.'', $user, $passwd);
// $db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING);
if (isset($_SESSION['GDEAL']['user']['id'])){header("Location: index.php");exit;}
$err_cnx = false;
if(isset($_POST['email']) && (isset($_POST['passwd'])) )
{
$email = $_POST['email'];
$passwd = $_POST['passwd'];
$cnx = false;
$ut= new UtilisateurManager($db);
if ($ut->verif($email, $passwd ) != false )
{
$cnx = true;
$idad = $ut->verif($email, $passwd );
$utm = $ut->get ((int) $idad);
$_SESSION['GDEAL']['user']['id'] = $utm->id();
$_SESSION['GDEAL']['user']['nom'] = $utm->nom();
$_SESSION['GDEAL']['user']['statut'] = $utm->statut();
header("Location: index.php");
exit;
}
else
{
$err_cnx = true;
}
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<?php include 'header.php';?>
<style>
@import url('https://fonts.googleapis.com/css?family=Numans');
html,body{
// background-image: url('http://getwallpapers.com/wallpaper/full/a/5/d/544750.jpg');
background-image: url('https://source.unsplash.com/user/erondu/1600x900');
background-size: cover;
background-repeat: no-repeat;
height: 100%;
font-family: 'Numans', sans-serif;
}
.login-panel{background-color: rgba(0,0,0,0.5) !important;border: none;}
.form-control, .btn, .alert, .panel {border-radius: 0px;}
h3.panel-title {color: #fff !important;}
button.btn {background-color: #000000cf;color: #ffffffa3;}
</style>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-md-4 col-md-offset-4">
<div class="login-panel panel panel-default <?php //echo $animated_open_effect[array_rand($animated_open_effect, 1)]; ?> rotateIn animated">
<div class="panel-body">
<a class="hvr-hang" href="index.php"><img src='images/gdeal-logo.png' style='width: 100%'></a>
<h3 class="panel-title">Connectez-vous</h3>
<form role="form" method="post" action="">
<fieldset>
<?php
if ($err_cnx)
{echo '<div class="alert alert-danger" role="alert"><i class="fad fa-exclamation-circle"></i> Vous n\'êtes pas autorisé à vous connecter. Peut-être avez-vous saisi incorrectement votre adresse mail ou votre mot de passe. </div>';}
?>
<div class="form-group">
<input class="form-control" placeholder="E-mail" name="email" type="email" autofocus>
</div>
<div class="form-group">
<input class="form-control" placeholder="Mot de passe" name="passwd" type="password" value="">
</div>
<!-- Change this to a button or input when using this as a form -->
<button type="submit" class="btn btn-lg btn-block hvr-buzz-out" ><i class="fad fa-key fa-fw"></i> Connexion</button>
</fieldset>
</form>
</div>
</div>
</div>
</div>
</div>
<!-- jQuery -->
<script src="../bower_components/jquery/dist/jquery.min.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="../bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- Metis Menu Plugin JavaScript -->
<script src="../bower_components/metisMenu/dist/metisMenu.min.js"></script>
<!-- Custom Theme JavaScript -->
<script src="../dist/js/sb-admin-2.js"></script>
</body>
</html>