📁
SKYSHELL MANAGER-
🛒
PHP v7.4.33
Create Folder
Create File
Current Path:
home
/
oshofree
/
public_html
/
chbluxuries.com
/
chb_data
/
Name
Size
Permissions
Actions
📁
..
-
0755
🗑️
🔒
📄
config.php
7.06 KB
0444
🗑️
⬇️
✏️
🔒
📄
error_log
5181.61 KB
0644
🗑️
⬇️
✏️
🔒
Editing: editstaff.php
<?php if(isset($_GET['staff'])){ $id= $_GET['staff']; //Get serial number $sql = "SELECT * from admin WHERE s ='$id' "; $sql2 = mysqli_query($con,$sql); while($row = mysqli_fetch_array($sql2)){ $admin_id = $row['admin_id']; $names = $row['username']; $email = $row['email']; $phone = $row['phone']; $salary = $row['salary']; $dob = $row['dob']; $bio = $row['biography']; $address = $row['address']; $office = $row['office']; $password = $row['password']; $status = $row['status']; $reg_date = $row['reg_date']; $log = $row['log']; $target = $row['target']; $picture = $row['picture']; $gender = $row['gender']; $position = $row['position']; $salaryDueDate = $row['salary_due_date']; $marital = $row['marital']; $nationality = $row['nationality']; $description = $row['description']; $state = $row['state']; $religion = $row['religion']; $current_employment = $row['current_employment']; $last_employment = $row['last_employment']; $reason_employment = $row['reason_employment']; $history_employment = $row['history_employment']; $local_govt = $row['local_government']; $village = $row['village']; $language = $row['language']; $Id_number = $row['Id_number']; $photocopy = $row['photocopy']; $primaryEducation = $row['primary_education']; $secondaryEducation = $row['secondary_education']; $vocationalEducation = $row['vocational_education']; $tertiaryEducation = $row['tertiary_education']; $degreeObtained = $row['degree_obtained']; $professionalMembership = $row['professional_membership']; $spouseDetails = $row['spouse_details']; $childrenDetails = $row['children_details']; $parentDetails = $row['parent_details']; $height = $row['height']; $weight = $row['weight']; $hairColor = $row['hair_color']; $complexion = $row['complexion']; $facialMark = $row['facial_mark']; $eyeColor = $row['eye_color']; $genotype = $row['genotype']; $bloodGroup = $row['blood_group']; $previousConvictionOffence = $row['previous_conviction_offence']; $prisonSentences = $row['prison_sentences']; $previousArrest = $row['previous_arrest']; $policeInvestigations = $row['police_investigations']; $criminalProsecution = $row['criminal_prosecution']; $fingerprint_file = $row['fingerprint_file']; $facial_scan = $row['facial_scan']; $guarantor1_image = $row['guarantor1_image']; $guarantor2_imagee = $row['guarantor2_image']; $guarantor1Name = $row['guarantor1_name']; $guarantor1Address = $row['guarantor1_address']; $guarantor1Telephone = $row['guarantor1_telephone']; $bankNameAccountNumber1 = $row['bank_name_account_number1']; $gur1_photocopy = $row['gur1_photocopy']; $gur1_signature = $row['gur1_signature']; $guarantor2Name = $row['guarantor2_name']; $guarantor2Address = $row['guarantor2_address']; $guarantor2Telephone = $row['guarantor2_telephone']; $bankNameAccountNumber2 = $row['bank_name_account_number2']; $gur2_photocopy = $row['gur2_photocopy']; $gur2_signature = $row['gur2_signature']; //Get serial number $sq = "SELECT * FROM chb_stores where id='$office'"; $sq2 = mysqli_query($con,$sq); while($ro = mysqli_fetch_array($sq2)) {$office_name = $ro['name'];}} if($picture==""){$picture="user_img.jpeg";} else {$picture=$picture;}} else{ header ("location: staff.php");} ?>
💾 Save Changes