51 lines
1.1 KiB
PHP
51 lines
1.1 KiB
PHP
<?php
|
|
$ValidAccess = 2010;
|
|
|
|
require_once("include/globals.php");
|
|
|
|
// Start the template and output buffering
|
|
startTemplate();
|
|
$noTitle = 'Y';
|
|
|
|
?>
|
|
|
|
|
|
<p><br></p>
|
|
<div id='student-information-div'></div>
|
|
|
|
<script>
|
|
$(document).ready(function() {
|
|
$("#site-links").hide();
|
|
|
|
loadStudents();
|
|
|
|
function loadStudents() {
|
|
var data = "table_name=students"+
|
|
"&sequence_flag=N"+
|
|
"&action=parent-student-list"+
|
|
"&table_id=student-information-table";
|
|
$.getJSON( "ajax.DataTable.Fetch.php",data,
|
|
function(results) {
|
|
$("#student-information-div").html(results.content);
|
|
}
|
|
);
|
|
}
|
|
|
|
$(document).on('click', '.order-button', function(e) {
|
|
e.preventDefault();
|
|
|
|
var snum = $(this).attr('snum');
|
|
var stnum = $(this).attr('stnum');
|
|
var onum = $(this).attr('onum');
|
|
|
|
window.location = "/?action=orders&naction=edit&schedule_num="+snum+"&student_num="+stnum+
|
|
"&entered_order_num="+onum;
|
|
});
|
|
|
|
});
|
|
</script>
|
|
|
|
<?php
|
|
endTemplate();
|
|
?>
|