<?php
///////////////////////////////////////////////////////////////////////////////
//                                                                           //
//   Program Name         : ProPhotoHost                                     //
//   Release Version      : 1.0                                              //
//   Home Page            : http://www.prophotohost.com                      //
//   Program Author       : Jake P                                           //
//   Supplied by          : drew010                                          //
//   Nullified by         : CyKuH [WTN]                                      //
//   Distribution         : via WebForum, ForumRU and associated file dumps  //
//                                                                           //
///////////////////////////////////////////////////////////////////////////////
include('i.setup.php');
include('i.connection.php');
include('i.function.php');

$query = mysql_query("SELECT image_id, image_name, image_ext, image_caption, image_width, image_height, image_size FROM image WHERE image_id = '$id'");
$data = mysql_fetch_object($query, $db);

?>

<html>

<head>
<title>cihdc - image</title>

<?php include('i.style.php'); ?>

<body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0">
	
	<img src="./hosted/<?php print($data->image_name . "." . $data->image_ext); ?>">

</body>

</html>