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:
add_profile.php
<? require ("inc/header.php"); ?> <!- content starts here --> <script language="javascript" type="text/javascript"> function checkform (form) { if (document.form.surname.value == "") { alert( "Please enter your Surname" ); document.form.surname.focus(); return false ; } if (document.form.firstname.value == "") { alert( "Please fill in your First Name" ); document.form.firstname.focus(); return false ; } if (document.form.title.value == "") { alert( "Please Select title" ); document.form.title.focus(); return false ; } // return < aheref } </script> <form action="insert_profile_new.php" method="post" name="form" id="form" enctype="multipart/form-data"> <table width="90%" border="0" align="center" cellpadding="10" cellspacing="0" class="text"> <tr> <td colspan="2" class="border2"><strong style="color:#FF9900"><? echo $w_update ?></strong></td> </tr> <tr> <td colspan="2"><b><u><? echo $exams_addprofile_wd ?></u></b></td> </tr> <tr> <td>Title :</td> <td><select name="title" id="title"> <option value="">Select title...</option> <option value="Mr">Mr.</option> <option value="Mrs">Mrs.</option> <option value="Miss">Miss.</option> <option value="Prof">Prof.</option> <option value="Dr">Dr.</option> <option value="Chief">Chief.</option> </select> </td> </tr> <tr> <td>Surname</td> <td><input name="surname" type="text" id="surname" size="30"></td> </tr> <tr> <td>First Name</td> <td><input name="firstname" type="text" id="firstname" size="30"></td> </tr> <tr> <td>Othernames</td> <td><input name="othernames" type="text" id="othernames" size="30"></td> </tr> <tr> <td>Passport</td> <td><input type="file" name="image"></td> </tr> <tr> <td>Nationality</td> <td><input name="nationality" type="text" id="nationality" size="30"></td> </tr> <tr> <td>Date of Birth</td> <td>d <select name="date_day" id="date_day"> <?php for ($mday = 1; $mday<= 31; $mday++) { ?> <option value="<? if (strlen($mday) == 1) {$mday = "0$mday";} echo $mday ?>" <? if ($mday == date("j")) {echo "selected"; } ?>><? echo $mday ?></option> <? } ?> </select> m <select name="date_month" id="date_month"> <option value='01' <? if (date("n") == 1) {echo "selected"; } ?>>Jan</option> <option value='02' <? if (date("n") == 2) {echo "selected"; } ?>>Feb</option> <option value='03' <? if (date("n") == 3) {echo "selected"; } ?>>March</option> <option value='04' <? if (date("n") == 4) {echo "selected"; } ?>>Apr</option> <option value='05' <? if (date("n") == 5) {echo "selected"; } ?>>May</option> <option value='06' <? if (date("n") == 6) {echo "selected"; } ?>>Jun</option> <option value='07' <? if (date("n") == 7) {echo "selected"; } ?>>Jul</option> <option value='08' <? if (date("n") == 8) {echo "selected"; } ?>>Aug</option> <option value='09' <? if (date("n") == 9) {echo "selected"; } ?>>Sept</option> <option value='10' <? if (date("n") == 10) {echo "selected"; } ?>>Oct</option> <option value='11' <? if (date("n") == 11) {echo "selected"; } ?>>Nov</option> <option value='12' <? if (date("n") == 12) {echo "selected"; } ?>>Dec</option> </select> y <select name="date_year" id="date_year"> <?php $tillyear = 1950; for ($year = date(Y); $year >= $tillyear; $year--) { ?> <option value="<? echo $year ?>" <? if ($year == date("Y")) {echo "selected"; } ?>><? echo $year ?></option> <? } ?> </select></td> </tr> <td>Telephone(Land Line)</td> <td><input name="land_tel" type="text" id="land_tel" size="30"></td> </tr> <tr> <td>Telephone(GSM)</td> <td><input name="gsm" type="text" id="gsm" size="30"></td> </tr> <tr> <td> Email</td> <td><input name="email" type="text" id="email" size="30"></td> </tr> <tr> <td>Grade</td> <td><select name="grade_id" id="grade_id"> <? $query = "SELECT * FROM grade ORDER BY grade_id"; $result = mysql_query($query) or die(mysql_error()); while ($row = mysql_fetch_assoc($result)) { $grade_id = $row["grade_id"]; $grade_name = $row["grade_name"]; ?> <option value="<? echo $grade_id ?>" <? if ($grade_id == $grade_id1) { echo "selected"; } ?>><? echo $grade_name ?></option> <? } ?> </select> </td> </tr> <tr> <td>Pin:</td> <td><input name="mem_pin" type="text" id="mem_pin" size="30"></td> </tr> <tr> <td colspan="2"><strong><u>QUALIFICATIONS WITH DATE</u></strong></td> </tr> <tr> <td>Professional :</td> <td><input name="prof_grade" type="text" id="prof_grade" size="40" /></td> </tr> <tr> <td>Academic :</td> <td><input name="acad_grade" type="text" id="acad_grade" size="40" /></td> </tr> <tr> <td colspan="2"><strong><u>PRESENT EMPLOYER AND ADDRESS</u></strong></td> </tr> <tr> <td>Company :</td> <td><input name="curr_employer" type="text" id="curr_employer" size="60" /></td> </tr> <tr> <td>Address :</td> <td ><input name="comp_address" type="text" id="comp_address" size="60" /></td> </tr> <tr> <td>Designation :</td> <td><input name="designation" type="text" id="designation" size="40" /></td> </tr> <tr> <td>Date Attained</td> <td> <select name="attain_year" id="attain_year"> <?php $tillyear = 1950; for ($year = date(Y); $year >= $tillyear; $year--) { ?> <option value="<? echo $year ?>" <? if ($year == date("Y")) {echo "selected"; } ?>><? echo $year ?></option> <? } ?> </select></td> </tr> <tr><td colspan="2"><strong><u>PERMANENT CONTACT ADDRESS</u></strong></td></tr> <tr> <td colspan="2"><textarea name="perm_address" cols="70" rows="4" id="perm_address"></textarea></td> </tr> <tr> <td> </td> <td><input type="submit" name="submit" value="Add Profile" onClick="return checkform(this)"></td> </tr> </table> </form> <!- content ends here --> <? require ("inc/footer.php"); ?>
Simpan