query("SELECT * FROM products ORDER BY order_position ASC");
$products = $stmt->fetchAll(PDO::FETCH_ASSOC);
?>
Inventario General
Añadir Producto
";
}
?>
Agregar Nueva Cobertura
| Imagen |
Título |
Descripción |
Acciones |
query("SELECT * FROM cobertura ORDER BY id DESC");
while ($row = $stmt->fetch(PDO::FETCH_ASSOC)) {
echo "";
$image_path = 'assets/uploads/cobertura_images/' . $row['imagen'];
if (file_exists($image_path)) {
echo ".") | ";
} else {
echo "Imagen no encontrada | ";
}
echo "" . htmlspecialchars($row['titulo']) . " | ";
echo "" . htmlspecialchars($row['descripcion']) . " | ";
echo "";
echo "Eliminar";
echo " | ";
echo "
";
}
?>
Aquí irá la configuración de cobertura xpress.