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:
viewFellCredentials.php
<?php ob_start(); ?> <html> <head> <title>View Candidate</title> <link href="styles/tables.css" rel="stylesheet" /> <script src="js/jquery/jquery.js" type="text/javascript"></script> <script src="//tinymce.cachefly.net/4.2/tinymce.min.js"></script> <script>tinymce.init({selector:'textarea'});</script> </head> <body> <?php session_start(); ini_set('display_errors','1'); if($_SESSION['mymstatus']>'2'){ echo "You are not authorised to view this page,redirecting to login page"; header('refresh: 2; url=login.php'); exit; } include "inc/config.php"; $studID=$_GET['studID']; $appType=$_GET['appType']; $s=mysql_query("SELECT * FROM examqualifications WHERE qualAppID='$studID' AND qualAppType='$appType'"); $rr=mysql_fetch_array($s); $qual=$rr['qualCertName']; $sql=mysql_query("SELECT * FROM examreg WHERE examID='$studID'"); $row=mysql_fetch_array($sql); ?> <center> <table style="margin:10px;"><tr><td><img height="90" width="90" src="../exams/<?php echo returnPath($appType); ?>/pictures/passFell<?php echo $studID; ?>.jpg" /></td> <td valign="top"><table class="pure-table pure-table-bordered"> <tr><td colspan="4"><strong>EXAM APPLICATION</strong></td></tr> <tr><td colspan="3"><strong>PERSONAL DETAILS</strong></td><td valign="top"><a href="Javascript:" onclick="window.history.back();" style="color:#fff; background:red; padding:5px;"><<<<--Back</a> <a href="approveStudent.php?appType=<?php echo $appType; ?>&studID=<?php echo $studID; ?>" style="color:#fff; background:green; padding:5px;">Appprove Application</a></td></tr> <tr><td valign="top" height="10px">Surname</td><td valign="top"><strong><?php echo $row['examSurname']; ?></strong></td><td valign="top">Other Names</td><td valign="top"><strong><?php echo $row['examOthernames']; ?></strong></td></tr> <tr><td valign="top">Date of Birth</td><td valign="top"><strong><?php echo $row['examDOB']; ?></strong></td><td valign="top">Email</td><td valign="top"><strong><?php echo $row['examEmail']; ?></strong></td></tr> <tr><td valign="top">Phone</td><td valign="top"><strong><?php echo $row['examPhone']; ?></strong></td><td valign="top">Residential Address</td><td valign="top"><strong><?php echo $row['examRes']; ?></strong></td></tr> </table></td> </tr></table> <?php if($_POST['submit']){ $to = $row['fellEmail']; //echo $to; $subject = 'Exam Application'; $headers = "From: The Nigerian Institute of Quantity Surveyors ".'applications@niqs.org.ng' . "\r\n"; //$headers .= "Reply-To: ". strip_tags($_POST['req-email']) . "\r\n"; $headers .= "CC: info@niqs.org.ng\r\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; $message=strip_tags($_POST['message']); @mail($to,'The Nigerian Institute of Quantity Surveyors',$message,$headers); echo "message sent to applicant"; } ?> <br /><br /> <a href="Javascript:" id="acad" style="color:#fff; background:blue; padding:5px; margin:10px !important;">Academic Qualification</a> <div id="acadShow" style="display:none; margin:20px;"> <pre><span>Academic Qualification</span></pre> <?php $q=mysql_query("SELECT * FROM examqualifications WHERE qualAppID='$studID' AND qualAppType='$appType'"); if(!$q){ echo mysql_error();} $num=mysql_num_rows($q); if(!$num){ echo "No Qualification Found"; } else{ ?> <table class="pure-table pure-table-bordered"> <tr><th>S/No</th><th>Institution</th><th>Exam Passed</th><th>Year</th><th>Action</th> <?php $sno=0; while ($rw=mysql_fetch_array($q)){ $sno++; ?> <tr><td><?php echo $sno; ?></td><td><?php echo $rw['qualInstitution']; ?></td><td><?php echo $rw['qualExamPassed']; ?></td><td><?php echo $rw['qualYear']; ?></td><td><a href="viewQual.php?type=<?php echo $appType; ?>&cert=<?php echo $rw['qualCertName']; ?>" target="_blank">View Certificates</a></td></tr> <?php } ?> </table> <?php } ?> </div> <a href="Javascript:" id="result" style="color:#fff; background:blue; padding:5px; margin:10px;">Olevel Result</a> <div id="resultShow" style="display:none; margin:20px;"> <pre><span>O level Result</span></pre> <?php $q=mysql_query("SELECT * FROM examresult a,subjects b WHERE a.subjectID=b.subjectID AND a.appID='$studID' AND a.appTypeID='$appType'"); if(!$q){ echo mysql_error();} $num=mysql_num_rows($q); if(!$num){ echo "No Result Found"; } else{ ?> <table class="pure-table pure-table-bordered"> <tr><th>S/No</th><th>Subject</th><th>Result Type</th><th>Grade</th><th>Year</th> <?php $sno=0; while ($r=mysql_fetch_array($q)){ $sno++; ?> <tr><td><?php echo $sno; ?></td><td><?php echo $r['subjectName']; ?></td><td><?php echo $r['resultType']; ?></td><td><?php echo $r['resultGrade']; ?></td><td><?php echo $r['resultYear']; ?></td></tr> <?php } ?> </table> <?php } ?> </div> <a href="Javascript:" id="prof" style="color:#fff; background:blue; padding:5px; margin:10px;">Working Experience</a> <div id="profShow" style="display:none; margin:20px;"> <pre><span>Working Experience</span></pre> <?php $q=mysql_query("SELECT * FROM examwork WHERE appID='$studID' AND appTypeID='$appType'"); if(!$q){ echo mysql_error();} $num=mysql_num_rows($q); if(!$num){ echo "No Work Found"; } else{ ?> <table class="pure-table pure-table-bordered"> <tr><th>S/No</th><th>Employers Name</th><th>Position</th><th>From</th><th>To</th> <?php $sno=0; while ($r=mysql_fetch_array($q)){ $sno++; ?> <tr><td><?php echo $sno; ?></td><td><?php echo $r['workEmpName']; ?></td><td><?php echo $r['workPosition']; ?></td><td><?php echo $r['workFrom']; ?></td><td><?php echo $r['workTo']; ?></td></tr> <?php } ?> </table> <?php } ?> </div> <a href="Javascript:" id="ref" style="color:#fff; background:blue; padding:5px; margin:10px;">Uploads</a> <div id="refShow" style="display:none;"> <pre><span><strong>Other Uploads</strong></span></pre> <script type="text/javascript" src="thumbscroller.js"></script> <script type="text/javascript"> //create an image scroller object var isFlowers; //delay all code execution untill after page load window.onload = loadMyScroller; function loadMyScroller() { isFlowers = new ImageScroller("isFlowersFrame", "isFlowersImageRow"); //isFlowers.addThumbnail("../exams/gde/pictures/refFell<?php echo $studID?>.jpg", "../fellow/pictures/refFell<?php echo $studID?>.jpg", "Referee Form", "Referee Form."); isFlowers.addThumbnail("../exams/<?php echo returnPath($appType); ?>/pictures/decFell<?php echo $studID?>.jpg", "../fellow/pictures/decFell<?php echo $studID?>.jpg", "Declaration Form", "Declaration Form."); //isFlowers.addThumbnail("../fellow/pictures/<?php echo $qual?>", "../fellow/pictures/<?php echo $qual?>", "Academic Qualification", "Academic Qualification."); isFlowers.addThumbnail("../exams/<?php echo returnPath($appType); ?>/pictures/empFell<?php echo $studID?>", "../fellow/pictures/empFell<?php echo $studID?>", "Employers Comment", "Employers Comment."); isFlowers.addThumbnail("../exams/<?php echo returnPath($appType); ?>/pictures/stateFell<?php echo $studID?>", "../fellow/pictures/stateFell<?php echo $studID?>", "State Chairman", "State Chairman."); <!--isFlowers.addThumbnail("images2/prop5.jpg", "images2/flower_5_full.jpg", "Screen Shot 5", " Screen Shot 5 Description."); <!--isFlowers.addThumbnail("images2/prop3.jpg", "images2/flower_5_full.jpg", "Screen Shot 5", " Screen Shot 5 Description.");--> //** [end] Modify these to change your images **// isFlowers.setThumbnailHeight(600); isFlowers.setThumbnailWidth(400); isFlowers.setThumbnailPadding(3); isFlowers.setScrollType(0); isFlowers.enableThumbBorder(true); isFlowers.setClickOpenType(1); isFlowers.setThumbsShown(3); isFlowers.setNumOfImageToScroll(1); isFlowers.renderScroller(); }; </script> <table cellpadding="0" cellspacing="0" align="center" width="75%"> <tr valign="top"> <td> <a id="isFlowersFirstButton" href="javascript:isFlowers.scrollBegin();"> <img src="images2/first.gif" margin-right: 6px;" alt="See previous images" style="margin-top: 3px;" border="0" /></a> </td> <td> <a id="isFlowersPreviousButton" href="javascript:isFlowers.scrollReverse();"> <img src="images2/arrow_left.gif" alt="See previous images" style="margin-top: 3px;" border="0" /></a> </td> <td> <div id="isFlowersFrame" name="isFlowersFrame" style="margin: 0px; padding: 0px; position: relative; overflow: hidden;"> <div id="isFlowersImageRow" name="isFlowersImageRow" style="position: absolute; top: 0px; left: 0px;"> </div> </div> </td> <td> <a id="isFlowersNextButton" href="javascript:isFlowers.scrollForward();"> <img src="images2/arrow_right.gif" alt="See next images" style="margin-top: 3px;" border="0" /></a> </td> <td> <a id="isFlowersLastButton" href="javascript:isFlowers.scrollEnd();"> <img src="images2/last.gif" margin-left: 6px;" alt="See next images" style="margin-top: 3px;" border="0" /></a> </td> </tr> </table> </div> <div style="width:600px; margin-top:40px;"> <form action="" method="POST" novalidate> <pre><span><strong><h4>Send Message</h4></strong></span></pre> <textarea name="message" required="required"></textarea><br /> <input type="submit" name="submit" value="Send Message" /> </form> </div> </center> <script> $(document).ready(function(){ $("#acad").click(function(){ $("#acadShow").toggle(); }) $("#result").click(function(){ $("#resultShow").toggle(); }) $("#ref").click(function(){ $("#refShow").toggle(); }) $("#dec").click(function(){ $("#decShow").toggle(); }) $("#prof").click(function(){ $("#profShow").toggle(); }) $("#semi").click(function(){ $("#semiShow").toggle(); }) $("#cont").click(function(){ $("#contShow").toggle(); }) }) </script> <?php function returnPath($appType){ $type=""; switch($appType){ case "1": $type="gde"; break; case "2": $type="tpc"; break; case "3": $type= "pci"; break; } return $type; } ?> </body> </html>
Simpan