include "../inc/db.inc.php"; include "../inc/album.inc.php"; $adminPage = true; include "../inc/header.php"; $id = $_GET['photoID']; if($id) { $result = mysql_query("SELECT alumID, photo_url from gns_alum_photos WHERE photoID = '$id'"); $row = mysql_fetch_assoc($result); unlink(ABSOLUTE_PATH."alums/".$row['photo_url']); unlink(ABSOLUTE_THUMB_PATH."alums/".$row['photo_url']); $alumID = $row['alumID']; $result = mysql_query("DELETE from gns_alum_photos WHERE photoID = '$id'"); if($result) { $mess = "