kleine constant Fehler geändert
This commit is contained in:
parent
1bf9923edf
commit
c00fb6812e
@ -55,11 +55,11 @@ if($action == ''){
|
||||
while ($row = $result->fetch_array()){
|
||||
|
||||
array_push($table_data1, array(
|
||||
'vid' => $row[vid],
|
||||
'betreff' => $row[betreff],
|
||||
'datum' => $row[datum],
|
||||
'vorname' => $row[vorname],
|
||||
'nachname' => $row[nachname]
|
||||
'vid' => $row['vid'],
|
||||
'betreff' => $row['betreff'],
|
||||
'datum' => $row['datum'],
|
||||
'vorname' => $row['vorname'],
|
||||
'nachname' => $row['nachname']
|
||||
)
|
||||
);
|
||||
}
|
||||
@ -165,7 +165,7 @@ if($action == 'step3a'){
|
||||
if(isset($_SESSION["abschluss_chk1"])){
|
||||
$smarty->assign('abschluss_chk1', $_SESSION["abschluss_chk1"]);
|
||||
}else{
|
||||
if(preg_match("/1/",$row[ziel])){
|
||||
if(preg_match("/1/",$row['ziel'])){
|
||||
$smarty->assign('abschluss_chk1', 1);
|
||||
}else{
|
||||
$smarty->assign('abschluss_chk1', 0);
|
||||
@ -175,7 +175,7 @@ if($action == 'step3a'){
|
||||
if(isset($_SESSION["abschluss_chk2"])){
|
||||
$smarty->assign('abschluss_chk2', $_SESSION["abschluss_chk2"]);
|
||||
}else{
|
||||
if(preg_match("/2/",$row[ziel])){
|
||||
if(preg_match("/2/",$row['ziel'])){
|
||||
$smarty->assign('abschluss_chk2', 2);
|
||||
}else{
|
||||
$smarty->assign('abschluss_chk2', 0);
|
||||
@ -185,7 +185,7 @@ if($action == 'step3a'){
|
||||
if(isset($_SESSION["abschluss_chk3"])){
|
||||
$smarty->assign('abschluss_chk3', $_SESSION["abschluss_chk3"]);
|
||||
}else{
|
||||
if(preg_match("/3/",$row[ziel])){
|
||||
if(preg_match("/3/",$row['ziel'])){
|
||||
$smarty->assign('abschluss_chk3', 3);
|
||||
}else{
|
||||
$smarty->assign('abschluss_chk3', 0);
|
||||
@ -195,7 +195,7 @@ if($action == 'step3a'){
|
||||
if(isset($_SESSION["abschluss_chk4"])){
|
||||
$smarty->assign('abschluss_chk4', $_SESSION["abschluss_chk4"]);
|
||||
}else{
|
||||
if(preg_match("/4/",$row[ziel])){
|
||||
if(preg_match("/4/",$row['ziel'])){
|
||||
$smarty->assign('abschluss_chk4', 4);
|
||||
}else{
|
||||
$smarty->assign('abschluss_chk4', 0);
|
||||
@ -205,7 +205,7 @@ if($action == 'step3a'){
|
||||
if(isset($_SESSION["abschluss_chk5"])){
|
||||
$smarty->assign('abschluss_chk5', $_SESSION["abschluss_chk5"]);
|
||||
}else{
|
||||
if(preg_match("/5/",$row[ziel])){
|
||||
if(preg_match("/5/",$row['ziel'])){
|
||||
$smarty->assign('abschluss_chk5', 5);
|
||||
}else{
|
||||
$smarty->assign('abschluss_chk5', 0);
|
||||
@ -948,4 +948,4 @@ echo "
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/$templatename");
|
||||
?>
|
||||
?>
|
||||
|
@ -56,7 +56,7 @@ if($action == ''){
|
||||
ORDER BY erfass_dat ASC");
|
||||
$row_status = $result_status->fetch_array();
|
||||
|
||||
switch ($row[beziehung])
|
||||
switch ($row['beziehung'])
|
||||
{
|
||||
case "P":
|
||||
$beziehung = "ProfessorIn";
|
||||
@ -144,11 +144,11 @@ if($action == ''){
|
||||
|
||||
while ($row2a = $result2a->fetch_array()){
|
||||
array_push($table_data2a, array(
|
||||
'vorname' => $row2a[vorname],
|
||||
'nachname' => $row2a[nachname],
|
||||
'bid' => $row2a[bid],
|
||||
'stellung_dat' => $row2a[stellung_dat],
|
||||
'stellung_dat_form' => $row2a[stellung_dat_form]
|
||||
'vorname' => $row2a['vorname'],
|
||||
'nachname' => $row2a['nachname'],
|
||||
'bid' => $row2a['bid'],
|
||||
'stellung_dat' => $row2a['stellung_dat'],
|
||||
'stellung_dat_form' => $row2a['stellung_dat_form']
|
||||
)
|
||||
);
|
||||
}
|
||||
@ -164,38 +164,38 @@ if($action == ''){
|
||||
WHERE vid = $id");
|
||||
$row4 = $result4->fetch_array();
|
||||
|
||||
if($row4[annahme] == 'J'){
|
||||
if($row4['annahme'] == 'J'){
|
||||
$annahme = 'Ja';
|
||||
}else{
|
||||
$annahme = 'Nein';
|
||||
}
|
||||
|
||||
if(preg_match("/1/",$row4[ziel])){
|
||||
if(preg_match("/1/",$row4['ziel'])){
|
||||
$smarty->assign('ansicht_entschieden_chk1', 1);
|
||||
}else{
|
||||
$smarty->assign('ansicht_entschieden_chk1', 0);
|
||||
}
|
||||
|
||||
|
||||
if(preg_match("/2/",$row4[ziel])){
|
||||
if(preg_match("/2/",$row4['ziel'])){
|
||||
$smarty->assign('ansicht_entschieden_chk2', 2);
|
||||
}else{
|
||||
$smarty->assign('ansicht_entschieden_chk2', 0);
|
||||
}
|
||||
|
||||
if(preg_match("/3/",$row4[ziel])){
|
||||
if(preg_match("/3/",$row4['ziel'])){
|
||||
$smarty->assign('ansicht_entschieden_chk3', 3);
|
||||
}else{
|
||||
$smarty->assign('ansicht_entschieden_chk3', 0);
|
||||
}
|
||||
|
||||
if(preg_match("/4/",$row4[ziel])){
|
||||
if(preg_match("/4/",$row4['ziel'])){
|
||||
$smarty->assign('ansicht_entschieden_chk4', 4);
|
||||
}else{
|
||||
$smarty->assign('ansicht_entschieden_chk4', 0);
|
||||
}
|
||||
|
||||
if(preg_match("/5/",$row4[ziel])){
|
||||
if(preg_match("/5/",$row4['ziel'])){
|
||||
$smarty->assign('ansicht_entschieden_chk5', 5);
|
||||
}else{
|
||||
$smarty->assign('ansicht_entschieden_chk5', 0);
|
||||
@ -205,7 +205,7 @@ if($action == ''){
|
||||
$smarty->assign('ansicht_entschieden_annahme', "$annahme");
|
||||
$smarty->assign('ansicht_entschieden_annahme_bemerkung', "$row4[annahme_bemerkung]");
|
||||
|
||||
if($row4[praemie] == 'J'){
|
||||
if($row4['praemie'] == 'J'){
|
||||
$praemie = 'Ja';
|
||||
}else{
|
||||
$praemie = 'Nein';
|
||||
@ -264,7 +264,7 @@ if($action == ''){
|
||||
$table_data3 = array();
|
||||
$verlauf_dup = array("");
|
||||
while ($row3 = $result3->fetch_array()){
|
||||
$status = $row3[status];
|
||||
$status = $row3['status'];
|
||||
|
||||
if($row3['sid'] == '103'){
|
||||
# Da jedes Ausschussmitglied informiert wird, reicht es aus, wenn bei den Statusdetails nur ein Hinweis pro Gutachter genannt wird, nicht 5x pro Person
|
||||
@ -293,7 +293,7 @@ if($action == ''){
|
||||
}
|
||||
|
||||
array_push($table_data3, array(
|
||||
'datum1' => $row3[datum1],
|
||||
'datum1' => $row3['datum1'],
|
||||
'info' => $info,
|
||||
'status' => $status
|
||||
)
|
||||
@ -321,4 +321,4 @@ if($action == 'save'){
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/$templatename");
|
||||
?>
|
||||
?>
|
||||
|
@ -56,12 +56,12 @@ if($action == ''){
|
||||
ORDER BY datum DESC, status DESC
|
||||
LIMIT 1");
|
||||
$row2 = $result2->fetch_array();
|
||||
if($row2[status] == '7'){
|
||||
if($row2['status'] == '7'){
|
||||
array_push($table_data1, array(
|
||||
'vid' => $row[vid],
|
||||
'betreff' => $row[betreff],
|
||||
'erfass_dat_form' => $row[erfass_dat_form],
|
||||
'sitzungsdat' => $row1[datum_form],
|
||||
'vid' => $row['vid'],
|
||||
'betreff' => $row['betreff'],
|
||||
'erfass_dat_form' => $row['erfass_dat_form'],
|
||||
'sitzungsdat' => $row1['datum_form'],
|
||||
'dateiname' => 'ausschuss_ansicht_entschieden.php'
|
||||
)
|
||||
);
|
||||
@ -76,12 +76,12 @@ if($action == ''){
|
||||
ORDER BY datum DESC, status DESC
|
||||
LIMIT 1");
|
||||
$row2 = $result2->fetch_array();
|
||||
if($row2[status] == '8'){
|
||||
if($row2['status'] == '8'){
|
||||
array_push($table_data1, array(
|
||||
'vid' => $row[vid],
|
||||
'betreff' => $row[betreff],
|
||||
'erfass_dat_form' => $row[erfass_dat_form],
|
||||
'sitzungsdat' => $row1[datum_form],
|
||||
'vid' => $row['vid'],
|
||||
'betreff' => $row['betreff'],
|
||||
'erfass_dat_form' => $row['erfass_dat_form'],
|
||||
'sitzungsdat' => $row1['datum_form'],
|
||||
'dateiname' => 'ausschuss_ansicht_entschieden.php'
|
||||
)
|
||||
);
|
||||
@ -104,4 +104,4 @@ if($action == ''){
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/$templatename");
|
||||
|
||||
?>
|
||||
?>
|
||||
|
@ -30,7 +30,7 @@ $result_vorh = $db->query("SELECT count(*) Anz
|
||||
WHERE vid=$id");
|
||||
$row_vorh = $result_vorh->fetch_array();
|
||||
|
||||
if($row_vorh[Anz] == 0){
|
||||
if($row_vorh['Anz'] == 0){
|
||||
$smarty->assign('bearbeiten_err', "1");
|
||||
}else{
|
||||
$smarty->assign('bearbeiten_err', "0");
|
||||
@ -39,4 +39,4 @@ if($row_vorh[Anz] == 0){
|
||||
|
||||
|
||||
$smarty->display("$template/$templatename");
|
||||
?>
|
||||
?>
|
||||
|
@ -43,10 +43,10 @@ if($action == ''){
|
||||
while ($row = $result->fetch_array()){
|
||||
|
||||
array_push($table_data1, array(
|
||||
'vid' => $row[vid],
|
||||
'betreff' => $row[betreff],
|
||||
'erfass_dat_form' => $row[erfass_dat_form],
|
||||
'frist_dat_form' => $row[frist_dat_form]
|
||||
'vid' => $row['vid'],
|
||||
'betreff' => $row['betreff'],
|
||||
'erfass_dat_form' => $row['erfass_dat_form'],
|
||||
'frist_dat_form' => $row['frist_dat_form']
|
||||
)
|
||||
);
|
||||
}
|
||||
@ -63,4 +63,4 @@ if($action == ''){
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/$templatename");
|
||||
|
||||
?>
|
||||
?>
|
||||
|
@ -55,17 +55,17 @@ if($action == ''){
|
||||
|
||||
while ($row1 = $result1->fetch_array()){
|
||||
|
||||
$status = $beteiligter -> beteiligter_status($row1[bid]);
|
||||
$status_klartext = $beteiligter -> beteiligter_status_klartext($row1[bid], $status);
|
||||
$status = $beteiligter -> beteiligter_status($row1['bid']);
|
||||
$status_klartext = $beteiligter -> beteiligter_status_klartext($row1['bid'], $status);
|
||||
|
||||
array_push($table_data1, array(
|
||||
'bid' => $row1[bid],
|
||||
'vorname' => $row1[vorname],
|
||||
'nachname' => $row1[nachname],
|
||||
'bid' => $row1['bid'],
|
||||
'vorname' => $row1['vorname'],
|
||||
'nachname' => $row1['nachname'],
|
||||
'status' => $status,
|
||||
'status_klartext' => $status_klartext,
|
||||
'frist' => $frist,
|
||||
'frist_tag' => $row1[frist_tag]
|
||||
'frist_tag' => $row1['frist_tag']
|
||||
)
|
||||
);
|
||||
}
|
||||
@ -90,7 +90,7 @@ if($action == ''){
|
||||
WHERE vid='$id'
|
||||
AND imtuid='$row2[imtuid]'") or die(mysql_error()); // Change users to the database where you keep your usernames, and likewise with username
|
||||
$row_dis_gut = $query_dis_gut->fetch_array();
|
||||
if($row_dis_gut[Anz] > 0){
|
||||
if($row_dis_gut['Anz'] > 0){
|
||||
$disable_gut = 1;
|
||||
}else{
|
||||
$disable_gut = 0;
|
||||
@ -102,22 +102,22 @@ if($action == ''){
|
||||
WHERE vid='$id'
|
||||
AND imtuid='$row2[imtuid]'") or die(mysql_error()); // Change users to the database where you keep your usernames, and likewise with username
|
||||
$row_dis_bet = $query_dis_bet->fetch_array();
|
||||
if($row_dis_bet[Anz] > 0){
|
||||
if($row_dis_bet['Anz'] > 0){
|
||||
$disable_bet = 1;
|
||||
}else{
|
||||
$disable_bet = 0;
|
||||
}
|
||||
|
||||
|
||||
if($row2[imtuid] == $_GET[userid]){
|
||||
if($row2['imtuid'] == $_GET['userid']){
|
||||
$selected = 1;
|
||||
}else{
|
||||
$selected = 0;
|
||||
}
|
||||
array_push($table_data2, array(
|
||||
'imtuid' => $row2[imtuid],
|
||||
'vorname' => $row2[vorname],
|
||||
'nachname' => $row2[nachname],
|
||||
'imtuid' => $row2['imtuid'],
|
||||
'vorname' => $row2['vorname'],
|
||||
'nachname' => $row2['nachname'],
|
||||
'disable_gut' => $disable_gut,
|
||||
'disable_bet' => $disable_bet,
|
||||
'selected' => $selected
|
||||
@ -1069,4 +1069,4 @@ if($action == 'anschreiben1'){
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/$templatename");
|
||||
|
||||
?>
|
||||
?>
|
||||
|
@ -37,38 +37,38 @@ if($action == ''){
|
||||
WHERE vid = '$id'");
|
||||
$row = $result->fetch_array();
|
||||
|
||||
if(preg_match("/1/",$row[ziel])){
|
||||
if(preg_match("/1/",$row['ziel'])){
|
||||
$smarty->assign('bewertungsvorschlag_chk1', "Y");
|
||||
}else{
|
||||
$smarty->assign('bewertungsvorschlag_chk1', "N");
|
||||
}
|
||||
|
||||
if(preg_match("/2/",$row[ziel])){
|
||||
if(preg_match("/2/",$row['ziel'])){
|
||||
$smarty->assign('bewertungsvorschlag_chk2', "Y");
|
||||
}else{
|
||||
$smarty->assign('bewertungsvorschlag_chk2', "N");
|
||||
}
|
||||
|
||||
if(preg_match("/3/",$row[ziel])){
|
||||
if(preg_match("/3/",$row['ziel'])){
|
||||
$smarty->assign('bewertungsvorschlag_chk3', "Y");
|
||||
}else{
|
||||
$smarty->assign('bewertungsvorschlag_chk3', "N");
|
||||
}
|
||||
|
||||
if(preg_match("/4/",$row[ziel])){
|
||||
if(preg_match("/4/",$row['ziel'])){
|
||||
$smarty->assign('bewertungsvorschlag_chk4', "Y");
|
||||
}else{
|
||||
$smarty->assign('bewertungsvorschlag_chk4', "N");
|
||||
}
|
||||
|
||||
if(preg_match("/5/",$row[ziel])){
|
||||
if(preg_match("/5/",$row['ziel'])){
|
||||
$smarty->assign('bewertungsvorschlag_chk5', "Y");
|
||||
}else{
|
||||
$smarty->assign('bewertungsvorschlag_chk5', "N");
|
||||
}
|
||||
|
||||
|
||||
if($row[annahme] == ''){
|
||||
if($row['annahme'] == ''){
|
||||
$smarty->assign('bewertungsvorschlag_annahme', "J");
|
||||
}else{
|
||||
$smarty->assign('bewertungsvorschlag_annahme', "$row[annahme]");
|
||||
@ -143,4 +143,4 @@ if($action == 'save'){
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/$templatename");
|
||||
?>
|
||||
?>
|
||||
|
18
edit.php
18
edit.php
@ -61,7 +61,7 @@ if($action == ''){
|
||||
ORDER BY erfass_dat ASC");
|
||||
$row_status = $result_status->fetch_array();
|
||||
|
||||
switch ($row[beziehung])
|
||||
switch ($row['beziehung'])
|
||||
{
|
||||
case "P":
|
||||
$beziehung = "ProfessorIn";
|
||||
@ -115,16 +115,16 @@ if($action == ''){
|
||||
|
||||
while ($row2 = $result2->fetch_array()){
|
||||
|
||||
if($row2[kid] == $row[kategorie]){
|
||||
if($row2['kid'] == $row['kategorie']){
|
||||
$selected = "1";
|
||||
}else{
|
||||
$selected = "0";
|
||||
}
|
||||
|
||||
array_push($table_data2, array(
|
||||
'kid' => $row2[kid],
|
||||
'kid' => $row2['kid'],
|
||||
'selected' => $selected,
|
||||
'kategorie' => $row2[kategorie]
|
||||
'kategorie' => $row2['kategorie']
|
||||
)
|
||||
);
|
||||
}
|
||||
@ -139,7 +139,7 @@ if($action == ''){
|
||||
ORDER BY datum DESC
|
||||
LIMIT 1");
|
||||
$row2a = $result2a->fetch_array();
|
||||
if($row2a[status] == 1){
|
||||
if($row2a['status'] == 1){
|
||||
$smarty->assign('edit_ablehnen_bttn', "1");
|
||||
$smarty->assign('edit_ablehnen_vid', "$id");
|
||||
}
|
||||
@ -180,7 +180,7 @@ if($action == ''){
|
||||
$table_data3 = array();
|
||||
$verlauf_dup = array("");
|
||||
while ($row3 = $result3->fetch_array()){
|
||||
$status = $row3[status];
|
||||
$status = $row3['status'];
|
||||
|
||||
if($row3['sid'] == '103'){
|
||||
# Da jedes Ausschussmitglied informiert wird, reicht es aus, wenn bei den Statusdetails nur ein Hinweis pro Gutachter genannt wird, nicht 5x pro Person
|
||||
@ -194,7 +194,7 @@ if($action == ''){
|
||||
|
||||
if (!in_array($status, $verlauf_dup)) {
|
||||
$verlauf_dup[] = "$status";
|
||||
$status = $row3[status];
|
||||
$status = $row3['status'];
|
||||
}else{
|
||||
$status = "";
|
||||
}
|
||||
@ -209,7 +209,7 @@ if($action == ''){
|
||||
}
|
||||
|
||||
array_push($table_data3, array(
|
||||
'datum1' => $row3[datum1],
|
||||
'datum1' => $row3['datum1'],
|
||||
'info' => $info,
|
||||
'status' => $status
|
||||
)
|
||||
@ -465,4 +465,4 @@ if($action == 'ablehnung2'){
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/$templatename");
|
||||
?>
|
||||
?>
|
||||
|
@ -45,7 +45,7 @@ if($action == ''){
|
||||
$smarty->assign('erfassen_eingabe_nachname', $row['nachname']);
|
||||
$smarty->assign('erfassen_eingabe_mail', "$row[mail]");
|
||||
|
||||
switch ($row[beziehung])
|
||||
switch ($row['beziehung'])
|
||||
{
|
||||
case "P":
|
||||
$beziehung = "ProfessorIn";
|
||||
@ -251,4 +251,4 @@ if($action == 'save1'){
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/$templatename");
|
||||
?>
|
||||
?>
|
||||
|
@ -72,13 +72,13 @@ require_once("func_verlauf.php");
|
||||
$row_betang3 = $query_betang3->fetch_array();
|
||||
|
||||
#4
|
||||
if($row_betang3[Anz] == 0){
|
||||
if($row_betang3['Anz'] == 0){
|
||||
#5
|
||||
if($row_betang2[Anz] == $row_betang1[Anz] AND $row_betang1[Anz] > 0){
|
||||
if($row_betang2['Anz'] == $row_betang1[Anz] AND $row_betang1[Anz] > 0){
|
||||
verlauf($uid, $vid, "Alle Beteiligte angehört", 4, '');
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
@ -16,26 +16,26 @@ class beteiligter {
|
||||
# Erfassung noch möglich, Stellungnahme vom
|
||||
# Erfassung noch möglich, noch keine Stellungnahme
|
||||
|
||||
if($row_bet_data[stellung_dat] != '0000-00-00 00:00:00'){
|
||||
if($row_bet_data['stellung_dat'] != '0000-00-00 00:00:00'){
|
||||
$status = ": Stellungnahme vom $row_bet_data[stellung_dat_form]";
|
||||
}else{
|
||||
$status = "";
|
||||
}
|
||||
$aend_dat = date("Y-m-d");
|
||||
|
||||
if($row_bet_data[frist_datum] >= $aend_dat AND $row_bet_data[stellung_dat] != '0000-00-00 00:00:00'){
|
||||
if($row_bet_data['frist_datum'] >= $aend_dat AND $row_bet_data['stellung_dat'] != '0000-00-00 00:00:00'){
|
||||
return 1;
|
||||
}
|
||||
|
||||
if($row_bet_data[frist_datum] >= $aend_dat AND $row_bet_data[stellung_dat] == '0000-00-00 00:00:00'){
|
||||
if($row_bet_data['frist_datum'] >= $aend_dat AND $row_bet_data['stellung_dat'] == '0000-00-00 00:00:00'){
|
||||
return 2;
|
||||
}
|
||||
|
||||
if($row_bet_data[frist_datum] < $aend_dat AND $row_bet_data[stellung_dat] != '0000-00-00 00:00:00'){
|
||||
if($row_bet_data['frist_datum'] < $aend_dat AND $row_bet_data['stellung_dat'] != '0000-00-00 00:00:00'){
|
||||
return 3;
|
||||
}
|
||||
|
||||
if($row_bet_data[frist_datum] < $aend_dat AND $row_bet_data[stellung_dat] == '0000-00-00 00:00:00'){
|
||||
if($row_bet_data['frist_datum'] < $aend_dat AND $row_bet_data['stellung_dat'] == '0000-00-00 00:00:00'){
|
||||
return 4;
|
||||
}
|
||||
|
||||
@ -77,4 +77,4 @@ class beteiligter {
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
@ -64,13 +64,13 @@ require_once("func_verlauf.php");
|
||||
$row_gutang3 = $query_gutang3->fetch_array();
|
||||
|
||||
#4
|
||||
if($row_gutang3[Anz] == 0){
|
||||
if($row_gutang3['Anz'] == 0){
|
||||
#5
|
||||
if($row_gutang2[Anz] == $row_gutang1[Anz] AND $row_gutang1[Anz] >0){
|
||||
if($row_gutang2['Anz'] == $row_gutang1['Anz'] AND $row_gutang1['Anz'] >0){
|
||||
verlauf($uid, $vid, "Alle Gutachter angehört", 5, '');
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
@ -111,7 +111,7 @@ if($action == ''){
|
||||
WHERE vid='$id'
|
||||
AND imtuid='$row2[imtuid]'") or die(mysql_error()); // Change users to the database where you keep your usernames, and likewise with username
|
||||
$row_dis_gut = $query_dis_gut->fetch_array();
|
||||
if($row_dis_gut[Anz] > 0){
|
||||
if($row_dis_gut['Anz'] > 0){
|
||||
$disable_gut = 1;
|
||||
}else{
|
||||
$disable_gut = 0;
|
||||
@ -123,22 +123,22 @@ if($action == ''){
|
||||
WHERE vid='$id'
|
||||
AND imtuid='$row2[imtuid]'") or die(mysql_error()); // Change users to the database where you keep your usernames, and likewise with username
|
||||
$row_dis_bet = $query_dis_bet->fetch_array();
|
||||
if($row_dis_bet[Anz] > 0){
|
||||
if($row_dis_bet['Anz'] > 0){
|
||||
$disable_bet = 1;
|
||||
}else{
|
||||
$disable_bet = 0;
|
||||
}
|
||||
|
||||
|
||||
if($row2[imtuid] == $_GET[userid]){
|
||||
if($row2['imtuid'] == $_GET['userid']){
|
||||
$selected = 1;
|
||||
}else{
|
||||
$selected = 0;
|
||||
}
|
||||
array_push($table_data2, array(
|
||||
'imtuid' => $row2[imtuid],
|
||||
'vorname' => $row2[vorname],
|
||||
'nachname' => $row2[nachname],
|
||||
'imtuid' => $row2['imtuid'],
|
||||
'vorname' => $row2['vorname'],
|
||||
'nachname' => $row2['nachname'],
|
||||
'disable_bet' => $disable_bet,
|
||||
'disable_gut' => $disable_gut,
|
||||
'selected' => $selected
|
||||
@ -888,4 +888,4 @@ if($action == 'anschreiben1'){
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/$templatename");
|
||||
|
||||
?>
|
||||
?>
|
||||
|
@ -15,9 +15,9 @@ require_once "language/german.inc.php";
|
||||
|
||||
$action = $_GET['action'];
|
||||
if($action == ''){
|
||||
if(isset($_GET[error])){
|
||||
if(isset($_GET['error'])){
|
||||
|
||||
$errorno = $_GET[error];
|
||||
$errorno = $_GET['error'];
|
||||
|
||||
$smarty->assign('index_error', 1);
|
||||
|
||||
|
@ -19,28 +19,28 @@ if($action == ''){
|
||||
WHERE vid='$vid'") or die(mysql_error()); // Change users to the database where you keep your usernames, and likewise with username
|
||||
$row = $query->fetch_array();
|
||||
|
||||
if($row[annahme] == 'J'){
|
||||
if($row['annahme'] == 'J'){
|
||||
$annahme = "Ja";
|
||||
}else{
|
||||
$annahme = "Nein";
|
||||
}
|
||||
|
||||
if($row[praemie] == 'J'){
|
||||
if($row['praemie'] == 'J'){
|
||||
$praemie = "Ja";
|
||||
}else{
|
||||
$praemie = "Nein";
|
||||
}
|
||||
|
||||
$smarty->assign('info_entscheid_annahme', $annahme);
|
||||
$smarty->assign('info_entscheid_annahme_bemerkung', $row[annahme_bemerkung]);
|
||||
$smarty->assign('info_entscheid_annahme_bemerkung', $row['annahme_bemerkung']);
|
||||
$smarty->assign('info_entscheid_praemie', $praemie);
|
||||
$smarty->assign('info_entscheid_punkte_gesamt', $row[punkte_gesamt]);
|
||||
$smarty->assign('info_entscheid_praemie_gutschein', $row[praemie_gutschein]);
|
||||
$smarty->assign('info_entscheid_dienstbefreiung', $row[dienstbefreiung]);
|
||||
$smarty->assign('info_entscheid_massnahme', $row[massnahme]);
|
||||
$smarty->assign('info_entscheid_punkte_gesamt', $row['punkte_gesamt']);
|
||||
$smarty->assign('info_entscheid_praemie_gutschein', $row['praemie_gutschein']);
|
||||
$smarty->assign('info_entscheid_dienstbefreiung', $row['dienstbefreiung']);
|
||||
$smarty->assign('info_entscheid_massnahme', $row['massnahme']);
|
||||
|
||||
}
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/$templatename");
|
||||
?>
|
||||
?>
|
||||
|
@ -20,7 +20,7 @@ if($action == ''){
|
||||
AND d.bereich='ADB'");
|
||||
$row_bearb = $result_bearb->fetch_array();
|
||||
|
||||
if($row_bearb[Anz] > 0){
|
||||
if($row_bearb['Anz'] > 0){
|
||||
$smarty->assign('menu_admin_bearb', "1");
|
||||
}
|
||||
|
||||
@ -44,9 +44,9 @@ if($action == ''){
|
||||
while ($row = $result->fetch_array()){
|
||||
|
||||
array_push($table_data1, array(
|
||||
'beschreibung' => $row[beschreibung],
|
||||
'dateiname' => $row[dateiname],
|
||||
'target' => $row[target]
|
||||
'beschreibung' => $row['beschreibung'],
|
||||
'dateiname' => $row['dateiname'],
|
||||
'target' => $row['target']
|
||||
)
|
||||
);
|
||||
}
|
||||
@ -71,9 +71,9 @@ if($action == ''){
|
||||
while ($row2 = $result2->fetch_array()){
|
||||
|
||||
array_push($table_data2, array(
|
||||
'beschreibung' => $row2[beschreibung],
|
||||
'dateiname' => $row2[dateiname],
|
||||
'target' => $row2[target]
|
||||
'beschreibung' => $row2['beschreibung'],
|
||||
'dateiname' => $row2['dateiname'],
|
||||
'target' => $row2['target']
|
||||
)
|
||||
);
|
||||
}
|
||||
@ -98,9 +98,9 @@ if($action == ''){
|
||||
while ($row3 = $result3->fetch_array()){
|
||||
|
||||
array_push($table_data3, array(
|
||||
'beschreibung' => $row3[beschreibung],
|
||||
'dateiname' => $row3[dateiname],
|
||||
'target' => $row3[target]
|
||||
'beschreibung' => $row3['beschreibung'],
|
||||
'dateiname' => $row3['dateiname'],
|
||||
'target' => $row3['target']
|
||||
)
|
||||
);
|
||||
}
|
||||
@ -133,4 +133,4 @@ if($action == 'suche'){
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/$templatename");
|
||||
|
||||
?>
|
||||
?>
|
||||
|
@ -19,7 +19,7 @@ if($action == ''){
|
||||
AND d.bereich='AS'");
|
||||
$row_bearb = $result_bearb->fetch_array();
|
||||
|
||||
if($row_bearb[Anz] > 0){
|
||||
if($row_bearb['Anz'] > 0){
|
||||
$smarty->assign('menu_ausschuss_bearb', "1");
|
||||
}
|
||||
|
||||
@ -62,7 +62,7 @@ if($action == ''){
|
||||
AND d.bereich='ASE'");
|
||||
$row_bearb2 = $result_bearb2->fetch_array();
|
||||
|
||||
if($row_bearb2[Anz] > 0){
|
||||
if($row_bearb2['Anz'] > 0){
|
||||
$smarty->assign('menu_ausschuss_bearb2', "1");
|
||||
}
|
||||
|
||||
@ -83,9 +83,9 @@ if($action == ''){
|
||||
while ($row2 = $result2->fetch_array()){
|
||||
|
||||
array_push($table_data2, array(
|
||||
'beschreibung' => $row2[beschreibung],
|
||||
'dateiname' => $row2[dateiname],
|
||||
'target' => $row2[target]
|
||||
'beschreibung' => $row2['beschreibung'],
|
||||
'dateiname' => $row2['dateiname'],
|
||||
'target' => $row2['target']
|
||||
)
|
||||
);
|
||||
}
|
||||
@ -104,7 +104,7 @@ if($action == ''){
|
||||
AND d.bereich='ASS'");
|
||||
$row_bearb3 = $result_bearb3->fetch_array();
|
||||
|
||||
if($row_bearb3[Anz] > 0){
|
||||
if($row_bearb3['Anz'] > 0){
|
||||
$smarty->assign('menu_ausschuss_bearb3', "1");
|
||||
}
|
||||
|
||||
@ -125,9 +125,9 @@ if($action == ''){
|
||||
while ($row3 = $result3->fetch_array()){
|
||||
|
||||
array_push($table_data3, array(
|
||||
'beschreibung' => $row3[beschreibung],
|
||||
'dateiname' => $row3[dateiname],
|
||||
'target' => $row3[target]
|
||||
'beschreibung' => $row3['beschreibung'],
|
||||
'dateiname' => $row3['dateiname'],
|
||||
'target' => $row3['target']
|
||||
)
|
||||
);
|
||||
}
|
||||
@ -161,4 +161,4 @@ if($action == 'suche'){
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/$templatename");
|
||||
|
||||
?>
|
||||
?>
|
||||
|
@ -139,8 +139,8 @@ $columns = 4; //five columns
|
||||
$pdf->SetY(80.8);
|
||||
}
|
||||
#$pos=$pdf->GetY()+10;
|
||||
$betreff = html_entity_decode($row[betreff]);
|
||||
$massnahme = html_entity_decode($row[massnahme]);
|
||||
$betreff = html_entity_decode($row['betreff']);
|
||||
$massnahme = html_entity_decode($row['massnahme']);
|
||||
|
||||
$data[0]['TEXT'] = "$row[vid]";
|
||||
$data[0]['T_ALIGN'] = "L"; //C=CENTER, L=LEFT, R=RIGHT, J=JUSTIFY
|
||||
@ -189,4 +189,4 @@ $columns = 4; //five columns
|
||||
|
||||
$pdf->Output("veroeffentlichung_ideen.pdf","$output");
|
||||
$pdf->closeParsers();
|
||||
?>
|
||||
?>
|
||||
|
58
status.php
58
status.php
@ -55,15 +55,15 @@ if($action == ''){
|
||||
ORDER BY datum DESC, status DESC
|
||||
LIMIT 1");
|
||||
$row2 = $result2->fetch_array();
|
||||
if($row2[status] == '1'){
|
||||
if($row2['status'] == '1'){
|
||||
array_push($table_data1, array(
|
||||
'vid' => $row[vid],
|
||||
'betreff' => $row[betreff],
|
||||
'erfass_dat_form' => $row[erfass_dat_form],
|
||||
'sitzungsdat' => $row1[datum_form],
|
||||
'vorname' => $row[vorname],
|
||||
'vid' => $row['vid'],
|
||||
'betreff' => $row['betreff'],
|
||||
'erfass_dat_form' => $row['erfass_dat_form'],
|
||||
'sitzungsdat' => $row1['datum_form'],
|
||||
'vorname' => $row['vorname'],
|
||||
'dateiname' => 'bearbeiten.php',
|
||||
'nachname' => $row[nachname]
|
||||
'nachname' => $row['nachname']
|
||||
)
|
||||
);
|
||||
}
|
||||
@ -77,15 +77,15 @@ if($action == ''){
|
||||
ORDER BY datum DESC, status DESC
|
||||
LIMIT 1");
|
||||
$row2 = $result2->fetch_array();
|
||||
if($row2[status] == '7'){
|
||||
if($row2['status'] == '7'){
|
||||
array_push($table_data1, array(
|
||||
'vid' => $row[vid],
|
||||
'betreff' => $row[betreff],
|
||||
'erfass_dat_form' => $row[erfass_dat_form],
|
||||
'sitzungsdat' => $row1[datum_form],
|
||||
'vorname' => $row[vorname],
|
||||
'vid' => $row['vid'],
|
||||
'betreff' => $row['betreff'],
|
||||
'erfass_dat_form' => $row['erfass_dat_form'],
|
||||
'sitzungsdat' => $row1['datum_form'],
|
||||
'vorname' => $row['vorname'],
|
||||
'dateiname' => 'ansicht_entschieden.php',
|
||||
'nachname' => $row[nachname]
|
||||
'nachname' => $row['nachname']
|
||||
)
|
||||
);
|
||||
}
|
||||
@ -99,15 +99,15 @@ if($action == ''){
|
||||
ORDER BY datum DESC, status DESC
|
||||
LIMIT 1");
|
||||
$row2 = $result2->fetch_array();
|
||||
if($row2[status] == '8'){
|
||||
if($row2['status'] == '8'){
|
||||
array_push($table_data1, array(
|
||||
'vid' => $row[vid],
|
||||
'betreff' => $row[betreff],
|
||||
'erfass_dat_form' => $row[erfass_dat_form],
|
||||
'sitzungsdat' => $row1[datum_form],
|
||||
'vorname' => $row[vorname],
|
||||
'vid' => $row['vid'],
|
||||
'betreff' => $row['betreff'],
|
||||
'erfass_dat_form' => $row['erfass_dat_form'],
|
||||
'sitzungsdat' => $row1['datum_form'],
|
||||
'vorname' => $row['vorname'],
|
||||
'dateiname' => 'ansicht_entschieden.php',
|
||||
'nachname' => $row[nachname]
|
||||
'nachname' => $row['nachname']
|
||||
)
|
||||
);
|
||||
}
|
||||
@ -122,15 +122,15 @@ if($action == ''){
|
||||
LIMIT 1");
|
||||
|
||||
$row2 = $result2->fetch_array();
|
||||
if($row2[status] != '1' AND $row2[status] != '7' AND $row2[status] != '8'){
|
||||
if($row2['status'] != '1' AND $row2['status'] != '7' AND $row2['status'] != '8'){
|
||||
array_push($table_data1, array(
|
||||
'vid' => $row[vid],
|
||||
'betreff' => $row[betreff],
|
||||
'erfass_dat_form' => $row[erfass_dat_form],
|
||||
'sitzungsdat' => $row1[datum_form],
|
||||
'vorname' => $row[vorname],
|
||||
'vid' => $row['vid'],
|
||||
'betreff' => $row['betreff'],
|
||||
'erfass_dat_form' => $row['erfass_dat_form'],
|
||||
'sitzungsdat' => $row1['datum_form'],
|
||||
'vorname' => $row['vorname'],
|
||||
'dateiname' => 'bearbeiten.php',
|
||||
'nachname' => $row[nachname]
|
||||
'nachname' => $row['nachname']
|
||||
)
|
||||
);
|
||||
}
|
||||
@ -150,4 +150,4 @@ if($action == ''){
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/$templatename");
|
||||
|
||||
?>
|
||||
?>
|
||||
|
10
titel.php
10
titel.php
@ -14,7 +14,7 @@ $result_admin = $db->query("SELECT count(*) Anz FROM imt_rollen_user_zuord WHERE
|
||||
#echo "SELECT count(*) Anz FROM imt_rollen_user_zuord WHERE imtuid = '$uid' AND roid='1'<br>";
|
||||
$row_admin = $result_admin->fetch_array();
|
||||
|
||||
if($row_admin[Anz] > 0){
|
||||
if($row_admin['Anz'] > 0){
|
||||
$smarty->assign('titel_admin', "1");
|
||||
}
|
||||
|
||||
@ -22,7 +22,7 @@ if($row_admin[Anz] > 0){
|
||||
$result_ausschuss = $db->query("SELECT count(*) Anz FROM imt_rollen_user_zuord WHERE imtuid = '$uid' AND roid in (4,5)");
|
||||
$row_ausschuss = $result_ausschuss->fetch_array();
|
||||
|
||||
if($row_ausschuss[Anz] > 0){
|
||||
if($row_ausschuss['Anz'] > 0){
|
||||
$smarty->assign('titel_ausschuss', "1");
|
||||
}
|
||||
|
||||
@ -30,7 +30,7 @@ if($row_ausschuss[Anz] > 0){
|
||||
$result_beteiligte = $db->query("SELECT count(*) Anz FROM imt_rollen_user_zuord WHERE imtuid = '$uid' AND roid='3'");
|
||||
$row_beteiligte = $result_beteiligte->fetch_array();
|
||||
|
||||
if($row_beteiligte[Anz] > 0){
|
||||
if($row_beteiligte['Anz'] > 0){
|
||||
$smarty->assign('titel_beteiligte', "1");
|
||||
}
|
||||
|
||||
@ -38,10 +38,10 @@ if($row_beteiligte[Anz] > 0){
|
||||
$result_gutachter = $db->query("SELECT count(*) Anz FROM imt_rollen_user_zuord WHERE imtuid = '$uid' AND roid='2'");
|
||||
$row_gutachter = $result_gutachter->fetch_array();
|
||||
|
||||
if($row_gutachter[Anz] > 0){
|
||||
if($row_gutachter['Anz'] > 0){
|
||||
$smarty->assign('titel_gutachter', "1");
|
||||
}
|
||||
|
||||
|
||||
$smarty->display("$template/$templatename");
|
||||
?>
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user