<!-- <table class="table table-striped b-t b-light" ui-jq="dataTable" ui-options="{bPaginate: false, bFilter: false, bInfo: false, order: [[ 0, 'desc' ]], aoColumns: [null,{bSortable:false},{bSortable:false},{bSortable:false,sWidth: '50px'}]}" style="width: 100%; margin: 0px;">--> <table class="table table-striped b-t b-light"> <thead> <tr> <th width="20">Дата</th> <th>Заголовок</th> <th>Текст</th> <th style="width:84px;"></th> </tr> </thead> <?php foreach ($records as $record) { ?> <tr> <td><?php echo DateFormat::dateDMY($record["date"]); ?> </td> <td><?php echo $record["title"]; ?> </td> <td><?php echo $record["text"]; ?> </td> <td> <button class="btn btn-xs btn-info edit" data-id="<?php echo $record["id"]; ?>
?> </td> <td><?php echo $record["delivery"]; ?> </td> <td><?php echo $record["comments"]; ?> </td> <td> <?php if ($record["update"] == "0000-00-00 00:00:00") { echo "не обновлялся"; } else { echo DateFormat::dateDMY($record["update"]) . " в " . DateFormat::time($record["update"]); } ?> </td> <td> <button class="btn btn-xs btn-info edit" data-id="<?php echo $record["id"]; ?> " data-title="<?php echo $table; ?> " data-toggle="modal" data-target=".<?php echo $table;