someone asked about a MOD that would show Add "Found xx Displaying yy - zz" like http://www.hotscripts.com/PHP/Script...ing/index.html.
in browse.php about line 183, find a line like
and add the following immediately after it:Code:$links_obj->query = " select * from idx_link where (category_id = '$cat' or cat1 = '$cat' or cat2 = '$cat') and suspended = 0";
it should appear just beforeCode:// mod global $start_number; $result = $conn->Execute($links_obj->query); $num_rows = $result->RecordCount(); if ($pg_which<1) $dis_pgs = 1; else $dis_pgs = $pg_which; $dis_start = ($dis_pgs-1)*$max_rows + 1; $dis_last = $dis_start+$max_rows-1; if (($num_rows < $max_rows) || $dis_last > $num_rows ) $dis_last = $num_rows; $start_number = "Total Links: $num_rows Displaying: $dis_start - $dis_last";
the add <%start_number%> in browse.html wherever you want it.Code:$i=0; while($i<count($lid)) { $lid2 = $lid[$i]; $links_obj->query .= " and link_id <> $lid2"; $i++; }
I used the $start_number variable. if for some reason INDEXU should ever decided to use that variable, just add a new one. make it global and add it to the DisplayTemplate function just like start_number and use it in browse.html
.


