first commit
This commit is contained in:
472
doz/mail_fach_doz.php
Executable file
472
doz/mail_fach_doz.php
Executable file
@ -0,0 +1,472 @@
|
||||
<?php
|
||||
include("kurs/datenbankanbindung.php"); // fügt die Datenbankanbindung ein: Sys:\php\includes\kurs\datenbankanbindung.php
|
||||
|
||||
$db = dbconnect();
|
||||
$ansp = $db->query("SELECT wert1, wert2 FROM parameter WHERE pid='2'");
|
||||
$uhd = $ansp->fetch_array();
|
||||
$ansprechpart = "$uhd[wert1]"; // Ansprechpartner bei Probleme
|
||||
$helpmail = "$uhd[wert2]"; // Kontaktmailadresse bei Problemen
|
||||
$subject = "Mailfehler: Mail an Fachprojekt - Dozentenbereich";
|
||||
|
||||
$jahrgang=$_COOKIE["jahrgang"];
|
||||
$doz_uid1=$_COOKIE["doz_uid1"];
|
||||
|
||||
if ($doz_uid1 == ""){ include("kurs/anmeldefehler_subdir.php"); exit;} //Wenn man nicht angemeldet ist soll man nichts auswählen können
|
||||
if ($jahrgang == ""){ require("jahrgang_doz.php"); exit;} //Wenn man nicht angemeldet ist soll man nichts auswählen können
|
||||
|
||||
// ÜBerprüfung, ob die Anmeldefrist überschritten ist
|
||||
$heute = mktime(0, 0, 0, date("m"), date("d"), date("Y")); // heutiges Datum
|
||||
$heute_format = date("Y-m-d", $heute); // ISO-8601 Format wie in der Datenbank: Formatierung für Vergleiche erforderlich
|
||||
|
||||
$anm_schluss = $db->query("SELECT DATE_Format(fachprojekt_einsicht, '%Y-%m-%d')AS datum, DATE_Format(fachprojekt_einsicht, '%d.%m.%Y')AS einsicht1 FROM fach_ende where jahrgang=\"$jahrgang\"");
|
||||
$row_schluss = $anm_schluss->fetch_array(); // Herausfinden des Beginndatums des vom Studenten gewählten Kurses
|
||||
|
||||
$a = strtotime ($heute_format); //Umrechnung des Fristgrenztages in eine Zahl
|
||||
$b = strtotime ($row_schluss[datum]); // Umrechnung des Beginndatums in eine Zahl
|
||||
|
||||
if ($a < $b){
|
||||
echo "
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">
|
||||
<link rel=\"stylesheet\" href=\"../styles_pc.css\" type=\"text/css\">
|
||||
<title>Zugang gesperrt</title>
|
||||
</head>
|
||||
<body>
|
||||
<table border=\"0\" style=\"border-collapse: collapse\" width=\"100%\" cellpadding=\"0\" height=\"100%\" id=\"table1\">
|
||||
<tr>
|
||||
<td>
|
||||
<div align=\"center\">
|
||||
<table cellspacing=\"0\" cellpadding=\"0\" width=\"550\" border=\"0\">
|
||||
<tr>
|
||||
<td width=\"10\" background=\"../images/box_e1.gif\">
|
||||
<img height=\"40\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"3%\" background=\"../images/box_top.gif\" valign=\"top\"></td>
|
||||
<td width=\"95%\" background=\"../images/box_top.gif\">
|
||||
<img height=\"10\" src=\"../images/blank.gif\" width=\"1\"><br>
|
||||
<span class=\"sh\">Zugang gesperrt</span><br>
|
||||
<img height=\"5\" src=\"../images/blank.gif\" width=\"1\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../images/box_e2.gif\">
|
||||
<img height=\"40\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"1%\" background=\"../images/box_l.gif\">
|
||||
<img height=\"1\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||
<td colspan=\"2\"><br>
|
||||
<p align=\"center\"><b>Mails an das Fachprojekt ist nicht vor<br>$row_schluss[einsicht1]<br>möglich!</b>
|
||||
</p>
|
||||
<p align=\"center\"><a href=\"hauptframe_jahr.php\">
|
||||
<img border=\"0\" src=\"../images/zurueck.gif\" width=\"77\" height=\"22\"></a><br>
|
||||
</p>
|
||||
<p></p>
|
||||
<p></p>
|
||||
<p></p>
|
||||
<p></p>
|
||||
<p><br>
|
||||
</p>
|
||||
</td>
|
||||
<td width=\"1%\" background=\"../images/box_r.gif\">
|
||||
<img height=\"1\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"../images/box_e3.gif\">
|
||||
<img height=\"16\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"../images/box_bottom.gif\" colspan=\"2\">
|
||||
<img height=\"16\" src=\"../images/blank.gif\" width=\"8\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../images/box_e4.gif\">
|
||||
<img height=\"16\" src=\"../images/blank.gif\" width=\"22\"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>";
|
||||
exit;
|
||||
} // Ende Überprüfung der Zeitüberschreitung
|
||||
|
||||
|
||||
if (isset($_GET['action']))
|
||||
$action = $_GET['action'];
|
||||
else
|
||||
$action = "";
|
||||
|
||||
switch($action){
|
||||
default:
|
||||
|
||||
|
||||
echo"
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">
|
||||
<link rel=\"stylesheet\" href=\"../styles_pc.css\" type=\"text/css\">
|
||||
<title>Mail an Fachprojekt</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<table border=\"0\" style=\"border-collapse: collapse\" width=\"100%\" cellpadding=\"0\" height=\"100%\" id=\"table1\">
|
||||
<tr>
|
||||
<td>
|
||||
<div align=\"center\">
|
||||
<table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" border=\"0\">
|
||||
<tr>
|
||||
<td width=\"10\" background=\"../images/box_e1.gif\">
|
||||
<img height=\"40\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"../images/box_top.gif\" valign=\"top\">
|
||||
<img height=\"10\" src=\"../images/blank.gif\" width=\"1\"><br>
|
||||
<font class=\"hd\">Mail an Fachprojekt</font><br>
|
||||
<img height=\"5\" src=\"../images/blank.gif\" width=\"1\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../images/box_e2.gif\">
|
||||
<img height=\"40\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"1%\" background=\"../images/box_l.gif\">
|
||||
<img height=\"1\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||
<td>
|
||||
<form action="; echo $_SERVER['PHP_SELF'] . "?action=ausgabe1"; echo" method=\"POST\" name=\"Mail\">
|
||||
<table border=\"0\" cellpadding=\"4\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#E7E8ED\" width=\"100%\">
|
||||
<tr>
|
||||
<td width=\"8%\" rowspan=\"2\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<p align=\"center\"><b>FPRNr</b></p>
|
||||
</td>
|
||||
<td width=\"56%\" rowspan=\"2\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<b>
|
||||
<p>Bezeichnung</p>
|
||||
</b></td>
|
||||
<td width=\"24%\" style=\"border-top-color: #111111; border-top-width: 1; border-bottom-style: none; border-bottom-width: medium; border-right-style:none; border-right-width:medium\">
|
||||
<b>
|
||||
<p align=\"center\">Teilnehmer</p>
|
||||
</b></td>
|
||||
<td width=\"12%\" align=\"center\" rowspan=\"2\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<b>Auswahl</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"24%\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<p align=\"center\"><b>Ist / Max </b></p>
|
||||
</td>
|
||||
</tr>";
|
||||
$db = dbconnect();
|
||||
$sel_doznr = $db->query("SELECT doz_nr FROM doz where doz_uid=\"$doz_uid1\"");
|
||||
$doz_nr = $sel_doznr->fetch_array();
|
||||
$sel_id = "SELECT id FROM fach_doz where doz_nr=\"$doz_nr[0]\""; // ID herausfinden übr doz_nr
|
||||
$id = $db->query($sel_id)
|
||||
or die ("Cannot execute ID");
|
||||
While ($row_id = $id->fetch_array()){ //Schleife1 diverse IDs durchlaufen
|
||||
$query = "SELECT id, FPRNr, Bezeichnung, TN_max FROM fachprojekt where Jahr=\"$jahrgang\" and id=\"$row_id[id]\" order by FPRNr asc";
|
||||
$result = $db->query($query)
|
||||
or die ("Cannot execute query");
|
||||
while ($row = $result->fetch_array()){ // Schleife2 Bezeichnung usw. anahnd der gelscheiften ID ausgeben
|
||||
if ( $res=$db->query("SELECT COUNT( * )
|
||||
FROM fach_wunsch, stud
|
||||
WHERE id =$row[id]
|
||||
AND Prioritaet = '0'
|
||||
AND fach_wunsch.uid = stud.uid
|
||||
AND stud.durchgefallen !='Y'") ){
|
||||
if ( $row1=$res->fetch_array() ) {
|
||||
$result_ist=$row1[0];
|
||||
} else $result_ist=0;
|
||||
} else $result_ist=0;
|
||||
|
||||
echo "
|
||||
<tr>
|
||||
<td width=\"8%\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<p align=\"center\">$row[FPRNr]</p>
|
||||
</td>
|
||||
<td width=\"56%\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<p>$row[Bezeichnung]<span class=\"bemerkung\"><br>
|
||||
$row[bemerkung]</span></p>
|
||||
</td>
|
||||
<td width=\"24%\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<p align=\"center\">$result_ist /
|
||||
$row[TN_max]</p>
|
||||
</td>
|
||||
<td width=\"12%\" align=\"center\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<p>
|
||||
<input type=\"radio\" value=\"$row[id]\" name=\"ausw_ausg\" size=\"20\">
|
||||
</td>
|
||||
</tr>";
|
||||
} // Ende Schleife2
|
||||
} // Ende Schleife1
|
||||
echo "
|
||||
</table>
|
||||
<br>
|
||||
<input type=\"submit\" value=\"Abschicken\" name=\"B1\" size=\"20\"></p>
|
||||
</form>
|
||||
</td>
|
||||
<td width=\"1%\" background=\"../images/box_r.gif\">
|
||||
<img height=\"1\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"../images/box_e3.gif\">
|
||||
<img height=\"16\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"../images/box_bottom.gif\">
|
||||
<img height=\"16\" src=\"../images/blank.gif\" width=\"8\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../images/box_e4.gif\">
|
||||
<img height=\"16\" src=\"../images/blank.gif\" width=\"22\"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
|
||||
</html>";
|
||||
|
||||
break;
|
||||
case "ausgabe1":
|
||||
|
||||
$db = dbconnect();
|
||||
$sel_fach = $db->query("SELECT Bezeichnung FROM fachprojekt where id=\"". $_POST['ausw_ausg']."\""); // ausw_ausg = wpf.id
|
||||
$fach = $sel_fach->fetch_array();
|
||||
|
||||
$sel_versand = $db->query("SELECT doz_vorname, doz_name, doz_mail FROM doz where doz_uid=\"$doz_uid1\""); // ausw_ausg = fachprojekt.id
|
||||
$versand = $sel_versand->fetch_array();
|
||||
|
||||
$name = $versand[doz_vorname]." ".$versand[doz_name]; //Name zusammensetzen und in der Variablen speichern
|
||||
echo "
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">
|
||||
<link rel=\"stylesheet\" href=\"../styles_pc.css\" type=\"text/css\">
|
||||
<title>Mail an Fachprojekt</title>
|
||||
</head>
|
||||
<body onload=\"if(document.Mail)document.Mail.betreff.focus();return false;\">
|
||||
<table border=\"0\" style=\"border-collapse: collapse\" width=\"100%\" cellpadding=\"4\" height=\"100%\" id=\"table1\">
|
||||
<tr>
|
||||
<td>
|
||||
<div align=\"center\">
|
||||
<table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" border=\"0\">
|
||||
<tr>
|
||||
<td align=\"left\" width=\"1%\" width=\"10\" background=\"../images/box_e1.gif\">
|
||||
<img height=\"40\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||
<td align=\"left\" width=\"98%\" background=\"../images/box_top.gif\" valign=\"top\" colspan=\"2\">
|
||||
<img height=\"10\" src=\"../images/blank.gif\" width=\"1\"><br>
|
||||
<font class=\"hd\">Mail an Fachprojekt</font><br>
|
||||
<span class=\"sh\">Fach: $fach[Bezeichnung]</span>
|
||||
<img height=\"5\" src=\"../images/blank.gif\" width=\"1\"></td>
|
||||
<td align=\"right\" width=\"1%\" background=\"../images/box_e2.gif\">
|
||||
<img height=\"40\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"1%\" background=\"../images/box_l.gif\">
|
||||
<img height=\"1\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||
<td colspan=\"2\">
|
||||
<form method=POST action=$_SERVER[PHP_SELF]?action=ausgabe2 name=Mail>
|
||||
<table width=\"100%\" border=\"0\">
|
||||
<tr>
|
||||
<td width=\"30%\" valign=\"top\"><b>Absender:</b></td>
|
||||
<td width=\"70%\" valign=\"top\"><input name=\"sender\" type=\"hidden\" id=\"sender\" size=\"80\" value=\"$name\">$name</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"30%\" valign=\"top\"><b>Mail-Adresse Absender:</b></td>
|
||||
<td width=\"70%\" valign=\"top\"><input name=\"sendermail\" type=\"hidden\" id=\"sendermail\" size=\"80\" value=\"$versand[doz_mail]\">$versand[doz_mail]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"30%\" valign=\"top\"><b>Mail-Adresse Empfänger:</b></td>
|
||||
<td width=\"70%\" valign=\"top\">";
|
||||
$db = dbconnect();
|
||||
|
||||
// hidden Button Anfang
|
||||
$result = $db->query("SELECT stud.uid from fach_wunsch, stud where id=\"". $_POST['ausw_ausg']."\" and Prioritaet=\"0\" AND fach_wunsch.uid=stud.uid AND stud.durchgefallen !='Y' order by uid"); // $result= Alle Studenten, die das ausgewählte Fachprojekt belegt haben
|
||||
echo"<input type=\"hidden\" name=\"empfaenger\" id=\"empfaenger\" size=\"66\" value=\"";
|
||||
while ($row = $result->fetch_array()){ // While Schleife für hidden Button im Value (Vorgabewert) hidden, damit man nichts verändern kann
|
||||
$select = $db->query("SELECT mail
|
||||
FROM stud
|
||||
WHERE uid=\"$row[uid]\"
|
||||
AND durchgefallen!=\"Y\"
|
||||
ORDER BY Nachname ASC");
|
||||
$res_ausg = $select->fetch_array();
|
||||
echo"$res_ausg[mail], ";}
|
||||
echo"\">";
|
||||
// hidden Button Ende
|
||||
|
||||
// Ausgabe der Mailadressen Anfang
|
||||
$result = $db->query("SELECT stud.uid from fach_wunsch, stud where id=\"". $_POST['ausw_ausg']."\" and Prioritaet=\"0\" AND fach_wunsch.uid=stud.uid AND stud.durchgefallen !='Y' order by uid"); // $result= Alle Studenten, die das ausgewählte Fachprojekt belegt haben
|
||||
while ($row = $result->fetch_array()){ // While Schleife für Ausgabe, damit man sieht an welche Adressen die Mails gehen
|
||||
$select = $db->query("SELECT mail
|
||||
FROM stud
|
||||
WHERE uid=\"$row[uid]\"
|
||||
AND durchgefallen!=\"Y\"
|
||||
ORDER BY Nachname ASC");
|
||||
$res_ausg = $select->fetch_array();
|
||||
echo"$res_ausg[mail], ";}
|
||||
// Ausgabe Ende
|
||||
|
||||
|
||||
echo"
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"30%\" valign=\"top\"><b>Betreff:</b></td>
|
||||
<td width=\"70%\" valign=\"top\"><input name=\"betreff\" type=\"text\" id=\"betreff\" size=\"66\"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"30%\" valign=\"top\"><b>Nachricht:</b></td>
|
||||
<td width=\"70%\" valign=\"top\"><textarea name=\"text\" cols=\"50\" rows=\"10\" id=\"text\"></textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"30%\" valign=\"top\"> </td>
|
||||
<td width=\"70%\" valign=\"top\"><input type=checkbox NAME=\"kopie\">Kopie der Mail erhalten</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<input type=\"submit\" value=\"Abschicken\" name=\"B1\" size=\"20\">
|
||||
</form>
|
||||
</td>
|
||||
<td width=\"1%\" background=\"../images/box_r.gif\">
|
||||
<img height=\"1\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"../images/box_e3.gif\">
|
||||
<img height=\"16\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"../images/box_bottom.gif\" colspan=\"2\">
|
||||
<img height=\"16\" src=\"../images/blank.gif\" width=\"8\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../images/box_e4.gif\">
|
||||
<img height=\"16\" src=\"../images/blank.gif\" width=\"22\"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>";
|
||||
|
||||
break;
|
||||
case "ausgabe2":
|
||||
$empfaenger = $_POST['empfaenger'];
|
||||
$betreff = $_POST['betreff'];
|
||||
$text = $_POST['text'];
|
||||
$sender = $_POST['sender'];
|
||||
$sendermail = $_POST['sendermail'];
|
||||
$kopie = $_POST['kopie'];
|
||||
// echo"$empfaenger<p>$betreff<p>$text<p>$sender<p>$sendermail";
|
||||
// Emailversand:
|
||||
if ($kopie)
|
||||
{
|
||||
$empfaenger .= $sendermail;
|
||||
}
|
||||
|
||||
$return = @mail($empfaenger, $betreff, $text,
|
||||
"From: $sender <$sendermail>");
|
||||
|
||||
// Bestätigungsseite
|
||||
|
||||
if ($return)
|
||||
{
|
||||
echo"
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">
|
||||
<link rel=\"stylesheet\" href=\"../styles_pc.css\" type=\"text/css\">
|
||||
<title>Mailversand</title>
|
||||
</head>
|
||||
<body>
|
||||
<table border=\"0\" style=\"border-collapse: collapse\" width=\"100%\" cellpadding=\"0\" height=\"100%\" id=\"table1\">
|
||||
<tr>
|
||||
<td>
|
||||
<div align=\"center\">
|
||||
<table cellspacing=\"0\" cellpadding=\"0\" width=\"550\" border=\"0\">
|
||||
<tr>
|
||||
<td width=\"10\" background=\"../images/box_e1.gif\">
|
||||
<img height=\"40\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"3%\" background=\"../images/box_top.gif\" valign=\"top\"></td>
|
||||
<td width=\"95%\" background=\"../images/box_top.gif\">
|
||||
<img height=\"10\" src=\"../images/blank.gif\" width=\"1\"><br>
|
||||
<font class=\"hd\">Mailversand erfolgreich</font><br>
|
||||
<img height=\"5\" src=\"../images/blank.gif\" width=\"1\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../images/box_e2.gif\">
|
||||
<img height=\"40\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"1%\" background=\"../images/box_l.gif\">
|
||||
<img height=\"1\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||
<td colspan=\"2\"><br><p align=\"center\"><b>Die E-Mail wurde verschickt!</b>
|
||||
<p></p>
|
||||
<p></p>
|
||||
<p align=\"center\"><a href=\"hauptframe_jahr.php\">
|
||||
<img border=\"0\" src=\"../images/zurueck.gif\" width=\"77\" height=\"22\"></a><br>
|
||||
</td>
|
||||
<td width=\"1%\" background=\"../images/box_r.gif\">
|
||||
<img height=\"1\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"../images/box_e3.gif\">
|
||||
<img height=\"16\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"../images/box_bottom.gif\" colspan=\"2\">
|
||||
<img height=\"16\" src=\"../images/blank.gif\" width=\"8\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../images/box_e4.gif\">
|
||||
<img height=\"16\" src=\"../images/blank.gif\" width=\"22\"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>";
|
||||
} else {
|
||||
echo"
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">
|
||||
<link rel=\"stylesheet\" href=\"../styles_pc.css\" type=\"text/css\">
|
||||
<title>Mailversand</title>
|
||||
</head>
|
||||
<body>
|
||||
<table border=\"0\" style=\"border-collapse: collapse\" width=\"100%\" cellpadding=\"0\" height=\"100%\" id=\"table1\">
|
||||
<tr>
|
||||
<td>
|
||||
<div align=\"center\">
|
||||
<table cellspacing=\"0\" cellpadding=\"0\" width=\"550\" border=\"0\">
|
||||
<tr>
|
||||
<td width=\"10\" background=\"../images/box_e1.gif\">
|
||||
<img height=\"40\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"3%\" background=\"../images/box_top.gif\" valign=\"top\"></td>
|
||||
<td width=\"95%\" background=\"../images/box_top.gif\">
|
||||
<img height=\"10\" src=\"../images/blank.gif\" width=\"1\"><br>
|
||||
<font class=\"hd\">Mailversand fehlgeschlagen</font><br>
|
||||
<img height=\"5\" src=\"../images/blank.gif\" width=\"1\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../images/box_e2.gif\">
|
||||
<img height=\"40\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"1%\" background=\"../images/box_l.gif\">
|
||||
<img height=\"1\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||
<td colspan=\"2\"><br><p align=\"center\">Die E-Mail wurde <b>nicht</b> verschickt!<br>
|
||||
Eine oder mehrere Mailadressen innerhalb des Empfängerkreises sind ungültig!<br>
|
||||
<br>
|
||||
Bei Fragen wenden Sie sich bitte an <a href=\"mailto:$helpmail?subject=$subject\">$ansprechpart</a>
|
||||
<p></p>
|
||||
<p></p>
|
||||
<p align=\"center\"><a href=\"javascript:history.back()\">
|
||||
<img border=\"0\" src=\"../images/zurueck.gif\" width=\"77\" height=\"22\"></a><br>
|
||||
</td>
|
||||
<td width=\"1%\" background=\"../images/box_r.gif\">
|
||||
<img height=\"1\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"../images/box_e3.gif\">
|
||||
<img height=\"16\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"../images/box_bottom.gif\" colspan=\"2\">
|
||||
<img height=\"16\" src=\"../images/blank.gif\" width=\"8\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../images/box_e4.gif\">
|
||||
<img height=\"16\" src=\"../images/blank.gif\" width=\"22\"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>";
|
||||
} //End if
|
||||
|
||||
} //Ende Action Abfrage
|
||||
?>
|
Reference in New Issue
Block a user