<loop sort=-Datum,Titel convert_html=Titel db=inserat code=perl range^=0,10>
out<<EOF;
<table width="100%" border="0" cellspacing="1" cellpadding="5" align="center">
<tr>
<td bgcolor="#FFFFFF" width="69%"><a href="http://baseportal.de/cgi-bin/baseportal.pl?htx=/kleinanzeigen/detail&db=inserat&cmd=all&Id==$_id"><font face="Verdana, Arial, Helvetica, sans-serif" size="1">$Titel</font></a>
</td>
<td bgcolor="#FFFFFF" width="31%"><font face="Arial, Helvetica, sans-serif" size="1" color="#000062"><b>$Datum</b></font></td>
</tr>
</table> <p>
EOF
</loop> </p>
<p><perl>
my $oldrange=$_range-$_range_length;
$oldrange=0 if $oldrange<0 && $oldrange>-$_range_length;
out "[ <a href=\"$_link&range=$oldrange,$_range_length\"><b><<<</b></a> ]" if $oldrange>=0;
out "[ <a href=\"$_link&range=$newrange,$_range_length\"><b>>>></b></a></a> ]" if $newrange<$_amount_all;
</perl></p>