Your IP : 216.73.216.162


Current Path : /home/x/b/o/xbodynamge/namtation/wp-content/
Upload File :
Current File : /home/x/b/o/xbodynamge/namtation/wp-content/auth.php.tar

home/xbodynamge/www/reservation/auth.php000060400000001073151123020560014460 0ustar00<?php
include_once('./inc/init.inc.php');

echo $sql = "SELECT id, count(*) as auth_status from reservation".$DB_prefixtable."client where email ='".$_POST['email']."' and mdp='".$_POST['mdp']."' and webaccess=1"; 
#$req = mysql_query($sql) or die('Erreur SQL !'.mysql_error()); 
$req = mysqli_query($db, $sql) or die('Erreur SQL !'.mysqli_error()); 

$data = mysqli_fetch_assoc($req);


if ($data['auth_status']==1){ 
   $_SESSION['id_client']=$data['id'];
   header('Location: reservation.php');
} 
else{
  header('Location: index.php?error=1'); 
}


mysql_close(); 
?>home/xbodynamge/crosstraining/reservation/dev/auth.php000060400000000712151125502770017310 0ustar00<?php
include_once('./inc/init.inc.php');

$sql = "SELECT id, count(*) as auth_status from reservation_client where email ='".$_POST['email']."' and mdp='".$_POST['mdp']."'"; 
$req = mysql_query($sql) or die('Erreur SQL !'.mysql_error()); 
$data = mysql_fetch_assoc($req);


if ($data['auth_status']==1){ 
   $_SESSION['id_client']=$data['id'];
   header('Location: reservation.php');
} 
else{
  header('Location: index.php?error=1'); 
}


mysql_close(); 
?>home/xbodynamge/www/reservation/dev/auth.php000060400000000712151131722610015241 0ustar00<?php
include_once('./inc/init.inc.php');

$sql = "SELECT id, count(*) as auth_status from reservation_client where email ='".$_POST['email']."' and mdp='".$_POST['mdp']."'"; 
$req = mysql_query($sql) or die('Erreur SQL !'.mysql_error()); 
$data = mysql_fetch_assoc($req);


if ($data['auth_status']==1){ 
   $_SESSION['id_client']=$data['id'];
   header('Location: reservation.php');
} 
else{
  header('Location: index.php?error=1'); 
}


mysql_close(); 
?>home/xbodynamge/namtation/reservation/auth.php000060400000001073151132062070015630 0ustar00<?php
include_once('./inc/init.inc.php');

echo $sql = "SELECT id, count(*) as auth_status from reservation".$DB_prefixtable."client where email ='".$_POST['email']."' and mdp='".$_POST['mdp']."' and webaccess=1"; 
#$req = mysql_query($sql) or die('Erreur SQL !'.mysql_error()); 
$req = mysqli_query($db, $sql) or die('Erreur SQL !'.mysqli_error()); 

$data = mysqli_fetch_assoc($req);


if ($data['auth_status']==1){ 
   $_SESSION['id_client']=$data['id'];
   header('Location: reservation.php');
} 
else{
  header('Location: index.php?error=1'); 
}


mysql_close(); 
?>home/xbodynamge/namtation/reservation/dev/auth.php000060400000000712151132703250016407 0ustar00<?php
include_once('./inc/init.inc.php');

$sql = "SELECT id, count(*) as auth_status from reservation_client where email ='".$_POST['email']."' and mdp='".$_POST['mdp']."'"; 
$req = mysql_query($sql) or die('Erreur SQL !'.mysql_error()); 
$data = mysql_fetch_assoc($req);


if ($data['auth_status']==1){ 
   $_SESSION['id_client']=$data['id'];
   header('Location: reservation.php');
} 
else{
  header('Location: index.php?error=1'); 
}


mysql_close(); 
?>home/xbodynamge/crosstraining/reservation/auth.php000060400000001073151135577750016546 0ustar00<?php
include_once('./inc/init.inc.php');

echo $sql = "SELECT id, count(*) as auth_status from reservation".$DB_prefixtable."client where email ='".$_POST['email']."' and mdp='".$_POST['mdp']."' and webaccess=1"; 
#$req = mysql_query($sql) or die('Erreur SQL !'.mysql_error()); 
$req = mysqli_query($db, $sql) or die('Erreur SQL !'.mysqli_error()); 

$data = mysqli_fetch_assoc($req);


if ($data['auth_status']==1){ 
   $_SESSION['id_client']=$data['id'];
   header('Location: reservation.php');
} 
else{
  header('Location: index.php?error=1'); 
}


mysql_close(); 
?>