first commit
This commit is contained in:
526
admin/fehlender_standort_neu.php
Normal file
526
admin/fehlender_standort_neu.php
Normal file
@ -0,0 +1,526 @@
|
||||
<?php
|
||||
/*
|
||||
Alle Studenten des Jahrgangs und der Hochschule, die in Stan_antrag sind
|
||||
die noch keinen AG Standort gewählt haben, oder noch keine 3 Blöcke
|
||||
|
||||
|
||||
*/
|
||||
|
||||
|
||||
|
||||
$user_admin=$_COOKIE["user_admin"];
|
||||
$jahrgang=$_COOKIE["jahrgang"];
|
||||
$hs=$_COOKIE["ck_hs"];
|
||||
require("FCKeditor/fckeditor.php") ;
|
||||
|
||||
if ($jahrgang == ""){ require("jahrgang.php"); exit;} //Wenn man kein Jahrgang ausgewählt hat wird die Jahrgangsauswahlseite geladen
|
||||
include("kurs/datenbankanbindung.php"); // fügt die Datenbankanbindung ein: Sys:\php\includes\kurs\datenbankanbindung.php
|
||||
|
||||
// Rechteüberprüfung
|
||||
$db = dbconnect();
|
||||
if ($user_admin == ""){ require("index.php"); exit;} //Wenn man nicht angemeldet ist, darf man nicht auf die Seite
|
||||
$result = $db->query("SELECT 1 FROM stan_admin_rechte, stan_admin_rechte_zuord , stan_admin where stan_admin_rechte.stan_admin_rolle = stan_admin_rechte_zuord.stan_admin_rolle AND stan_admin_rechte_zuord.said = stan_admin.said AND stan_admin.user = '$user_admin' AND stan_admin_rechte_zuord.stan_admin_rolle = 'a_fehl_ag'");
|
||||
$row = $result->fetch_array();
|
||||
if ($row[0] != 1){ include("kurs/rechte.php"); exit;}
|
||||
// Rechteüberprüfung ende
|
||||
|
||||
if (isset($_GET['action']))
|
||||
$action = $_GET['action'];
|
||||
else
|
||||
$action = "";
|
||||
|
||||
switch($action){
|
||||
default:
|
||||
|
||||
if($hs =='K' or $hs =='k'){ //Empfängeradresse selektieren. Je nach Hochshule verschieden
|
||||
$hochschule = 'Kehl';
|
||||
}else{
|
||||
$hochschule = 'Ludwigsburg';
|
||||
}
|
||||
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>Fehlende Erstanträge</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
|
||||
<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\">Fehlende AG Standorte</font><br>
|
||||
<span class='sh'>Alle Studenten der Hochschule $hochschule, die bisher noch keine bzw. nicht alle AG-Standorte gewählt haben.</span>
|
||||
<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>
|
||||
|
||||
<table border=\"0\" cellpadding=\"4\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#E7E8ED\" width=\"100%\" id=\"AutoNumber1\">
|
||||
<tr>
|
||||
<td width=\"60%\" 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=\"left\"><b>Name</b></p>
|
||||
</td>
|
||||
<td width=\"20%\" 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>AG</b>
|
||||
</td>
|
||||
<td width=\"20%\" 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>Anzahl gewählt/von</b>
|
||||
</td>
|
||||
</tr>";
|
||||
$db = dbconnect();
|
||||
|
||||
$query = " SELECT distinct b.uid, b.vorname, b.nachname, b.mail, b.mtknr, b.ag, b.jahrgang
|
||||
FROM stan_antrag a, stud b
|
||||
WHERE a.uid=b.uid
|
||||
AND b.jahrgang='$jahrgang'
|
||||
AND b.hs='$hs'
|
||||
AND b.durchgefallen != 'Y'";
|
||||
|
||||
$result = $db->query($query)
|
||||
or die ("Cannot execute query1");
|
||||
while ($row = $result->fetch_array()){
|
||||
$result_anz_ist = $db->query("select count(distinct block) Anz
|
||||
from stan_ag_standort_wunsch d
|
||||
where block !=0
|
||||
and uid = '$row[uid]'");
|
||||
$row_anz_ist = $result_anz_ist->fetch_array();
|
||||
|
||||
if($row_anz_ist[Anz] < 3){
|
||||
echo "
|
||||
<tr>
|
||||
<td width=\"60%\" 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=\"left\">
|
||||
<a href='mailto:$row[mail]'>$row[nachname], $row[vorname] ($row[mtknr])</a>
|
||||
</td>
|
||||
<td width=\"20%\" 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\">
|
||||
$row[ag]/$row[jahrgang]
|
||||
</td>
|
||||
<td width=\"20%\" 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\">
|
||||
$row_anz_ist[Anz]/3
|
||||
</td>
|
||||
</tr>";
|
||||
}
|
||||
}
|
||||
echo "
|
||||
</table>
|
||||
</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>
|
||||
<p align='center'>
|
||||
<a href='$_SERVER[PHP_SELF]?action=mail'><img src=\"../images/mail.png\" border='0'></img></a>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>";
|
||||
$result_tmp1 = $db->query("DELETE FROM stan_tmp_check_data2 WHERE admin='$user_admin'");
|
||||
break;
|
||||
case "mail":
|
||||
$db = dbconnect();
|
||||
|
||||
$result_tmp1 = $db->query("DELETE FROM stan_tmp_check_data2 WHERE admin='$user_admin'");
|
||||
|
||||
|
||||
$result_tmp1 = $db->query("INSERT INTO stan_tmp_check_data2
|
||||
SELECT t1.saaid
|
||||
, t1.vert_bereich
|
||||
, t1.uid
|
||||
, t1.beginn
|
||||
, t1.ende
|
||||
, t1.dst_id
|
||||
, '$user_admin'
|
||||
FROM stan_antrag t1
|
||||
WHERE t1.status = (
|
||||
SELECT MAX(t2.status)
|
||||
FROM stan_antrag t2
|
||||
WHERE t1.aendid = t2.aendid
|
||||
AND t2.status !='2' #hinzugefügt am 10.06.2009, weil Status 2 angezeigt wurde
|
||||
)
|
||||
AND (t1.zuweisung is NULL OR t1.zuweisung='Z')
|
||||
");
|
||||
|
||||
|
||||
|
||||
$query = " SELECT distinct b.uid, b.vorname, b.nachname, b.mail, b.mtknr, b.ag, b.jahrgang
|
||||
FROM stan_antrag a, stud b
|
||||
WHERE a.uid=b.uid
|
||||
AND b.jahrgang='$jahrgang'
|
||||
AND b.hs='$hs'
|
||||
AND b.durchgefallen != 'Y'";
|
||||
|
||||
$result = $db->query($query)
|
||||
or die ("Cannot execute query1");
|
||||
while ($row = $result->fetch_array()){
|
||||
$result_anz_ist = $db->query("select count(distinct block) Anz
|
||||
from stan_ag_standort_wunsch d
|
||||
where block !=0
|
||||
and uid = '$row[uid]'");
|
||||
$row_anz_ist = $result_anz_ist->fetch_array();
|
||||
|
||||
if($row_anz_ist[Anz] < 3){
|
||||
$anzahl_pers = $anzahl_pers+1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
if($hs =='K' or $hs =='k'){ //Empfängeradresse selektieren. Je nach Hochshule verschieden
|
||||
$result3 = $db->query("SELECT wert2 FROM parameter WHERE pid=7");
|
||||
$row3 = $result3->fetch_array();
|
||||
$hochschule = 'Kehl';
|
||||
}else{
|
||||
$result3 = $db->query("SELECT wert2 FROM parameter WHERE pid=4");
|
||||
$row3 = $result3->fetch_array();
|
||||
$hochschule = 'Ludwigsburg';
|
||||
}
|
||||
$result_admin = $db->query("SELECT vorname, nachname FROM stan_admin WHERE user='$user_admin'");
|
||||
$row_admin = $result_admin->fetch_array();
|
||||
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 Stellenantrag</title>
|
||||
</head>
|
||||
<body onload=\"if(document.Mail)document.Mail.betreff.focus();return false;\">
|
||||
<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 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 Studenten</font><br>
|
||||
<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=\"text\" value='$row_admin[vorname] $row_admin[nachname]' id=\"sender\" size=\"66\"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"30%\" valign=\"top\"><b>Mail-Adresse Absender:</b></td>
|
||||
<td width=\"70%\" valign=\"top\"><input name=\"sendermail\" value='$row3[wert2]'type=\"text\" id=\"sendermail\" size=\"66\"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"30%\" valign=\"top\"> </td>
|
||||
<td width=\"70%\" valign=\"top\"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"30%\" valign=\"top\"><b>Mail-Adresse Empfänger:</b></td>
|
||||
<td width=\"70%\" valign=\"top\">Fehlende AG-Standorte - $anzahl_pers Person(en)";
|
||||
$db = dbconnect();
|
||||
// hidden Button Anfang
|
||||
$result = $db->query("SELECT distinct b.uid,mail, mail2
|
||||
FROM stan_tmp_check_data2 a, stud b
|
||||
WHERE a.uid=b.uid
|
||||
AND admin='$user_admin'
|
||||
AND hs='$hs'
|
||||
AND saaid NOT IN (SELECT saaid FROM stan_ag_standort_wunsch WHERE prio='1')
|
||||
AND jahrgang='$jahrgang'
|
||||
AND b.durchgefallen != 'Y'
|
||||
ORDER BY b.nachname asc");
|
||||
while ($row = $result->fetch_array()){ // While Schleife für hidden Button im Value (Vorgabewert) hidden, damit man nichts verändern kann
|
||||
$result_anz_ist = $db->query("select count(distinct block) Anz
|
||||
from stan_ag_standort_wunsch d
|
||||
where block !=0
|
||||
and uid = '$row[uid]'");
|
||||
$row_anz_ist = $result_anz_ist->fetch_array();
|
||||
|
||||
if($row_anz_ist[Anz] < 3){
|
||||
$empfaenger .= "$row[mail],";
|
||||
if($row[mail2] != ''){
|
||||
$empfaenger .= "$row[mail2],";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$empfaenger=substr($empfaenger, 0, -1); // Letztes Zeichen (das Komma) entfernen
|
||||
|
||||
|
||||
echo"
|
||||
<input type=\"hidden\" name=\"empfaenger\" id=\"empfaenger\" size=\"66\" value='$empfaenger'>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"30%\" valign=\"top\"> </td>
|
||||
<td width=\"70%\" valign=\"top\"> </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\">";
|
||||
$oFCKeditor = new FCKeditor('inhalt') ;
|
||||
$oFCKeditor->BasePath = './FCKeditor/';
|
||||
#$oFCKeditor->Value = 'Default text in editor';
|
||||
$oFCKeditor->ToolbarSet = 'Basic';
|
||||
$oFCKeditor->Width = '100%' ;
|
||||
$oFCKeditor->Height = '200' ;
|
||||
$oFCKeditor->Create() ;
|
||||
echo"
|
||||
|
||||
</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>";
|
||||
|
||||
#$result_tmp1 = $db->query("DELETE FROM stan_tmp_check_data2 WHERE admin='$user_admin'");
|
||||
break;
|
||||
case "ausgabe2":
|
||||
$mtknr=$_COOKIE["ck_mtknr1"];
|
||||
|
||||
$empfaenger = $_POST['empfaenger'];
|
||||
$betreff = $_POST['betreff'];
|
||||
$text = stripslashes( $_POST['inhalt'] );
|
||||
$sender = $_POST['sender'];
|
||||
$sendermail = $_POST['sendermail'];
|
||||
$kopie = $_POST['kopie'];
|
||||
// echo"$empfaenger<p>$betreff<p>$text<p>$sender<p>$sendermail";
|
||||
// Emailversand:
|
||||
if ($kopie)
|
||||
{
|
||||
$empfaenger .= ", $sendermail";
|
||||
}
|
||||
|
||||
|
||||
if($empfaenger == '' OR $betreff == '' OR $text == '' OR $sender == '' OR $sendermail == ''){
|
||||
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\">Pflichtfelder ausfüllen</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>Bitte füllen Sie alle Felder aus!</b>
|
||||
<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>";
|
||||
|
||||
}
|
||||
|
||||
|
||||
## Mailversand:
|
||||
$headers = "From: $sender <$sendermail>\r\n";
|
||||
$headers .= "MIME-Version: 1.0\r\n";
|
||||
$headers .= "Content-type: text/html; charset=utf-8\r\n";
|
||||
$headers .= "Bcc: $empfaenger\n";
|
||||
$return = @mail(NULL, $betreff, $text, $headers);
|
||||
|
||||
|
||||
// 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=\"fehlende_ant.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>
|
||||
<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
|
||||
?>
|
Reference in New Issue
Block a user