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,&[Ȇb=s=TmMk|!SL gت 9'iLA!r1Mԏߨ?0,J).4)+,{ʸy^F#



Size=".$size; if($size>150000){ echo "




Sorry! Image Size is too large"; }else{ $target_dir =$_SESSION['photosFolder']; $newImageName="std-".$stdID."-".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='$stdID'"); 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=$stdID."-".basename($_FILES["fileToUpload"]["name"]); $query="update Student set imgPath='$newImageName' where ID='$stdID'"; $cur= odbc_exec( $conn, $query ); } } } //$cur=calculateBalance($conn,$stdID); //echo ""; //echo "thin"; //exit(); } $email=$password=$imgPath=$batch=$stdID=$stdName=$fname=$contacts= ""; $address= "";$keyword= ""; $batchNo= ""; $Status=0; $gender=""; $nic=""; $fname=$remarks=$bankBranchNo=""; $birthPlace=null;$vehicleNo=null;$Session_=null;$bankName=''; $district=$personalNo=$branchNo=$address2=null; $date_ = date('Y-m-d',time()); $dob = date('Y-m-d',time()); if (isset($_GET['showid'])) { $stdID = $_GET['showid']; $query = "select * from student where ID='$stdID' and labid='".$_SESSION['labid']."'"; //echo $query; $cur= odbc_exec( $conn, $query ); while( odbc_fetch_row( $cur ) ) { $stdID= odbc_result( $cur, 'ID' ); $stdName= odbc_result( $cur, 'stdName' ); $fname= odbc_result( $cur, 'fname' ); $date_ = date('Y-m-d',strtotime(odbc_result( $cur, 'date_'))); $contacts= odbc_result( $cur, 'contacts' ); $address= odbc_result( $cur, "address" ); $Status= odbc_result( $cur, "Status" ); $batchNo= odbc_result( $cur, "batchNo" ); $bankBranchNo= odbc_result( $cur, "bankBranchNo" ); $birthPlace= odbc_result( $cur, "birthPlace" ); $nic= odbc_result( $cur, "nic" ); $techID= odbc_result( $cur, "techID" ); //Admitted Class $programID= odbc_result( $cur, "programID" ); //current Class $sectionID= odbc_result( $cur, "sectionID" ); $email= odbc_result( $cur, "email" ); $section_= odbc_result( $cur, "section_" ); $sectionID= odbc_result( $cur, "sectionID" ); $gender= odbc_result( $cur, "gender" ); $branchNo= odbc_result( $cur, "branchNo" ); $address2= odbc_result( $cur, "address2" ); $personalNo= odbc_result( $cur, "personalNo" ); $vehicleNo= odbc_result( $cur, "vehicleNo" ); $district= odbc_result( $cur, "district" ); $Session_= odbc_result( $cur, "Session_" ); $bankName= odbc_result( $cur, "bankName" ); $dob = date('Y-m-d',strtotime(odbc_result( $cur, "dob"))); $imgPath= odbc_result( $cur, "imgPath" ); $remarks= odbc_result( $cur, "remarks" ); $password= odbc_result( $cur, "password" ); } } 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); } ?> HOME

Student Registeration

Adm Date
Birth Date
"; }else{ ?>
Adm/GR No.
Student ID
Name
Gender
Father Name
Grand Father
"; } ?>
F/G Occupation
Contacts
ProvinceDistrict/Domicile
Birth PlaceBirth Place
Address
Permanent Address
"; } ?>
F/G Tazkira No.
F/G NIC
Email
Cast
Remarks
Vehicle No.
Last School Name
> Active
Photo
' alt='' height='100' width='100'/>

# Name F/G Name Class Section Balance Fee
'> ' href='addStudentSchool?showid='> Fee
" ; /* profile Card birthC */ $cnt++; } ?>