Home : Products : Gossamer Links : Discussions :

Products: Gossamer Links: Discussions: Re: [afinlr] How to make result of search in two columns?: Edit Log

Here is the list of edits for this post
Re: [afinlr] How to make result of search in two columns?
To afinlr

Thank


The amendment: One row and two columns.
Has made so:
Code:
<table cellpadding="0" cellspacing="0" border="0">
<tr><td valign="top">

<%loop link_results_loop%>

<%include link.html%>

<%ifnot link_hits % 2%>
<%set rows = $link_hits%>
<%set rows /= 2%>
<%if row_num = $rows%>
</td><td valign="top">
<%endif%>

<%else%>

<%set rows = $link_hits%>
<%set rows += 1%>
<%set rows /= 2%>
<%if row_num = $rows%>
</td><td valign="top">
<%endif%>

<%endif%>
<%endloop%>

</td></tr></table>

Last edited by:

Brita: Jul 7, 2003, 4:06 AM

Edit Log: