</td> <td><?php echo $app->getRowById($row['id_country'], 'countries')['name']; ?> </td> <td><?php echo $row['name']; ?> </td> <td> <a href="brand-cud.php?id=<?php echo $row['id']; ?> &operation=2"><span class="glyphicon glyphicon-pencil"> </span>Редактировать</a><br> <a href="brand-cud.php?id=<?php echo $row['id']; ?> &operation=0&reltable=products&fk=id_brand"><span class="glyphicon glyphicon-remove"> </span>Удалить</a> </td> </tr> <?php } ?> </table> </div> <?php echo Paginator::getListPages('brands', $app->getCountRows('brands')); ?> </div> <?php include 'footer.php';
<tr> <td><?php echo $row['id']; ?> </td> <td><?php echo $row['name']; ?> </td> <td> <a href="country-cud.php?id=<?php echo $row['id']; ?> &operation=2"><span class="glyphicon glyphicon-pencil"> </span>Редактировать</a><br> <a href="country-cud.php?id=<?php echo $row['id']; ?> &operation=0&reltable=brands&fk=id_country"><span class="glyphicon glyphicon-remove"> </span>Удалить</a> </td> </tr> <?php } ?> </table> </div> <?php echo Paginator::getListPages('countries', $app->getCountRows('countries')); ?> </div> <?php include 'footer.php';
</td> <td><?php echo $row['model']; ?> </td> <td><?php echo $row['made_year']; ?> </td> <td> <a href="product-cud.php?id=<?php echo $row['id']; ?> &operation=2"><span class="glyphicon glyphicon-pencil"> </span>Редактировать</a><br> <a href="product-cud.php?id=<?php echo $row['id']; ?> &operation=0"><span class="glyphicon glyphicon-remove"> </span>Удалить</a> </td> </tr> <?php } ?> </table> </div> <?php echo Paginator::getListPages('products', $app->getCountRows('products')); ?> </div> <?php include 'footer.php';