query("SELECT saaid, uid, pos, vert_bereich, art, dst_id, date_format(beginn, '%d.%m.%Y') beginn, date_format(ende, '%d.%m.%Y') ende, abteilung, tel_abteilung, aendid, umzugsverg FROM stan_antrag WHERE saaid='$saaid'"); $row3 = $result3->fetch_array(); $result3a = $db->query("SELECT bezeichnung FROM stan_vertiefungsbereich WHERE vbid='$row3[vert_bereich]'"); $row3a = $result3a->fetch_array(); $result3b = $db->query("SELECT artid, bezeichnung FROM stan_stellenart WHERE artid='$row3[art]'"); $row3b = $result3b->fetch_array(); $result_data2 = $db->query("SELECT distinct 1 FROM stan_dienststellen WHERE dst_id= '$row3[dst_id]'"); $rowdata2 = $result_data2->fetch_array(); if($rowdata2[0] == '1'){ $result_data3c = $db->query("SELECT bez , str , plz , postfach , plz_postfach , ort , bundesland , staat FROM stan_dienststellen WHERE dst_id='$row3[dst_id]'"); $row3c = $result_data3c->fetch_array(); }else{ $result_data3c = $db->query("SELECT bez , str , plz , postfach , plz_postfach , ort , bundesland , staat FROM stan_dienststellen_tmp WHERE dst_id='$row3[dst_id]'"); $row3c = $result_data3c->fetch_array(); } ## vorheriger Datensatz suchen $res_alt = $db->query("SELECT saaid, uid, pos, vert_bereich, art, dst_id, date_format(beginn, '%d.%m.%Y') beginn, date_format(ende, '%d.%m.%Y') ende, abteilung, tel_abteilung, umzugsverg FROM stan_antrag WHERE saaid<'$row3[saaid]' AND aendid='$row3[aendid]' ORDER BY saaid DESC LIMIT 1"); $row_alt = $res_alt->fetch_array(); $res_alta = $db->query("SELECT bezeichnung FROM stan_vertiefungsbereich WHERE vbid='$row_alt[vert_bereich]'"); $row_alta = $res_alta->fetch_array(); $res_altb = $db->query("SELECT artid, bezeichnung FROM stan_stellenart WHERE artid='$row_alt[art]'"); $row_altb = $res_altb->fetch_array(); $result_data2 = $db->query("SELECT distinct 1 FROM stan_dienststellen WHERE dst_id= '$row_alt[dst_id]'"); $rowdata2 = $result_data2->fetch_array(); if($rowdata2[0] == '1'){ $res_altc = $db->query("SELECT bez , str , plz , postfach , plz_postfach , ort , bundesland , staat FROM stan_dienststellen WHERE dst_id='$row_alt[dst_id]'"); $row_altc = $res_altc->fetch_array(); }else{ $res_altc = $db->query("SELECT bez , str , plz , postfach , plz_postfach , ort , bundesland , staat FROM stan_dienststellen_tmp WHERE dst_id='$row_alt[dst_id]'"); $row_altc = $res_altc->fetch_array(); } echo " Änderungen vergleichen In das Fenster klicken um zu schließen

Änderungen vergleichen

