kleine constant Fehler geändert
This commit is contained in:
@ -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");
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user