Like I said earlier you need to pass the dropdown vars to each page so change
Code:
echo " <a style='font-family:$fontfamily; font-size:$fontsize; color:$fontcolor;"
." font-weight:$fontweight; text-decoration:$textdecoration;' onmouseover=\"window.status='";
pagestatus($i);
echo "'; return true\" onmouseout=\"window.status=''\""
." href=\"$PHP_SELF?thisoffset=$nextoffset&lineindex=$nextoffset\">$i</a> ";
to
Code:
echo " <a style='font-family:$fontfamily; font-size:$fontsize; color:$fontcolor;"
." font-weight:$fontweight; text-decoration:$textdecoration;' onmouseover=\"window.status='";
pagestatus($i);
echo "'; return true\" onmouseout=\"window.status=''\""
." href=\"$PHP_SELF?thisoffset=$nextoffset&lineindex=$nextoffset&price=$price&records=$records&members=$members\">$i</a> ";
See how you need to pass the vars needed in the query to each page in your navigation
Bookmarks