I didn't mean any thing unfriendly by it, just trying to encourage you guys to have a go at figuring out solutions.
Anyway here's one quick way to do it:
In search.cgi find sub search, and above:
push (@{$link_results{$values[$db_category]}}, @values);
$numhits++; # We have a match!
add:
if ($in{'advance'}){
next unless ($values[$db_isNew] eq "yes");
}
Ie. in this example you could have a checkbox in your search form called "advance" and you could give it a value, can be any value so like value="yes". In this example you could use it to only display new links in results.
Glenn
Links 2 Mods Site:
http://cgi-resource.co.uk/pages/links2mods.shtml
Anyway here's one quick way to do it:
In search.cgi find sub search, and above:
push (@{$link_results{$values[$db_category]}}, @values);
$numhits++; # We have a match!
add:
if ($in{'advance'}){
next unless ($values[$db_isNew] eq "yes");
}
Ie. in this example you could have a checkbox in your search form called "advance" and you could give it a value, can be any value so like value="yes". In this example you could use it to only display new links in results.
Glenn
Links 2 Mods Site:
http://cgi-resource.co.uk/pages/links2mods.shtml