1132 lines
52 KiB
PHP
Executable File
1132 lines
52 KiB
PHP
Executable File
<?PHP
|
|
|
|
include("aespa/datenbankanbindung.php"); // fü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ählen können
|
|
$uid1=$_COOKIE["uid1"];
|
|
|
|
|
|
if (isset($_GET['action']))
|
|
$action = $_GET['action'];
|
|
else
|
|
$action = "";
|
|
|
|
switch($action){
|
|
default:
|
|
|
|
$db = dbconnect();
|
|
$result3 = $db->query("SELECT kontinent
|
|
, land
|
|
, stadt
|
|
, adresse
|
|
, ansprechpartner
|
|
, abteilung
|
|
FROM aesp_bewerbung
|
|
WHERE uid='$uid1'");
|
|
$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>
|
|
<p align='center'> </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='$uid1'";
|
|
#exit;
|
|
$result = $db->query("SELECT vorname, nachname, ag, jahrgang, postrasse, poplz, poort, mail2 FROM kurs.stud WHERE uid='$uid1'");
|
|
$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'>
|
|
<br>
|
|
Vorname
|
|
</td>
|
|
<td width='82%' colspan='3' style='border-right-style: solid; border-right-width: 2px'>
|
|
<p style='margin-left: 3px; margin-right: 3px'>
|
|
<br>
|
|
$row[vorname]
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
|
|
<p style='margin-left: 3px; margin-right: 3px'>
|
|
Nachname
|
|
</td>
|
|
<td width='82%' colspan='3' style='border-right-style: solid; border-right-width: 2px'>
|
|
<p style='margin-left: 3px; margin-right: 3px'>
|
|
$row[nachname]
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
|
|
<p style='margin-left: 3px; margin-right: 3px'>
|
|
AG
|
|
</td>
|
|
<td width='82%' colspan='3' style='border-right-style: solid; border-right-width: 2px'>
|
|
<p style='margin-left: 3px; margin-right: 3px'>
|
|
$row[ag] / $row[jahrgang]
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
|
|
<p style='margin-left: 3px; margin-right: 3px'>
|
|
Strasse, Nr. </td>
|
|
<td width='82%' colspan='3' style='border-right-style: solid; border-right-width: 2px'>
|
|
<p style='margin-left: 3px; margin-right: 3px'>
|
|
$row[postrasse]
|
|
</tr>
|
|
<tr>
|
|
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
|
|
<p style='margin-left: 3px; margin-right: 3px'>
|
|
PLZ, Ort </td>
|
|
<td width='82%' colspan='3' style='border-right-style: solid; border-right-width: 2px'>
|
|
<p style='margin-left: 3px; margin-right: 3px'>
|
|
$row[poplz] $row[poort]
|
|
</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'>
|
|
<input type='text' name='mail' value='$row[mail2]' size='80'>
|
|
</td>
|
|
</tr>";
|
|
$result_einver = $db->query("SELECT einverst FROM aesp_pers_ang WHERE uid='$uid1'");
|
|
$row_einver = $result_einver->fetch_array();
|
|
echo"
|
|
<tr>
|
|
<td width='17%' style='border-left-style: solid; border-left-width: 2px'>
|
|
<p style='margin-left: 3px; margin-right: 3px'>
|
|
</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='Y'"; if($row_einver[einverst] == 'Y'){ echo " checked "; } echo">
|
|
Ich bin damit einverstanden, dass meine <u>Emailadresse</u> für eventuelle Nachfragen veröffentlicht wird.
|
|
</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'> </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'>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<p style='margin-left: 3px; margin-right: 3px'> </div>
|
|
<div align='center'>";
|
|
|
|
|
|
|
|
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>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();
|
|
|
|
$query2 = "SELECT kid, kontinent FROM aesp_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 </option>\n";
|
|
while ($row2 = $result2->fetch_array()){
|
|
echo "<option value='$row2[kid]'";if($row2[kid] == $row3[kontinent]){echo " selected";} echo">".$row2['kontinent']." </option>\n";
|
|
}
|
|
echo"
|
|
|
|
</td>
|
|
</tr>
|
|
<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'>
|
|
<select id='dhtmlgoodies_city' name='dhtmlgoodies_city'>
|
|
</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'>
|
|
<input type='text' name='stadt' value='$row3[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'>
|
|
Postanschrift
|
|
</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='kontaktadresse' value='$row3[adresse]' 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'>
|
|
Ansprechpartner </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='ansprechpart' value='$row3[ansprechpartner]' 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'>
|
|
Abteilung
|
|
</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='abteilung' value='$row3[abteilung]' size='90'></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'> </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'>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<p style='margin-left: 3px; margin-right: 3px'> </div>
|
|
<div align='center'>";
|
|
|
|
$db = dbconnect();
|
|
$result = $db->query("SELECT date_format(zeitraum_von, '%d') von_tag
|
|
, date_format(zeitraum_von, '%m') von_mon
|
|
, date_format(zeitraum_von, '%Y') von_jahr
|
|
, date_format(zeitraum_bis, '%d') bis_tag
|
|
, date_format(zeitraum_bis, '%m') bis_mon
|
|
, date_format(zeitraum_bis, '%Y') bis_jahr
|
|
, abteilung_genau
|
|
, platz_gefunden
|
|
, visum
|
|
, transport
|
|
, beginn_vorbereitung
|
|
, erasmus
|
|
, auslandskostenzuschlag
|
|
, bereich
|
|
, beschreibung
|
|
, aufgaben
|
|
FROM aesp_allgemein
|
|
WHERE uid='$uid1'");
|
|
$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>
|
|
<input type='text' name='von_tag' value='$row[von_tag]' size='2'>.<input type='text' name='von_monat' value='$row[von_mon]' size='2'>.<input type='text' name='von_jahr' value='$row[von_jahr]' size='4'> bis <input type='text' name='bis_tag' value='$row[bis_tag]' size='2'>.<input type='text' name='bis_monat' value='$row[bis_mon]' size='2'>.<input type='text' name='bis_jahr' value='$row[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'>
|
|
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'>
|
|
<input type='text' name='abteilung_genau' value='$row[abteilung_genau]' 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>
|
|
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'>
|
|
<input type='text' name='platz_gefunden' value='$row[platz_gefunden]' 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>
|
|
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'>
|
|
<input type='text' name='visum' value='$row[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'>
|
|
- Transport </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='transport' value='$row[transport]' 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>
|
|
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'>
|
|
<input type='text' name='vorbereitungsbeginn' value='$row[beginn_vorbereitung]' 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>
|
|
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'>
|
|
<input type='text' name='erasmus' value='$row[erasmus]' size='118'></td>
|
|
</tr>
|
|
<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'>
|
|
<input type='text' name='auslandszuschlag' value='$row[auslandskostenzuschlag]' 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>
|
|
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'>
|
|
|
|
<input type='radio' value='OV' name='bereich' "; if($row[bereich] == 'OV'){ echo " checked "; } echo">Öffentliche Verwaltung<br>
|
|
<input type='radio' value='FW' name='bereich' "; if($row[bereich] == 'FW'){ echo " checked "; } echo">Freie Wirtschaft<br>
|
|
<input type='radio' value='S' name='bereich' "; if($row[bereich] == "S"){ echo " checked "; } echo">Sonstiges
|
|
|
|
</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'>
|
|
<textarea rows='3' name='stellenbeschreibung' cols='88'>$row[beschreibung]</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>
|
|
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'>
|
|
<input type='text' name='aufgaben' value='$row[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'> </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'>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div align='center'>
|
|
<p style='margin-left: 3px; margin-right: 3px'> </div>
|
|
<div align='center'>";
|
|
$db = dbconnect();
|
|
$result = $db->query("SELECT wo_gefunden
|
|
, ag_hilfe
|
|
, kosten
|
|
FROM aesp_unterkunft
|
|
WHERE uid='$uid1'");
|
|
$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'>
|
|
<textarea rows='2' name='wo_gefunden' cols='88'>$row[wo_gefunden]</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>
|
|
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'>
|
|
<input type='text' name='ag_hilfe' value='$row[ag_hilfe]' 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>
|
|
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'>
|
|
<input type='text' name='kosten' value='$row[kosten]' 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'> </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'>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<div align='center'>
|
|
<p style='margin-left: 3px; margin-right: 3px'> </div>
|
|
<div align='center'>";
|
|
$db = dbconnect();
|
|
$result = $db->query("SELECT einbindung
|
|
, aufnahme
|
|
, interessant
|
|
, gefordert
|
|
, dazulernen
|
|
, sprachprobleme
|
|
, erfahrungen
|
|
, schwierigkeiten
|
|
FROM aesp_bewertung
|
|
WHERE uid='$uid1'");
|
|
$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>
|
|
</h1>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width='43%' 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='56%' style='border-right-style: solid; border-right-width: 2px'>
|
|
|
|
<input type='radio' name='einbindung' value='1'"; if($row[einbindung] == '1'){ echo " checked "; } echo">1
|
|
<input type='radio' name='einbindung' value='2'"; if($row[einbindung] == '2'){ echo " checked "; } echo">2
|
|
<input type='radio' name='einbindung' value='3'"; if($row[einbindung] == '3'){ echo " checked "; } echo">3
|
|
<input type='radio' name='einbindung' value='4'"; if($row[einbindung] == '4'){ echo " checked "; } echo">4
|
|
<input type='radio' name='einbindung' value='5'"; if($row[einbindung] == '5'){ echo " checked "; } echo">5
|
|
<input type='radio' name='einbindung' value='6'"; if($row[einbindung] == '6'){ echo " checked "; } echo">6
|
|
<input type='radio' name='einbindung' value='7'"; if($row[einbindung] == '7'){ echo " checked "; } echo">7
|
|
<input type='radio' name='einbindung' value='8'"; if($row[einbindung] == '8'){ echo " checked "; } echo">8
|
|
<input type='radio' name='einbindung' value='9'"; if($row[einbindung] == '9'){ echo " checked "; } echo">9
|
|
<input type='radio' name='einbindung' value='10'"; if($row[einbindung] == '10'){ echo " checked "; } echo">10
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width='43%' 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='56%' style='border-right-style: solid; border-right-width: 2px'>
|
|
|
|
<input type='radio' name='aufnahme' value='1'"; if($row[aufnahme] == '1'){ echo " checked "; } echo">1
|
|
<input type='radio' name='aufnahme' value='2'"; if($row[aufnahme] == '2'){ echo " checked "; } echo">2
|
|
<input type='radio' name='aufnahme' value='3'"; if($row[aufnahme] == '3'){ echo " checked "; } echo">3
|
|
<input type='radio' name='aufnahme' value='4'"; if($row[aufnahme] == '4'){ echo " checked "; } echo">4
|
|
<input type='radio' name='aufnahme' value='5'"; if($row[aufnahme] == '5'){ echo " checked "; } echo">5
|
|
<input type='radio' name='aufnahme' value='6'"; if($row[aufnahme] == '6'){ echo " checked "; } echo">6
|
|
<input type='radio' name='aufnahme' value='7'"; if($row[aufnahme] == '7'){ echo " checked "; } echo">7
|
|
<input type='radio' name='aufnahme' value='8'"; if($row[aufnahme] == '8'){ echo " checked "; } echo">8
|
|
<input type='radio' name='aufnahme' value='9'"; if($row[aufnahme] == '9'){ echo " checked "; } echo">9
|
|
<input type='radio' name='aufnahme' value='10'"; if($row[aufnahme] == '10'){ echo " checked "; } echo">10
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width='43%' 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='56%' style='border-right-style: solid; border-right-width: 2px'>
|
|
|
|
<input type='radio' name='interessant' value='1'"; if($row[interessant] == '1'){ echo " checked "; } echo">1
|
|
<input type='radio' name='interessant' value='2'"; if($row[interessant] == '2'){ echo " checked "; } echo">2
|
|
<input type='radio' name='interessant' value='3'"; if($row[interessant] == '3'){ echo " checked "; } echo">3
|
|
<input type='radio' name='interessant' value='4'"; if($row[interessant] == '4'){ echo " checked "; } echo">4
|
|
<input type='radio' name='interessant' value='5'"; if($row[interessant] == '5'){ echo " checked "; } echo">5
|
|
<input type='radio' name='interessant' value='6'"; if($row[interessant] == '6'){ echo " checked "; } echo">6
|
|
<input type='radio' name='interessant' value='7'"; if($row[interessant] == '7'){ echo " checked "; } echo">7
|
|
<input type='radio' name='interessant' value='8'"; if($row[interessant] == '8'){ echo " checked "; } echo">8
|
|
<input type='radio' name='interessant' value='9'"; if($row[interessant] == '9'){ echo " checked "; } echo">9
|
|
<input type='radio' name='interessant' value='10'"; if($row[interessant] == '10'){ echo " checked "; } echo">10
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width='43%' 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='56%' style='border-right-style: solid; border-right-width: 2px'>
|
|
|
|
<input type='radio' name='gefordert' value='1'"; if($row[gefordert] == '1'){ echo " checked "; } echo">1
|
|
<input type='radio' name='gefordert' value='2'"; if($row[gefordert] == '2'){ echo " checked "; } echo">2
|
|
<input type='radio' name='gefordert' value='3'"; if($row[gefordert] == '3'){ echo " checked "; } echo">3
|
|
<input type='radio' name='gefordert' value='4'"; if($row[gefordert] == '4'){ echo " checked "; } echo">4
|
|
<input type='radio' name='gefordert' value='5'"; if($row[gefordert] == '5'){ echo " checked "; } echo">5
|
|
<input type='radio' name='gefordert' value='6'"; if($row[gefordert] == '6'){ echo " checked "; } echo">6
|
|
<input type='radio' name='gefordert' value='7'"; if($row[gefordert] == '7'){ echo " checked "; } echo">7
|
|
<input type='radio' name='gefordert' value='8'"; if($row[gefordert] == '8'){ echo " checked "; } echo">8
|
|
<input type='radio' name='gefordert' value='9'"; if($row[gefordert] == '9'){ echo " checked "; } echo">9
|
|
<input type='radio' name='gefordert' value='10'"; if($row[gefordert] == '10'){ echo " checked "; } echo">10
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width='43%' 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='56%' style='border-right-style: solid; border-right-width: 2px'>
|
|
|
|
<input type='radio' name='dazulernen' value='1'"; if($row[dazulernen] == '1'){ echo " checked "; } echo">1
|
|
<input type='radio' name='dazulernen' value='2'"; if($row[dazulernen] == '2'){ echo " checked "; } echo">2
|
|
<input type='radio' name='dazulernen' value='3'"; if($row[dazulernen] == '3'){ echo " checked "; } echo">3
|
|
<input type='radio' name='dazulernen' value='4'"; if($row[dazulernen] == '4'){ echo " checked "; } echo">4
|
|
<input type='radio' name='dazulernen' value='5'"; if($row[dazulernen] == '5'){ echo " checked "; } echo">5
|
|
<input type='radio' name='dazulernen' value='6'"; if($row[dazulernen] == '6'){ echo " checked "; } echo">6
|
|
<input type='radio' name='dazulernen' value='7'"; if($row[dazulernen] == '7'){ echo " checked "; } echo">7
|
|
<input type='radio' name='dazulernen' value='8'"; if($row[dazulernen] == '8'){ echo " checked "; } echo">8
|
|
<input type='radio' name='dazulernen' value='9'"; if($row[dazulernen] == '9'){ echo " checked "; } echo">9
|
|
<input type='radio' name='dazulernen' value='10'"; if($row[dazulernen] == '10'){ echo " checked "; } echo">10
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width='43%' 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='56%' style='border-right-style: solid; border-right-width: 2px'>
|
|
|
|
<input type='radio' name='sprachprobleme' value='1'"; if($row[sprachprobleme] == '1'){ echo " checked "; } echo">1
|
|
<input type='radio' name='sprachprobleme' value='2'"; if($row[sprachprobleme] == '2'){ echo " checked "; } echo">2
|
|
<input type='radio' name='sprachprobleme' value='3'"; if($row[sprachprobleme] == '3'){ echo " checked "; } echo">3
|
|
<input type='radio' name='sprachprobleme' value='4'"; if($row[sprachprobleme] == '4'){ echo " checked "; } echo">4
|
|
<input type='radio' name='sprachprobleme' value='5'"; if($row[sprachprobleme] == '5'){ echo " checked "; } echo">5
|
|
<input type='radio' name='sprachprobleme' value='6'"; if($row[sprachprobleme] == '6'){ echo " checked "; } echo">6
|
|
<input type='radio' name='sprachprobleme' value='7'"; if($row[sprachprobleme] == '7'){ echo " checked "; } echo">7
|
|
<input type='radio' name='sprachprobleme' value='8'"; if($row[sprachprobleme] == '8'){ echo " checked "; } echo">8
|
|
<input type='radio' name='sprachprobleme' value='9'"; if($row[sprachprobleme] == '9'){ echo " checked "; } echo">9
|
|
<input type='radio' name='sprachprobleme' value='10'"; if($row[sprachprobleme] == '10'){ echo " checked "; } echo">10
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width='43%' 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='56%' style='border-right-style: solid; border-right-width: 2px'>
|
|
|
|
<input type='radio' name='erfahrungen' value='1'"; if($row[erfahrungen] == '1'){ echo " checked "; } echo">1
|
|
<input type='radio' name='erfahrungen' value='2'"; if($row[erfahrungen] == '2'){ echo " checked "; } echo">2
|
|
<input type='radio' name='erfahrungen' value='3'"; if($row[erfahrungen] == '3'){ echo " checked "; } echo">3
|
|
<input type='radio' name='erfahrungen' value='4'"; if($row[erfahrungen] == '4'){ echo " checked "; } echo">4
|
|
<input type='radio' name='erfahrungen' value='5'"; if($row[erfahrungen] == '5'){ echo " checked "; } echo">5
|
|
<input type='radio' name='erfahrungen' value='6'"; if($row[erfahrungen] == '6'){ echo " checked "; } echo">6
|
|
<input type='radio' name='erfahrungen' value='7'"; if($row[erfahrungen] == '7'){ echo " checked "; } echo">7
|
|
<input type='radio' name='erfahrungen' value='8'"; if($row[erfahrungen] == '8'){ echo " checked "; } echo">8
|
|
<input type='radio' name='erfahrungen' value='9'"; if($row[erfahrungen] == '9'){ echo " checked "; } echo">9
|
|
<input type='radio' name='erfahrungen' value='10'"; if($row[erfahrungen] == '10'){ echo " checked "; } echo">10
|
|
|
|
</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>
|
|
Eventuelle
|
|
Schwierigkeiten </td>
|
|
<td width='56%' style='border-right-style: solid; border-right-width: 2px' height='25'>
|
|
<br>
|
|
<input type='text' name='schwierigkeiten' value='$row[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'> </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'>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div align='center'>
|
|
<p style='margin-left: 3px; margin-right: 3px'> </div>
|
|
<div align='center'>";
|
|
$db = dbconnect();
|
|
$result = $db->query("SELECT lebenshaltungskosten
|
|
, unternehmen
|
|
, kontakte
|
|
, schwierigkeit_kontakte
|
|
FROM aesp_freizeit
|
|
WHERE uid='$uid1'");
|
|
$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>
|
|
</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'>
|
|
<input type='text' name='lebenshaltungskosten' value='$row[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'>
|
|
Was konnte
|
|
man unternehmen?<br>
|
|
(Tagsüber und Nachts) </td>
|
|
<td width='56%' style='border-right-style: solid; border-right-width: 2px'>
|
|
<textarea rows='2' name='unternehmen' cols='48'>$row[unternehmen]</textarea></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'>
|
|
<input type='text' name='kontakte' value='$row[kontakte]' 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'>
|
|
War dies
|
|
eher leicht/schwer? </td>
|
|
<td width='56%' style='border-right-style: solid; border-right-width: 2px'>
|
|
<input type='text' name='schwierigkeit_kontakte' value='$row[schwierigkeit_kontakte]' 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'> </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'>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<p style='margin-left: 3px; margin-right: 3px'> </div>
|
|
<div align='center'>
|
|
<div align='center'>";
|
|
$db = dbconnect();
|
|
$result = $db->query("SELECT letzte_worte
|
|
FROM aesp_schluss
|
|
WHERE uid='$uid1'");
|
|
$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>
|
|
</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'>
|
|
<textarea rows='5' name='letzte_worte' cols='88'>$row[letzte_worte]</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'> </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'>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<br>
|
|
<br>
|
|
<input type=\"submit\" value=\"Daten speichern\" name=\"B1\" size=\"20\"></form>
|
|
</div>
|
|
<p style='margin-left: 3px; margin-right: 3px'> </div>
|
|
<p style='margin-left: 3px; margin-right: 3px'> </div>
|
|
<p> </p>
|
|
<p> </p>
|
|
<p> </p>
|
|
<p> </p>
|
|
</form>
|
|
|
|
</body>
|
|
|
|
</html>";
|
|
break;
|
|
case "auswertung":
|
|
|
|
$fehler = TRUE;
|
|
|
|
$db = dbconnect();
|
|
|
|
|
|
## Persönliche Angaben ##
|
|
$mail=$_POST['mail'];
|
|
$eiver_rueckfr=$_POST['eiver_rueckfr'];
|
|
|
|
if($eiver_rueckfr == ''){
|
|
$eiver_rueckfr = 'N';
|
|
}
|
|
|
|
$sql = $db->query ("DELETE FROM aesp_pers_ang WHERE uid = '$uid1'");
|
|
$sql = $db->query ("UPDATE kurs.stud SET mail2 = '$mail' WHERE uid = '$uid1'");
|
|
$sql = $db->query ("INSERT INTO aesp_pers_ang
|
|
(uid, einverst)
|
|
VALUES
|
|
('$uid1', '$eiver_rueckfr')");
|
|
|
|
|
|
if(!$sql){
|
|
$fehler = FALSE;
|
|
}
|
|
|
|
## Bewerbung ##
|
|
$kontinent=$_POST['dhtmlgoodies_country'];
|
|
$land=$_POST['dhtmlgoodies_city'];
|
|
$stadt=$_POST['stadt'];
|
|
$adresse=$_POST['kontaktadresse'];
|
|
$ansprechpart=$_POST['ansprechpart'];
|
|
$abteilung=$_POST['abteilung'];
|
|
|
|
|
|
|
|
$sql = $db->query ("DELETE FROM aesp_bewerbung WHERE uid = '$uid1'");
|
|
$sql = $db->query ("INSERT INTO aesp_bewerbung
|
|
(uid, kontinent, land, stadt, adresse, ansprechpartner, abteilung)
|
|
VALUES
|
|
('$uid1', '$kontinent', '$land', '$stadt', '$adresse', '$ansprechpart', '$abteilung')");
|
|
if(!$sql){
|
|
$fehler = FALSE;
|
|
}
|
|
|
|
|
|
|
|
## Allgemein ##
|
|
$sql = $db->query ("DELETE FROM aesp_allgemein WHERE uid = '$uid1'");
|
|
|
|
$zeitraum_von="$_POST[von_jahr]-$_POST[von_monat]-$_POST[von_tag]";
|
|
$zeitraum_bis="$_POST[bis_jahr]-$_POST[bis_monat]-$_POST[bis_tag]";
|
|
$abteilung_genau=$_POST['abteilung_genau'];
|
|
$platz_gefunden=$_POST['platz_gefunden'];
|
|
$visum=$_POST['visum'];
|
|
$transport=$_POST['transport'];
|
|
$beginn_vorbereitung=$_POST['vorbereitungsbeginn'];
|
|
$erasmus=$_POST['erasmus'];
|
|
$auslandskostenzuschlag=$_POST['auslandszuschlag'];
|
|
$bereich=$_POST['bereich'];
|
|
$beschreibung=$_POST['stellenbeschreibung'];
|
|
$aufgaben=$_POST['aufgaben'];
|
|
|
|
|
|
$sql = $db->query ("INSERT INTO aesp_allgemein
|
|
(uid, zeitraum_von, zeitraum_bis, abteilung_genau, platz_gefunden, visum, transport, beginn_vorbereitung, erasmus, auslandskostenzuschlag, bereich, beschreibung, aufgaben)
|
|
VALUES
|
|
('$uid1', '$zeitraum_von', '$zeitraum_bis', '$abteilung_genau', '$platz_gefunden', '$visum', '$transport', '$beginn_vorbereitung', '$erasmus', '$auslandskostenzuschlag', '$bereich', '$beschreibung', '$aufgaben')");
|
|
|
|
|
|
|
|
if(!$sql){
|
|
$fehler = FALSE;
|
|
}
|
|
|
|
|
|
## Unterkunft ##
|
|
$sql = $db->query ("DELETE FROM aesp_unterkunft WHERE uid = '$uid1'");
|
|
|
|
$wo_gefunden=$_POST['wo_gefunden'];
|
|
$ag_hilfe=$_POST['ag_hilfe'];
|
|
$kosten= $_POST['kosten'];
|
|
|
|
$sql = $db->query ("INSERT INTO aesp_unterkunft
|
|
(uid, wo_gefunden, ag_hilfe, kosten)
|
|
VALUES
|
|
('$uid1', '$wo_gefunden', '$ag_hilfe', '$kosten')");
|
|
|
|
|
|
if(!$sql){
|
|
$fehler = FALSE;
|
|
}
|
|
|
|
|
|
## Bewertung ##
|
|
$sql = $db->query ("DELETE FROM aesp_bewertung WHERE uid = '$uid1'");
|
|
$einbindung=$_POST['einbindung'];
|
|
$aufnahme=$_POST['aufnahme'];
|
|
$interessant= $_POST['interessant'];
|
|
$gefordert=$_POST['gefordert'];
|
|
$dazulernen=$_POST['dazulernen'];
|
|
$sprachprobleme=$_POST['sprachprobleme'];
|
|
$erfahrungen=$_POST['erfahrungen'];
|
|
$schwierigkeiten=$_POST['schwierigkeiten'];
|
|
|
|
|
|
$sql = $db->query ("INSERT INTO aesp_bewertung
|
|
(uid, einbindung, aufnahme, interessant, gefordert, dazulernen, sprachprobleme, erfahrungen, schwierigkeiten)
|
|
VALUES
|
|
('$uid1', '$einbindung', '$aufnahme', '$interessant', '$gefordert', '$dazulernen', '$sprachprobleme', '$erfahrungen', '$schwierigkeiten')");
|
|
if(!$sql){
|
|
$fehler = FALSE;
|
|
}
|
|
|
|
## Freizeit ##
|
|
$sql = $db->query ("DELETE FROM aesp_freizeit WHERE uid = '$uid1'");
|
|
$lebenshaltungskosten=$_POST['lebenshaltungskosten'];
|
|
$unternehmen=$_POST['unternehmen'];
|
|
$kontakte= $_POST['kontakte'];
|
|
$schwierigkeit_kontakte=$_POST['schwierigkeit_kontakte'];
|
|
|
|
$sql = $db->query ("INSERT INTO aesp_freizeit
|
|
(uid, lebenshaltungskosten, unternehmen, kontakte, schwierigkeit_kontakte)
|
|
VALUES
|
|
('$uid1', '$lebenshaltungskosten', '$unternehmen', '$kontakte', '$schwierigkeit_kontakte')");
|
|
if(!$sql){
|
|
$fehler = FALSE;
|
|
}
|
|
|
|
|
|
## Schlussbemerkung
|
|
$sql = $db->query ("DELETE FROM aesp_schluss WHERE uid = '$uid1'");
|
|
|
|
|
|
|
|
$letzte_worte=$_POST['letzte_worte'];
|
|
$sql = $db->query ("INSERT INTO aesp_schluss
|
|
(uid, letzte_worte)
|
|
VALUES
|
|
('$uid1', '$letzte_worte')");
|
|
if(!$sql){
|
|
$fehler = FALSE;
|
|
}
|
|
|
|
|
|
if($fehler == TRUE){ // wenn alle Inserts erfolgreich durchgelaufen sind, dann erfolgsmeldung
|
|
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>Eingabefehler</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\">Einbindung <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>Herzlichen Dank!</b>
|
|
<br>
|
|
Wir möchten uns ganz herzlich bei Dir dafür bedanken, dass Du die Mühe auf
|
|
dich genommen hast, diesen Bogen auszufüllen und somit allen
|
|
Studierenden nach dir einiges an Sorgen und Ängsten genommen
|
|
hast!<br>
|
|
Wenn Du Lust hast, schau einfach mal rein auf die Seite des
|
|
Akademischen Auslandsamtes. Dort wird demnä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!
|
|
AESPA
|
|
</p>
|
|
<p align=\"center\">
|
|
<a href=\"fragebogen.php\">überarbeiten</a>
|
|
|
|
|
|
|
|
|
|
|
|
<a href=\"hauptframe.php\">Startseite</a>
|
|
</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=utf-8\">
|
|
<link rel=\"stylesheet\" href=\"styles_pc.css\" type=\"text/css\">
|
|
<title>Eingabefehler</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\">Fehler <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 Daten konnten nicht eingebunden werden!
|
|
<br>
|
|
Setzen Sie sich bitte mit dem AESPA in Verbindung!
|
|
</b>
|
|
</p>
|
|
<p align=\"center\">
|
|
<a href=\"javascript:history.back()\">zurück</a>
|
|
|
|
|
|
|
|
|
|
|
|
<a href=\"logout.php\">Logout</a>
|
|
</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;
|
|
}
|
|
|
|
|
|
}
|
|
?>
|