Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] results page



******    message to minivend-users from Andreas Kotowicz <koto@mynetix.de>     ******

Am Sun, 11 Jun 2000 schrieben Sie:

> <table width=100% border=0 cellpadding=4 cellspacing=0 bgcolor=#ffffff>
> <tr><td colspan=4 class=tiny>&nbsp;
> <!-- the two columns are actually four - two pairs of two columns each,
> the second one can easily be removed, make colspan=2 above, then see below
> --> </td></tr>
> [search-list]
> [set colcount][/set]
> [set name=colcount interpolate=1][calc][scratch colcount] + 1[/calc][/set]
> [perl interpolate=1]
>          $a = [scratch colcount] % 2;
>          if ($a){"<tr>"}else{""};
> [/perl]
> <td>&nbsp;<font color=black style="font-size:
> 12pt"><b>[item-code]</b></font><br>
> &nbsp;<font color=black>[item-description]</font>
> </td>
> <td><!-- you can take out this TD pair unless you want to use it -->
> another column
> </td>
> [perl interpolate=1]
>          $a = [scratch colcount] % 2;
>          if (!$a){"</tr>"}else{""};
> [/perl]
> [if type=value term=mv_search_match_count op="=="
> compare="[item-increment]"] [perl interpolate=1]
>                  $a = [scratch colcount] % 2;
>                  # take "colspan=2" out of the td tag below if you removed
> the 2nd column above
>                  if ($a){"<td colspan=2>&nbsp;</td></tr>"}else{""};
>          [/perl]
> [/if]
> [/search-list]
> </table>

this gives me following result:

item1	another column
item2	another column
item3	another column


instead of

item1	item2
item3	item4


andreas
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: