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 :
a1_result.php
<? include("inc/header.php"); ?> <script> function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } </script> <style> table{font-size:12px} tr:nth-child(even) {background: #CCC;} tr:nth-child(odd) {background: #FFF;} </style> <? //include "inc/config.php"; $user_query=mysql_query("SELECT * FROM corp_mem a,clearance_status c WHERE a.stud_id=c.stud_id AND c.dean_verify='1' AND c.branch_verify='1' AND c.ad_comm='1' AND a.category='1' AND c.dean_verify_date >='2013-10-01' ORDER BY a.branch_id ASC"); $count=mysql_num_rows($user_query); if(!$count){ echo "<pre><span>No records found</span></pre>"; include "inc/footer.php"; exit; } else{ ?> <table border="1" cellpadding="5" cellpadding="10" width="100%"> <tr><td colspan="14"><strong><h3>Manage A1 Result</h3></strong></td></tr> <tr><td><strong>S/NO</strong></td><td><strong>FILE NO</strong></td><td><strong>NAMES</strong></td><td><strong>SEX</strong></td><td><strong>DATE OF BIRTH</strong></td><td><strong>PHONE</strong></td><td><strong>EMAIL</strong></td><td><strong>BRANCH</strong></td><td><strong>VIEW CREDENTIALS</strong></td><td><strong>ACTIONS</strong></td></tr> <? $sno=0; while ($row=mysql_fetch_array($user_query)){ $sno++; $name=ucwords(strtolower($row['othernames']))." ".strtoupper($row['surname']); //$name=ucwords($name); if($row['sex']=='Male') { $sex='M'; } elseif($row['sex']=='Female') { $sex='F'; } $dob=$row['dob']; $category=getCat($row['category']); $proposer=$row['proposer1']."-".$row['proposer2']; $phone=$row['phone']; $email=$row['email']; $branch=GetAny("branch",$row['branch_id'],"branchid","branch_name"); ?> <tr><td valign="top"><?=$sno?></td><td valign="top"><?=$row['file_no']?></td><td valign="top"><?=$name?></td><td valign="top"><?=$sex?></td><td valign="top"><?=$dob?></td><td valign="top"><?=$row['phone']?></td><td valign="top"><?=strtolower($row['email'])?></td><td valign="top"><?=$branch?></td><td valign="top"><a href="" onClick= "MM_openBrWindow('view_credentials.php?stud_id=<?=$row['stud_id']?>','','width=555,height=425,resizable=no,scrollbars=no') ">View Credentials</a></td><td><a href="" onClick= "MM_openBrWindow('retakeexam.php?stud_id=<?=$row['stud_id']?>','','width=555,height=425,resizable=no,scrollbars=no') ">Retake</a><br><br><a href="" onClick= "MM_openBrWindow('referralexam.php?stud_id=<?=$row['stud_id']?>','','width=555,height=425,resizable=no,scrollbars=no') ">Referral</a><br><br><a href="" onClick= "MM_openBrWindow('passedexam.php?stud_id=<?=$row['stud_id']?>','','width=555,height=425,resizable=no,scrollbars=no') ">Passed</a></td></tr> <? } ?> </table> <? } ?> <? function getCat($id){ switch ($id){ case "1": return "A1"; break; case "2": return "A2"; break; case "3": return "B1"; break; case "4": return "B2"; break; case "5": return "C1"; break; case "6": return "C2"; break; } } function GetAny($table,$value,$field,$output){ $sql=mysql_query("SELECT * FROM $table WHERE $field='$value'"); $row=mysql_fetch_array($sql); return $row["$output"]; } ?> <? include("inc/footer.php"); ?>