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
/
View File Name :
send_mail_reg_app2.php
<? include("inc/header.php"); ?> <form id="form1" name="form1" method="post" action=""> <table width="200" border="0" cellspacing="0" cellpadding="5"> <tr> <td valign="top">Message</td> <td><label for="message"></label> <textarea name="message" id="message" cols="45" rows="5"></textarea></td> </tr> <tr> <td colspan="2"><input type="submit" name="submit" id="submit" value="Submit" /></td> </tr> </table> </form> <? if(isset($submit)){ $msg=$_POST['message']; include("mimemail/MIME.class"); $sql=mysql_query("SELECT * FROM branch WHERE officer_id='$officer_id'"); while ($row=mysql_fetch_array($sql)){ $branchid=$row['branchid']; $sql2=mysql_query("SELECT * FROM corp_mem a,corp_reg_pay b,clearance_status c WHERE a.stud_id=b.stud_id AND a.stud_id=c.stud_id AND c.branch_verify='0' AND c.dean_verify='0' AND b.status='Paid' AND a.branch_id='$branchid'"); if(!$result){ echo mysql_error(); } $count=mysql_num_rows($sql2); while ($row2=mysql_fetch_array($sql2)){ $email=$row2['email']; $name=$row2['surname']." ".$row2['othernames']; $str = "Nigerian Society of Engineers: Corporate Membership Application"; $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">NSE CORPORATE MEMBERSHIP APPLICATION</span></H1></td> </tr> </table></td></tr></table><h4>Dear '.$name.' </h4><br><h3>NSE CORPORATE MEMBERSHIP APPLICATION </h3><br><br><h5>'.$msg.'</h5><br><br><br><h6>Maureen Onah<br>Membership Service Officer<br>Nigerian Society Enginner<br>National Engineering Center,<br>Off National Mosque - Labour House Road,<br>Central Business District, Abuja.</h6>'; $mime = new MIME_mail("application@nse.org.ng", $email, $str); $mime->attach($html_data, "", HTML, BASE64); $mime->send_mail(); }} if($mime){ echo "Message Sent"; } else{ echo "Message cannot be sent";} } include("inc/footer.php"); ?>