View Single Post
Old 07-13-2007, 08:24 PM  
eddie-executive
Confirmed User
 
Join Date: Apr 2003
Posts: 2,061
and here's one more part of the code where the problems are:
--------------------------------------

{php}
$catbanner=1;
include "ad_get.php";
{/php}


{if $categories}
<table width='100%' cellspacing="8" class="box">
<tr bgcolor="#ECBD47"><iframe src="http://free.timeanddate.com/clock/ikt5p2j/n198/fs12/tcf3fda4/ftb/bacccc/tt0/tw0/ts1" frameborder="0" width="165" height="20"></iframe>

</tr>

<tr bgcolor="#ECBD47">
{foreach name=main item=category from=$categories}
{if $category.IMAGE != "default.gif"}
<td width="{$TD_SIZE}%" class="category_none"> {else}
<td width="{$TD_SIZE}% class="category">
{/if}
<img src="catimages/{$category.IMAGE}" alt="bucks county jobs" hspace="0" />
</a>
{if $category.SUBCATLIST}
{foreach name=sub item=sub from=$category.SUBCATLIST}
<a href="index.php?catid={$sub.CATID}" title="{$sub.CATNAME}">
&nbsp;<img src="layout_images/new/lb.png">&nbsp;{$sub.CATNAME}</a>
<small class="littleGray">{$sub.NUM}</small><br>{if !$smarty.foreach.sub.last}{/if}
{/foreach}
{elseif $category.CATDESCRIPTION}
<small>{$category.CATDESCRIPTION}</small>
{/if} </td>

{if $category.BREAK && !$smarty.foreach.main.last} </tr><tr class="{cycle values="alt,"}">
{/if}

{if $smarty.foreach.main.last}
{if $category.REMAIN_TD>0}
<td colspan="{$category.REMAIN_TD}"></td>
{/if}
{/if}

{/foreach}
</tr>
</table>
{/if}
__________________
Jealousy... is a mental cancer. ~B.C. Forbes
eddie-executive is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote