function view($data = array()) { $CI =& get_instance(); head($data); if (isset($data['header'])) { load_header($data); } if (isset($data['body'])) { $CI->load->view($data['body']); } if (isset($data['footer'])) { load_footer($data); } closing_html(); }
</tr> <?php } } else { ?> <tr class="ui-helper-reset"> <td colspan="6"> <h2><?php echo $this->config->item('empty_message'); ?> </h2> </td> </tr> <?php } ?> </tbody> </table> <?php echo $this->pagination->create_links(); ?> <?php echo form_close(); ?> </div> </div> <?php load_footer();
<?php // Disclaimer: Gebaut mit wenig bis keinem Wissen über PHP :-D include_once "../ressourcen/lib.php"; echo load_header("Berechnung der Abschlussnote", "Für PO 2010 Master Informatik, TU Dresden"); $module = array("bas1" => array(12, "", "Basismodul 1"), "bas2" => array(12, "", "Basismodul 2"), "bas3" => array(12, "", "Basismodul 3"), "vert" => array(15, "", "Vertiefungsmodul"), "profil" => array(12, "", "Profilmodul 2"), "praktikum" => array(12, "", "Vertieftes Master-Praktikum"), "aqua" => array(6, "", "Allgemeine Qualifikation"), "master" => array(60, "", "Master-Arbeit und Verteidigung")); calculate($_GET, $module); show_table_head(); show_modules($module); ?> <tr> <td>Profilmodul 1</td> <td><i>Keine Note.<br> Muss aber bestanden sein.</i></td> </tr> <?php echo load_footer();