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 FROM stan_antrag WHERE saaid='$saaid'"); $row3 = $result3->fetch_array(); $res_zuw = $db->query("SELECT a.standort FROM stan_standort a, stan_ag_standort b, stan_ag_standort_wunsch c WHERE a.sid=b.sid AND b.agsid=c.wagsid AND c.prio=0 AND c.saaid='$row3[saaid]'"); $row_zuw = $res_zuw->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 FROM stan_antrag WHERE saaid<'$row3[saaid]' AND aendid='$row3[aendid]' ORDER BY saaid DESC LIMIT 1"); $row_alt = $res_alt->fetch_array(); $res_alt_zuw = $db->query("SELECT a.standort FROM stan_standort a, stan_ag_standort b, stan_ag_standort_wunsch c WHERE a.sid=b.sid AND b.agsid=c.wagsid AND c.prio=0 AND c.saaid='$row_alt[saaid]'"); $row_alt_zuw = $res_alt_zuw->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]
AG Standort "; if($row_zuw[standort] == $row_alt_zuw[standort]){ $color='black'; }else{ $color='red'; } echo" $row_zuw[standort]
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]
Tel. der Abteilung "; if($row3[tel_abteilung] == $row_alt[tel_abteilung]){ $color='black'; }else{ $color='red'; } echo" $row_alt[tel_abteilung]
AG Standort "; if($row_zuw[standort] == $row_alt_zuw[standort]){ $color='black'; }else{ $color='red'; } echo" $row_alt_zuw[standort]
"; ?>