{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:category_name}{category}{/exp:gallery:category_name}</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:category_name}{category}{/exp:gallery:category_name}
</div>

</td>
<td align="right">
	
<form>
<select name="URL" onChange="window.location=this.options[this.selectedIndex].value">
<option value=" ">Category Jump Navigation</option>	

{exp:gallery:category_list gallery="{gallery_name}"}
<option value="{category_path=gallery/category} ">{category_name}</option>
{/exp:gallery:category_list}

</select>		
</form>

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


{exp:gallery:entries gallery="{gallery_name}"  orderby="date" sort="desc" columns="4" rows="3"}

<table class="tableBorder" cellpadding="6" cellspacing="1" border="0" width="100%">
<tr>
<th colspan="4">{category}</th>
</tr>

{entries}

{row_start}<tr>{/row_start}

{row}
<td class="thumbs">
<a href="{id_path=gallery/image_full}"><img src="{thumb_url}"  class="border" width="{thumb_width}" height="{thumb_height}" border="0" title="{title}" /></a>
<div class="title">{title}</div>
</td>
{/row}

{row_blank}<td class="thumbs">&nbsp;</td>{/row_blank}

{row_end}</tr>{/row_end}

{/entries}

</table>

{paginate}
<div class="paginate">
<span class="pagecount">Page {current_page} of {total_pages} pages</span>  {pagination_links}
</div>
{/paginate}

{/exp:gallery:entries}

</div>

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

</body>
</html>
