UnknownSec Bypass
403
:
/
home
/
growthpharma
/
public_html
/
Master@Growth
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
updatestatus.php
<?php include_once("config.php"); include_once("session_check.php"); $id = $_GET['id']; $status = $_GET['status']; if($_SESSION['adminid']==$id) { echo "<script>window.location='manageadmin.php'</script>"; $_SESSION['mode1']="OOPS! You Cannot Deactivate Your Account."; exit(); } else { $sqlupdatestatus = mysql_query("update admininfo set status='$status' where adminid='$id'"); /*$sqmm="select * from userinfo where id='$id'"; $msqmm = mysql_query($sqmm); $mfamm = mysql_fetch_array($msqmm); $usernamemm = $mfamm['username']; $usernamemm1 = ucfirst($mfamm['username']); $passwordofusermm = base64_decode(strrev($mfamm['password'])); $email = $mfamm['email']; if($status=='activate') { $from = "no-reply@recafrnd.com"; //$to = $email; $to = "$email"; $subject = "Thank you for registration!"; $message = "<table width=\"700\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"> <tr> <td colspan=\"3\"> </td> </tr> <tr> <td colspan=\"3\">Dear $usernamemm1</td> </tr> <tr> <td colspan=\"3\"> </td> </tr> <tr> <td colspan=\"3\">Admin has activated you account</td> </tr> <tr> <td colspan=\"3\"> </td> </tr> <tr> <td colspan=\"3\"> </td> </tr> <tr> <td colspan=\"3\"><font face=\"Arial\" color=\"#999999\" >Best regards,</font></td> </tr> <tr> <td colspan=\"3\"><strong><font face=\"Arial\" color=\"#CCCCCC\" >The recafnd.com Support Team</font></strong> </td> </tr> <tr> <td colspan=\"3\">Email : support@recafrnd.com</td> </tr> <tr> <td colspan=\"3\">Toll Free No : 18000 2194 898998</td> </tr> <tr> <td colspan=\"3\">This is a system generated message, please do not reply.</td> </tr> </table>"; $headers = "From: $from"; //$headers .= "Return-Path: manzirhce@gmail.com\r\n"; $headers .= "\nMIME-Version: 1.0\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; //echo $message; //die;*/ //if(@mail($to, $subject, $message, $headers)) if($sqlupdatestatus) { echo "<script>window.location='manageadmin.php'</script>"; $_SESSION['mode']="Record Status Updated"; exit(); } else { echo "<script>window.location='manageadmin.php'</script>"; $_SESSION['mode1']="Unable To Update Record Status"; exit(); } } //} /*else { echo "<script>window.location='subscribers.php'</script>"; $_SESSION['mode']="Record Status"; exit(); }*/ ?>
Copyright © 2024 - UnknownSec