Liste
Auswahl entfernen
list as $index => $item) { if ($index % 2 == 0) { $color_theme = "bg-primary"; $button_theme = "btn-primary"; } else { $color_theme = "bg-secondary"; $button_theme = "btn-secondary"; } if ($item->Erledigt) { $div_item_row_color_classes = "bg-success"; $checked = "checked"; } else { $div_item_row_color_classes = $color_theme; $checked = ""; } print_r("
"); print_r("
"); print_r("
$item->Anzahl $item->Einheit
"); print_r("
$item->Name
"); print_r("
"); print_r("
more...
"); print_r("
"); print_r("
Action
"); print_r("
Another action
"); print_r("
Something else here
"); print_r("
"); print_r("
"); print_r("
"); } ?>
list as $index => $unit) { if ($unit->Standard) { $selected = "selected"; } else { $selected = NULL; } print_r("
$unit->Name
"); } ?>