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:
approve_app3.php
<? include "inc/header.php"; include "inc/fxn.php"; $officer_id=$_SESSION['officer_id']; $roles_id=get("admin_corp",$officer_id,"id","roles_id"); $stud_id=$_GET['stud_id']; $s=mysql_query("SELECT * FROM clearance_status WHERE stud_id='$stud_id' AND reg_type='3'"); $q=mysql_fetch_array($s); $clear_id=$q['clear_id']; if($clear_id){ $update=mysql_query("UPDATE clearance_status SET dean_verify='1',branch_verify='1',ad_comm='1' WHERE clear_id='$clear_id'"); if($update){ echo "Corporate Membership Application Approved"; include("inc/footer.php"); $ss=mysql_query("SELECT * FROM corp_mem a,clearance_status b WHERE a.stud_id=b.stud_id AND b.clear_id='$clear_id'"); $rr=mysql_fetch_array($ss); //$student_id=get("clearance_status",$clear_id,"clear_id","stud_id"); //$row_details=get22("corp_mem",$student_id,"stud_id"); $surname=$rr['surname']; $othernames=$rr['othernames']; $name= $surname." ".$othernames; $auth_num=$rr['auth_num']; //send mail $email=$rr['email']; //echo $email; $str = "Nigerian Society of Engineers: Corporate Membership Application"; $html_data = '<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Nigerian Society of Engineers</title> </head> <body> <table width="100%" border="0" cellspacing="5" cellpadding="10"> <tr> <td colspan="2" style="background-color:#C00; color:#FFF;" align="center" valign="middle"><strong><h2>NIGERIAN SOCIETY OF ENGINEERS</h2> <p>www.nse.org.ng</p> <p>application@nse.org.ng</p> <p>080<em>56239560</em></p> </strong></td> </tr> <tr> <td>Dear Sir/Ma</td> <td align="right">19th March, 2014</td> </tr> <tr> <td colspan="2" align="center" valign="middle"><strong><u><h3>RE: APPLICATION FOR CORPORATE MEMBERSHIP VIA CATEGORY C1</h3></u></strong></td> </tr> <tr> <td colspan="2">Your application on the above subject matter refers. <p>This is to inform you that your application has been processed and your are qualified for the Matured Route (Category C1) Interview.</p> <p>Wishing you the best of luck, please see the table below for more details.</p> <p>Yours faithfully,</p> <p><strong>Maureen Onah</strong></p> <p>Ag. Head, Membership Services</p> <p>For: Executive Secretary</p></td> </tr> </table> <table width="100%" border="1" cellspacing="5" cellpadding="10"> <tr> <td width="10%">S/N</td> <td width="37%">ITEMS</td> <td colspan="2" align="center">DATE</td> <td width="17%">CENTRES</td> <td width="10%">AMOUNT</td> </tr> <tr> <td>1</td> <td>Submission of Reports by Candidates</td> <td width="13%">25th March 2014</td> <td width="13%">29th March 2014</td> <td>CENTRES</td> <td> </td> </tr> <tr> <td>2</td> <td>A 2-Day Continuing Professional Education for Executive Engineers (CoPEEE) for C1 Candidates</td> <td>3rd April 2014</td> <td>4th April 2014</td> <td>ENUGU</td> <td>50,000</td> </tr> <tr> <td>3</td> <td>A 2-Day Continuing Professional Education for Executive Engineers (CoPEEE) for C1 Candidates</td> <td>10th April 2014</td> <td>10th April 2014</td> <td>LAGOS</td> <td>50,000</td> </tr> <tr> <td>4</td> <td>A 2-Day Continuing Professional Education for Executive Engineers (CoPEEE) for C1 Candidates</td> <td>24th April 2014</td> <td>25th April 2014</td> <td>ABUJA</td> <td>50,000</td> </tr> <tr> <td>5</td> <td>Matured Route Category C1 Interview</td> <td>05th April 2014</td> <td>05th April 2014</td> <td>NSE ENUGU OFFICE</td> <td> </td> </tr> <tr> <td>6</td> <td>Matured Route Category C1 Interview</td> <td>12th April 2014</td> <td>12th April 2014</td> <td>NSE Lagos Office</td> <td> </td> </tr> <tr> <td>7</td> <td>Matured Route Category C1 Interview</td> <td>26th April 2014</td> <td>26th April 2014</td> <td>NSE Abuja Office</td> <td> </td> </tr> </table> <p><em>Maureen Onah</em></p> <p><em>Ag.Head, Membership Services Dept,</em></p> <p><em>The Nigerian Society of Engineers</em></p> <p><em>National Engineering Centre,</em></p> <p><em>Off National Mosque - Labour House Road,</em></p> <p><em>Central Business District,</em></p> <p><em>Abuja.</em></p> <p><em>08056239560</em></p> </body> </html>'; include("mimemail/MIME.class"); $mime = new MIME_mail("application@nse.org.ng", $email, $str); $mime->attach($html_data, "", HTML, BASE64); //$mime->setHTMLBody($html_data,false); $mime->send_mail(); /*$to = '$email'; //define the subject of the email $subject = 'Nigerian Society of Engineers: Corporate Membership Application'; //create a boundary string. It must be unique //so we use the MD5 algorithm to generate a random hash $random_hash = md5(date('r', time())); //define the headers we want passed. Note that they are separated with \r\n $headers = "From: application@nse.org.ng\r\n"; //add boundary string and mime type specification $headers .= "\r\nContent-Type: multipart/alternative; boundary=\"PHP-alt-".$random_hash."\""; //define the body of the message. ob_start(); //Turn on output buffering //$headers = "From: application@nse.org.ng\r\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; $mail_sent=mail($email,$str,$html_data,$headers); echo $mail_sent ? "Mail sent" : "Mail failed";*/ header("refresh: 2; url=c1.php"); } } ?>
Simpan