<?php //echo 2%3; //current selected category == $category (object mode) $breakcum = ProductCategory::buildBreakcum($category); ?> <div class="content_box clearfix"> <div class="content_box_title"> <div class="breakcum"> <?php echo $breakcum; ?> </div> </div> <div class="content_box_main"> <div class="content_box_txt"> <?php if (isset($items) && is_array($items) && count($items) > 0) { ?> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <?php $i = 0; foreach ($items as $item) { if ($i > 0 && $i % 3 == 0) { echo "<tr>"; } ?> <td style="border-right: 1px dashed #D1D4D7; border-bottom: 1px dashed #D1D4D7; width: 237px; padding: 5px 5px 10px 5px;"> <?php