Location: PHPKode > scripts > Encaps Gallery > encaps-2.3.22s/catalog_items.html
<?php 
foreach($html['items'] as $item){?>
<h1><?php echo $item["title"]?></h1>
<table border=0><tr><td>
<a href="?id=<?php echo $item["id"]?>" ><img 
	border="0" src="./rwx/<?php echo $item["file_thumb"]?>" alt="<?php echo $item["title"]?>" class="float-left" /></a>
<?php echo $item["comment"]?>
</td></tr></table>

<p class="post-footer align-right">

<?php if($config["shopcart_is_enabled"]==1){?>
$<?php echo sprintf("%.2f",$item['price'])?><a href="shopcart.php?action=add&amp;item_id=<?php echo $item['id']?>"> Add to Cart</a>&nbsp;&nbsp;&nbsp;
<?php } ?>
					
<a href="?id=<?php echo $item["id"]?>" class="readmore">Read more</a>
<span class="date"><?php echo date("M d, Y",strtotime($item["updated_at"]))?></span>
	
</p>

<?php } ?>

<div align=center><?php include(dirname(__FILE__)."/pagination.html")?></div>
Return current item: Encaps Gallery