/home/techb158/immovalet.ca/report
NameSizeModeActions
.well-known/-0777rm
bower_components/-0777rm
cgi-bin/-0777rm
Client/-0777rm
css/-0777rm
fonts/-0777rm
ICONES/-0777rm
img/-0777rm
includes/-0777rm
js/-0777rm
Master/-0777rm
misc/-0777rm
.htaccess22290666editdlrm
activate.php26960666editdlrm
admin.php331100644editdlrm
ApplyNow.php110970666editdlrm
emplois_offerts.php183080666editdlrm
emplois_offertsx.php180710666editdlrm
error.php42010666editdlrm
footer.php27080666editdlrm
forgetpassword.php86120666editdlrm
head.php27780666editdlrm
header.php21590666editdlrm
index - BackUP 08-02-2019.php67260666editdlrm
index.php227250666editdlrm
Liste_des_entreprises.php86710666editdlrm
register.php69930666editdlrm
reset.php68190666editdlrm
search.php7550666editdlrm
searchs.php5560666editdlrm
Voir_emplois.php65630666editdlrm
Voir_emploisx.php73890666editdlrm
Edit: /home/techb158/immovalet.ca/report/activate.php (2696B)
0) { if ( $accessed == 1) { header("Location: index.php?err=Votre compte a déjà été activé."); exit(); } else if ( $accessed == 0) { $sql = mysqli_query($mysqli,"UPDATE Clients SET User_Access = '1' WHERE Username = '".$id ."'"); header("Location: index.php?err=Merci d'activer votre compte!"); exit(); $Emailid = $id; //$checkloginr = mysql_query("SELECT * FROM Clients WHERE Username='".$Emailid."'"); //$rowr = mysql_fetch_array($checkloginr); //$rowCounts = mysql_num_rows($checkloginr); // //if($rowCounts > 0){ // $User_Type="Client"; // $date = date('Y/m/d H:i:s'); // // $useraccess = $rowr['access']; // $email = $rowr['email']; // $userid = $rowr['ID_Client']; // $usertypes = $rowr['User_Type']; // $_SESSION['EmailAddress'] = $email; // $_SESSION['ID_Client'] = $userid; // $_SESSION['$useraccess'] = $useraccess; // $_SESSION['User_Type'] = $User_Type; // $_SESSION['Usertyep'] = $usertypes; // $_SESSION['LoggedIn'] = 1; // //} // $_SESSION['start'] = time(); // Taking now logged in time. // // Ending a session in 30 minutes from the starting time. // $_SESSION['expire'] = $_SESSION['start'] + (30 * 60); // $date = date('Y/m/d H:i:s'); // mysql_query("UPDATE Profile_Client set Login_Date='" . $date . "' WHERE email='" . $id . "'"); // echo "

Success

"; // echo "

We are now redirecting you to the User area.

"; // echo ""; } } else { header("Location: index.php?err=Attention! Aucun compte trouvé"); exit(); } } catch (Exception $ex) { echo $ex->getMessage(); } } ?>