Das ist gut möglich das ich etwas falsch mache.
Wenn ich die Vorschläge richtig deute müsste das doch so aussehen:
PHP-Code:
.
.
.
<div class="hrproductpreview"></div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
{foreach name=aussen item=module_data from=$product_listing}
{php} $col++;
{/php}
<table class="productPreview" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
.
.
.
</tr>
</table>
<div class="hrproductpreview"></div>
{php}
if ($col>=3) {
$col=0;
echo '</tr><tr>';
}
{/php}
{/foreach}
</tr>
</table>
.
.
.