echo $a['title']; ?> </td> <td></td> <td> <a href="admin_photo.php?action=delete&id=<?php echo $a['id']; ?> &date=<?php echo $a['date']; ?> ">Удалить</a> </td> </tr> <?php foreach ($images = images_all($link, $a['id']) as $b) { ?> <tr> <td></td> <td></td> <td><img width="60px" src="../<?php echo $b['source']; ?> "></td> <td> <a href="admin_photo.php?action=delete&id=<?php echo $b['id']; ?> ">Удалить</a> </td> </tr>
<!DOCTYPE html> <?php require_once "../database.php"; require_once "../models/functions.php"; $link = db_connect(); $albom = photo_get($link, $_GET['id']); $images = images_all($link, $_GET['id']); ?> <html> <head> <meta charset="utf-8"> <title>IntellArt - Городской конкурс мультимедиа проектов - <?php echo $albom['title']; ?> </title> <!--[if lt IE 9]> <script> var e = ("article,aside,figcaption,figure,footer,header,hgroup,nav,section,time").split(','); for (var i = 0; i < e.length; i++) { document.createElement(e[i]); } </script> <![endif]--> <link rel="icon" type="image/png" href="../image/favicon.png"> <link rel="stylesheet" href="../style.css"> <link rel="stylesheet" href="../about.css"> <link href='dist/simplelightbox.min.css' rel='stylesheet' type='text/css'> <link href='dist/simplelightbox.css' rel='stylesheet' type='text/css'> </head> <body class='background'>