Fehlerkorrekturen

This commit is contained in:
aschwarz 2024-02-29 14:16:21 +01:00
parent d8dceb870b
commit d4d5f9fcdc
3 changed files with 1684 additions and 1602 deletions

View File

@ -26,9 +26,48 @@ $uid1=$_COOKIE["uid1"];
FROM aesp_bewerbung
WHERE uid='$uid1'");
$row3 = $result3->fetch_array();
if(isset($row3['land'])){
setcookie("ck_lid",$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&nbsp;&nbsp;&nbsp;</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']."&nbsp;&nbsp;&nbsp;</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']."&nbsp;&nbsp;&nbsp;</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>

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,10 @@
<?php
include("aespa/datenbankanbindung.php"); // f&uuml;gt die Datenbankanbindung ein: Sys:\php\includes\kurs\datenbankanbindung.php
$uid=$_COOKIE["uid1"];
if(isset($_COOKIE["uid1"])){
$uid=$_COOKIE["uid1"];
}else{
$uid='';
}
if($uid == "")
{