Umzugsvergütung zum Testen
This commit is contained in:
parent
c2a15eb1ed
commit
f8488609a2
@ -277,7 +277,7 @@ $pdf->SetY($pos);
|
|||||||
{
|
{
|
||||||
$data = Array();
|
$data = Array();
|
||||||
|
|
||||||
$res_alt_aend = $db->query("SELECT date_format(beginn, '%d.%m.%Y') beginn, date_format(ende, '%d.%m.%Y') ende, dst_id, abteilung, e.bezeichnung
|
$res_alt_aend = $db->query("SELECT date_format(beginn, '%d.%m.%Y') beginn, date_format(ende, '%d.%m.%Y') ende, dst_id, abteilung, e.bezeichnung, umzugsverg
|
||||||
FROM stan_antrag a, stan_vertiefungsbereich e
|
FROM stan_antrag a, stan_vertiefungsbereich e
|
||||||
WHERE a.vert_bereich=e.vbid
|
WHERE a.vert_bereich=e.vbid
|
||||||
AND a.saaid<'$row[saaid]'
|
AND a.saaid<'$row[saaid]'
|
||||||
@ -333,7 +333,13 @@ $pdf->SetY($pos);
|
|||||||
$data[0]['V_ALIGN'] = "M"; //T=TOP, M=MIDDLE, B=BOTTOM
|
$data[0]['V_ALIGN'] = "M"; //T=TOP, M=MIDDLE, B=BOTTOM
|
||||||
#$data[0]['T_TYPE'] = "BI"; // B=BOLD, I=ITALIC
|
#$data[0]['T_TYPE'] = "BI"; // B=BOLD, I=ITALIC
|
||||||
|
|
||||||
$data[1]['TEXT'] = "$rowdata3[bez]";
|
if($row_alt_aend['umzugsverg'] == 'J'){
|
||||||
|
$data[1]['TEXT'] = "$rowdata3[bez]*";
|
||||||
|
$hinweis_umzug=1;
|
||||||
|
}else{
|
||||||
|
$data[1]['TEXT'] = "$rowdata3[bez]";
|
||||||
|
$hinweis_umzug=0;
|
||||||
|
}
|
||||||
$data[1]['T_ALIGN'] = "L";
|
$data[1]['T_ALIGN'] = "L";
|
||||||
$data[1]['V_ALIGN'] = "M";
|
$data[1]['V_ALIGN'] = "M";
|
||||||
|
|
||||||
@ -493,7 +499,7 @@ $pdf->SetY($pos);
|
|||||||
{
|
{
|
||||||
$data = Array();
|
$data = Array();
|
||||||
|
|
||||||
$res_neu_aend = $db->query("SELECT date_format(beginn, '%d.%m.%Y') beginn, date_format(ende, '%d.%m.%Y') ende, dst_id, abteilung, e.bezeichnung
|
$res_neu_aend = $db->query("SELECT date_format(beginn, '%d.%m.%Y') beginn, date_format(ende, '%d.%m.%Y') ende, dst_id, abteilung, e.bezeichnung, umzugsverg
|
||||||
FROM stan_antrag a, stan_vertiefungsbereich e
|
FROM stan_antrag a, stan_vertiefungsbereich e
|
||||||
WHERE a.vert_bereich=e.vbid
|
WHERE a.vert_bereich=e.vbid
|
||||||
AND a.saaid ='$row[saaid]'
|
AND a.saaid ='$row[saaid]'
|
||||||
@ -547,8 +553,13 @@ $pdf->SetY($pos);
|
|||||||
$data[0]['T_ALIGN'] = "L"; //C=CENTER, L=LEFT, R=RIGHT, J=JUSTIFY
|
$data[0]['T_ALIGN'] = "L"; //C=CENTER, L=LEFT, R=RIGHT, J=JUSTIFY
|
||||||
$data[0]['V_ALIGN'] = "M"; //T=TOP, M=MIDDLE, B=BOTTOM
|
$data[0]['V_ALIGN'] = "M"; //T=TOP, M=MIDDLE, B=BOTTOM
|
||||||
#$data[0]['T_TYPE'] = "BI"; // B=BOLD, I=ITALIC
|
#$data[0]['T_TYPE'] = "BI"; // B=BOLD, I=ITALIC
|
||||||
|
if($row_neu_aend['umzugsverg'] == 'J'){
|
||||||
$data[1]['TEXT'] = "$rowdata3[bez]";
|
$data[1]['TEXT'] = "$rowdata3[bez]*";
|
||||||
|
$hinweis_umzug=1;
|
||||||
|
}else{
|
||||||
|
$data[1]['TEXT'] = "$rowdata3[bez]";
|
||||||
|
$hinweis_umzug=0;
|
||||||
|
}
|
||||||
$data[1]['T_ALIGN'] = "L";
|
$data[1]['T_ALIGN'] = "L";
|
||||||
$data[1]['V_ALIGN'] = "M";
|
$data[1]['V_ALIGN'] = "M";
|
||||||
|
|
||||||
@ -569,9 +580,14 @@ $pdf->SetY($pos);
|
|||||||
|
|
||||||
$pdf->Draw_Table_Border();
|
$pdf->Draw_Table_Border();
|
||||||
|
|
||||||
|
if($hinweis_umzug == 1){
|
||||||
|
$pos=$pdf->GetY()+6.4;
|
||||||
|
|
||||||
|
$pdf->SetFont('Arial', '', 12);
|
||||||
|
$pdf->SetY($pos);
|
||||||
|
$pdf->SetX(24);
|
||||||
|
$pdf->MultiCell(168, 4.8, "* Für diese Stelle wurde eine Umzugsvergütung gewährt.", 0, 'J');
|
||||||
|
}
|
||||||
|
|
||||||
$pos=$pdf->GetY()+6.4;
|
$pos=$pdf->GetY()+6.4;
|
||||||
|
|
||||||
|
@ -308,7 +308,7 @@ $pdf->SetX(24);
|
|||||||
|
|
||||||
$db = dbconnect();
|
$db = dbconnect();
|
||||||
if(!isset($hist)){
|
if(!isset($hist)){
|
||||||
$query = "SELECT date_format(beginn, '%d.%m.%Y') beginn, date_format(beginn, '%Y%m%d') beginnform, date_format(ende, '%d.%m.%Y') ende, dst_id,abteilung, e.bezeichnung, saaid
|
$query = "SELECT date_format(beginn, '%d.%m.%Y') beginn, date_format(beginn, '%Y%m%d') beginnform, date_format(ende, '%d.%m.%Y') ende, dst_id,abteilung, e.bezeichnung, saaid, umzugsverg
|
||||||
FROM stan_antrag a, stan_vertiefungsbereich e
|
FROM stan_antrag a, stan_vertiefungsbereich e
|
||||||
WHERE a.vert_bereich=e.vbid
|
WHERE a.vert_bereich=e.vbid
|
||||||
AND a.uid='$uid1'
|
AND a.uid='$uid1'
|
||||||
@ -323,7 +323,7 @@ $pdf->SetX(24);
|
|||||||
$result = $db->query ($query)
|
$result = $db->query ($query)
|
||||||
or die ("Cannot execute query1");
|
or die ("Cannot execute query1");
|
||||||
}else{
|
}else{
|
||||||
$query = "SELECT date_format( beginn, '%d.%m.%Y' ) beginn, date_format( beginn, '%Y%m%d' ) beginnform, date_format( ende, '%d.%m.%Y' ) ende, dst_id, abteilung, e.bezeichnung, a.saaid
|
$query = "SELECT date_format( beginn, '%d.%m.%Y' ) beginn, date_format( beginn, '%Y%m%d' ) beginnform, date_format( ende, '%d.%m.%Y' ) ende, dst_id, abteilung, e.bezeichnung, a.saaid, umzugsverg
|
||||||
FROM stan_antrag a, stan_vertiefungsbereich e, stan_printqueue_hist b
|
FROM stan_antrag a, stan_vertiefungsbereich e, stan_printqueue_hist b
|
||||||
WHERE a.vert_bereich = e.vbid
|
WHERE a.vert_bereich = e.vbid
|
||||||
AND a.saaid=b.saaid
|
AND a.saaid=b.saaid
|
||||||
@ -337,7 +337,7 @@ $pdf->SetX(24);
|
|||||||
|
|
||||||
if(isset($hist2)){
|
if(isset($hist2)){
|
||||||
# Bei der Historie 2 Gesamtdruck, werden über pdf_gen_ges_akte EZS und AES gedruckt, daher hier nicht den höchsten Status sondern wirklich Erstanträge
|
# Bei der Historie 2 Gesamtdruck, werden über pdf_gen_ges_akte EZS und AES gedruckt, daher hier nicht den höchsten Status sondern wirklich Erstanträge
|
||||||
$query = "SELECT date_format(beginn, '%d.%m.%Y') beginn, date_format(beginn, '%Y%m%d') beginnform, date_format(ende, '%d.%m.%Y') ende, dst_id,abteilung, e.bezeichnung, saaid
|
$query = "SELECT date_format(beginn, '%d.%m.%Y') beginn, date_format(beginn, '%Y%m%d') beginnform, date_format(ende, '%d.%m.%Y') ende, dst_id,abteilung, e.bezeichnung, saaid, umzugsverg
|
||||||
FROM stan_antrag a, stan_vertiefungsbereich e
|
FROM stan_antrag a, stan_vertiefungsbereich e
|
||||||
WHERE a.vert_bereich=e.vbid
|
WHERE a.vert_bereich=e.vbid
|
||||||
AND a.uid='$uid1'
|
AND a.uid='$uid1'
|
||||||
@ -401,7 +401,13 @@ $pdf->SetX(24);
|
|||||||
$data[0]['V_ALIGN'] = "M"; //T=TOP, M=MIDDLE, B=BOTTOM
|
$data[0]['V_ALIGN'] = "M"; //T=TOP, M=MIDDLE, B=BOTTOM
|
||||||
#$data[0]['T_TYPE'] = "BI"; // B=BOLD, I=ITALIC
|
#$data[0]['T_TYPE'] = "BI"; // B=BOLD, I=ITALIC
|
||||||
|
|
||||||
$data[1]['TEXT'] = "$rowdata3[bez]";
|
if($row['umzugsverg'] == 'J'){
|
||||||
|
$data[1]['TEXT'] = "$rowdata3[bez]*";
|
||||||
|
$hinweis_umzug=1;
|
||||||
|
}else{
|
||||||
|
$data[1]['TEXT'] = "$rowdata3[bez]";
|
||||||
|
$hinweis_umzug=0;
|
||||||
|
}
|
||||||
$data[1]['T_ALIGN'] = "L";
|
$data[1]['T_ALIGN'] = "L";
|
||||||
$data[1]['V_ALIGN'] = "M";
|
$data[1]['V_ALIGN'] = "M";
|
||||||
|
|
||||||
@ -452,6 +458,13 @@ if(!isset($hist) or !isset($hist2)){
|
|||||||
#$pdf->SetX(24);
|
#$pdf->SetX(24);
|
||||||
#$pdf->MultiCell(175, 3.9, "Beiliegende Anlagen sind Bestandteil des Zuweisungsbescheids.", 0, 'L');
|
#$pdf->MultiCell(175, 3.9, "Beiliegende Anlagen sind Bestandteil des Zuweisungsbescheids.", 0, 'L');
|
||||||
|
|
||||||
|
if($hinweis_umzug == 1){
|
||||||
|
$pos=$pdf->GetY()+3;
|
||||||
|
$pdf->SetFont('Arial', '', 11);
|
||||||
|
$pdf->SetY($pos);
|
||||||
|
$pdf->SetX(24);
|
||||||
|
$pdf->MultiCell(175, 3.9, "* Für diese Stelle wurde eine Umzugsvergütung gewährt.", 0, 'J');
|
||||||
|
}
|
||||||
|
|
||||||
$pos=$pdf->GetY()+3.0;
|
$pos=$pdf->GetY()+3.0;
|
||||||
|
|
||||||
|
@ -794,6 +794,7 @@ oPopupBody.style.border = \"solid blue 1px\";
|
|||||||
|
|
||||||
#1
|
#1
|
||||||
$block_cur= get_block($row2['saaid'], $jahrgang);
|
$block_cur= get_block($row2['saaid'], $jahrgang);
|
||||||
|
|
||||||
$result1 = $db->query("SELECT prio0, prio1
|
$result1 = $db->query("SELECT prio0, prio1
|
||||||
FROM stan_ag_wunsch_vw
|
FROM stan_ag_wunsch_vw
|
||||||
WHERE uid= '$row2[uid]'
|
WHERE uid= '$row2[uid]'
|
||||||
@ -1051,6 +1052,37 @@ $row_alt = $res_alt->fetch_array();
|
|||||||
|
|
||||||
$zuweis_dat = $datum=date("Y-m-d H:i:s");
|
$zuweis_dat = $datum=date("Y-m-d H:i:s");
|
||||||
|
|
||||||
|
# neu 19.01.2024, wenn sich nur die Umzugsvergütung ändert, dann bekommt die Praxisstelle kein Anschreiben
|
||||||
|
$res_umzug_alt = $db->query("SELECT uid, pos, vert_bereich, art,dummy_dst, dst_id, beginn, ende, abteilung, tel_abteilung, umzugsverg
|
||||||
|
FROM stan_antrag
|
||||||
|
WHERE saaid='$row_alt[saaid]'
|
||||||
|
LIMIT 1");
|
||||||
|
$row_umzug_alt = $res_umzug_alt->fetch_array();
|
||||||
|
|
||||||
|
$res_umzug_akt = $db->query("SELECT uid, pos, vert_bereich, art,dummy_dst, dst_id, beginn, ende, abteilung, tel_abteilung, umzugsverg
|
||||||
|
FROM stan_antrag
|
||||||
|
WHERE saaid='$row_akt[saaid]'
|
||||||
|
LIMIT 1");
|
||||||
|
$row_umzug_akt = $res_umzug_akt->fetch_array();
|
||||||
|
if($row_umzug_alt['uid'] == $row_umzug_akt['uid'] AND
|
||||||
|
$row_umzug_alt['pos'] == $row_umzug_akt['pos'] AND
|
||||||
|
$row_umzug_alt['vert_bereich'] == $row_umzug_akt['vert_bereich'] AND
|
||||||
|
$row_umzug_alt['art'] == $row_umzug_akt['art'] AND
|
||||||
|
$row_umzug_alt['dummy_dst'] == $row_umzug_akt['dummy_dst'] AND
|
||||||
|
$row_umzug_alt['dst_id'] == $row_umzug_akt['dst_id'] AND
|
||||||
|
$row_umzug_alt['beginn'] == $row_umzug_akt['beginn'] AND
|
||||||
|
$row_umzug_alt['ende'] == $row_umzug_akt['ende'] AND
|
||||||
|
$row_umzug_alt['abteilung'] == $row_umzug_akt['abteilung'] AND
|
||||||
|
$row_umzug_alt['tel_abteilung'] == $row_umzug_akt['tel_abteilung'] AND
|
||||||
|
$row_umzug_alt['umzugsverg'] != $row_umzug_akt['umzugsverg']
|
||||||
|
){
|
||||||
|
# Es ändert sich nur die Umzugsvergütung im Änderungsantrag. Daher bekommt Praxisstelle keinen Brief
|
||||||
|
$inform_praxisstelle =0;
|
||||||
|
}else{
|
||||||
|
# Praxisstelle bekommt Brief
|
||||||
|
$inform_praxisstelle =1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
if($row_akt['zuweisung'] != 'Z'){
|
if($row_akt['zuweisung'] != 'Z'){
|
||||||
|
|
||||||
@ -1058,9 +1090,7 @@ $db = dbconnect();
|
|||||||
# Step 1
|
# Step 1
|
||||||
# Neuer Erstantrag zuweisen
|
# Neuer Erstantrag zuweisen
|
||||||
|
|
||||||
|
|
||||||
if($row_akt['status'] == '0' AND $row_akt['zuweisung'] == NULL AND $row_akt['saaid'] == $row_akt['aendid']){
|
if($row_akt['status'] == '0' AND $row_akt['zuweisung'] == NULL AND $row_akt['saaid'] == $row_akt['aendid']){
|
||||||
|
|
||||||
$db->query("UPDATE stan_antrag
|
$db->query("UPDATE stan_antrag
|
||||||
SET zuweisung='Z'
|
SET zuweisung='Z'
|
||||||
, zuweis_dat='$zuweis_dat'
|
, zuweis_dat='$zuweis_dat'
|
||||||
@ -1088,15 +1118,17 @@ if($row_akt['status'] == '1' AND $row_akt['zuweisung'] == NULL AND $row_akt['aen
|
|||||||
WHERE saaid='$row_alt[saaid]'");
|
WHERE saaid='$row_alt[saaid]'");
|
||||||
# --> Schreiben an Student, Schreiben an Dienststelle Änderungsantrag
|
# --> Schreiben an Student, Schreiben an Dienststelle Änderungsantrag
|
||||||
printqueue_antrag($row_akt['saaid'], 'EZS', 'Änderungsantrag zugewiesen an Student ohne zugewiesenem Erstantrag', $user_admin, $hs, 1);
|
printqueue_antrag($row_akt['saaid'], 'EZS', 'Änderungsantrag zugewiesen an Student ohne zugewiesenem Erstantrag', $user_admin, $hs, 1);
|
||||||
printqueue_antrag($row_akt['saaid'], 'EZP', 'Änderungsantrag zugewiesen an Praxisstelle ohne zugewiesenem Erstantrag', $user_admin, $hs, 2);
|
if($inform_praxisstelle == 1){
|
||||||
|
printqueue_antrag($row_akt['saaid'], 'EZP', 'Änderungsantrag zugewiesen an Praxisstelle ohne zugewiesenem Erstantrag', $user_admin, $hs, 2);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
# Step 2 Ende
|
# Step 2 Ende
|
||||||
|
|
||||||
# Step 3
|
# Step 3
|
||||||
# Änderungsantrag mit zugewiesenem Erstantrag
|
# Änderungsantrag mit zugewiesenem Erstantrag
|
||||||
if($row_akt['status'] == '1' AND $row_akt['zuweisung'] == NULL AND $row_akt['aendid'] == $row_alt['aendid'] AND $row_alt['saaid']== $row_alt['aendid'] AND $row_alt['status'] =='0' AND $row_alt['zuweisung'] == 'Z'){
|
if($row_akt['status'] == '1' AND $row_akt['zuweisung'] == NULL AND $row_akt['aendid'] == $row_alt['aendid'] AND $row_alt['saaid']== $row_alt['aendid'] AND $row_alt['status'] =='0' AND $row_alt['zuweisung'] == 'Z'){
|
||||||
|
|
||||||
|
|
||||||
# Änderungsantrag zuweisen
|
# Änderungsantrag zuweisen
|
||||||
$db->query("UPDATE stan_antrag
|
$db->query("UPDATE stan_antrag
|
||||||
SET zuweisung='Z'
|
SET zuweisung='Z'
|
||||||
@ -1110,7 +1142,12 @@ if($row_akt['status'] == '1' AND $row_akt['zuweisung'] == NULL AND $row_akt['aen
|
|||||||
# --> Schreiben an Student, Schreiben an Dienststelle Änderungsantrag, Schreiben an Dienststelle Erstantrag
|
# --> Schreiben an Student, Schreiben an Dienststelle Änderungsantrag, Schreiben an Dienststelle Erstantrag
|
||||||
|
|
||||||
printqueue_antrag($row_akt['saaid'], 'AES', 'Änderungsschreiben an Student mit zugewiesenem Erstantrag', $user_admin, $hs, 1);
|
printqueue_antrag($row_akt['saaid'], 'AES', 'Änderungsschreiben an Student mit zugewiesenem Erstantrag', $user_admin, $hs, 1);
|
||||||
printqueue_antrag($row_akt['saaid'], 'AEP', 'Änderungsschreiben an Praxisstelle mit zugewiesenem Erstantrag', $user_admin, $hs, 2);
|
|
||||||
|
|
||||||
|
if($inform_praxisstelle == 1){
|
||||||
|
printqueue_antrag($row_akt['saaid'], 'AEP', 'Änderungsschreiben an Praxisstelle mit zugewiesenem Erstantrag', $user_admin, $hs, 2);
|
||||||
|
}
|
||||||
|
|
||||||
if($row_akt['dst_id'] != $row_alt['dst_id']){ //wenn sich Dienststelle ändert, dann zusätzlich eine Neuzuweisung
|
if($row_akt['dst_id'] != $row_alt['dst_id']){ //wenn sich Dienststelle ändert, dann zusätzlich eine Neuzuweisung
|
||||||
printqueue_antrag($row_akt['saaid'], 'EZP', 'Erstantrag an Praxisstelle nach Änderungsantrag', $user_admin, $hs, 3);
|
printqueue_antrag($row_akt['saaid'], 'EZP', 'Erstantrag an Praxisstelle nach Änderungsantrag', $user_admin, $hs, 3);
|
||||||
}
|
}
|
||||||
@ -1137,7 +1174,9 @@ if($row_akt['status'] == '1' AND $row_akt['zuweisung'] == NULL AND $row_akt['aen
|
|||||||
printqueue_antrag($row_akt['saaid'], 'AES', 'Änderungsschreiben an Student mit zugewiesenem Änderungsantrag', $user_admin, $hs, 1);
|
printqueue_antrag($row_akt['saaid'], 'AES', 'Änderungsschreiben an Student mit zugewiesenem Änderungsantrag', $user_admin, $hs, 1);
|
||||||
printqueue_antrag($row_akt['saaid'], 'AEP', 'Änderungsschreiben an Praxisstelle mit zugewiesenem Änderungsantrag', $user_admin, $hs, 2);
|
printqueue_antrag($row_akt['saaid'], 'AEP', 'Änderungsschreiben an Praxisstelle mit zugewiesenem Änderungsantrag', $user_admin, $hs, 2);
|
||||||
if($row_akt['dst_id'] != $row_alt[dst_id]){ //wenn sich Dienststelle ändert, dann zusätzlich eine Neuzuweisung
|
if($row_akt['dst_id'] != $row_alt[dst_id]){ //wenn sich Dienststelle ändert, dann zusätzlich eine Neuzuweisung
|
||||||
printqueue_antrag($row_akt['saaid'], 'EZP', 'Erstantrag an Praxisstelle nach zugewiesenem Änderungsantrag', $user_admin, $hs, 3);
|
if($inform_praxisstelle == 1){
|
||||||
|
printqueue_antrag($row_akt['saaid'], 'EZP', 'Erstantrag an Praxisstelle nach zugewiesenem Änderungsantrag', $user_admin, $hs, 3);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$saaid_cur = $row_akt['saaid'];
|
$saaid_cur = $row_akt['saaid'];
|
||||||
@ -1427,6 +1466,36 @@ $row_alt = $res_alt->fetch_array();
|
|||||||
|
|
||||||
$zuweis_dat = $datum=date("Y-m-d H:i:s");
|
$zuweis_dat = $datum=date("Y-m-d H:i:s");
|
||||||
|
|
||||||
|
# neu 19.01.2024, wenn sich nur die Umzugsvergütung ändert, dann bekommt die Praxisstelle kein Anschreiben
|
||||||
|
$res_umzug_alt = $db->query("SELECT uid, pos, vert_bereich, art,dummy_dst, dst_id, beginn, ende, abteilung, tel_abteilung, umzugsverg
|
||||||
|
FROM stan_antrag
|
||||||
|
WHERE saaid='$row_alt[saaid]'
|
||||||
|
LIMIT 1");
|
||||||
|
$row_umzug_alt = $res_umzug_alt->fetch_array();
|
||||||
|
|
||||||
|
$res_umzug_akt = $db->query("SELECT uid, pos, vert_bereich, art,dummy_dst, dst_id, beginn, ende, abteilung, tel_abteilung, umzugsverg
|
||||||
|
FROM stan_antrag
|
||||||
|
WHERE saaid='$row_akt[saaid]'
|
||||||
|
LIMIT 1");
|
||||||
|
$row_umzug_akt = $res_umzug_akt->fetch_array();
|
||||||
|
if($row_umzug_alt['uid'] == $row_umzug_akt['uid'] AND
|
||||||
|
$row_umzug_alt['pos'] == $row_umzug_akt['pos'] AND
|
||||||
|
$row_umzug_alt['vert_bereich'] == $row_umzug_akt['vert_bereich'] AND
|
||||||
|
$row_umzug_alt['art'] == $row_umzug_akt['art'] AND
|
||||||
|
$row_umzug_alt['dummy_dst'] == $row_umzug_akt['dummy_dst'] AND
|
||||||
|
$row_umzug_alt['dst_id'] == $row_umzug_akt['dst_id'] AND
|
||||||
|
$row_umzug_alt['beginn'] == $row_umzug_akt['beginn'] AND
|
||||||
|
$row_umzug_alt['ende'] == $row_umzug_akt['ende'] AND
|
||||||
|
$row_umzug_alt['abteilung'] == $row_umzug_akt['abteilung'] AND
|
||||||
|
$row_umzug_alt['tel_abteilung'] == $row_umzug_akt['tel_abteilung'] AND
|
||||||
|
$row_umzug_alt['umzugsverg'] != $row_umzug_akt['umzugsverg']
|
||||||
|
){
|
||||||
|
# Es ändert sich nur die Umzugsvergütung im Änderungsantrag. Daher bekommt Praxisstelle keinen Brief
|
||||||
|
$inform_praxisstelle =0;
|
||||||
|
}else{
|
||||||
|
# Praxisstelle bekommt Brief
|
||||||
|
$inform_praxisstelle =1;
|
||||||
|
}
|
||||||
|
|
||||||
if($row_akt['zuweisung'] != 'Z'){
|
if($row_akt['zuweisung'] != 'Z'){
|
||||||
|
|
||||||
@ -1463,9 +1532,9 @@ if($row_akt['status'] == '1' AND $row_akt['zuweisung'] == NULL AND $row_akt['aen
|
|||||||
WHERE saaid='$row_alt[saaid]'");
|
WHERE saaid='$row_alt[saaid]'");
|
||||||
# --> Schreiben an Student, Schreiben an Dienststelle Änderungsantrag
|
# --> Schreiben an Student, Schreiben an Dienststelle Änderungsantrag
|
||||||
printqueue_antrag($row_akt['saaid'], 'EZS', 'Änderungsantrag zugewiesen an Student ohne zugewiesenem Erstantrag', $user_admin, $hs, 1);
|
printqueue_antrag($row_akt['saaid'], 'EZS', 'Änderungsantrag zugewiesen an Student ohne zugewiesenem Erstantrag', $user_admin, $hs, 1);
|
||||||
printqueue_antrag($row_akt['saaid'], 'EZP', 'Änderungsantrag zugewiesen an Praxisstelle ohne zugewiesenem Erstantrag', $user_admin, $hs, 2);
|
if($inform_praxisstelle == 1){
|
||||||
|
printqueue_antrag($row_akt['saaid'], 'EZP', 'Änderungsantrag zugewiesen an Praxisstelle ohne zugewiesenem Erstantrag', $user_admin, $hs, 2);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
# Step 2 Ende
|
# Step 2 Ende
|
||||||
|
|
||||||
@ -1486,9 +1555,11 @@ if($row_akt['status'] == '1' AND $row_akt['zuweisung'] == NULL AND $row_akt['aen
|
|||||||
# --> Schreiben an Student, Schreiben an Dienststelle Änderungsantrag, Schreiben an Dienststelle Erstantrag
|
# --> Schreiben an Student, Schreiben an Dienststelle Änderungsantrag, Schreiben an Dienststelle Erstantrag
|
||||||
|
|
||||||
printqueue_antrag($row_akt['saaid'], 'AES', 'Änderungsschreiben an Student mit zugewiesenem Erstantrag', $user_admin, $hs, 1);
|
printqueue_antrag($row_akt['saaid'], 'AES', 'Änderungsschreiben an Student mit zugewiesenem Erstantrag', $user_admin, $hs, 1);
|
||||||
|
if($inform_praxisstelle == 1){
|
||||||
printqueue_antrag($row_akt['saaid'], 'AEP', 'Änderungsschreiben an Praxisstelle mit zugewiesenem Erstantrag', $user_admin, $hs, 2);
|
printqueue_antrag($row_akt['saaid'], 'AEP', 'Änderungsschreiben an Praxisstelle mit zugewiesenem Erstantrag', $user_admin, $hs, 2);
|
||||||
if($row_akt['dst_id'] != $row_alt['dst_id']){ //wenn sich Dienststelle ändert, dann zusätzlich eine Neuzuweisung
|
if($row_akt['dst_id'] != $row_alt['dst_id']){ //wenn sich Dienststelle ändert, dann zusätzlich eine Neuzuweisung
|
||||||
printqueue_antrag($row_akt['saaid'], 'EZP', 'Erstantrag an Praxisstelle nach Änderungsantrag', $user_admin, $hs, 3);
|
printqueue_antrag($row_akt['saaid'], 'EZP', 'Erstantrag an Praxisstelle nach Änderungsantrag', $user_admin, $hs, 3);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
$saaid_cur = $row_akt['saaid'];
|
$saaid_cur = $row_akt['saaid'];
|
||||||
}
|
}
|
||||||
@ -1513,7 +1584,9 @@ if($row_akt['status'] == '1' AND $row_akt['zuweisung'] == NULL AND $row_akt['aen
|
|||||||
printqueue_antrag($row_akt['saaid'], 'AES', 'Änderungsschreiben an Student mit zugewiesenem Änderungsantrag', $user_admin, $hs, 1);
|
printqueue_antrag($row_akt['saaid'], 'AES', 'Änderungsschreiben an Student mit zugewiesenem Änderungsantrag', $user_admin, $hs, 1);
|
||||||
printqueue_antrag($row_akt['saaid'], 'AEP', 'Änderungsschreiben an Praxisstelle mit zugewiesenem Änderungsantrag', $user_admin, $hs, 2);
|
printqueue_antrag($row_akt['saaid'], 'AEP', 'Änderungsschreiben an Praxisstelle mit zugewiesenem Änderungsantrag', $user_admin, $hs, 2);
|
||||||
if($row_akt['dst_id'] != $row_alt['dst_id']){ //wenn sich Dienststelle ändert, dann zusätzlich eine Neuzuweisung
|
if($row_akt['dst_id'] != $row_alt['dst_id']){ //wenn sich Dienststelle ändert, dann zusätzlich eine Neuzuweisung
|
||||||
printqueue_antrag($row_akt['saaid'], 'EZP', 'Erstantrag an Praxisstelle nach zugewiesenem Änderungsantrag', $user_admin, $hs, 3);
|
if($inform_praxisstelle == 1){
|
||||||
|
printqueue_antrag($row_akt['saaid'], 'EZP', 'Erstantrag an Praxisstelle nach zugewiesenem Änderungsantrag', $user_admin, $hs, 3);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$saaid_cur = $row_akt['saaid'];
|
$saaid_cur = $row_akt['saaid'];
|
||||||
|
@ -7,7 +7,7 @@ $jahrgang=$_COOKIE["jahrgang"];
|
|||||||
|
|
||||||
$db = dbconnect();
|
$db = dbconnect();
|
||||||
|
|
||||||
$result3 = $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, aendid
|
$result3 = $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, aendid, umzugsverg
|
||||||
FROM stan_antrag
|
FROM stan_antrag
|
||||||
WHERE saaid='$saaid'");
|
WHERE saaid='$saaid'");
|
||||||
$row3 = $result3->fetch_array();
|
$row3 = $result3->fetch_array();
|
||||||
@ -59,7 +59,7 @@ $row3b = $result3b->fetch_array();
|
|||||||
|
|
||||||
|
|
||||||
## vorheriger Datensatz suchen
|
## 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
|
$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
|
FROM stan_antrag
|
||||||
WHERE saaid<'$row3[saaid]'
|
WHERE saaid<'$row3[saaid]'
|
||||||
AND aendid='$row3[aendid]'
|
AND aendid='$row3[aendid]'
|
||||||
@ -345,6 +345,20 @@ function cursorhand()
|
|||||||
<font color='$color'>$row3[tel_abteilung]</font>
|
<font color='$color'>$row3[tel_abteilung]</font>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width='40%'>
|
||||||
|
<b>Umzugsvergütung</b>
|
||||||
|
</td>
|
||||||
|
<td width='60%'>";
|
||||||
|
if($row3['umzugsverg'] == $row_alt['umzugsverg']){
|
||||||
|
$color='black';
|
||||||
|
}else{
|
||||||
|
$color='red';
|
||||||
|
}
|
||||||
|
echo"
|
||||||
|
<font color='$color'>$row3[umzugsverg]</font>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
@ -514,16 +528,16 @@ function cursorhand()
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td width='40%'>
|
<td width='40%'>
|
||||||
<b>Tel. der Abteilung</b>
|
<b>Umzugsvergütung</b>
|
||||||
</td>
|
</td>
|
||||||
<td width='60%'>";
|
<td width='60%'>";
|
||||||
if($row3['tel_abteilung'] == $row_alt['tel_abteilung']){
|
if($row3['umzugsverg'] == $row_alt['umzugsverg']){
|
||||||
$color='black';
|
$color='black';
|
||||||
}else{
|
}else{
|
||||||
$color='red';
|
$color='red';
|
||||||
}
|
}
|
||||||
echo"
|
echo"
|
||||||
<font color='$color'>$row_alt[tel_abteilung]</font>
|
<font color='$color'>$row_alt[umzugsverg]</font>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
File diff suppressed because one or more lines are too long
@ -4208,6 +4208,7 @@ $result_data1a = $db->query("SELECT t1.vert_bereich
|
|||||||
, t1.entfernung
|
, t1.entfernung
|
||||||
, t1.ledig
|
, t1.ledig
|
||||||
, t1.hausstand
|
, t1.hausstand
|
||||||
|
, t1.umzugsverg
|
||||||
FROM stan_antrag t1
|
FROM stan_antrag t1
|
||||||
WHERE t1.status = (
|
WHERE t1.status = (
|
||||||
SELECT MAX(t2.status)
|
SELECT MAX(t2.status)
|
||||||
@ -4270,8 +4271,9 @@ $db_maildst = $rowdata3a['mail'];
|
|||||||
$db_entfernung = $rowdata1a['entfernung'];
|
$db_entfernung = $rowdata1a['entfernung'];
|
||||||
$db_ledig = $rowdata1a['ledig'];
|
$db_ledig = $rowdata1a['ledig'];
|
||||||
$db_hausstand = $rowdata1a['hausstand'];
|
$db_hausstand = $rowdata1a['hausstand'];
|
||||||
|
$db_umzugsverg = $rowdata1a['umzugsverg'];
|
||||||
|
|
||||||
echo "|$db_entfernung --> $rowdata1a[entfernung]|<br>";
|
#echo "|$db_entfernung --> $rowdata1a[entfernung]|<br>";
|
||||||
|
|
||||||
$db_beginndatum = $rowdata1a['beginn'];
|
$db_beginndatum = $rowdata1a['beginn'];
|
||||||
$db_enddatum = $rowdata1a['ende'];
|
$db_enddatum = $rowdata1a['ende'];
|
||||||
@ -4299,9 +4301,10 @@ if(trim($db_vertiefungsbereich) == trim($vertiefungsbereich) AND
|
|||||||
trim($db_enddatum) == trim($enddatum) AND
|
trim($db_enddatum) == trim($enddatum) AND
|
||||||
trim($db_abteilung) == trim($abteilung) AND
|
trim($db_abteilung) == trim($abteilung) AND
|
||||||
trim($db_telabteilung) == trim($telabteilung) AND
|
trim($db_telabteilung) == trim($telabteilung) AND
|
||||||
trim($db_entfernung) == trim($entfernung) AND
|
# trim($db_entfernung) == trim($entfernung) AND
|
||||||
trim($db_ledig) == trim($ledig) AND
|
# trim($db_ledig) == trim($ledig) AND
|
||||||
trim($db_hausstand) == trim($hausstand)
|
# trim($db_hausstand) == trim($hausstand)
|
||||||
|
trim($db_umzugsverg) == trim($umzugsverg)
|
||||||
){
|
){
|
||||||
echo"";
|
echo"";
|
||||||
|
|
||||||
@ -4309,51 +4312,51 @@ if(trim($db_vertiefungsbereich) == trim($vertiefungsbereich) AND
|
|||||||
# Wenn der Datensatz noch nicht abgeschickt wurde und er wird wieder geändert, dann ersten Änderungsantrag löschen
|
# Wenn der Datensatz noch nicht abgeschickt wurde und er wird wieder geändert, dann ersten Änderungsantrag löschen
|
||||||
$result_tmp1 = $db->query("SELECT distinct 1 FROM stan_antrag WHERE uid='$uid1' AND pos='$pos' AND status='2'");
|
$result_tmp1 = $db->query("SELECT distinct 1 FROM stan_antrag WHERE uid='$uid1' AND pos='$pos' AND status='2'");
|
||||||
$row_tmp1 = $result_tmp1->fetch_array();
|
$row_tmp1 = $result_tmp1->fetch_array();
|
||||||
echo "---> $pos<br>";
|
#echo "---> $pos<br>";
|
||||||
echo "SELECT t1.vert_bereich
|
#echo "SELECT t1.vert_bereich
|
||||||
, t1.art
|
# , t1.art
|
||||||
, t1.dummy_dst
|
# , t1.dummy_dst
|
||||||
, t1.saaid
|
# , t1.saaid
|
||||||
, t1.dst_id
|
# , t1.dst_id
|
||||||
, t1.pos
|
# , t1.pos
|
||||||
, t1.beginn
|
# , t1.beginn
|
||||||
, t1.ende
|
# , t1.ende
|
||||||
, t1.abteilung
|
# , t1.abteilung
|
||||||
, t1.tel_abteilung
|
# , t1.tel_abteilung
|
||||||
, t1.entfernung
|
# , t1.entfernung
|
||||||
, t1.ledig
|
# , t1.ledig
|
||||||
, t1.hausstand
|
# , t1.hausstand
|
||||||
FROM stan_antrag t1
|
# FROM stan_antrag t1
|
||||||
WHERE t1.status = (
|
# WHERE t1.status = (
|
||||||
SELECT MAX(t2.status)
|
# SELECT MAX(t2.status)
|
||||||
FROM stan_antrag t2
|
# FROM stan_antrag t2
|
||||||
WHERE t1.aendid = t2.aendid
|
# WHERE t1.aendid = t2.aendid
|
||||||
)
|
# )
|
||||||
AND t1.uid = '$uid1'
|
# AND t1.uid = '$uid1'
|
||||||
AND t1.pos='$pos'
|
# AND t1.pos='$pos'
|
||||||
AND (t1.zuweisung is NULL or t1.zuweisung='' or t1.zuweisung='Z')
|
# AND (t1.zuweisung is NULL or t1.zuweisung='' or t1.zuweisung='Z')
|
||||||
<br>";
|
# <br>";
|
||||||
echo trim($db_vertiefungsbereich)." == ". trim($vertiefungsbereich)."<br>";
|
#echo trim($db_vertiefungsbereich)." == ". trim($vertiefungsbereich)."<br>";
|
||||||
echo trim($db_pos) ." == ". trim($pos)."<br>";
|
#echo trim($db_pos) ." == ". trim($pos)."<br>";
|
||||||
echo trim($db_stellenart) ." == ". trim($stellenart)."<br>";
|
#echo trim($db_stellenart) ." == ". trim($stellenart)."<br>";
|
||||||
echo trim($db_dummy_dst) ." == ". trim($dummy_dst)."<br>";
|
#echo trim($db_dummy_dst) ." == ". trim($dummy_dst)."<br>";
|
||||||
echo trim($db_bezeichnung) ." == ". trim($bezeichnung)."<br>";
|
#echo trim($db_bezeichnung) ." == ". trim($bezeichnung)."<br>";
|
||||||
echo trim($db_str) ." == ". trim($str)."<br>";
|
#echo trim($db_str) ." == ". trim($str)."<br>";
|
||||||
echo trim($db_postfach) ." == ". trim($postfach)."<br>";
|
#echo trim($db_postfach) ." == ". trim($postfach)."<br>";
|
||||||
echo trim($db_plz_postfach) ." == ". trim($plz_postfach)."<br>";
|
#echo trim($db_plz_postfach) ." == ". trim($plz_postfach)."<br>";
|
||||||
echo trim($db_plz) ." == ". trim($plz)."<br>";
|
#echo trim($db_plz) ." == ". trim($plz)."<br>";
|
||||||
echo trim($db_ort) ." == ". trim($ort)."<br>";
|
#echo trim($db_ort) ." == ". trim($ort)."<br>";
|
||||||
echo trim($db_bundesland) ." == ". trim($bundesland)."<br>";
|
#echo trim($db_bundesland) ." == ". trim($bundesland)."<br>";
|
||||||
echo trim($db_staat) ." == ". trim($staat)."<br>";
|
#echo trim($db_staat) ." == ". trim($staat)."<br>";
|
||||||
echo trim($db_maildst) ." == ". trim($maildst)."<br>";
|
#echo trim($db_maildst) ." == ". trim($maildst)."<br>";
|
||||||
echo trim($db_beginndatum) ." == ". trim($beginndatum)."<br>";
|
#echo trim($db_beginndatum) ." == ". trim($beginndatum)."<br>";
|
||||||
echo trim($db_enddatum) ." == ". trim($enddatum)."<br>";
|
#echo trim($db_enddatum) ." == ". trim($enddatum)."<br>";
|
||||||
echo trim($db_abteilung) ." == ". trim($abteilung)."<br>";
|
#echo trim($db_abteilung) ." == ". trim($abteilung)."<br>";
|
||||||
echo trim($db_telabteilung) ." == ". trim($telabteilung)."<br>";
|
#echo trim($db_telabteilung) ." == ". trim($telabteilung)."<br>";
|
||||||
echo trim($db_entfernung) ." == ". trim($entfernung)."<br>";
|
#echo trim($db_entfernung) ." == ". trim($entfernung)."<br>";
|
||||||
echo trim($db_ledig) ." == ". trim($ledig)."<br>";
|
#echo trim($db_ledig) ." == ". trim($ledig)."<br>";
|
||||||
echo trim($db_hausstand) ." == ". trim($hausstand)."<br>";
|
#echo trim($db_hausstand) ." == ". trim($hausstand)."<br>";
|
||||||
echo "<hr>";
|
#echo "<hr>";
|
||||||
|
|
||||||
if($entfernung == 'N'){
|
if($entfernung == 'N'){
|
||||||
# 3 Stufige Abfrage: Wenn Entfernung < 30KM also Nein, dann werden die anderen Felder nicht mehr abgefragt, so sind ledig und Hausstand auch Nein
|
# 3 Stufige Abfrage: Wenn Entfernung < 30KM also Nein, dann werden die anderen Felder nicht mehr abgefragt, so sind ledig und Hausstand auch Nein
|
||||||
|
@ -21,7 +21,7 @@ echo"
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">
|
<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">
|
||||||
<link rel=\"stylesheet\" href=\"styles_pc.css\" type=\"text/css\">
|
<link rel=\"stylesheet\" href=\"../styles_pc.css\" type=\"text/css\">
|
||||||
<title>Login Stellenantragssystem</title>
|
<title>Login Stellenantragssystem</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@ -33,23 +33,23 @@ echo"
|
|||||||
<div align=\"center\">
|
<div align=\"center\">
|
||||||
<table cellspacing=\"0\" cellpadding=\"0\" width=\"550\" border=\"0\">
|
<table cellspacing=\"0\" cellpadding=\"0\" width=\"550\" border=\"0\">
|
||||||
<tr>
|
<tr>
|
||||||
<td width=\"10\" background=\"images/box_e1.gif\">
|
<td width=\"10\" background=\"../images/box_e1.gif\">
|
||||||
<img height=\"40\" src=\"images/blank.gif\" width=\"22\"></td>
|
<img height=\"40\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||||
<td nowrap=\"nowrap\" align=\"left\" width=\"3%\" background=\"images/box_top.gif\" valign=\"top\">
|
<td nowrap=\"nowrap\" align=\"left\" width=\"3%\" background=\"../images/box_top.gif\" valign=\"top\">
|
||||||
<img src=\"images/i_login.gif\"></td>
|
<img src=\"../images/i_login.gif\"></td>
|
||||||
<td width=\"95%\" background=\"images/box_top.gif\">
|
<td width=\"95%\" background=\"../images/box_top.gif\">
|
||||||
<img height=\"10\" src=\"images/blank.gif\" width=\"1\"><br>
|
<img height=\"10\" src=\"../images/blank.gif\" width=\"1\"><br>
|
||||||
<font class=\"hd\">
|
<font class=\"hd\">
|
||||||
Login Stellenantragssystem</font><br>
|
Login Stellenantragssystem</font><br>
|
||||||
<span class=\"sh\">
|
<span class=\"sh\">
|
||||||
Im System können Sie Ihre Praxisstellen während des 3. Ausbildungsjahres erfassen</span><br>
|
Im System können Sie Ihre Praxisstellen während des 3. Ausbildungsjahres erfassen</span><br>
|
||||||
<img height=\"5\" src=\"images/blank.gif\" width=\"1\"></td>
|
<img height=\"5\" src=\"../images/blank.gif\" width=\"1\"></td>
|
||||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"images/box_e2.gif\">
|
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../images/box_e2.gif\">
|
||||||
<img height=\"40\" src=\"images/blank.gif\" width=\"22\"></td>
|
<img height=\"40\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td width=\"1%\" background=\"images/box_l.gif\">
|
<td width=\"1%\" background=\"../images/box_l.gif\">
|
||||||
<img height=\"1\" src=\"images/blank.gif\" width=\"22\"></td>
|
<img height=\"1\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||||
<td colspan=\"2\"><br>
|
<td colspan=\"2\"><br>
|
||||||
<p><b>Folgende Loginkriterien sind zu beachten:</b> </p>
|
<p><b>Folgende Loginkriterien sind zu beachten:</b> </p>
|
||||||
<ul>
|
<ul>
|
||||||
@ -80,23 +80,23 @@ echo"
|
|||||||
</tr>
|
</tr>
|
||||||
<tr class=\"login\">
|
<tr class=\"login\">
|
||||||
<td align=\"right\" colspan=\"2\">
|
<td align=\"right\" colspan=\"2\">
|
||||||
<input title=\"Login\" type=\"image\" src=\"images/b_login.gif\" border=\"0\"></td>
|
<input title=\"Login\" type=\"image\" src=\"../images/b_login.gif\" border=\"0\"></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
<p><br>
|
<p><br>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td width=\"1%\" background=\"images/box_r.gif\">
|
<td width=\"1%\" background=\"../images/box_r.gif\">
|
||||||
<img height=\"1\" src=\"images/blank.gif\" width=\"22\"></td>
|
<img height=\"1\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"images/box_e3.gif\">
|
<td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"../images/box_e3.gif\">
|
||||||
<img height=\"16\" src=\"images/blank.gif\" width=\"22\"></td>
|
<img height=\"16\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||||
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"images/box_bottom.gif\" colspan=\"2\">
|
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"../images/box_bottom.gif\" colspan=\"2\">
|
||||||
<img height=\"16\" src=\"images/blank.gif\" width=\"8\"></td>
|
<img height=\"16\" src=\"../images/blank.gif\" width=\"8\"></td>
|
||||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"images/box_e4.gif\">
|
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../images/box_e4.gif\">
|
||||||
<img height=\"16\" src=\"images/blank.gif\" width=\"22\"> </td>
|
<img height=\"16\" src=\"../images/blank.gif\" width=\"22\"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
@ -108,8 +108,8 @@ echo"
|
|||||||
break;
|
break;
|
||||||
case "anmeld":
|
case "anmeld":
|
||||||
|
|
||||||
$uid = strtolower($_POST[uid]);
|
$uid = strtolower($_POST['uid']);
|
||||||
$pwd = $_POST[pwd];
|
$pwd = $_POST['pwd'];
|
||||||
|
|
||||||
$db = dbconnect();
|
$db = dbconnect();
|
||||||
|
|
||||||
@ -136,25 +136,25 @@ echo "
|
|||||||
<div align=\"center\">
|
<div align=\"center\">
|
||||||
<table cellspacing=\"0\" cellpadding=\"0\" width=\"550\" border=\"0\">
|
<table cellspacing=\"0\" cellpadding=\"0\" width=\"550\" border=\"0\">
|
||||||
<tr>
|
<tr>
|
||||||
<td width=\"10\" background=\"images/box_e1.gif\">
|
<td width=\"10\" background=\"../images/box_e1.gif\">
|
||||||
<img height=\"40\" src=\"images/blank.gif\" width=\"22\"></td>
|
<img height=\"40\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||||
<td nowrap=\"nowrap\" align=\"left\" width=\"3%\" background=\"images/box_top.gif\" valign=\"top\">
|
<td nowrap=\"nowrap\" align=\"left\" width=\"3%\" background=\"../images/box_top.gif\" valign=\"top\">
|
||||||
<img src=\"images/i_login.gif\"></td>
|
<img src=\"../images/i_login.gif\"></td>
|
||||||
<td width=\"95%\" background=\"images/box_top.gif\">
|
<td width=\"95%\" background=\"../images/box_top.gif\">
|
||||||
<img height=\"10\" src=\"images/blank.gif\" width=\"1\"><br>
|
<img height=\"10\" src=\"../images/blank.gif\" width=\"1\"><br>
|
||||||
<span class=\"sh\">Fehlerhafte Eingabe </span><br>
|
<span class=\"sh\">Fehlerhafte Eingabe </span><br>
|
||||||
<img height=\"5\" src=\"images/blank.gif\" width=\"1\"></td>
|
<img height=\"5\" src=\"../images/blank.gif\" width=\"1\"></td>
|
||||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"images/box_e2.gif\">
|
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../images/box_e2.gif\">
|
||||||
<img height=\"40\" src=\"images/blank.gif\" width=\"22\"></td>
|
<img height=\"40\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td width=\"1%\" background=\"images/box_l.gif\">
|
<td width=\"1%\" background=\"../images/box_l.gif\">
|
||||||
<img height=\"1\" src=\"images/blank.gif\" width=\"22\"></td>
|
<img height=\"1\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||||
<td colspan=\"2\"><br>
|
<td colspan=\"2\"><br>
|
||||||
<p align=\"center\"><b>Es müssen alle Felder ausgefüllt werden</b>
|
<p align=\"center\"><b>Es müssen alle Felder ausgefüllt werden</b>
|
||||||
</p>
|
</p>
|
||||||
<p align=\"center\"><a href=\"index.php\">
|
<p align=\"center\"><a href=\"index.php\">
|
||||||
<img border=\"0\" src=\"images/zurueck.gif\" width=\"77\" height=\"22\"></a><br>
|
<img border=\"0\" src=\"../images/zurueck.gif\" width=\"77\" height=\"22\"></a><br>
|
||||||
</p>
|
</p>
|
||||||
<p></p>
|
<p></p>
|
||||||
<p></p>
|
<p></p>
|
||||||
@ -163,16 +163,16 @@ echo "
|
|||||||
<p><br>
|
<p><br>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td width=\"1%\" background=\"images/box_r.gif\">
|
<td width=\"1%\" background=\"../images/box_r.gif\">
|
||||||
<img height=\"1\" src=\"images/blank.gif\" width=\"22\"></td>
|
<img height=\"1\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"images/box_e3.gif\">
|
<td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"../images/box_e3.gif\">
|
||||||
<img height=\"16\" src=\"images/blank.gif\" width=\"22\"></td>
|
<img height=\"16\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||||
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"images/box_bottom.gif\" colspan=\"2\">
|
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"../images/box_bottom.gif\" colspan=\"2\">
|
||||||
<img height=\"16\" src=\"images/blank.gif\" width=\"8\"></td>
|
<img height=\"16\" src=\"../images/blank.gif\" width=\"8\"></td>
|
||||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"images/box_e4.gif\">
|
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../images/box_e4.gif\">
|
||||||
<img height=\"16\" src=\"images/blank.gif\" width=\"22\"> </td>
|
<img height=\"16\" src=\"../images/blank.gif\" width=\"22\"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
@ -201,26 +201,26 @@ echo"
|
|||||||
<div align=\"center\">
|
<div align=\"center\">
|
||||||
<table cellspacing=\"0\" cellpadding=\"0\" width=\"550\" border=\"0\">
|
<table cellspacing=\"0\" cellpadding=\"0\" width=\"550\" border=\"0\">
|
||||||
<tr>
|
<tr>
|
||||||
<td width=\"10\" background=\"images/box_e1.gif\">
|
<td width=\"10\" background=\"../images/box_e1.gif\">
|
||||||
<img height=\"40\" src=\"images/blank.gif\" width=\"22\"></td>
|
<img height=\"40\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||||
<td nowrap=\"nowrap\" align=\"left\" width=\"3%\" background=\"images/box_top.gif\" valign=\"top\">
|
<td nowrap=\"nowrap\" align=\"left\" width=\"3%\" background=\"../images/box_top.gif\" valign=\"top\">
|
||||||
<img src=\"images/i_login.gif\"></td>
|
<img src=\"../images/i_login.gif\"></td>
|
||||||
<td width=\"95%\" background=\"images/box_top.gif\">
|
<td width=\"95%\" background=\"../images/box_top.gif\">
|
||||||
<img height=\"10\" src=\"images/blank.gif\" width=\"1\"><br>
|
<img height=\"10\" src=\"../images/blank.gif\" width=\"1\"><br>
|
||||||
<span class=\"sh\">Falscher Benutzername</span><br>
|
<span class=\"sh\">Falscher Benutzername</span><br>
|
||||||
<img height=\"5\" src=\"images/blank.gif\" width=\"1\"></td>
|
<img height=\"5\" src=\"../images/blank.gif\" width=\"1\"></td>
|
||||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"images/box_e2.gif\">
|
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../images/box_e2.gif\">
|
||||||
<img height=\"40\" src=\"images/blank.gif\" width=\"22\"></td>
|
<img height=\"40\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td width=\"1%\" background=\"images/box_l.gif\">
|
<td width=\"1%\" background=\"../images/box_l.gif\">
|
||||||
<img height=\"1\" src=\"images/blank.gif\" width=\"22\"></td>
|
<img height=\"1\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||||
<td colspan=\"2\"><br>
|
<td colspan=\"2\"><br>
|
||||||
<p align=\"center\"><b>Der Anmeldenamen ist im System nicht vorhanden!<br>
|
<p align=\"center\"><b>Der Anmeldenamen ist im System nicht vorhanden!<br>
|
||||||
Wenden Sie sich bitte an
|
Wenden Sie sich bitte an
|
||||||
<a href=\"mailto:$helpmail?subject=Keine Anmeldekennung\">$ansprechpart</a></b></p>
|
<a href=\"mailto:$helpmail?subject=Keine Anmeldekennung\">$ansprechpart</a></b></p>
|
||||||
<p align=\"center\"><a href=\"index.php\">
|
<p align=\"center\"><a href=\"index.php\">
|
||||||
<img border=\"0\" src=\"images/zurueck.gif\" width=\"77\" height=\"22\"></a><br>
|
<img border=\"0\" src=\"../images/zurueck.gif\" width=\"77\" height=\"22\"></a><br>
|
||||||
</p>
|
</p>
|
||||||
<p></p>
|
<p></p>
|
||||||
<p></p>
|
<p></p>
|
||||||
@ -229,16 +229,16 @@ echo"
|
|||||||
<p><br>
|
<p><br>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td width=\"1%\" background=\"images/box_r.gif\">
|
<td width=\"1%\" background=\"../images/box_r.gif\">
|
||||||
<img height=\"1\" src=\"images/blank.gif\" width=\"22\"></td>
|
<img height=\"1\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"images/box_e3.gif\">
|
<td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"../images/box_e3.gif\">
|
||||||
<img height=\"16\" src=\"images/blank.gif\" width=\"22\"></td>
|
<img height=\"16\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||||
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"images/box_bottom.gif\" colspan=\"2\">
|
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"../images/box_bottom.gif\" colspan=\"2\">
|
||||||
<img height=\"16\" src=\"images/blank.gif\" width=\"8\"></td>
|
<img height=\"16\" src=\"../images/blank.gif\" width=\"8\"></td>
|
||||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"images/box_e4.gif\">
|
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../images/box_e4.gif\">
|
||||||
<img height=\"16\" src=\"images/blank.gif\" width=\"22\"> </td>
|
<img height=\"16\" src=\"../images/blank.gif\" width=\"22\"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
@ -276,20 +276,20 @@ echo "
|
|||||||
<div align=\"center\">
|
<div align=\"center\">
|
||||||
<table cellspacing=\"0\" cellpadding=\"0\" width=\"550\" border=\"0\">
|
<table cellspacing=\"0\" cellpadding=\"0\" width=\"550\" border=\"0\">
|
||||||
<tr>
|
<tr>
|
||||||
<td width=\"10\" background=\"images/box_e1.gif\">
|
<td width=\"10\" background=\"../images/box_e1.gif\">
|
||||||
<img height=\"40\" src=\"images/blank.gif\" width=\"22\"></td>
|
<img height=\"40\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||||
<td nowrap=\"nowrap\" align=\"left\" width=\"3%\" background=\"images/box_top.gif\" valign=\"top\">
|
<td nowrap=\"nowrap\" align=\"left\" width=\"3%\" background=\"../images/box_top.gif\" valign=\"top\">
|
||||||
<img src=\"images/i_login.gif\"></td>
|
<img src=\"../images/i_login.gif\"></td>
|
||||||
<td width=\"95%\" background=\"images/box_top.gif\">
|
<td width=\"95%\" background=\"../images/box_top.gif\">
|
||||||
<img height=\"10\" src=\"images/blank.gif\" width=\"1\"><br>
|
<img height=\"10\" src=\"../images/blank.gif\" width=\"1\"><br>
|
||||||
<span class=\"sh\">Falsches Passwort</span><br>
|
<span class=\"sh\">Falsches Passwort</span><br>
|
||||||
<img height=\"5\" src=\"images/blank.gif\" width=\"1\"></td>
|
<img height=\"5\" src=\"../images/blank.gif\" width=\"1\"></td>
|
||||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"images/box_e2.gif\">
|
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../images/box_e2.gif\">
|
||||||
<img height=\"40\" src=\"images/blank.gif\" width=\"22\"></td>
|
<img height=\"40\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td width=\"1%\" background=\"images/box_l.gif\">
|
<td width=\"1%\" background=\"../images/box_l.gif\">
|
||||||
<img height=\"1\" src=\"images/blank.gif\" width=\"22\"></td>
|
<img height=\"1\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||||
<td colspan=\"2\"><br>
|
<td colspan=\"2\"><br>
|
||||||
<p align=\"center\"><b>Das eingegebene Passwort ist falsch!</b><br><br>
|
<p align=\"center\"><b>Das eingegebene Passwort ist falsch!</b><br><br>
|
||||||
Sie können sich ein neues Passwort an Ihre<br>Hochschul-Mailadresse schicken lassen: <a href="; echo $_SERVER['PHP_SELF'] . "?action=pass_gen>Neues Passwort</a>
|
Sie können sich ein neues Passwort an Ihre<br>Hochschul-Mailadresse schicken lassen: <a href="; echo $_SERVER['PHP_SELF'] . "?action=pass_gen>Neues Passwort</a>
|
||||||
@ -298,7 +298,7 @@ echo "
|
|||||||
Bei weiteren Problemen wenden Sie sich bitte<br>
|
Bei weiteren Problemen wenden Sie sich bitte<br>
|
||||||
an <a href=\"mailto:$helpmail?subject=Keine Anmeldekennung\">$ansprechpart</a></b></p>
|
an <a href=\"mailto:$helpmail?subject=Keine Anmeldekennung\">$ansprechpart</a></b></p>
|
||||||
<p align=\"center\"><a href=\"index.php\">
|
<p align=\"center\"><a href=\"index.php\">
|
||||||
<img border=\"0\" src=\"images/zurueck.gif\" width=\"77\" height=\"22\"></a><br>
|
<img border=\"0\" src=\"../images/zurueck.gif\" width=\"77\" height=\"22\"></a><br>
|
||||||
</p>
|
</p>
|
||||||
<p></p>
|
<p></p>
|
||||||
<p></p>
|
<p></p>
|
||||||
@ -307,16 +307,16 @@ echo "
|
|||||||
<p><br>
|
<p><br>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td width=\"1%\" background=\"images/box_r.gif\">
|
<td width=\"1%\" background=\"../images/box_r.gif\">
|
||||||
<img height=\"1\" src=\"images/blank.gif\" width=\"22\"></td>
|
<img height=\"1\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"images/box_e3.gif\">
|
<td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"../images/box_e3.gif\">
|
||||||
<img height=\"16\" src=\"images/blank.gif\" width=\"22\"></td>
|
<img height=\"16\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||||
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"images/box_bottom.gif\" colspan=\"2\">
|
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"../images/box_bottom.gif\" colspan=\"2\">
|
||||||
<img height=\"16\" src=\"images/blank.gif\" width=\"8\"></td>
|
<img height=\"16\" src=\"../images/blank.gif\" width=\"8\"></td>
|
||||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"images/box_e4.gif\">
|
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../images/box_e4.gif\">
|
||||||
<img height=\"16\" src=\"images/blank.gif\" width=\"22\"> </td>
|
<img height=\"16\" src=\"../images/blank.gif\" width=\"22\"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
@ -333,7 +333,7 @@ setcookie("uid1","");
|
|||||||
setcookie("uid1","$row[uid]");
|
setcookie("uid1","$row[uid]");
|
||||||
|
|
||||||
echo "
|
echo "
|
||||||
<meta http-equiv=\"refresh\" content=\"0; URL=stud/index_frame.htm\">
|
<meta http-equiv=\"refresh\" content=\"0; URL=index_frame.htm\">
|
||||||
";
|
";
|
||||||
|
|
||||||
break;
|
break;
|
||||||
@ -440,25 +440,25 @@ echo "
|
|||||||
<div align=\"center\">
|
<div align=\"center\">
|
||||||
<table cellspacing=\"0\" cellpadding=\"0\" width=\"550\" border=\"0\">
|
<table cellspacing=\"0\" cellpadding=\"0\" width=\"550\" border=\"0\">
|
||||||
<tr>
|
<tr>
|
||||||
<td width=\"10\" background=\"images/box_e1.gif\">
|
<td width=\"10\" background=\"../images/box_e1.gif\">
|
||||||
<img height=\"40\" src=\"images/blank.gif\" width=\"22\"></td>
|
<img height=\"40\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||||
<td nowrap=\"nowrap\" align=\"left\" width=\"3%\" background=\"images/box_top.gif\" valign=\"top\">
|
<td nowrap=\"nowrap\" align=\"left\" width=\"3%\" background=\"../images/box_top.gif\" valign=\"top\">
|
||||||
<img src=\"images/i_login.gif\"></td>
|
<img src=\"../images/i_login.gif\"></td>
|
||||||
<td width=\"95%\" background=\"images/box_top.gif\">
|
<td width=\"95%\" background=\"../images/box_top.gif\">
|
||||||
<img height=\"10\" src=\"images/blank.gif\" width=\"1\"><br>
|
<img height=\"10\" src=\"../images/blank.gif\" width=\"1\"><br>
|
||||||
<span class=\"sh\">Bestätigung</span><br>
|
<span class=\"sh\">Bestätigung</span><br>
|
||||||
<img height=\"5\" src=\"images/blank.gif\" width=\"1\"></td>
|
<img height=\"5\" src=\"../images/blank.gif\" width=\"1\"></td>
|
||||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"images/box_e2.gif\">
|
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../images/box_e2.gif\">
|
||||||
<img height=\"40\" src=\"images/blank.gif\" width=\"22\"></td>
|
<img height=\"40\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td width=\"1%\" background=\"images/box_l.gif\">
|
<td width=\"1%\" background=\"../images/box_l.gif\">
|
||||||
<img height=\"1\" src=\"images/blank.gif\" width=\"22\"></td>
|
<img height=\"1\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||||
<td colspan=\"2\"><br>
|
<td colspan=\"2\"><br>
|
||||||
<p align=\"center\"><b>Mailversand!</b><br><br>
|
<p align=\"center\"><b>Mailversand!</b><br><br>
|
||||||
Ihr neues Passwort wurde an $row2[mail] geschickt.
|
Ihr neues Passwort wurde an $row2[mail] geschickt.
|
||||||
<p align=\"center\"><a href=\"index.php\">
|
<p align=\"center\"><a href=\"index.php\">
|
||||||
<img border=\"0\" src=\"images/zurueck.gif\" width=\"77\" height=\"22\"></a><br>
|
<img border=\"0\" src=\"../images/zurueck.gif\" width=\"77\" height=\"22\"></a><br>
|
||||||
</p>
|
</p>
|
||||||
<p></p>
|
<p></p>
|
||||||
<p></p>
|
<p></p>
|
||||||
@ -467,16 +467,16 @@ echo "
|
|||||||
<p><br>
|
<p><br>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td width=\"1%\" background=\"images/box_r.gif\">
|
<td width=\"1%\" background=\"../images/box_r.gif\">
|
||||||
<img height=\"1\" src=\"images/blank.gif\" width=\"22\"></td>
|
<img height=\"1\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"images/box_e3.gif\">
|
<td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"../images/box_e3.gif\">
|
||||||
<img height=\"16\" src=\"images/blank.gif\" width=\"22\"></td>
|
<img height=\"16\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||||
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"images/box_bottom.gif\" colspan=\"2\">
|
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"../images/box_bottom.gif\" colspan=\"2\">
|
||||||
<img height=\"16\" src=\"images/blank.gif\" width=\"8\"></td>
|
<img height=\"16\" src=\"../images/blank.gif\" width=\"8\"></td>
|
||||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"images/box_e4.gif\">
|
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../images/box_e4.gif\">
|
||||||
<img height=\"16\" src=\"images/blank.gif\" width=\"22\"> </td>
|
<img height=\"16\" src=\"../images/blank.gif\" width=\"22\"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
@ -502,20 +502,20 @@ echo "
|
|||||||
<div align=\"center\">
|
<div align=\"center\">
|
||||||
<table cellspacing=\"0\" cellpadding=\"0\" width=\"550\" border=\"0\">
|
<table cellspacing=\"0\" cellpadding=\"0\" width=\"550\" border=\"0\">
|
||||||
<tr>
|
<tr>
|
||||||
<td width=\"10\" background=\"images/box_e1.gif\">
|
<td width=\"10\" background=\"../images/box_e1.gif\">
|
||||||
<img height=\"40\" src=\"images/blank.gif\" width=\"22\"></td>
|
<img height=\"40\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||||
<td nowrap=\"nowrap\" align=\"left\" width=\"3%\" background=\"images/box_top.gif\" valign=\"top\">
|
<td nowrap=\"nowrap\" align=\"left\" width=\"3%\" background=\"../images/box_top.gif\" valign=\"top\">
|
||||||
<img src=\"images/i_login.gif\"></td>
|
<img src=\"../images/i_login.gif\"></td>
|
||||||
<td width=\"95%\" background=\"images/box_top.gif\">
|
<td width=\"95%\" background=\"../images/box_top.gif\">
|
||||||
<img height=\"10\" src=\"images/blank.gif\" width=\"1\"><br>
|
<img height=\"10\" src=\"../images/blank.gif\" width=\"1\"><br>
|
||||||
<span class=\"sh\">Versandfehler</span><br>
|
<span class=\"sh\">Versandfehler</span><br>
|
||||||
<img height=\"5\" src=\"images/blank.gif\" width=\"1\"></td>
|
<img height=\"5\" src=\"../images/blank.gif\" width=\"1\"></td>
|
||||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"images/box_e2.gif\">
|
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../images/box_e2.gif\">
|
||||||
<img height=\"40\" src=\"images/blank.gif\" width=\"22\"></td>
|
<img height=\"40\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td width=\"1%\" background=\"images/box_l.gif\">
|
<td width=\"1%\" background=\"../images/box_l.gif\">
|
||||||
<img height=\"1\" src=\"images/blank.gif\" width=\"22\"></td>
|
<img height=\"1\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||||
<td colspan=\"2\"><br>
|
<td colspan=\"2\"><br>
|
||||||
<p align=\"center\"><b>Versandfehler!</b><br><br>
|
<p align=\"center\"><b>Versandfehler!</b><br><br>
|
||||||
Das Passwort konnte nicht verschickt werden!
|
Das Passwort konnte nicht verschickt werden!
|
||||||
@ -523,7 +523,7 @@ echo "
|
|||||||
<br>
|
<br>
|
||||||
Bitte wenden Sie sich an <a href=\"mailto:$helpmail?subject=Keine Anmeldekennung\">$ansprechpart</a></p>
|
Bitte wenden Sie sich an <a href=\"mailto:$helpmail?subject=Keine Anmeldekennung\">$ansprechpart</a></p>
|
||||||
<p align=\"center\"><a href=\"index.php\">
|
<p align=\"center\"><a href=\"index.php\">
|
||||||
<img border=\"0\" src=\"images/zurueck.gif\" width=\"77\" height=\"22\"></a><br>
|
<img border=\"0\" src=\"../images/zurueck.gif\" width=\"77\" height=\"22\"></a><br>
|
||||||
</p>
|
</p>
|
||||||
<p></p>
|
<p></p>
|
||||||
<p></p>
|
<p></p>
|
||||||
@ -532,16 +532,16 @@ echo "
|
|||||||
<p><br>
|
<p><br>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td width=\"1%\" background=\"images/box_r.gif\">
|
<td width=\"1%\" background=\"../images/box_r.gif\">
|
||||||
<img height=\"1\" src=\"images/blank.gif\" width=\"22\"></td>
|
<img height=\"1\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"images/box_e3.gif\">
|
<td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"../images/box_e3.gif\">
|
||||||
<img height=\"16\" src=\"images/blank.gif\" width=\"22\"></td>
|
<img height=\"16\" src=\"../images/blank.gif\" width=\"22\"></td>
|
||||||
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"images/box_bottom.gif\" colspan=\"2\">
|
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"../images/box_bottom.gif\" colspan=\"2\">
|
||||||
<img height=\"16\" src=\"images/blank.gif\" width=\"8\"></td>
|
<img height=\"16\" src=\"../images/blank.gif\" width=\"8\"></td>
|
||||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"images/box_e4.gif\">
|
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../images/box_e4.gif\">
|
||||||
<img height=\"16\" src=\"images/blank.gif\" width=\"22\"> </td>
|
<img height=\"16\" src=\"../images/blank.gif\" width=\"22\"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
@ -3,11 +3,36 @@ ALTER TABLE `stan_antrag` ADD `entfernung` ENUM('J', 'N') NOT NULL DEFAULT 'N' C
|
|||||||
|
|
||||||
-- Testsätze
|
-- Testsätze
|
||||||
DELETE FROM `stan_antrag` WHERE `uid` LIKE 'abel_doris';
|
DELETE FROM `stan_antrag` WHERE `uid` LIKE 'abel_doris';
|
||||||
|
|
||||||
|
-- Erstantrag gestellt
|
||||||
INSERT INTO `stan_antrag` (`saaid`, `uid`, `pos`, `vert_bereich`, `art`, `dummy_dst`, `dst_id`, `beginn`, `ende`, `abteilung`, `tel_abteilung`, `entfernung`, `ledig`, `hausstand`, `umzugsverg`, `aendid`, `aend_dat`, `status`, `zuweisung`, `zuweis_dat`, `bearbeitung`, `beurteilt`) VALUES
|
INSERT INTO `stan_antrag` (`saaid`, `uid`, `pos`, `vert_bereich`, `art`, `dummy_dst`, `dst_id`, `beginn`, `ende`, `abteilung`, `tel_abteilung`, `entfernung`, `ledig`, `hausstand`, `umzugsverg`, `aendid`, `aend_dat`, `status`, `zuweisung`, `zuweis_dat`, `bearbeitung`, `beurteilt`) VALUES
|
||||||
(131229, 'abel_doris', '1', 5, 10, '', 116076, '2024-07-15', '2024-10-31', '', '', 'N', 'N', 'N', 'N', 131229, NULL, '0', NULL, NULL, 'N', 'N'),
|
(131229, 'abel_doris', '1', 5, 10, '', 116076, '2024-07-15', '2024-10-31', '', '', 'N', 'N', 'N', 'N', 131229, NULL, '0', NULL, NULL, 'N', 'N'),
|
||||||
(131230, 'abel_doris', '4', 3, 4, '', 119, '2024-11-01', '2025-01-31', '', '', 'N', 'N', 'N', 'N', 131230, NULL, '0', NULL, NULL, 'N', 'N'),
|
(131230, 'abel_doris', '4', 3, 4, '', 119, '2024-11-01', '2025-01-31', '', '', 'N', 'N', 'N', 'N', 131230, NULL, '0', NULL, NULL, 'N', 'N'),
|
||||||
(131231, 'abel_doris', '7', 2, 2, '', 415059, '2025-02-01', '2025-05-31', '', '', 'J', 'J', 'J', 'J', 131231, NULL, '0', NULL, NULL, 'N', 'N'),
|
(131231, 'abel_doris', '7', 2, 2, '', 415059, '2025-02-01', '2025-05-31', '', '', 'J', 'J', 'J', 'J', 131231, NULL, '0', NULL, NULL, 'N', 'N'),
|
||||||
(131232, 'abel_doris', '10', 1, 6, '', 415061, '2025-06-01', '2025-09-14', '', '', 'J', 'J', 'J', 'J', 131232, NULL, '0', NULL, NULL, 'N', 'N');
|
(131232, 'abel_doris', '10', 1, 6, '', 415061, '2025-06-01', '2025-09-14', '', '', 'J', 'J', 'J', 'J', 131232, NULL, '0', NULL, NULL, 'N', 'N');
|
||||||
|
|
||||||
|
-- Erstantrag zugewiesen: -> Status 0 Zuweisung=Z, zuweis_dat=now()
|
||||||
|
DELETE FROM `stan_antrag` WHERE `uid` LIKE 'abel_doris';
|
||||||
|
INSERT INTO `stan_antrag` (`saaid`, `uid`, `pos`, `vert_bereich`, `art`, `dummy_dst`, `dst_id`, `beginn`, `ende`, `abteilung`, `tel_abteilung`, `entfernung`, `ledig`, `hausstand`, `umzugsverg`, `aendid`, `aend_dat`, `status`, `zuweisung`, `zuweis_dat`, `bearbeitung`, `beurteilt`) VALUES
|
||||||
|
(131183, 'abel_doris', '1', 5, 10, '', 116076, '2024-07-15', '2024-10-31', '', '', 'N', 'N', 'N', 'N', 131183, '2024-01-19 07:18:00', '0', 'Z', '2024-01-19 07:24:57', 'N', 'N'),
|
||||||
|
(131184, 'abel_doris', '4', 3, 4, '', 119, '2024-11-01', '2025-01-31', '', '', 'N', 'N', 'N', 'N', 131184, '2024-01-19 07:18:00', '0', 'Z', '2024-01-19 07:24:57', 'N', 'N'),
|
||||||
|
(131185, 'abel_doris', '7', 2, 2, '', 415, '2025-02-01', '2025-05-31', '', '', 'J', 'J', 'J', 'J', 131185, '2024-01-19 07:18:00', '0', 'Z', '2024-01-19 07:24:57', 'N', 'N'),
|
||||||
|
(131186, 'abel_doris', '10', 1, 6, '', 415059, '2025-06-01', '2025-09-14', '', '', 'J', 'J', 'J', 'J', 131186, '2024-01-19 07:18:00', '0', 'Z', '2024-01-19 07:24:57', 'N', 'N');
|
||||||
|
|
||||||
SELECT t1.vert_bereich , t1.art , t1.dummy_dst , t1.saaid , t1.dst_id , t1.pos , t1.beginn , t1.ende , t1.abteilung , t1.tel_abteilung , t1.entfernung , t1.ledig , t1.hausstand FROM stan_antrag t1 WHERE t1.status = ( SELECT MAX(t2.status) FROM stan_antrag t2 WHERE t1.aendid = t2.aendid ) AND t1.uid = 'abel_doris' AND t1.pos='1' AND (t1.zuweisung is NULL or t1.zuweisung='' or t1.zuweisung='Z')
|
|
||||||
|
-- Änderungsantrag nach zugewiesenem Erstantrag
|
||||||
|
DELETE FROM `stan_antrag` WHERE `uid` LIKE 'abel_doris';
|
||||||
|
INSERT INTO `stan_antrag` (`saaid`, `uid`, `pos`, `vert_bereich`, `art`, `dummy_dst`, `dst_id`, `beginn`, `ende`, `abteilung`, `tel_abteilung`, `entfernung`, `ledig`, `hausstand`, `umzugsverg`, `aendid`, `aend_dat`, `status`, `zuweisung`, `zuweis_dat`, `bearbeitung`, `beurteilt`) VALUES
|
||||||
|
(131183, 'abel_doris', '1', 5, 10, '', 116076, '2024-07-15', '2024-10-31', '', '', 'N', 'N', 'N', 'N', 131183, '2024-01-19 07:18:00', '0', 'Z', '2024-01-19 07:24:57', 'N', 'N'),
|
||||||
|
(131184, 'abel_doris', '4', 3, 4, '', 119, '2024-11-01', '2025-01-31', '', '', 'N', 'N', 'N', 'N', 131184, '2024-01-19 07:18:00', '0', 'Z', '2024-01-19 07:24:57', 'N', 'N'),
|
||||||
|
(131185, 'abel_doris', '7', 2, 2, '', 415, '2025-02-01', '2025-05-31', '', '', 'J', 'J', 'J', 'J', 131185, '2024-01-19 07:18:00', '0', 'Z', '2024-01-19 07:24:57', 'N', 'N'),
|
||||||
|
(131186, 'abel_doris', '10', 1, 6, '', 415059, '2025-06-01', '2025-09-14', '', '', 'J', 'J', 'J', 'J', 131186, '2024-01-19 07:18:00', '0', 'Z', '2024-01-19 07:24:57', 'N', 'N'),
|
||||||
|
(131188, 'abel_doris', '1', 5, 10, '', 116076, '2024-07-15', '2024-10-31', '', '', 'J', 'J', 'J', 'J', 131183, '2024-01-19 07:28:37', '1', NULL, NULL, 'N', 'N');
|
||||||
|
|
||||||
|
-- Änderungsantrag zugewiesen
|
||||||
|
INSERT INTO `stan_antrag` (`saaid`, `uid`, `pos`, `vert_bereich`, `art`, `dummy_dst`, `dst_id`, `beginn`, `ende`, `abteilung`, `tel_abteilung`, `entfernung`, `ledig`, `hausstand`, `umzugsverg`, `aendid`, `aend_dat`, `status`, `zuweisung`, `zuweis_dat`, `bearbeitung`, `beurteilt`) VALUES
|
||||||
|
(131183, 'abel_doris', '1', 5, 10, '', 116076, '2024-07-15', '2024-10-31', '', '', 'N', 'N', 'N', 'N', 131183, '2024-01-19 07:18:00', '0', 'EZ', '2024-01-19 07:24:57', 'N', 'N'),
|
||||||
|
(131184, 'abel_doris', '4', 3, 4, '', 119, '2024-11-01', '2025-01-31', '', '', 'N', 'N', 'N', 'N', 131184, '2024-01-19 07:18:00', '0', 'Z', '2024-01-19 07:24:57', 'N', 'N'),
|
||||||
|
(131185, 'abel_doris', '7', 2, 2, '', 415, '2025-02-01', '2025-05-31', '', '', 'J', 'J', 'J', 'J', 131185, '2024-01-19 07:18:00', '0', 'Z', '2024-01-19 07:24:57', 'N', 'N'),
|
||||||
|
(131186, 'abel_doris', '10', 1, 6, '', 415059, '2025-06-01', '2025-09-14', '', '', 'J', 'J', 'J', 'J', 131186, '2024-01-19 07:18:00', '0', 'Z', '2024-01-19 07:24:57', 'N', 'N'),
|
||||||
|
(131188, 'abel_doris', '1', 5, 10, '', 116076, '2024-07-15', '2024-10-31', '', '', 'J', 'J', 'J', 'J', 131183, '2024-01-19 07:28:37', '1', 'Z', '2024-01-19 07:57:01', 'N', 'N');
|
Loading…
x
Reference in New Issue
Block a user