diff --git a/fragebogen.php b/fragebogen.php index 9e0cf4b..ea1e640 100755 --- a/fragebogen.php +++ b/fragebogen.php @@ -178,7 +178,7 @@ function fetch_select(){ Private Emailadresse

- + @@ -187,7 +187,7 @@ function fetch_select(){

- + Ich bin damit einverstanden, dass meine Emailadresse für eventuelle Nachfragen veröffentlicht wird. @@ -227,7 +227,7 @@ function fetch_select(){ "; #echo "\n"; while ($row2 = $result2->fetch_array()){ - echo "\n"; + echo "\n"; } echo" @@ -250,7 +250,7 @@ function fetch_select(){ Stadt

-

+

@@ -259,7 +259,7 @@ function fetch_select(){ Stelle

-

+

@@ -269,7 +269,7 @@ function fetch_select(){

-

+

@@ -278,7 +278,7 @@ function fetch_select(){ Ansprechpartner

-

+

@@ -288,7 +288,7 @@ function fetch_select(){

-

+

@@ -340,7 +340,7 @@ function fetch_select(){


- .. bis .. + .. bis ..

@@ -350,7 +350,7 @@ function fetch_select(){ Genaue Bezeichnung der Abteilung

-

+

@@ -361,7 +361,7 @@ function fetch_select(){

- + @@ -376,7 +376,7 @@ function fetch_select(){

- + @@ -384,7 +384,7 @@ function fetch_select(){ - Transport

- + @@ -395,7 +395,7 @@ function fetch_select(){

- + @@ -407,7 +407,7 @@ function fetch_select(){

- + @@ -421,8 +421,8 @@ function fetch_select(){

- - + + @@ -504,7 +504,7 @@ function fetch_select(){

- + @@ -514,7 +514,7 @@ function fetch_select(){

- + @@ -701,7 +701,7 @@ function fetch_select(){ Schwierigkeiten
- + @@ -738,7 +738,7 @@ function fetch_select(){ Lebensunterhaltskosten/Woche ca. - + @@ -755,7 +755,7 @@ function fetch_select(){ Konntest du Kontakte knüpfen? - + @@ -763,7 +763,7 @@ function fetch_select(){ War dies eher leicht/schwer? - + @@ -860,14 +860,13 @@ if(!$sql){ } ## Bewerbung ## -$kontinent=$_POST['kontinent']; -$land=$_POST['land']; -$stadt=$_POST['stadt']; -$stelle=$_POST['stelle']; -$adresse=$_POST['kontaktadresse']; -$ansprechpart=$_POST['ansprechpart']; -$abteilung=$_POST['abteilung']; - +$kontinent=addslashes($_POST['kontinent']); +$land=addslashes($_POST['land']); +$stadt=addslashes($_POST['stadt']); +$stelle=addslashes($_POST['stelle']); +$adresse=addslashes($_POST['kontaktadresse']); +$ansprechpart=addslashes($_POST['ansprechpart']); +$abteilung=addslashes($_POST['abteilung']); $sql = $db->query ("DELETE FROM aesp_bewerbung WHERE uid = '$uid1'"); diff --git a/neuanlage.php b/neuanlage.php index 185740d..9de9d4c 100755 --- a/neuanlage.php +++ b/neuanlage.php @@ -333,7 +333,7 @@ function fetch_select(){ Private Emailadresse

- + @@ -342,7 +342,7 @@ function fetch_select(){

- + Ich bin damit einverstanden, dass meine Emailadresse für eventuelle Nachfragen veröffentlicht wird. @@ -382,7 +382,7 @@ function fetch_select(){ "; #echo "\n"; while ($row2 = $result2->fetch_array()){ - echo "\n"; + echo "\n"; } echo" @@ -404,7 +404,7 @@ function fetch_select(){ Stadt

-

+

@@ -414,7 +414,7 @@ function fetch_select(){

-

+

@@ -423,7 +423,7 @@ function fetch_select(){ Ansprechpartner

-

+

@@ -433,7 +433,7 @@ function fetch_select(){

-

+

@@ -485,7 +485,7 @@ function fetch_select(){


- .. bis .. + .. bis ..

@@ -495,7 +495,7 @@ function fetch_select(){ Genaue Bezeichnung der Abteilung

-

+

@@ -506,7 +506,7 @@ function fetch_select(){

- + @@ -520,7 +520,7 @@ function fetch_select(){ - Visum .

- + @@ -528,7 +528,7 @@ function fetch_select(){ - Transport

- + @@ -539,7 +539,7 @@ function fetch_select(){

- + @@ -551,7 +551,7 @@ function fetch_select(){

- + @@ -565,8 +565,8 @@ function fetch_select(){

- - + + @@ -647,7 +647,7 @@ function fetch_select(){

- + @@ -657,7 +657,7 @@ function fetch_select(){

- + @@ -844,7 +844,7 @@ function fetch_select(){ Schwierigkeiten
- + @@ -881,7 +881,7 @@ function fetch_select(){ Lebensunterhaltskosten/Woche ca. - + @@ -898,7 +898,7 @@ function fetch_select(){ Konntest du Kontakte knüpfen? - + @@ -906,7 +906,7 @@ function fetch_select(){ War dies eher leicht/schwer? - + @@ -1006,13 +1006,14 @@ if(!$sql){ } ## Bewerbung ## -$kontinent=$_POST['kontinent']; -$land=$_POST['land']; -$stadt=$_POST['stadt']; -$stelle=$_POST['stelle']; -$adresse=$_POST['kontaktadresse']; -$ansprechpart=$_POST['ansprechpart']; -$abteilung=$_POST['abteilung']; +$kontinent=addslashes($_POST['kontinent']); +$land=addslashes($_POST['land']); +$stadt=addslashes($_POST['stadt']); +$stelle=addslashes($_POST['stelle']); +$adresse=addslashes($_POST['kontaktadresse']); +$ansprechpart=addslashes($_POST['ansprechpart']); +$abteilung=addslashes($_POST['abteilung']); + $sql = $db->query ("DELETE FROM aesp_bewerbung WHERE uid = '$uid1'"); $sql = $db->query ("INSERT INTO aesp_bewerbung