$area = "gallery";
include("../includes/header.php");
$itemID = mysqlquerycleaner($_REQUEST["itemID"]);
$sql = "SELECT * FROM gallery_data WHERE ID = '$itemID'";
$itemdata = mysql_query($sql);
$row = mysql_fetch_array($itemdata);
$catID = $row["catID"];
$title = $row["title"];
$description = str_replace(chr(10),"
",$row["description"]);
mysql_free_result($itemdata);
?>
|
GALLERY
|
Back to Gallery |
|
Notice: Undefined variable: title in /var/www/gallery/detail.php on line 56
if($description != "") {
?>
Notice: Undefined variable: description in /var/www/gallery/detail.php on line 61
}
?>
|
for($i=1;$i<=12;$i++) {
if($i % 4 == 1) {
?>
}
$img = $itemID."_".$i.".jpg";
if(file_exists("images/small/".$img)) {
$imgStats = getimagesize("images/large/".$img);
$imgW = $imgStats[0];
$imgH = $imgStats[1];
?>
|
}
if($i % 4 == 0) {
?>
}
}
?>
|
|
|
|
|
include("../includes/footer.php");
?>