Fehlerkorrekturen
This commit is contained in:
parent
d8dceb870b
commit
d4d5f9fcdc
@ -26,9 +26,48 @@ $uid1=$_COOKIE["uid1"];
|
||||
FROM aesp_bewerbung
|
||||
WHERE uid='$uid1'");
|
||||
$row3 = $result3->fetch_array();
|
||||
if(isset($row3['land'])){
|
||||
if(isset($row3['land'])){
|
||||
setcookie("ck_lid",$row3['land']);
|
||||
}
|
||||
$row3_land = $row3['land'];
|
||||
}else{
|
||||
$row3_land = '';
|
||||
}
|
||||
|
||||
if(isset($row3['kontinent'])){
|
||||
$row3_kontinent = $row3['kontinent'];
|
||||
}else{
|
||||
$row3_kontinent = '';
|
||||
}
|
||||
|
||||
if(isset($row3['stadt'])){
|
||||
$row3_stadt = $row3['stadt'];
|
||||
}else{
|
||||
$row3_stadt = '';
|
||||
}
|
||||
|
||||
if(isset($row3['stelle'])){
|
||||
$row3_stelle = $row3['stelle'];
|
||||
}else{
|
||||
$row3_stelle = '';
|
||||
}
|
||||
|
||||
if(isset($row3['adresse'])){
|
||||
$row3_adresse = $row3['adresse'];
|
||||
}else{
|
||||
$row3_adresse = '';
|
||||
}
|
||||
|
||||
if(isset($row3['ansprechpartner'])){
|
||||
$row3_ansprechpartner = $row3['ansprechpartner'];
|
||||
}else{
|
||||
$row3_ansprechpartner = '';
|
||||
}
|
||||
|
||||
if(isset($row3['abteilung'])){
|
||||
$row3_abteilung = $row3['abteilung'];
|
||||
}else{
|
||||
$row3_abteilung = '';
|
||||
}
|
||||
echo "
|
||||
<html>
|
||||
|
||||
@ -229,7 +268,7 @@ function fetch_select(){
|
||||
<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(isset($row2['kid']) AND isset($row3['kontinent']) AND $row2['kid'] == $row3['kontinent']){echo " selected";} echo">".$row2['kontinent']." </option>\n";
|
||||
echo "<option value=\"$row2[kid]\"";if(isset($row2['kid']) AND isset($row3_kontinent) AND $row2['kid'] == $row3_kontinent){echo " selected";} echo">".$row2['kontinent']." </option>\n";
|
||||
}
|
||||
echo"
|
||||
|
||||
@ -252,7 +291,7 @@ function fetch_select(){
|
||||
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>
|
||||
<input type='text' name='stadt' value=\"$row3_stadt\" size='90'></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -261,7 +300,7 @@ function fetch_select(){
|
||||
Stelle </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='stelle' value=\"$row3[stelle]\" size='90'></p>
|
||||
<input type='text' name='stelle' value=\"$row3_stelle\" size='90'></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -271,7 +310,7 @@ function fetch_select(){
|
||||
</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>
|
||||
<input type='text' name='kontaktadresse' value=\"$row3_adresse\" size='90'></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -280,7 +319,7 @@ function fetch_select(){
|
||||
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>
|
||||
<input type='text' name='ansprechpart' value=\"$row3_ansprechpartner\" size='90'></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -290,7 +329,7 @@ function fetch_select(){
|
||||
</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>
|
||||
<input type='text' name='abteilung' value=\"$row3_abteilung\" size='90'></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
102
neuanlage.php
102
neuanlage.php
@ -181,9 +181,49 @@ setcookie("ck_uid1",$uid1);
|
||||
FROM aesp_bewerbung
|
||||
WHERE uid='$uid1'");
|
||||
$row3 = $result->fetch_array();
|
||||
if(isset($row3['land'])){
|
||||
|
||||
if(isset($row3['land'])){
|
||||
setcookie("ck_lid",$row3['land']);
|
||||
}
|
||||
$row3_land = $row3['land'];
|
||||
}else{
|
||||
$row3_land = '';
|
||||
}
|
||||
|
||||
if(isset($row3['kontinent'])){
|
||||
$row3_kontinent = $row3['kontinent'];
|
||||
}else{
|
||||
$row3_kontinent = '';
|
||||
}
|
||||
|
||||
if(isset($row3['stadt'])){
|
||||
$row3_stadt = $row3['stadt'];
|
||||
}else{
|
||||
$row3_stadt = '';
|
||||
}
|
||||
|
||||
if(isset($row3['stelle'])){
|
||||
$row3_stelle = $row3['stelle'];
|
||||
}else{
|
||||
$row3_stelle = '';
|
||||
}
|
||||
|
||||
if(isset($row3['adresse'])){
|
||||
$row3_adresse = $row3['adresse'];
|
||||
}else{
|
||||
$row3_adresse = '';
|
||||
}
|
||||
|
||||
if(isset($row3['ansprechpartner'])){
|
||||
$row3_ansprechpartner = $row3['ansprechpartner'];
|
||||
}else{
|
||||
$row3_ansprechpartner = '';
|
||||
}
|
||||
|
||||
if(isset($row3['abteilung'])){
|
||||
$row3_abteilung = $row3['abteilung'];
|
||||
}else{
|
||||
$row3_abteilung = '';
|
||||
}
|
||||
echo "
|
||||
<html>
|
||||
|
||||
@ -255,10 +295,10 @@ function fetch_select(){
|
||||
<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
|
||||
<b>Persöliche Angaben<br>
|
||||
</b> Deine persölichen Daten
|
||||
werden streng vertraulich behandelt und dienen in erster Linie nur
|
||||
uns, um dir eventuelle Rückfragen zu stellen!
|
||||
uns, um dir eventuelle Rükfragen zu stellen!
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -345,7 +385,7 @@ function fetch_select(){
|
||||
<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(isset($row_einver['einverst']) AND $row_einver['einverst'] == 'Y'){ echo " checked "; } echo">
|
||||
Ich bin damit einverstanden, dass meine <u>Emailadresse</u> für eventuelle Nachfragen veröffentlicht wird.
|
||||
Ich bin damit einverstanden, dass meine <u>Emailadresse</u> für eventuelle Nachfragen veröffentlicht wird.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -382,9 +422,9 @@ function fetch_select(){
|
||||
or die ("Cannot execute query");
|
||||
echo "<select id='kontinent' name='kontinent' onchange='fetch_select();'>
|
||||
<option value=''>Select</option>";
|
||||
#echo "<option value='%'";if($row3[kontinent] == '%'){echo " selected";} echo">Alle </option>\n";
|
||||
#echo "<option value='%'";if($row3_kontinent == '%'){echo " selected";} echo">Alle </option>\n";
|
||||
while ($row2 = $result2->fetch_array()){
|
||||
echo "<option value=\"$row2[kid]\"";if(isset($row2['kid']) AND isset($row3['kontinent']) AND $row2['kid'] == $row3['kontinent']){echo " selected";} echo">".$row2['kontinent']." </option>\n";
|
||||
echo "<option value=\"$row2[kid]\"";if(isset($row2['kid']) AND isset($row3_kontinent) AND $row2['kid'] == $row3_kontinent){echo " selected";} echo">".$row2['kontinent']." </option>\n";
|
||||
}
|
||||
echo"
|
||||
|
||||
@ -407,7 +447,7 @@ function fetch_select(){
|
||||
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>
|
||||
<input type='text' name='stadt' value=\"$row3_stadt\" size='90'></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -417,7 +457,7 @@ function fetch_select(){
|
||||
</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>
|
||||
<input type='text' name='kontaktadresse' value=\"$row3_adresse\" size='90'></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -426,7 +466,7 @@ function fetch_select(){
|
||||
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>
|
||||
<input type='text' name='ansprechpart' value=\"$row3_ansprechpartner\" size='90'></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -436,7 +476,7 @@ function fetch_select(){
|
||||
</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>
|
||||
<input type='text' name='abteilung' value=\"$row3_abteilung\" size='90'></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -626,7 +666,7 @@ function fetch_select(){
|
||||
<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>
|
||||
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'>
|
||||
@ -750,7 +790,7 @@ function fetch_select(){
|
||||
<br>
|
||||
Wurde
|
||||
dir von Arbeitgeberseite bei der Suche geholfen oder gar eine
|
||||
Unterkunft zur Verfügung gestellt? </td>
|
||||
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'>
|
||||
@ -804,7 +844,7 @@ function fetch_select(){
|
||||
<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
|
||||
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>
|
||||
@ -814,7 +854,7 @@ function fetch_select(){
|
||||
<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>
|
||||
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(isset($row['einbindung']) AND $row['einbindung'] == '1'){ echo " checked "; } echo">1
|
||||
@ -833,7 +873,7 @@ function fetch_select(){
|
||||
<tr>
|
||||
<td width='43%' style='border-left-style: solid; border-left-width: 2px'>
|
||||
<p style='margin-left: 3px; margin-right: 3px'>
|
||||
Ich fühlte
|
||||
Ich fühlte
|
||||
mich auch unter den Kollegen gut aufgenommen </td>
|
||||
<td width='56%' style='border-right-style: solid; border-right-width: 2px'>
|
||||
|
||||
@ -873,7 +913,7 @@ function fetch_select(){
|
||||
<tr>
|
||||
<td width='43%' style='border-left-style: solid; border-left-width: 2px'>
|
||||
<p style='margin-left: 3px; margin-right: 3px'>
|
||||
Ich fühlte
|
||||
Ich fühlte
|
||||
mich gefordert </td>
|
||||
<td width='56%' style='border-right-style: solid; border-right-width: 2px'>
|
||||
|
||||
@ -894,7 +934,7 @@ function fetch_select(){
|
||||
<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>
|
||||
etwas dazulernen könen </td>
|
||||
<td width='56%' style='border-right-style: solid; border-right-width: 2px'>
|
||||
|
||||
<input type='radio' name='dazulernen' value='1'"; if(isset($row['dazulernen']) AND $row['dazulernen'] == '1'){ echo " checked "; } echo">1
|
||||
@ -1025,7 +1065,7 @@ function fetch_select(){
|
||||
<p style='margin-left: 3px; margin-right: 3px'>
|
||||
Was konnte
|
||||
man unternehmen?<br>
|
||||
(Tagsüber und Nachts) </td>
|
||||
(Tagsüber und Nachts) </td>
|
||||
<td width='56%' style='border-right-style: solid; border-right-width: 2px'>
|
||||
<textarea rows='2' name='unternehmen' cols='48'>$unternehmen</textarea></td>
|
||||
</tr>
|
||||
@ -1033,7 +1073,7 @@ function fetch_select(){
|
||||
<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>
|
||||
Kontakte knüpfen? </td>
|
||||
<td width='56%' style='border-right-style: solid; border-right-width: 2px'>
|
||||
<input type='text' name='kontakte' value=\"$kontakte\" size='65'></td>
|
||||
</tr>
|
||||
@ -1072,9 +1112,9 @@ function fetch_select(){
|
||||
<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>
|
||||
<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
|
||||
Studenten mit auf den langen Weg ins Ausland geben möchtest! Ein
|
||||
paar gute Tipps vielleicht? <br>
|
||||
</h1>
|
||||
</td>
|
||||
@ -1116,7 +1156,7 @@ $fehler = TRUE;
|
||||
$db = dbconnect();
|
||||
|
||||
|
||||
## Persönliche Angaben ##
|
||||
## Persönliche Angaben ##
|
||||
if(isset($_POST['mail'])){
|
||||
$mail=$_POST['mail'];
|
||||
}else{
|
||||
@ -1465,20 +1505,20 @@ echo"
|
||||
<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
|
||||
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
|
||||
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
|
||||
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="; echo $_SERVER['PHP_SELF'] . "?action=studbearb&stud_uid=$uid1"; echo">überarbeiten</a>
|
||||
<a href="; echo $_SERVER['PHP_SELF'] . "?action=studbearb&stud_uid=$uid1"; echo">überarbeiten</a>
|
||||
|
||||
|
||||
|
||||
@ -1548,7 +1588,7 @@ echo"
|
||||
</b>
|
||||
</p>
|
||||
<p align=\"center\">
|
||||
<a href=\"javascript:history.back()\">zurück</a>
|
||||
<a href=\"javascript:history.back()\">zurük</a>
|
||||
|
||||
|
||||
|
||||
|
@ -1,7 +1,10 @@
|
||||
<?php
|
||||
include("aespa/datenbankanbindung.php"); // fügt die Datenbankanbindung ein: Sys:\php\includes\kurs\datenbankanbindung.php
|
||||
$uid=$_COOKIE["uid1"];
|
||||
|
||||
if(isset($_COOKIE["uid1"])){
|
||||
$uid=$_COOKIE["uid1"];
|
||||
}else{
|
||||
$uid='';
|
||||
}
|
||||
|
||||
if($uid == "")
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user