ramdon Posted February 12, 2009 Share Posted February 12, 2009 (edited) hello need a helping hand i what my Downlaod files to be set as 2 to 1 line and repeded just like my Download page if you do not know what i mean then the URLS to thos pages are: Downlaods: http://ramdon.net/Billing/downloads.php Downlaods Cat page: http://ramdon.net/Billing/downloads.php?action=displaycat&catid=1 here is the downloadscat.tpl codding <div align="center"> <table border="0" width="800" cellspacing="0" cellpadding="0" bgcolor="#3B3B3B"> <tr> <td background="http://www.ramdon.net/images/host.jpg" height="24"> </td> </tr> <tr> <td>{$LANG.downloadsintrotext}</td> </tr> <tr> <td background="http://www.ramdon.net/images/host2.jpg" height="24"> </td> </tr> </table> </div> {if $dlcats} <div align="center"> <table border="0" width="800" cellspacing="0" cellpadding="0" bgcolor="#3B3B3B"> <tr> <td background="http://www.ramdon.net/images/host.jpg" height="24">{$LANG.downloadscategories}</td> </tr> <tr> <td> <table width="100%"> <tr> {foreach key=num item=dlcat from=$dlcats} <td width="33%" valign="top"><strong><a href="{if $seofriendlyurls}downloads/{$dlcat.id}/{$dlcat.urlfriendlyname}{else}downloads.php?action=displaycat&catid={$dlcat.id}{/if}"><img src="images/folder.gif" border="0" align="middle" alt="" /> {$dlcat.name}</a></strong> ({$dlcat.numarticles})<br /> {$dlcat.description} </td> {if $num is div by 3} </tr> <tr> {/if} {/foreach} </tr> </table> </td> </tr> <tr> <td background="http://www.ramdon.net/images/host2.jpg" height="24"> </td> </tr> </table> </div> {/if} {if $downloads} <div align="center"> <table border="0" width="800" cellspacing="0" cellpadding="0" bgcolor="#3B3B3B"> <tr> <td background="http://www.ramdon.net/images/host.jpg" height="24"> <p class="heading2">{$LANG.downloadsfiles}</p></td> </tr> <tr> <td> <table width="100%"> {foreach key=num item=download from=$downloads} <tr><td> {$download.type} <a href="{$download.link}"><strong>{$download.title}</strong></a><br />{if $download.clientsonly}<i>Login Required</i><br />{/if}{$download.description}<br /><font style="color:#A8A8A8;font-size:10px;">{$LANG.downloadsfilesize}: {$download.filesize}</font><br /><br /> </td></tr> {/foreach} </table> </td> </tr> <tr> <td background="http://www.ramdon.net/images/host2.jpg" height="24"> </td> </tr> </table> </div> {else}<div align="center"> <table border="0" width="800" cellspacing="0" cellpadding="0" bgcolor="#3B3B3B"> <tr> <td background="http://www.ramdon.net/images/host.jpg" height="24"> </td> </tr> <tr> <td><strong>{$LANG.downloadsnone}</strong></td> </tr> <tr> <td background="http://www.ramdon.net/images/host2.jpg" height="24"> </td> </tr> </table> </div> <p>{/if}</p> can any one help me to sort this out this would be a big help to me thanks Edited February 12, 2009 by ramdon 0 Quote Link to comment Share on other sites More sharing options...
GORF Posted February 12, 2009 Share Posted February 12, 2009 Remove the <br> at the end of: <td width="33%" valign="top"><strong><a href="{if $seofriendlyurls}downloads/{$dlcat.id}/{$dlcat.urlfriendlyname}{else}downloads.php?action=displaycat&catid={$dlcat.id}{/if}"><img src="images/folder.gif" border="0" align="middle" alt="" /> {$dlcat.name}</a></strong> ({$dlcat.numarticles})<br /> 0 Quote Link to comment Share on other sites More sharing options...
ramdon Posted February 12, 2009 Author Share Posted February 12, 2009 (edited) thanks but that did not sort the problem I what two downloads Par Line <table width="100%"> {foreach key=num item=download from=$downloads} <tr><td> {$download.type} <a href="{$download.link}"><strong>{$download.title}</strong></a><br />{if $download.clientsonly}<i>Login Required</i><br />{/if}{$download.description}<br /><font style="color:#A8A8A8;font-size:10px;">{$LANG.downloadsfilesize}: {$download.filesize}</font><br /> </td></tr> {/foreach} </table> that the port of the downloadscat.tpl that has the file infor on Edited February 12, 2009 by ramdon 0 Quote Link to comment Share on other sites More sharing options...
BAJI26 Posted February 13, 2009 Share Posted February 13, 2009 (edited) <table width="100%"> <tr> {foreach key=num item=download from=$downloads} <tr><td> {$download.type} <a href="{$download.link}"><strong>{$download.title}</strong></a><br />{if $download.clientsonly}<i>Login Required</i><br />{/if}{$download.description}<br /><font style="color:#A8A8A8;font-size:10px;">{$LANG.downloadsfilesize}: {$download.filesize}</font><br /> </td> {if $num is not div by 2} </tr> <tr> {/if} {/foreach} </tr> </table> But you might wanna look in downloads.tpl Edited February 13, 2009 by BAJI26 0 Quote Link to comment Share on other sites More sharing options...
ramdon Posted February 13, 2009 Author Share Posted February 13, 2009 thanks for you help il just remack the download page in HTML it e better and faster 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.