$studiengang->load($student->studiengang_kz);
 $preoutgoingFirma = new preoutgoing();
 $preoutgoingFirma->loadAuswahl($preoutgoing_id);
 $preoutgoing_firma = $preoutgoingFirma->firma_id;
 $prestudent->getLastStatus($student->prestudent_id);
 $firma = new firma();
 $nation = new nation();
 if ($preoutgoing_firma != '') {
     $standort = new standort();
     $adresse = new adresse();
     $firma->load($preoutgoing_firma);
     $standort->load_firma($firma->firma_id);
     $adresse->load($standort->adresse_id);
     $nation->load($adresse->nation);
 }
 $preoutgoingLv = new preoutgoing();
 $preoutgoingLv->loadLvs($preoutgoing_id);
 echo '<?xml version="1.0" encoding="UTF-8" standalone="yes"?> ';
 echo '<learningagreement_outgoing>';
 echo '  <outgoing>';
 echo '      <vorname><![CDATA[' . $benutzer->vorname . ']]></vorname>';
 echo '      <nachname><![CDATA[' . $benutzer->nachname . ']]></nachname>';
 echo '      <titel_pre><![CDATA[' . $benutzer->titelpre . ']]></titel_pre>';
 echo '      <titel_post><![CDATA[' . $benutzer->titelpost . ']]></titel_post>';
 echo '      <email><![CDATA[' . $benutzer->uid . '@' . DOMAIN . ']]></email>';
 echo '      <sending_institution>FH Technikum Wien</sending_institution>';
 echo '      <sending_institution_nation>Austria</sending_institution_nation>';
 echo '      <studiengang><![CDATA[' . $studiengang->english . ']]></studiengang>';
 echo '      <receiving_institution><![CDATA[' . $firma->name . ']]></receiving_institution>';
 echo '      <receiving_institution_nation><![CDATA[' . $nation->engltext . ']]></receiving_institution_nation>';
 echo '      <semester><![CDATA[' . $student->semester . ']]></semester>';
Ejemplo n.º 2
0
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
 *
 * Authors: Karl Burkhart <*****@*****.**>
 * 
 */
require_once '../../../config/cis.config.inc.php';
require_once '../../../include/preoutgoing.class.php';
require_once '../../../include/functions.inc.php';
require_once '../../../include/phrasen.class.php';
$uid = get_uid();
$sprache = getSprache();
$p = new phrasen($sprache);
$outgoing = new preoutgoing();
if ($outgoing->loadUid($uid)) {
    header("Location: outgoing.php?ansicht=auswahl");
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
		<title><?php 
echo $p->t('incoming/outgoingRegistration');
?>
</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <link href="../../../skin/style.css.php" rel="stylesheet" type="text/css">
	</head>
	<body>
Ejemplo n.º 3
0
function sendMailAssistenz($uid)
{
    $student = new student();
    $student->load($uid);
    $studiengang = new studiengang();
    $studiengang->load($student->studiengang_kz);
    $out = new preoutgoing();
    $out->loadUid($uid);
    $out_auswahl = new preoutgoing();
    $out_auswahl->loadAuswahl($out->preoutgoing_id);
    $mob = new mobilitaetsprogramm();
    $mob->load($out_auswahl->mobilitaetsprogramm_code);
    $firm = new firma();
    $firm->load($out_auswahl->firma_id);
    $emailtext = "Dies ist eine automatisch generierte E-Mail.<br><br>";
    $emailtext .= "Ein Student ist für den Aufenthalt im Ausland gemeldet.<br>";
    $emailtext .= "Uid: " . $student->uid . "<br>";
    $emailtext .= "Name: " . $student->vorname . " " . $student->nachname . "<br>";
    $emailtext .= "Zeitraum-Von: " . $out->dauer_von . "<br>";
    $emailtext .= "Zeitraum-Bis: " . $out->dauer_bis . "<br>";
    $emailtext .= "Mobilitätsprogramm: " . $mob->kurzbz . "<br>";
    $emailtext .= "Universität: " . $firm->name . "<br>";
    $mail = new mail($studiengang->email, 'no-reply', 'New Outgoing', 'Bitte sehen Sie sich die Nachricht in HTML Sicht an, um den Link vollständig darzustellen.');
    $mail->setHTMLContent($emailtext);
    $mail->send();
}
			<td>Name: </td>
			<td><input type="text" name="filter_name" value="' . $filter . '"></td>
            <td>Status: </td>';
$preoutgoing = new preoutgoing();
$preoutgoing->getAllStatiKurzbz();
echo '<td><SELECT name="select_status">
        <option value="">-- alle -- </option>';
foreach ($preoutgoing->stati as $status_filter) {
    $selected = '';
    if ($status_filter->preoutgoing_status_kurzbz == $status) {
        $selected = 'selected';
    }
    echo '<option value="' . $status_filter->preoutgoing_status_kurzbz . '" ' . $selected . '>' . $status_filter->preoutgoing_status_kurzbz . '</option>';
}
echo '</SELECT></td>';
$aktOutgoing = new preoutgoing();
$aktOutgoing->getAktuellOutgoing();
$mailto_link = 'mailto:';
foreach ($aktOutgoing->result as $outg) {
    $mailto_link .= $outg->uid . '@' . DOMAIN . ';';
}
echo '     <td>&nbsp;<input type="submit" value="Anzeigen"/></td></tr>
      <tr><td colspan="6"><a href="' . $mailto_link . '">Email</a> an alle zur Zeit im Ausland befindlichen Studenten senden</td>
		</tr>
	</table>
</form>';
echo $message;
echo '
<table id="myTable" class="tablesorter">
	<thead>
		<tr>