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();
}
Example #2
0
<?php

load_header();
?>

<?php 
if ($this->session->flashdata('timeoff')) {
    ?>
	<div class="notice ui-state-highlight ui-corner-all" style="margin-top: 20px; padding: 0 .7em;">
		<p><span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span><?php 
    echo $this->session->flashdata('timeoff');
    ?>
</p>
	</div>
<?php 
}
?>

<h1>My Timeoff requests <?php 
if (can_this_user('timeoff/new_timeoff_request')) {
    echo anchor('timeoff/new_timeoff_request', 'Add New', array('class' => 'button ui-helper-reset'));
}
?>
</h1>

<div class="ui-block wide">
	<h3><a href="#">My Recent Timeoff requests</a></h3>
	<div>
		<?php 
echo form_open(site_url('timeoff/my_timeoff_requests'), array('method' => 'get'));
?>
             }
         }
         //inserted post successfully
     } else {
         $errorMSG = $l_antiSpam;
         $correctErr = $backErrorLink;
         $title .= $l_antiSpam;
         echo load_header();
         echo ParseTpl(makeUp('main_warning'));
         return;
     }
 } else {
     $errorMSG = $l_forbidden;
     $correctErr = $backErrorLink;
     $title .= $l_forbidden;
     echo load_header();
     echo ParseTpl(makeUp('main_warning'));
     return;
 }
 if (isset($themeDesc) and in_array($topic, $themeDesc)) {
     $anchor = 1;
 } else {
     $totalPosts = db_simpleSelect(0, $Tt, 'posts_count', 'topic_id', '=', $topic);
     $vmax = $viewmaxreplys;
     $anchor = $totalPosts[0];
     if ($anchor > $vmax) {
         $anchor = $totalPosts[0] - floor($totalPosts[0] / $vmax) * $vmax;
         if ($anchor == 0) {
             $anchor = $vmax;
         }
     }
Example #4
0
<?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();
Example #5
0
<?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 2009 Bachelor Informatik, TU Dresden");
$module = array("mathe1" => array(15, "", "Einführung in die Mathematik für Informatiker"), "mathe2" => array(15, "", "Mathematische Methoden für Informatiker"), "aud" => array(6, "", "Algorithmen und Datenstrukturen"), "prog" => array(6, "", "Programmierung"), "lab" => array(4, "", "Einführungspraktikum"), "swt" => array(6, "", "Softwaretechnologie"), "bus" => array(7, "", "Betriebssysteme und Sicherheit"), "dbrn" => array(10, "", "Datenbanken und Rechnernetze"), "ikt" => array(5, "", "Informations- und Kodierungstheorie"), "fs" => array(8, "", "Formale Systeme"), "logik" => array(9, "", "Theoretische Informatik und Logik"), "is" => array(5, "", "Intelligente Systeme"), "ra" => array(10, "", "Rechnerarchitektur"), "tg" => array(10, "", "Technische Grundlagen und Hardwarepraktikum"), "soi" => array(6, "", "Systemorientierte Informatik / Hardware Software-Codesign"), "emi" => array(5, "", "Einführung in die Medieninformatik"), "ecg" => array(5, "", "Einführung in die Computergrafik"), "vert1" => array(12, "", "Vertiefung"), "vert2" => array(12, "", "Vertiefung zur Bachelor-Arbeit"), "aqua" => array(5, "", "Allgemeine Qualifikationen"), "bachelor" => array(52, "", "Bachelor-Arbeit und Kolloquium"));
calculate($_GET, $module);
show_table_head();
show_modules($module);
?>
<tr>
	<td>Softwaretechnologie-Projekt</td>
	<td><i>Keine Note.<br> Muss aber bestanden sein.</i></td>
</tr>
<?php 
echo 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 2004 Bakkalaureat Informatik, TU Dresden");
$module = array("fp1" => array(1, "", "Fachprüfung Informatik*"), "bakk" => array(2, "", "Bakkalaureatsarbeit"));
calculate($_GET, $module);
show_table_head();
show_modules($module);
?>
<tr>
	<td>Ergänzungsgebiet (4 SWS)</td>
	<td><i>Keine Note.<br> Muss aber bestanden sein.</i></td>
</tr>
<tr>
	<td>Komplexpraktikum</td>
	<td><i>Keine Note.<br> Muss aber bestanden sein.</i></td>
</tr>
<tr>
	<td>Allgemeine Kompetenz (4 SWS)</td>
	<td><i>Keine Note.<br> Muss aber bestanden sein.</i></td>
</tr>
<tr>
	<td>Fremdsprachenausbildung (4 SWS)</td>
	<td><i>Keine Note.<br> Muss aber bestanden sein.</i></td>
</tr>
<tr>
	<td colspan="2">* = Gebildet aus dem nach der ersten Kommastelle abgeschnittenen arithmetischen Mittel der Einzelleistungen.</td>
</tr>
<?php 
echo load_footer();
Example #7
0
<?php

// Disclaimer: Gebaut mit wenig bis keinem Wissen über PHP :-D
include_once "../ressourcen/lib.php";
echo load_header("Berechnung der Vordiplomsnote", "Für PO 2004 Diplom Medieninformatik, TU Dresden");
$module = array("mathe" => array(25, "", "Mathematik*"), "ra" => array(7, "", "Rechnerarchitektur und Organisation*"), "aud" => array(10, "", "Algorithmen, Datenstrukturen und Programmierung*"), "swt" => array(5, "", "Softwaretechnologie"), "bsdbrn" => array(17, "", "Praktische Informatik (Betriebssysteme, Datenbanken, Rechnernetze)*"), "emi" => array(4, "", "Einführung Medieninformatik"), "emg" => array(4, "", "Einführung Mediengestaltung"), "mums" => array(5, "", "Medien und Medienströme"), "logik" => array(5, "", "Logik"), "gthi" => array(7, "", "Grundlagen der Theoretischen Informatik"), "ikt" => array(4, "", "Informations- und Kodierungstheorie"), "nf" => array(7, "", "Nebenfach"));
calculate($_GET, $module);
show_table_head();
show_modules($module);
?>

<tr>
	<td>Mathematik I</td>
	<td><i>Keine Note.<br> Muss aber bestanden sein.</i></td>
</tr>
<tr>
	<td>Grundlagen der Gestaltung</td>
	<td><i>Keine Note.<br> Muss aber bestanden sein.</i></td>
</tr>
<tr>
	<td>Medienpsychologie und Mediendidaktik</td>
	<td><i>Keine Note.<br> Muss aber bestanden sein.</i></td>
</tr>
<tr>
	<td>Praktikum Programmierung</td>
	<td><i>Keine Note.<br> Muss aber bestanden sein.</i></td>
</tr>
<tr>
	<td>Praktikum Softwaretechnologie</td>
	<td><i>Keine Note.<br> Muss aber bestanden sein.</i></td>
</tr>
Example #8
0
<?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 2004 Diplom Informatik, TU Dresden");
$module = array("fp1" => array(1, "", "Fachprüfung Informatik I*"), "fp2" => array(1, "", "Fachprüfung Informatik II*"), "vert" => array(1, "", "Vertiefung"), "nf" => array(1, "", "Nebenfach"), "diplom" => array(2, "", "Diplomarbeit"));
calculate($_GET, $module);
show_table_head();
show_modules($module);
?>
<tr>
	<td>Komplexpraktikum</td>
	<td><i>Keine Note.<br> Muss aber bestanden sein.</i></td>
</tr>
<tr>
	<td>Praktikum</td>
	<td><i>Keine Note.<br> Muss aber bestanden sein.</i></td>
</tr>
<tr>
	<td>Hauptseminar</td>
	<td><i>Keine Note.<br> Muss aber bestanden sein.</i></td>
</tr>
<tr>
	<td>Großer Beleg</td>
	<td><i>Keine Note.<br> Muss aber bestanden sein.</i></td>
</tr>
<tr>
	<td>Allgemeine Kompetenz (4 SWS)</td>
	<td><i>Keine Note.<br> Muss aber bestanden sein.</i></td>
</tr>
<tr>
Example #9
0
<?php

// Disclaimer: Gebaut mit wenig bis keinem Wissen über PHP :-D
include_once "../ressourcen/lib.php";
echo load_header("Berechnung der Vordiplomsnote", "Für PO 2010 Diplom Informatik, TU Dresden");
$module = array("mathe1" => array(12, "", "Einführung in die Mathematik für Informatiker"), "mathe2" => array(12, "", "Mathematische Methoden für Informatiker"), "aud" => array(5, "", "Algorithmen und Datenstrukturen"), "prog" => array(5, "", "Programmierung"), "lab" => array(4, "", "Einführungs- und Programmierpraktikum"), "swt" => array(5, "", "Softwaretechnologie"), "bus" => array(7, "", "Betriebssysteme und Sicherheit"), "dbrn" => array(9, "", "Datenbanken und Rechnernetze"), "ikt" => array(4, "", "Informations- und Kodierungstheorie"), "fs" => array(8, "", "Formale Systeme"), "logik" => array(8, "", "Theoretische Informatik und Logik"), "is" => array(4, "", "Intelligente Systeme"), "ra" => array(10, "", "Rechnerarchitektur"), "tg" => array(9, "", "Technische Grundlagen und Hardwarepraktikum"), "soi" => array(4, "", "Systemorientierte Informatik / Hardware Software-Codesign"), "nf" => array(7, "", "Nebenfach"), "aqua" => array(5, "", "Allgemeine Basisqualifikationen"));
calculate($_GET, $module);
show_table_head();
show_modules($module);
?>
<tr>
	<td>Softwaretechnologie-Projekt</td>
	<td><i>Keine Note.<br> Muss aber bestanden sein.</i></td>
</tr>
<?php 
echo load_footer();