/* Decoded by unphp.net */ include("head.php"); $Return=$_GET['Return']; if ($Return!=NULL){ echo ''; } if(isset($_POST['Clas'])){ $Clas=$_POST['Clas']; } if(isset($_POST['Campus'])){ $Campus=$_POST['Campus']; } if(isset($_POST['Les'])){ $Les=$_POST['Les']; } if(isset($_POST['Section'])){ $Section=$_POST['Section']; } $CClass=$_POST['CClass']; $ESection=$_POST['ESection']; $DOB=$_POST['DOB']; $Catagory=$_POST['Catagory']; $FCell=$_POST['FCell']; $MCell=$_POST['MCell']; $SMSCell=$_POST['SMSCell']; if (!empty($Les)){ for($i=1;$i<=$Les;$i++){ $Student_Id=$_POST['Student_Id'.$i]; $Current_Class=$_POST['Current_Class'.$i]; $Date_Birth=$_POST['Date_Birth'.$i]; $Edit_Section=$_POST['Edit_Section'.$i]; $Edit_Catagory=$_POST['Edit_Catagory'.$i]; $Father_Cell=$_POST['Father_Cell'.$i]; $Mother_Cell=$_POST['Mother_Cell'.$i]; $SMS_Cell=$_POST['SMSCell'.$i]; if (!empty($Student_Id)){ if(!empty($Current_Class)) { $rs=mysql_query("UPDATE student SET Current_Class='$Current_Class' where Student_Id='$Student_Id'"); } if(!empty($Edit_Section)) { $rs=mysql_query("UPDATE student SET Section='$Edit_Section' where Student_Id='$Student_Id'"); } if(!empty($Date_Birth)){ $DB=date("Y-m-d", strtotime($Date_Birth)); $rs=mysql_query("UPDATE student SET Date_Of_Birth='$DB' where Student_Id='$Student_Id'"); } if(!empty($Edit_Catagory)) { $rs=mysql_query("UPDATE student SET Catagory='$Edit_Catagory' where Student_Id='$Student_Id'"); } if(!empty($Father_Cell)){ $rs=mysql_query("UPDATE student SET Father_Mobile_No='$Father_Cell' where Student_Id='$Student_Id'"); } if(!empty($Mother_Cell)){ $rs=mysql_query("UPDATE student SET Mother_Mobile_No='$Mother_Cell' where Student_Id='$Student_Id'"); } if(!empty($SMS_Cell)){ $rs=mysql_query("UPDATE student SET SMS_Number='$SMS_Cell' where Student_Id='$Student_Id'"); } } } } ?> Edit Student Recode .focus();" >
Edit Campus. Class Current Class: Section: Date of Birth: Catagory: Father Cell No: Mother Cell No: SMS Cell No:

Class '; } if ($ESection!=NULL) { echo ''; } if ($DOB!=NULL) { echo ''; } if ($Catagory!=NULL) { echo ''; } if ($FCell!=NULL) { echo ''; } if ($MCell!=NULL) { echo ''; } if ($SMSCell!=NULL) { echo ''; } ?>
Registration No Name Section Date of Birth Catagory Father Cell Mother Cell SMS Cell
">