<?php echo $header; ?><?php echo $column_left; ?><?php echo $column_right; ?>
<div id="content"><!?php echo $content_top; ?> <!?php if ($categories) { ?> <?php foreach ($categories as $category) { ?>
<div class="cattitle">
<h1 style="text-align: left; font-weight: bold;"><a name="<?php echo $category['category_id']; ?>"></a> <?php echo $category['name']; ?></h1>
</div>
<?php $products = $category['products'];
  if ($products) { ?>
<div class="product-grid"><?php foreach ($products as $product) { ?>
<div><?php if ($product['thumb']) { ?>
<div class="image"><img title="<?php echo $product['description']; ?>" alt="<?php echo $product['name']; ?>" src="<?php echo $product['thumb']; ?>" /></div>
<?php } ?>
<div class="name"></div>
</div>
<?php } ?></div>
<?php } ?> <?php } ?> <?php } ?> <?php echo $content_bottom; ?></div>
<pre lang="html" escaped="true">
<?php echo $footer; ?>