/home/techb158/workloadmatch.com/workloadmatch.com/BackUp
NameSizeModeActions
.well-known/-0755rm
api/-0755rm
assets/-0755rm
bootstrap/-0755rm
bower_components/-0755rm
cgi-bin/-0755rm
dist/-0755rm
img/-0755rm
includes/-0755rm
js/-0755rm
layout/-0755rm
Manager/-0755rm
plugins/-0755rm
styles/-0755rm
Teacher/-0755rm
vendor/-0755rm
.htaccess85040644editdlrm
.htaccess-bak85040644editdlrm
.user.ini5880644editdlrm
authorized.php22240644editdlrm
auto_email_notification.php50030644editdlrm
error.php4510644editdlrm
error_log247637130644editdlrm
footer.php1840644editdlrm
forgetpassword.php35090644editdlrm
form-newsletter.php6580644editdlrm
form-process.php30870644editdlrm
getlang.php2830644editdlrm
home.php167780644editdlrm
index.php48230644editdlrm
myaccounts.php33190644editdlrm
php.ini6370644editdlrm
postPersons.php17570644editdlrm
reset.php35910644editdlrm
Signup.php220160644editdlrm
Edit: /home/techb158/workloadmatch.com/workloadmatch.com/BackUp/auto_email_notification.php (5003B)
ImmoValet: Updateds

Dear User,


"'."Thank you for choosing ImmoValet. - New Updateds.".'"


'; $headers = "MIME-Version: 1.0" . "\r\n"; $headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n"; $headers .= 'From: support' . "\r\n"; //$headers .= 'Bcc: support' . "\r\n"; if(mail($email,$subject,$message,$headers)){ echo "Email has been sent!"; }else{ } /* include_once 'includes/db_connect.php'; include_once 'includes/psl-config.php'; sec_session_start(); if(isset($_POST['email'], $_POST['p'])){ if(isset($_POST['g-recaptcha-response']) && !empty($_POST['g-recaptcha-response'])){ ///////////////////your site secret key //$secret = '6LdRQBEUAAAAAOlI1oLL1GeiHw7sGexQSPkbmUfj'; $secret = '6LcxqPwUAAAAAAjW1RcSEavugZ-1fY-ZomXGRjH5'; //get verify response data $verifyResponse = file_get_contents('https://www.google.com/recaptcha/api/siteverify?secret='.$secret.'&response='.$_POST['g-recaptcha-response']); $responseData = json_decode($verifyResponse); if($responseData->success){ //$succMsg = 'Your contact request have submitted successfully.'; $error_msg = ""; $userid = $_POST['email']; $password = filter_input(INPUT_POST, 'p', FILTER_SANITIZE_STRING); if (strlen($password) != 128) { $error_msg .= '

Invalid password configuration.

'; } $random_salt = hash('sha512', uniqid(openssl_random_pseudo_bytes(16), TRUE)); $password = hash('sha512', $password . $random_salt); $date = date('Y/m/d H:i'); $token = $_SESSION['token']; $querys = "SELECT * FROM tokens where token='".$token."' and used='0'"; $results = $mysqli->query($querys); $row = $results->fetch_assoc(); $email=$row['email']; $tokens=$row['token']; $users_name=$row['userid']; $used=$row['used']; $Admin_ID = $row['Admin_ID']; $Manager_ID = $row['Manager_ID']; $Master_ID = $row['Master_ID']; $Broker_ID = $row['Broker_ID']; If($userid == $users_name && $used == 0){ $query = "SELECT * FROM Broker_Profile where Admin_ID ='".$Admin_ID."' and Master_ID ='".$Master_ID."' and Manager_ID ='".$Manager_ID."' and Broker_ID ='".$Broker_ID."' and Email ='".$email."' and User_Name ='".$userid."'"; $result = $mysqli->query($query); $Admin = $result->fetch_assoc(); $Username = $Admin['Broker_ID']; //header('Location: reset.php?error='. $mysqli->error . '-'.$userid); //exit(); if($Username > 0){ $se="1"; if (!$mysqli->query("UPDATE Broker_Profile SET Password ='$password', salt='$random_salt' WHERE Admin_ID ='".$Admin_ID."' and Master_ID ='".$Master_ID."' and Manager_ID ='".$Manager_ID."' and Broker_ID ='".$Broker_ID."' and Email ='".$email."' and User_Name ='".$userid."'")) { header('Location: reset.php?error=Password Update is failed!'); exit(); } $url = "http://". $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']; $subject = "Your Password Updated"; $uri = 'https://'. $_SERVER['HTTP_HOST'] ; $message = ' ImmoValet: Your Password Updated

Dear User,


"'."Thank you for choosing ImmoValet. - Your password has been updated.".'"


Support Team


'; $headers = "MIME-Version: 1.0" . "\r\n"; $headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n"; $headers .= 'From: support' . "\r\n"; $headers .= 'Bcc: support' . "\r\n"; mail($email,$subject,$message,$headers); if (!$mysqli->query("UPDATE tokens SET used='".$se."', update_date='".$date."' WHERE token='".$tokens."'")) { } header('Location: index.php?err=Your password has been successfully updated!.'); exit(); }else { //header('Location: reset.php?error='.$mysqli->error); header('Location: reset.php?error=Invalid link or Password already changed!'); exit(); } }else { header('Location: reset.php?error=Invalid link!'); exit(); } }else{ header('Location: ../reset.php?err=Robot verification failed, please try again'); exit(); } }else { header('Location: ../reset.php?err=Please click on the reCAPTCHA box.'); exit(); } } */ ?>