Example #1
0
 public function loadAdvisingForm($uid)
 {
     $qid = academic_quarter_model::getLatestAcademicQuarter()->getAcademicQuarterID();
     $forms = advising_form_model::getAllAdvisingFormsByStudentID($uid);
     foreach ($forms as $form) {
         if ($form->getAcademicQuarterID() === $qid) {
             return $form;
         }
     }
     return false;
 }
Example #2
0
    <body id="background" ><div id="main">
        <h1 id="head">Advising Page</h1>
        
        
        <div id="advise" class="print">
            <table>
                <tr>
                    <th><img src="<?php 
echo base_url('image/latech.gif');
?>
" alt="Tech Logo" class="logo"></th>
                    <th><table class='noborder'>
                        <tr><th class="noborder">Louisiana Tech University</th></tr>
                        <tr><th class="noborder">ADVISING FORM</th></tr>
                        <tr><th class="noborder">Quarter <u><?php 
$quarter = new academic_quarter_model();
$quarter->loadPropertiesFromPrimaryKey($quarter_id);
echo $quarter->getName() . " " . $quarter->getYear();
?>
</u></th></tr>
                </table> </th>
                    <th><img src="<?php 
echo base_url('image/latech.gif');
?>
" alt="Tech Logo" class="logo"></th>
                </tr>
            </table>
            <table>
                <tr id='namecwid'>
                    <th class="noborder" style="text-align:left; padding-left: 8%">Student Name: <u><?php 
echo $student_name;