I change the settings in the admincp options but it's still the same...
This is what links_main looks like.....
PHP Code:
<if condition="$viewcatname">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr align="center">
<td class="tcat" align="center"><strong>$viewcatname</strong>
<if condition="$catclosed != 0"><span class="smallfont">[closed]</span></if>
</td>
</tr><tr>
<td class="alt1" align="center"><span class="smallfont"><if condition="$show['member']"><b>You are ready to download</a></b>
</if>
<if condition="$show['registerbutton']"><b>You must first <a href="register.php?$session[sessionurl]">$vbphrase[register]</a> before you can download files. </b>
</if></span></td>
</tr>
</table>
<br />
</if>
<if condition="$catlistbit">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr align="center">
<td class="tcat" align="center" width="20%"><strong>Category</strong></td>
<td class="tcat"><strong> Description</strong></td>
</tr>
$catlistbit
</table>
<br />
</if>
<if condition="$linklistbit">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
<td align="$stylevar[right]">
<if condition="$show['pagenav']">$pagenav</if>
<if condition="$searchnav">
<span class="smallfont">sort by
<a href="local_links.php?catid=$viewcatid&page=$pagenumber&sort=N">title</a>
<a href="local_links.php?catid=$viewcatid&page=$pagenumber&sort=d">date</a>
<a href="local_links.php?catid=$viewcatid&page=$pagenumber&sort=h">hits</a>
</span>
</if>
</td>
</tr>
</table>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr align="center">
<td class="tcat" align="center" width="20%"><strong>Files</strong></td>
<td class="tcat"><strong> Description</strong></td>
</tr>
$linklistbit
</table>
<if condition="$show['pagenav']">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
<tr valign="bottom">
<td align="$stylevar[right]">$pagenav</td>
</tr>
</table>
</if>
<br />
</if>
And the original I started with...
PHP Code:
<if condition="$viewcatname">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr align="center">
<td class="tcat" align="center"><strong>$viewcatname</strong>
<if condition="$catclosed != 0"><span class="smallfont">[closed]</span></if>
</td>
</tr><tr>
<td class="alt1"><span class="smallfont">$viewcattext</span></td>
</tr>
</table>
<br />
</if>
<if condition="$catlistbit">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr align="center">
<td class="tcat" align="center" width="20%"><strong>Category</strong></td>
<td class="tcat"><strong> Description</strong></td>
</tr>
$catlistbit
</table>
<br />
</if>
<if condition="$linklistbit">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
<td align="$stylevar[right]">
<if condition="$show['pagenav']">$pagenav</if>
<if condition="$searchnav">
<span class="smallfont">sort by
<a href="local_links.php?catid=$viewcatid&page=$pagenumber&sort=N">title</a>
<a href="local_links.php?catid=$viewcatid&page=$pagenumber&sort=d">date</a>
<a href="local_links.php?catid=$viewcatid&page=$pagenumber&sort=h">hits</a>
</span>
</if>
</td>
</tr>
</table>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr align="center">
<td class="tcat" align="center" width="20%"><strong>Entry</strong></td>
<td class="tcat"><strong> Description</strong></td>
</tr>
$linklistbit
</table>
<if condition="$show['pagenav']">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
<tr valign="bottom">
<td align="$stylevar[right]">$pagenav</td>
</tr>
</table>
</if>
<br />
</if>