{assign_variable:gallery_name="hpgallery"}

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>{exp:gallery:entries gallery="{gallery_name}" limit="1" log_views="off"}{title}{/exp:gallery:entries}</title>
<meta http-equiv="Content-Type" content="text/html; charset={charset}" />

<link rel='stylesheet' type='text/css' media='all' href='{stylesheet=gallery/gallery_css}' /> 
<style type='text/css' media='screen'>@import "{stylesheet=gallery/gallery_css}";</style>
</head>

<body>

<div id="content">


<table cellpadding='0' cellspacing='0' border='0' width='98%'>
<tr>
<td>

<div class="breadcrumb">
<a href="{path=gallery/index}">Gallery Home</a> &nbsp;<b>&#8250;</b>&nbsp;
{exp:gallery:entries gallery="{gallery_name}" limit="1" log_views="off"} <a href="{category_path=gallery/category}">{category}</a>  &nbsp;<b>&#8250;</b>&nbsp; {title}{/exp:gallery:entries}
</div>

</td>
<td align="right">

{exp:gallery:prev_entry gallery="{gallery_name}"}<a href="{path=gallery/image_full}"><b>&#8249;</b> Previous Image</a>&nbsp;&nbsp;{/exp:gallery:prev_entry}
{exp:gallery:next_entry gallery="{gallery_name}"}&nbsp;&nbsp;<a href="{path=gallery/image_full}">Next Image</a> <b>&#8250;</b>{/exp:gallery:next_entry}

</td>
</tr>
</table>


{exp:gallery:entries gallery="{gallery_name}" }

<div class="imageBG">
<div class="paddedborder">

<img src="{image_url}"  class="border" width="{width}" height="{height}" border="0" title="{title}" />
	
<div class="title">
{title}
</div>

{if allow_comments}
<div class="commentlink">
<a href="{id_path=gallery/comments}" onclick="window.open(this.href, '_blank', 'width=600,height=540,location=no,status=yes,menubar=no,resizable=yes,scrollbars=yes');return false;" >{if total_comments == 0}No comments have been submitted yet{/if}{if total_comments == 1}1 person has commented{/if}{if total_comments   > 1}{total_comments} people have commented{/if}</a>
</div>
{/if}

<div class="stats">
This image has been viewed {views} {if views == 1}time{/if}{if views != 1}times{/if}
</div>
		
</div>
</div>

<div class="caption">
{caption}
</div>


{/exp:gallery:entries}


<div class="spacer">&nbsp;</div>

<div class="powered"><a href="http://www.pmachine.com/">Powered by ExpressionEngine</a></div>

</div>

</body>
</html>
