Example #1
0
"><?php 
    echo $grading->gradeNameInfo($a['name']);
    ?>
</option>
                                        <?php 
}
?>
                                    </select>
                                            
                                </div>
								<div class="form-group">
									<label>Period</label>
																						
									<select class="form-control" name="period">
										<?php 
foreach ($grading->gradePeriod($sid) as $a) {
    ?>
										<?php 
    ?>
                                        <option value="<?php 
    echo $a['period'];
    ?>
">
											<?php 
    if ($a['period'] == 1) {
        echo 'Prelims';
    } elseif ($a['period'] == 2) {
        echo 'Midterms';
    } elseif ($a['period'] == 3) {
        echo 'Prefinals';
    } elseif ($a['period'] == 4) {