Esempio n. 1
0
    }
}
$zugangscode = $_SESSION['incoming/user'];
$nation = new nation();
if ($sprache == "German") {
    $nation->getAll($ohnesperre = true);
} else {
    if ($sprache == "English") {
        $nation->getAll($ohnesperre = true, $orderEnglish = true);
    }
}
$mobility = new mobilitaetsprogramm();
$mobility->getAll(true);
$person = new person();
$person->getPersonFromZugangscode($zugangscode);
$preincoming = new preincoming();
$preincoming->load($_SESSION['incoming/preincomingid']);
$adresse = new adresse();
$adresse->load_pers($preincoming->person_id);
$kontakt = new kontakt();
$kontakt->load_pers($preincoming->person_id);
$db = new basis_db();
$stsem = new studiensemester();
$stsem->getNextStudiensemester();
$stg = new studiengang();
$stg->getAll();
$date = new datum();
$firma = new firma();
$firma->getFirmen('Partneruniversität');
?>
<html>
			<td><input type="submit" value="Anzeigen"/></td>
<<<<<<< HEAD
=======
			<td width="100%" align="right"><a href="incoming_lehrveranstaltungen.php?method=lehrveranstaltungen" target="incoming_detail">Übersicht Lehrveranstaltungen</a></td>
>>>>>>> fee287127566cd5d18c55b556d178b661711c694
		</tr>
	</table>
</form>
';
if ($von != '') {
    $von = $datum_obj->formatDatum($von);
}
if ($bis != '') {
    $bis = $datum_obj->formatDatum($bis);
}
$inc = new preincoming();
if (!$inc->getPreincoming($filter, $aktiv, $von, $bis, $uebernommen)) {
    $message = '<span class="error">' . $inc->errormsg . '</span>';
}
echo $message;
$datum = new datum();
echo '
<table id="myTable" class="tablesorter">
	<thead>
		<tr>
			<th>ID</th>
			<th>Vorname</th>
			<th>Nachname</th>
			<th>Von</th>
			<th>Bis</th>
            <th>Registriert</th>
                    if (!$mail->send()) {
                        $message .= '<br /><span class="error">Fehler beim Senden des Mails</span>';
                    } else {
                        $message .= '<br /><span class="ok">Email an Assistenz gesendet</span>';
                    }
                } else {
                    $db->db_query('ROLLBACK');
                    $message .= '<span class="error">' . $errormsg . '</span>';
                }
            }
            break;
        default:
            break;
    }
}
$inc = new preincoming();
if (!$inc->load($preincoming_id)) {
    $message .= '<span class="error">' . $inc->errormsg . '</span>';
}
$person = new person();
if (!$person->load($inc->person_id)) {
    $message .= '<span class="error">' . $person->errormsg . '</span>';
}
echo '<h2>Details - ' . $person->vorname . ' ' . $person->nachname . '</h2>';
print_menu('Personendetails', 'personendetails');
echo ' | ';
print_menu('Dokumente', 'dokumente');
echo ' | ';
print_menu('Lehrveranstaltungen', 'lehrveranstaltungen');
echo ' | ';
print_menu('Ansprechpersonen', 'ansprechpersonen');