One Hat Cyber Team
Your IP :
216.73.216.84
Server IP :
50.6.229.107
Server :
Linux server.hostburly.com 5.14.0-611.38.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 10 17:21:28 EDT 2026 x86_64
Server Software :
Apache
PHP Version :
8.2.30
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
andjemzt
/
nportal.andjemztech.com
/
examAdmin
/
Edit File:
view_messages270713.php
<? //include "inc/header.php"; include "inc/config.php"; $msg_id=$_GET['id']; include "../inc/fxn.php"; $row=GetMany("messages",$msg_id,"id"); echo "NAME: ".$row['name']."<br>"; echo "EMAIL: ".$row['email']."<br>"; echo "DATE: ".$row['date']."<br>"; echo "SUBJECT: ".$row['subject']."<br>"; echo $row['message']; $subject=$row['subject']; $update=mysql_query("UPDATE messages SET status='1' WHERE id='$msg_id'"); ?> <table cellpadding="10" cellspacing="5"> <form action="" method="post" name="form1"> <tr> <td>Message</td><td> <textarea name="mess" rows="5" cols="35"></textarea></td> </tr> <tr> <td colspan="2"><input type="submit" name="submit" value="Send Mail" /></td> </tr> <tr> <td colspan="2"><input type="hidden" name="email" value="<?=$row['email']?>" /></td> </tr> <tr> <td colspan="2"><input type="hidden" name="names" value="<?=$row['name']?>" /></td> </tr> </form> </table> <? if(isset($submit)){ $email=$_POST['email']; $mess=mysql_escape_string($_POST['mess']); $str = "Nigerian Society of Engineers"; $html_data = '<html><head><title>'.$str.'</title></head><body bgcolor="#fff0ff" text="#990000"><table width="100%" align="center" border="0" cellspacing="0" cellpadding="0" bgcolor="#A2A1A6"> <tr> <td width="47%" bgcolor="#944B2A"><H1><span style="color:#ffffff">RE: '.$subject.'</span></H1></td> </tr> </table></td></tr></table><h4>Dear '.$names.' </h4><br><h3>RE: ENQUIRY/COMMENT </h3><br><br><h5>'.$mess.'</h5><br><br><br><h6>Obene Glassber<br>Graduate Membership Coordinator<br>Nigerian Society Enginner<br>National Engineering Center,<br>Off National Mosque - Labour House Road,<br>Central Business District, Abuja.</h6>'; include("mimemail/MIME.class"); $mime = new MIME_mail("application@nse.org.ng", $email, $str); $mime->attach($html_data, "", HTML, BASE64); $mime->send_mail(); if($mime){ $insert=mysql_query("INSERT INTO message_sent SET message='$mess',date=NOW(),email='$email',name='$names'"); if($insert){echo "Message Sent";} } else{ echo "Message cannot be sent"; } } ?>
Simpan