[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Thumbnail Switch on Results
****** message to minivend-users from Victor Nolton <ven@pragakhan.com> ******
Does anyone have a way to get all the items in the search that has been passed?
I was looking at this code in the browse page and figured if I could
get it to list
sf=$searchfield
se=$searchitem
etc...
This is the code I am talking about
[perl arg=scratch]
$start = tag_data('session', 'arg') || 1;
$chunk = 1;
if($start =~ /(\d+):(\d*)/) {
$start = $1;
$chunk = $2 || 1;
}
$prev = $start - $chunk;
if($prev < 1) {
$prev = 0;
}
$Safe{'scratch'}{'start'} = $start;
$Safe{'scratch'}{'chunk'} = $chunk;
$Safe{'scratch'}{'next'} = $start + $chunk;
$Safe{'scratch'}{'prev'} = $prev;
$Safe{'scratch'}{'not_shown'} = 1;
return '';
[/perl]
http://www.vensnews.com
Victor "Ven" Nolton __________________________ http://www.VensNews.com
http://PragaKhan.com http://LordsofAcid.com http://DarlingNikkie.com
All HTML Encoded email will be ignored. Learn Standards.
-
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