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dg;ܱ!|~wCL, VbQ1ğV,yA(S-Z@{'j<s2O3\3*{9*  GVe3∺yw-}qj*ulٞ #U/H5h2---3 J!5~]"tC9ƫ*h{z_&Os* @lVQhcDw*Lɳċ!alJ˹Ui&f ,qwq0V9A: (gv}Rw^@!\q܆^/ylك]^EDU@Z Ȑh/rkgCYgulw3s4[a3rh1#9GPB eI!AUs[Z*  GVe3⡾(m.[R١! bv=Hܿj&c urqZ'Db;G /l_3`ĉy p[NIۙ),L=2O;mU` * ^1^}e3lNw5&Y=YD[rKNb|E# |* ^1^}e3lNw5&Y=YD[rKNbKub]7Y:LbxZ(kDN~ cd8*sst!('Eɐ a *yFR Gyʹ&.ar.elGKx2 *qkK%,;^-vSi6 'PbS.3GPb_9pQCxxu# ?bC?i^T6bT+ 5window.open('Reports/feeSlipNotice?slips=4&programID=$programID§ionID=$sectionID&vehicleNo=$vehicleNo','_Blank')"; } if(isset($_POST['btnFeeSlipPrint'])){ //$date_ = $_POST['date_']; $feeDate ="";// $_POST['feeDate']; $programID = $_POST['programID']; $sectionID = $_POST['sectionID']; $feeID ="";// $_POST['feeID']; $qry=" programID='$programID'"; $vehicleNo = $_POST['vehicleNo']; echo ""; } if(isset($_POST['submit'])){ //$date_ = $_POST['date_']; $feeDate ="";// $_POST['feeDate']; $programID = $_POST['programID']; $sectionID = $_POST['sectionID']; $keywords = $_POST['keywords']; $fname = $_POST['fname']; $vehicleNo = $_POST['vehicleNo']; $qry=" programID='$programID'"; } if(isset($_POST['btnSendMessage'])){ $cnt = $_POST['cnt']; $feeDate ="";// $_POST['feeDate']; //$teacherID = $_POST['teacherID']; $sectionID = $_POST['sectionID']; $programID = $_POST['programID']; $txtMessage = $_POST['txtMessage']; $query="update student set ID=ID "; if ($sectionID!="") $query.=",sectionID='$sectionID'"; if ($programID!="") $query.=",programID='$programID'"; if ($feeID!="") $query.=",feeID='$feeID'"; if ($feeDate!="") $query.=",feeDate='$feeDate'"; $ids=""; if(isset($_POST['checkAll'])){ foreach($_POST['checkAll'] as $value) { if($ids=="") $ids=$value; else $ids.=",".$value; } } //echo "
".$ids; //if(canUpdate($conn,"bulkUpdateSchool")=="0"){ if($ids!=""){ $qry="select ID,contacts from student where ID in($ids) and labid='".$_SESSION['labid']."' "; $cur= odbc_exec( $conn, $qry ); while( odbc_fetch_row( $cur )) { $no=odbc_result($cur,'contacts');//getName($conn,"select contacts from student where ID='$empID'"); if (trim($no)!="" and trim($txtMessage)!="") $ret=sendWhatsapp($no,$txtMessage,'03357001395'); //if (trim($no)!="" and trim($txtMessage)!="") $ret=sendWhatsapp($no,$txtMessage,'3018859522'); } //echo "
".$qry; } //} } if(isset($_POST['btnBulkUpdate'])){ $cnt = $_POST['cnt']; $feeDate ="";// $_POST['feeDate']; //$teacherID = $_POST['teacherID']; $sectionID = $_POST['sectionID']; $programID = $_POST['programID']; $feeID ="";// $_POST['feeID']; $query="update student set ID=ID "; if ($sectionID!="") $query.=",sectionID='$sectionID'"; if ($programID!="") $query.=",programID='$programID'"; if ($feeID!="") $query.=",feeID='$feeID'"; if ($feeDate!="") $query.=",feeDate='$feeDate'"; $ids=""; if(isset($_POST['checkAll'])){ foreach($_POST['checkAll'] as $value) { if($ids=="") $ids=$value; else $ids.=",".$value; } } //echo "
".$ids; if(canUpdate($conn,"bulkUpdateSchool")=="0"){ if($ids!=""){ $qry=$query." where ID in($ids) and labid='".$_SESSION['labid']."' "; $cur= odbc_exec( $conn, $qry ); //echo "
".$qry; } } } if(isset($_POST['btnBulkCards'])){ $cnt = $_POST['cnt']; $feeDate ="";// $_POST['feeDate']; //$teacherID = $_POST['teacherID']; $sectionID = $_POST['sectionID']; $programID = $_POST['programID']; $feeID ="";// $_POST['feeID']; $query="update student set ID=ID "; if ($sectionID!="") $query.=",sectionID='$sectionID'"; if ($programID!="") $query.=",programID='$programID'"; if ($feeID!="") $query.=",feeID='$feeID'"; if ($feeDate!="") $query.=",feeDate='$feeDate'"; $ids=""; if(isset($_POST['checkAll'])){ foreach($_POST['checkAll'] as $value) { if($ids=="") $ids=$value; else $ids.=",".$value; } } //echo "
".$ids; if($ids!=""){ echo ""; } } if(isset($_POST['btnCards2'])){ $sectionID = $_POST['sectionID']; $fitclass = $_POST['fitclass']; $boxIds = $_POST['boxIds']; $query="update student set ID=ID "; if ($sectionID!="") $query.=",sectionID='$sectionID'"; if ($fitclass!="") $query.=",fitclass='$fitclass'"; if ($feeID!="") $query.=",feeID='$feeID'"; //if ($boxIds!="") $query.=",boxIds='$boxIds'"; //echo "
".$ids; if($boxIds!=""){ echo ""; } } if(isset($_POST['btnVehicleList'])){ $sectionID = $_POST['sectionID']; $programID = $_POST['programID']; $vehicleNo = $_POST['vehicleNo']; echo ""; } if(isset($_POST['btnDebitors2'])){ $sectionID = $_POST['sectionID']; $programID = $_POST['programID']; $vehicleNo = $_POST['vehicleNo']; echo ""; } if(isset($_POST['btnDebitors'])){ $sectionID = $_POST['sectionID']; $programID = $_POST['programID']; $vehicleNo = $_POST['vehicleNo']; echo ""; } if(isset($_POST['btnClassesList'])){ $sectionID = $_POST['sectionID']; $programID = $_POST['programID']; $vehicleNo = $_POST['vehicleNo']; echo ""; } if(isset($_POST['btnStrength'])){ $sectionID = $_POST['sectionID']; $programID = $_POST['programID']; $feeDate = date_01(date('Y-m-d',strtotime($_POST['feeDate']))); echo ""; } if(isset($_POST['btnFreeStudents'])){ $sectionID = $_POST['sectionID']; $programID = $_POST['programID']; echo ""; } if(isset($_POST['btnDiscountStudents'])){ $sectionID = $_POST['sectionID']; $programID = $_POST['programID']; echo ""; } ?> HOME
keywords
Class
Section
.
.

Fee Month
'>
Fee Head
Amount



"; $query.=" order by ID "; $txt=""; if(isset($_POST['keywords']) and $_POST['keywords']!="") $txt=strtoupper($_POST['keywords']); if(!isset($_POST['submit'])) $query= "select ID,stdName,fname,programID,sectionID,balance from student where 1=2"; //echo $query; $cur= odbc_exec( $conn, $query ); $cnt=1; while( odbc_fetch_row( $cur ) ) { if ($cnt==1) echo "
#IDStudent NameFather NameClassSectionAddressVehicleBalance"; //$date= date("d-m-Y", strtotime(odbc_result( $cur, 1 ))); $stdID= odbc_result( $cur, 'ID' ); $stdName= odbc_result( $cur, "stdName" ); $fName= odbc_result( $cur, 'fname' ); //$personalNo= odbc_result( $cur,'personalNo'); //$machineid= odbc_result( $cur,'machineid'); echo ""; echo "
$cnt"; echo ""; echo "".(odbc_result( $cur,'ID')); if($txt!=""){ echo "".str_ireplace($txt,"$txt",(odbc_result($cur,'stdName'))).""; echo "".str_ireplace($txt,"$txt",(odbc_result($cur,'fName'))); }else{ echo "$stdName$fName"; } echo "".getHead($conn,odbc_result( $cur,'programID')); echo "".getHead($conn,odbc_result( $cur,'sectionID')); if($txt!=""){ echo "".str_ireplace($txt,"$txt",(odbc_result($cur,'address'))); echo "".str_ireplace($txt,"$txt",(odbc_result($cur,'vehicleNo'))); }else{ echo "".(odbc_result( $cur,'address')); echo "".(odbc_result( $cur,'vehicleNo')); } echo "".(odbc_result( $cur,'balance')).""; ?> "; $cnt-=1; echo ""; echo ""; echo ""; //echo ""; echo ""; echo ""; //echo ""; if($cnt>0){ echo "
Class
"; echo "
Section
"; echo "

"; echo "

"; //echo "
"; echo "Type your message
"; echo "

"; echo "
"; } if ($cnt==0) echo "

No Record Found

"; ?>