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CpSd" &`xG Pбm!LBOv/3?r9PikϾuLWRaӢY59Eo2u|v/\Vm>䰆U,|:;n>jmI[~~í~{~OunHގv{c RXᖬ͠pk㷲L&$Ror4n'0U I`N@ WHiz?6,rvXK#aoB1WMmw18rԾ䙅&&=#3beI?D} : V)۠BjOq=^N$t/F"ƥxT6A9 *$kl9uNUGp05s6 ExxxbM`[W:٘/x/5xJ)Vv8dA~A,.2u^ݠ/t%N,7 9S2L佥:⌌a*oIoۻp94j* VPpډ@oU> fdBcyD'aԫu^F53族i 3Wc[1k JߡwO|`/iq3R$^ |t>aEedžU( xB^+͢" y<ܯ&(4,뱗kԝX= Wۨ{=mqWv^ePNsyv:r“E8q5P7rHƒXabibp0+GbhΧW4+o| tgl~@2i!o\`6,VR1ˉރ)=,θK”u2VCEtZX.+DZƑ_{ :hW;[_kQkzޘ!(K&]+dW\xp˄{suKsrxnt4hF3g>u?.8;Jр_rG|UL$ ?4Mɲ^k e$vHȹk]l'Fg%o+EQx1"YE,4Rj)P1̈́j[e(K~OпhF8قs'nY/`BCR4w8IJLK9/sTkm_-z`|a>g aQˋ߲Z lnDxҾvHhQl'5L4: " nRGMdlCtprwm)w4Chu:_HMd@1 HӇ8Cv׌ ޶TDbC*I?,&re ID='$empID'"; if(canUpdate($conn,"admission")=="0") $cur= odbc_exec( $conn, $query ); } //echo "




". $query; if($email!=""){ $isemail=getName($conn,"select email from student where email='$email' and ID<>'$empID' "); if($isemail!=""){ $email=""; odbc_exec($conn,"update student set email=null where ID='$empID'" ); echo ""; } } $cur= odbc_exec( $conn, "delete from empTimings where empID='$empID'" ); $cur= odbc_exec( $conn, "delete from empTimings where machineid='$machineid'" ); if($machineid!="" or $machineid!="0"){ $query="insert into empTimings (empID,machineid,bankBranchNo,accountNo,type) values ('$empID','$machineid','$bankBranchNo','$accountNo','Normal') "; //echo $query; //$cur= odbc_exec( $conn, $query ); } //echo ""; if($_FILES["fileToUpload"]["tmp_name"]!=""){ $target_dir =$_SESSION['photosFolder']; $newImageName="emp-".$empID."-".basename($_FILES["fileToUpload"]["name"]); $target_file = $target_dir ."/".$newImageName; //$oldPic=getName($con,"select productImage1 from products where pid='$pid' "); $oldPic=$target_dir."/".getName($conn,"select imgPath from student where ID='$empID'"); if(file_exists($oldPic)) unlink($oldPic); //move_uploaded_file($_FILES["fileToUpload"]["name"],$target_dir.$newImageName); if(move_uploaded_file($_FILES["fileToUpload"]["tmp_name"], $target_file)){ //$newImageName=$empID."-".basename($_FILES["fileToUpload"]["name"]); $query="update Student set imgPath='$newImageName' where ID='$empID'"; $cur= odbc_exec( $conn, $query ); } //echo "




Sorry! Image Size is too large".$query; } } $pncRegNo=$kmuRegNo=$jobStatus=$bloodGroup=""; $dob=$date_ = date('Y-m-d',time()); $bankName=$grade=$shiftID=$machineid=$empID= ""; $stdName= ""; $fname= ""; $contacts= ""; $address= ""; $Department= ""; $keyword= ""; $Remarks= ""; $email=""; $dob=""; $gender="1"; $Status=0; $nic=""; $quitDate=$personalNo=null; $bankBranchNo=$accountNo=$chkMale=$chkFemale=""; $District=$Tehsil=$villageCouncil=$fnameStatus=0; if (isset($_POST['btnCSV'])) { $query = "select stdName,fname,nic from student where status=0 and recordType='Staff'"; $time_=date('d-m-Y-s-a', time()); $fileName="d:\empList$time_.csv"; echo "
".$ret=query2CSV($conn,$query,$fileName); } if(isset($_POST['find'])){ $keyword= $_POST['keyword']; } if (isset($_GET['showid'])) { $query = "select * from student where ID='".protect($_GET['showid'])."' and recordType='$recordType' and labid='".$_SESSION['labid']."' "; //echo $query; $cur= odbc_exec( $conn, $query ); while( odbc_fetch_row( $cur ) ) { $empID= odbc_result( $cur,"ID"); $stdName= odbc_result( $cur,"stdName"); //$Text =trim(iconv('UCS-2LE', 'UTF-8', odbc_result($cur, 'text2'))); //$stdName =trim(iconv('UCS-2LE', 'UTF-8', odbc_result($cur, 'text2'))); $fname= odbc_result( $cur,"fname"); $date_ = date('Y-m-d',strtotime(odbc_result( $cur, 'date_'))); $dob = date('Y-m-d',strtotime(odbc_result( $cur, 'dob'))); if(!is_null(odbc_result($cur,'quitDate'))) $quitDate =date('Y-m-d',strtotime(odbc_result( $cur, 'quitDate'))); $contacts= odbc_result( $cur,'contacts'); $address= odbc_result( $cur,'address'); $Designation= odbc_result( $cur,'Designation'); $machineid= odbc_result( $cur,'machineid'); $email= odbc_result( $cur,'email'); $Department= odbc_result( $cur,'Country'); $Status= odbc_result( $cur,'Status'); $Remarks= odbc_result( $cur,'Remarks'); $nic= odbc_result( $cur,'nic'); $personalNo= odbc_result( $cur, 'personalNo' ); $gender= odbc_result( $cur, 'gender' ); $bankBranchNo= odbc_result( $cur, "bankBranchNo" ); $accountNo= odbc_result( $cur, "accountNo" ); $bankName= odbc_result( $cur, "bankName" ); $shiftID= odbc_result( $cur, "shiftID" ); $grade= odbc_result( $cur, "grade" ); $imgPath= odbc_result( $cur, "imgPath" ); $bloodGroup= odbc_result( $cur, "bloodGroup" ); $fnameStatus= odbc_result( $cur, "fnameStatus" ); $jobStatus= odbc_result( $cur, "jobStatus" ); $District= odbc_result( $cur, "District" ); $Tehsil= odbc_result( $cur, "Tehsil" ); $villageCouncil= odbc_result( $cur, "villageCouncil" ); $doctorPercentage= odbc_result( $cur, "doctorPercentage" ); } } ?> HOME

Staff

Joining Date
Birth Date
Biometric ID
Employee ID Grade
Name value='1'> M value='0'> F
value='0'>F value='1'> H Name
Contacts
Address
E-mail
NIC
Remarks
Personal No.
Blood Group
Bank Name
Branch No.
Account No.
Percentage
Photo
' alt='' height='100' width='auto'/>
Leaving Date
> Active

# Name Designation Address Adv Salary Card
'> '>Adv '>Salary ' target='_Blank'>Card " ; $cnt++; } ?>