[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> ******
ok, here's joachims code in a simple page:
<html>
<body>
[seti flag]0[/seti]
[seti end]0[/seti]
[search-region]
<TABLE>
[search-list]
[perl arg=scratch]
my $out = "";
if($Safe{'scratch'}->{'flag'} == 0) {
$Safe{'scratch'}->{'flag'} = 1;
$out = "<TR>";
}
[/perl]
<TD><A HREF="[area [item-field artnr]]">[item-field artbez]</A></TD>
[perl arg=scratch]
my $out = "";
if($Safe{'scratch'}->{'flag'} == 0) {
$Safe{'scratch'}->{'flag'} = 2;
$Safe{'scratch'}->{'end'} = 1;
}
else {
$Safe{'scratch'}->{'flag'} = 0;
$Safe{'scratch'}->{'end'} = 0;
$out = "</TR>";
}
[/perl]
[if scratch end == 1]
</TR>
[/if]
[/search-list]
</TABLE>
[/search-region]
</body>
</html>
this code is being generated:
<html>
<body>
<TABLE>
<TR>
<TD><A
HREF="http://192.168.100.20/cgi-bin/hundertmark/36.152.html">Stretch-Shirt
Fire Dragon</A></TD>
</TR>
<TR>
<TD><A
HREF="http://192.168.100.20/cgi-bin/hundertmark/40.159.html">Kapuzensweatshirt</A></TD>
</TR>
.....
</TABLE>
</body>
</html>
so the results look like:
item1
item2
item3
item4
....
i'm still looking forward for:
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