Änderungsantrag bisheriger Antrag
Vertiefungsbereich "; if($row3a['bezeichnung'] == $row_alta['bezeichnung']){ $color='black'; }else{ $color='red'; } echo" $row3a[bezeichnung]
Art der Praxisstelle "; if($row3b['bezeichnung'] == $row_altb['bezeichnung']){ $color='black'; }else{ $color='red'; } echo" $row3b[bezeichnung]
Bezeichnung der Praxisstelle "; if($row3c['bez'] == $row_altc['bez']){ $color='black'; }else{ $color='red'; } echo" $row3c[bez]
Straße und Nr. der Praxisstelle "; if($row3c['str'] == $row_altc['str']){ $color='black'; }else{ $color='red'; } echo" $row3c[str]
PLZ Ort "; if($row3c['plz'] == $row_altc['plz']){ $color='black'; }else{ $color='red'; } echo" $row3c[plz]"; if($row3c['ort'] == $row_altc['ort']){ $color='black'; }else{ $color='red'; } echo" $row3c[ort]
PLZ Postfach "; if($row3c['plz_postfach'] == $row_altc['plz_postfach']){ $color='black'; }else{ $color='red'; } echo" $row3c[plz_postfach]"; if($row3c['postfach'] == $row_altc['postfach']){ $color='black'; }else{ $color='red'; } echo" $row3c[postfach]
Bundesland "; if($row3c['bundesland'] == $row_altc['bundesland']){ $color='black'; }else{ $color='red'; } echo" $row3c[bundesland]
Staat "; if($row3c['staat'] == $row_altc['staat']){ $color='black'; }else{ $color='red'; } echo" $row3c[staat]
Zeitraum bei dieser Praxisstelle "; if($row3['beginn'] == $row_alt['beginn']){ $color='black'; }else{ $color='red'; } echo" $row3[beginn] - "; if($row3['ende'] == $row_alt['ende']){ $color='black'; }else{ $color='red'; } echo" $row3[ende]
Abteilung "; if($row3['abteilung'] == $row_alt['abteilung']){ $color='black'; }else{ $color='red'; } echo" $row3[abteilung]
Tel. der Abteilung "; if($row3['tel_abteilung'] == $row_alt['tel_abteilung']){ $color='black'; }else{ $color='red'; } echo" $row3[tel_abteilung]
Umzugsvergütung "; if($row3['umzugsverg'] == $row_alt['umzugsverg']){ $color='black'; }else{ $color='red'; } echo" $row3[umzugsverg]
Vertiefungsbereich "; if($row3a['bezeichnung'] == $row_alta['bezeichnung']){ $color='black'; }else{ $color='red'; } echo" $row_alta[bezeichnung]
Art der Praxisstelle "; if($row3b['bezeichnung'] == $row_altb['bezeichnung']){ $color='black'; }else{ $color='red'; } echo" $row_altb[bezeichnung]
Bezeichnung der Praxisstelle "; if($row3c['bez'] == $row_altc['bez']){ $color='black'; }else{ $color='red'; } echo" $row_altc[bez]
Straße und Nr. der Praxisstelle "; if($row3c['str'] == $row_altc['str']){ $color='black'; }else{ $color='red'; } echo" $row_altc[str]
PLZ Ort "; if($row3c['plz'] == $row_altc['plz']){ $color='black'; }else{ $color='red'; } echo" $row_altc[plz]"; if($row3c['ort'] == $row_altc['ort']){ $color='black'; }else{ $color='red'; } echo" $row_altc[ort]
PLZ Postfach "; if($row3c['plz_postfach'] == $row_altc['plz_postfach']){ $color='black'; }else{ $color='red'; } echo" $row_altc[plz_postfach]"; if($row3c['postfach'] == $row_altc['postfach']){ $color='black'; }else{ $color='red'; } echo" $row_altc[postfach]
Bundesland "; if($row3c['bundesland'] == $row_altc['bundesland']){ $color='black'; }else{ $color='red'; } echo" $row_altc[bundesland]
Staat "; if($row3c['staat'] == $row_altc['staat']){ $color='black'; }else{ $color='red'; } echo" $row_altc[staat]
Zeitraum bei dieser Praxisstelle "; if($row3['beginn'] == $row_alt['beginn']){ $color='black'; }else{ $color='red'; } echo" $row_alt[beginn] - "; if($row3['ende'] == $row_alt['ende']){ $color='black'; }else{ $color='red'; } echo" $row_alt[ende]
Abteilung "; if($row3['abteilung'] == $row_alt['abteilung']){ $color='black'; }else{ $color='red'; } echo" $row_alt[abteilung]
Umzugsvergütung "; if($row3['umzugsverg'] == $row_alt['umzugsverg']){ $color='black'; }else{ $color='red'; } echo" $row_alt[umzugsverg]
"; ?>