kleine constant Fehler geändert
This commit is contained in:
parent
ac75a3e988
commit
5a591ee6f3
@ -221,7 +221,7 @@ a{
|
||||
$prxmail = $row6['mail'];
|
||||
}
|
||||
|
||||
if($row5[name] == '' and $row6[bez] == ''){
|
||||
if($row5[name] == '' and $row6['bez'] == ''){
|
||||
$bezeichnung = '<i>Zeitraum vorgemerkt</i>';
|
||||
$ort = '';
|
||||
}
|
||||
@ -233,7 +233,7 @@ a{
|
||||
}
|
||||
|
||||
|
||||
$block = get_block($row[saaid], $jahrgang);
|
||||
$block = get_block($row['saaid'], $jahrgang);
|
||||
|
||||
$result_zuw0 = $db->query("SELECT 1,wagsid
|
||||
FROM stan_ag_standort_wunsch
|
||||
@ -382,7 +382,7 @@ a{
|
||||
$zuw_vorh = $result1->fetch_array(); // Prüfen ob schon zugewiesen
|
||||
|
||||
|
||||
if ($zuw_vorh[zuweisung] == 'Z'){
|
||||
if ($zuw_vorh['zuweisung'] == 'Z'){
|
||||
|
||||
$result1 = $db->query("SELECT 1
|
||||
FROM stan_antrag
|
||||
@ -400,17 +400,17 @@ a{
|
||||
# Wenn nicht unterschiedlich, dann Button anzeigen.
|
||||
|
||||
#1
|
||||
$block_cur= get_block($row[saaid], $jahrgang);
|
||||
$block_cur= get_block($row['saaid'], $jahrgang);
|
||||
$result1 = $db->query("SELECT prio0, prio1
|
||||
FROM stan_ag_wunsch_vw
|
||||
WHERE uid= '$row[uid]'
|
||||
AND block='$block_cur'");
|
||||
$row_standort = $result1->fetch_array();
|
||||
|
||||
if($row_standort[prio0] == NULL OR $row_standort[prio0] == ''){
|
||||
$stelle_ag_standort = $row_standort[prio1];
|
||||
if($row_standort['prio0'] == NULL OR $row_standort['prio0'] == ''){
|
||||
$stelle_ag_standort = $row_standort['prio1'];
|
||||
}else{
|
||||
$stelle_ag_standort = $row_standort[prio0];
|
||||
$stelle_ag_standort = $row_standort['prio0'];
|
||||
}
|
||||
|
||||
#2
|
||||
@ -429,7 +429,7 @@ a{
|
||||
|
||||
$row4 = $result4->fetch_array();
|
||||
|
||||
if($row4[vert_bereich] != $row3[vbid] AND $stelle_ag_standort != '' AND $stelle_ag_standort != '8888' AND $stelle_ag_standort != '9999'){
|
||||
if($row4['vert_bereich'] != $row3['vbid'] AND $stelle_ag_standort != '' AND $stelle_ag_standort != '8888' AND $stelle_ag_standort != '9999'){
|
||||
# Vertiefungsbereich wurde geändert
|
||||
#$zuw_alle_sperre ='X';
|
||||
|
||||
@ -543,4 +543,4 @@ a{
|
||||
</html>";
|
||||
|
||||
} // Ende Action script
|
||||
?>
|
||||
?>
|
||||
|
@ -227,18 +227,18 @@ a{
|
||||
WHERE dst_id ='$row[dst_id]'");
|
||||
$row6 = $result6->fetch_array();
|
||||
|
||||
if($row5[name] != '' and $row6[bez] == ''){
|
||||
$bezeichnung = $row5[name];
|
||||
$ort = $row5[ort];
|
||||
if($row5['name'] != '' and $row6['bez'] == ''){
|
||||
$bezeichnung = $row5['name'];
|
||||
$ort = $row5['ort'];
|
||||
}
|
||||
|
||||
|
||||
if($row5[name] == '' and $row6[bez] != ''){
|
||||
$bezeichnung = $row6[bez];
|
||||
$ort = $row6[ort];
|
||||
if($row5['name'] == '' and $row6['bez'] != ''){
|
||||
$bezeichnung = $row6['bez'];
|
||||
$ort = $row6['ort'];
|
||||
}
|
||||
|
||||
if($row5[name] == '' and $row6[bez] == ''){
|
||||
if($row5['name'] == '' and $row6['bez'] == ''){
|
||||
$bezeichnung = '<i>Zeitraum vorgemerkt</i>';
|
||||
$ort = '';
|
||||
}
|
||||
@ -250,7 +250,7 @@ a{
|
||||
}
|
||||
|
||||
|
||||
$block = get_block($row[saaid], $jahrgang);
|
||||
$block = get_block($row['saaid'], $jahrgang);
|
||||
|
||||
$result_zuw0 = $db->query("SELECT 1,wagsid
|
||||
FROM stan_ag_standort_wunsch
|
||||
@ -396,4 +396,4 @@ a{
|
||||
</html>";
|
||||
|
||||
} // Ende Action script
|
||||
?>
|
||||
?>
|
||||
|
@ -142,18 +142,18 @@ while ($row2 = $result->fetch_array()){
|
||||
WHERE dst_id ='$row[bezeichnung]'");
|
||||
$row6 = $result6->fetch_array();
|
||||
|
||||
if($row5[name] != '' and $row6[bez] == ''){
|
||||
$bezeichnung = $row5[name];
|
||||
$ort = $row5[ort];
|
||||
if($row5['name'] != '' and $row6[bez] == ''){
|
||||
$bezeichnung = $row5['name'];
|
||||
$ort = $row5['ort'];
|
||||
}
|
||||
|
||||
|
||||
if($row5[name] == '' and $row6[bez] != ''){
|
||||
$bezeichnung = $row6[bez];
|
||||
$ort = $row6[ort];
|
||||
if($row5['name'] == '' and $row6['bez'] != ''){
|
||||
$bezeichnung = $row6['bez'];
|
||||
$ort = $row6['ort'];
|
||||
}
|
||||
|
||||
if($row5[name] == '' and $row6[bez] == ''){
|
||||
if($row5['name'] == '' and $row6['bez'] == ''){
|
||||
$bezeichnung = '<i>Zeitraum vorgemerkt</i>';
|
||||
$ort = '';
|
||||
}
|
||||
@ -206,4 +206,4 @@ $result_tmp1 = $db->query("DELETE FROM stan_tmp_check_data3 WHERE uid='$row2[uid
|
||||
</body>
|
||||
|
||||
</html>";
|
||||
?>
|
||||
?>
|
||||
|
@ -16,9 +16,9 @@ $uid1=$_COOKIE["uid1"];
|
||||
$res = $db->query("SELECT Jahrgang FROM stud WHERE uid='$uid1'");
|
||||
$stud_jahr = $res->fetch_array();
|
||||
|
||||
if($stud_jahr[Jahrgang] < 10){
|
||||
if($stud_jahr['Jahrgang'] < 10){
|
||||
require_once("ag_tage_alt.php");
|
||||
}else{
|
||||
require_once("ag_tage_neu.php");
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
@ -31,8 +31,8 @@ $row_schluss = $anm_schluss->fetch_array(); // Herausfinden des Beginn- Schlussd
|
||||
|
||||
|
||||
$a = strtotime ($heute_format); //Umrechnung des Fristgrenztages in eine Zahl
|
||||
$b = strtotime ($row_schluss[enddatum]); // Umrechnung des Enddatums in eine Zahl
|
||||
$c = strtotime ($row_schluss[beginndatum]); // Umrechnung des Beginndatums in eine Zahl
|
||||
$b = strtotime ($row_schluss['enddatum']); // Umrechnung des Enddatums in eine Zahl
|
||||
$c = strtotime ($row_schluss['beginndatum']); // Umrechnung des Beginndatums in eine Zahl
|
||||
|
||||
if ($a < $c){
|
||||
echo "
|
||||
@ -872,4 +872,4 @@ if($prio1 == $prio2 AND $prio1 != '' AND $prio2 !=""){
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
@ -16,9 +16,9 @@ $uid1=$_COOKIE["uid1"];
|
||||
$res = $db->query("SELECT Jahrgang FROM stud WHERE uid='$uid1'");
|
||||
$stud_jahr = $res->fetch_array();
|
||||
|
||||
if($stud_jahr[Jahrgang] < 10){
|
||||
if($stud_jahr['Jahrgang'] < 10){
|
||||
require_once("ag_ubersicht_alt.php");
|
||||
}else{
|
||||
require_once("ag_ubersicht_neu.php");
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
@ -31,9 +31,9 @@ $anm_schluss = $db->query("SELECT DATE_Format(anmeldebeginn, '%Y%m%d%H%i%s')AS b
|
||||
$row_schluss = $anm_schluss->fetch_array(); // Herausfinden des Beginn- Schlussdatums
|
||||
|
||||
$a = strtotime ($heute_format); //Umrechnung des Fristgrenztages in eine Zahl
|
||||
$b = strtotime ($row_schluss[enddatum]); // Umrechnung des Enddatums in eine Zahl
|
||||
$c = strtotime ($row_schluss[beginndatum]); // Umrechnung des Beginndatums in eine Zahl
|
||||
$d = strtotime ($row_schluss[einsichtdatum]); // Umrechnung des Beginndatums in eine Zahl
|
||||
$b = strtotime ($row_schluss['enddatum']); // Umrechnung des Enddatums in eine Zahl
|
||||
$c = strtotime ($row_schluss['beginndatum']); // Umrechnung des Beginndatums in eine Zahl
|
||||
$d = strtotime ($row_schluss['einsichtdatum']); // Umrechnung des Beginndatums in eine Zahl
|
||||
|
||||
if ($a < $c){
|
||||
echo "
|
||||
|
@ -3602,7 +3602,7 @@ if(isset($telabteilung)){
|
||||
");
|
||||
$row_art = $res_stellanrt->fetch_array();
|
||||
|
||||
if($row_art[Merkmal] == 'A' AND $bezeichnung == ''){ //wenn Textfelder bei Auslandspraktikum leer gelassen werden, dann wird 0 als dst_id eingetragen. Dies geht nur mit bei Ausland (StellenartID=6)
|
||||
if($row_art['Merkmal'] == 'A' AND $bezeichnung == ''){ //wenn Textfelder bei Auslandspraktikum leer gelassen werden, dann wird 0 als dst_id eingetragen. Dies geht nur mit bei Ausland (StellenartID=6)
|
||||
$dst_id = 0;
|
||||
}
|
||||
|
||||
@ -3612,14 +3612,14 @@ if(isset($telabteilung)){
|
||||
VALUES ($dst_id, '$bezeichnung', '$str', '$plz_postfach', '$postfach', '$plz', '$ort', '$bundesland', '$staat', '$maildst')");
|
||||
}
|
||||
|
||||
if($row_art[Merkmal] == 'A' AND $bezeichnung == ''){ //Wenn Auslandspraktikum leer gelassen wird, soll nicht ein leerer Ort in die tmp Tabelle eingetragen werden.
|
||||
if($row_art['Merkmal'] == 'A' AND $bezeichnung == ''){ //Wenn Auslandspraktikum leer gelassen wird, soll nicht ein leerer Ort in die tmp Tabelle eingetragen werden.
|
||||
$result_tmp1 = $db->query("DELETE FROM stan_dienststellen_tmp WHERE dst_id='$dst_id'");
|
||||
}
|
||||
}else{
|
||||
$dst_id = $row_key2[dst_id]; // wenn adresse in tmp Tabelle vorhanden ist.
|
||||
$dst_id = $row_key2['dst_id']; // wenn adresse in tmp Tabelle vorhanden ist.
|
||||
}
|
||||
}else{
|
||||
$dst_id = $row_key[dst_id]; // wenn adresse in dst Tabelle vorhanden ist.
|
||||
$dst_id = $row_key['dst_id']; // wenn adresse in dst Tabelle vorhanden ist.
|
||||
}
|
||||
|
||||
if($dummy_dst != ''){
|
||||
|
@ -3494,11 +3494,11 @@ $result_data1a = $db->query("SELECT t1.vert_bereich
|
||||
$db_pos = $rowdata1a['pos']; // Vom Formular gesendetes Objekt in Variable schreiben
|
||||
$db_stellenart = $rowdata1a['art'];
|
||||
$db_dummy_dst = $rowdata1a['dummy_dst'];
|
||||
$db_bezeichnung = $rowdata3a['bez]';
|
||||
$db_bezeichnung = $rowdata3a['bez'];
|
||||
$db_str = $rowdata3a['str'];
|
||||
$db_postfach = $rowdata3a['postfach'];
|
||||
$db_plz_postfach= $rowdata3a['plz_postfach'];
|
||||
$db_plz = $rowdata3a['plz]';
|
||||
$db_plz = $rowdata3a['plz'];
|
||||
$db_ort = $rowdata3a['ort'];
|
||||
$db_bundesland = $rowdata3a['bundesland'];
|
||||
$db_staat = $rowdata3a['staat'];
|
||||
|
@ -178,7 +178,7 @@ oPopupBody.style.border = \"solid blue 1px\";
|
||||
echo "<img border=\"0\" src=\"../images/cross.jpg\">";
|
||||
$fehler = 'X';
|
||||
}else{
|
||||
if($stud[hs] == 'L' or $stud[hs] == 'K'){
|
||||
if($stud['hs'] == 'L' or $stud['hs'] == 'K'){
|
||||
echo "<img border=\"0\" src=\"../images/ok.gif\">";
|
||||
}else{
|
||||
echo "<img border=\"0\" src=\"../images/cross.jpg\">";
|
||||
@ -284,7 +284,7 @@ oPopupBody.style.border = \"solid blue 1px\";
|
||||
WHERE dst_id ='$row2[bezeichnung]'");
|
||||
$row6 = $result6->fetch_array();
|
||||
|
||||
if($row5['name'] != '' and $row6[bez] == ''){
|
||||
if($row5['name'] != '' and $row6['bez'] == ''){
|
||||
$bezeichnung = $row5['name'];
|
||||
}
|
||||
|
||||
@ -395,7 +395,7 @@ oPopupBody.style.border = \"solid blue 1px\";
|
||||
");
|
||||
$anzahl_bereich = $res_anz->fetch_array();
|
||||
|
||||
if($anzahl_bereich[Anzahl] != 4){
|
||||
if($anzahl_bereich['Anzahl'] != 4){
|
||||
echo "<img border=\"0\" src=\"../images/cross.jpg\"> ($anzahl_bereich[Anzahl] von 4 notwendigen Vertiefungsbereichen wurden abgedeckt)";
|
||||
echo "<p>";
|
||||
$fehler = 'X';
|
||||
@ -1141,7 +1141,7 @@ echo"
|
||||
# Elsif rein: wenn $test AND $anz_aend[anz_aend] > 0
|
||||
# elseif anzahl 0 --> nachricht: Keine Änderungsaufträge vorhanden
|
||||
# else Fehler korrigieren
|
||||
if(!isset($fehler) AND $anz_aend[anz_aend] > 0){ // Wenn alle Eintragungen stimmen und nicht verschickte Änderungsanträge vorhanden sind, dann Abschickenbutton anzeigen
|
||||
if(!isset($fehler) AND $anz_aend['anz_aend'] > 0){ // Wenn alle Eintragungen stimmen und nicht verschickte Änderungsanträge vorhanden sind, dann Abschickenbutton anzeigen
|
||||
echo "<p align='center'><a href=".$_SERVER['PHP_SELF'] ."?action=aenderung><img src='../images/aenderung_stellen.png' border='0'></a></p>";
|
||||
}elseif($anz_aend['anz_aend'] == 0){
|
||||
echo "<p align='center'><img src='../images/keine_aenderung.png' border='0'></p>";
|
||||
|
@ -304,7 +304,7 @@ oPopupBody.style.border = \"solid blue 1px\";
|
||||
echo "<img border=\"0\" src=\"../images/cross.jpg\">";
|
||||
$fehler = 'X';
|
||||
}else{
|
||||
if($stud[hs] == 'L' or $stud['hs'] == 'K'){
|
||||
if($stud['hs'] == 'L' or $stud['hs'] == 'K'){
|
||||
echo "<img border=\"0\" src=\"../images/ok.gif\">";
|
||||
}else{
|
||||
echo "<img border=\"0\" src=\"../images/cross.jpg\">";
|
||||
@ -1275,7 +1275,7 @@ echo"
|
||||
# Elsif rein: wenn $test AND $anz_aend[anz_aend] > 0
|
||||
# elseif anzahl 0 --> nachricht: Keine Änderungsaufträge vorhanden
|
||||
# else Fehler korrigieren
|
||||
if(!isset($fehler) AND $anz_aend[anz_aend] > 0){ // Wenn alle Eintragungen stimmen und nicht verschickte Änderungsanträge vorhanden sind, dann Abschickenbutton anzeigen
|
||||
if(!isset($fehler) AND $anz_aend['anz_aend'] > 0){ // Wenn alle Eintragungen stimmen und nicht verschickte Änderungsanträge vorhanden sind, dann Abschickenbutton anzeigen
|
||||
echo "<p align='center'><a href=".$_SERVER['PHP_SELF'] ."?action=aenderung><img src='../images/erstantrag_stellen.gif' border='0'></a></p>";
|
||||
}elseif($anz_aend[anz_aend] == 0){
|
||||
echo "<p align='center'><img src='../images/keine_erstantrag.png' border='0'></p>";
|
||||
|
@ -31,7 +31,7 @@ $anm_schluss = $db->query("SELECT DATE_Format(anmeldeschluss, '%d.%m.%Y um %H:%i
|
||||
$row_schluss = $anm_schluss->fetch_array(); // Herausfinden des Beginn- Schlussdatums
|
||||
|
||||
$a = strtotime ($heute_format); //Umrechnung des Fristgrenztages in eine Zahl
|
||||
$b = strtotime ($row_schluss[enddatum]); // Umrechnung des Enddatums in eine Zahl
|
||||
$b = strtotime ($row_schluss['enddatum']); // Umrechnung des Enddatums in eine Zahl
|
||||
|
||||
|
||||
|
||||
@ -44,7 +44,7 @@ $res2 = $db->query("SELECT distinct status
|
||||
LIMIT 1");
|
||||
$stud_status = $res2->fetch_array();
|
||||
|
||||
if($stud_status[status] != '0'){
|
||||
if($stud_status['status'] != '0'){
|
||||
|
||||
if ($a <= $b){
|
||||
echo "
|
||||
@ -175,4 +175,4 @@ if($stud_status[status] != '0'){
|
||||
</body>
|
||||
</html>";
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user