if ($pos) $query = substr($query, 0, --$pos);\r
else $query = '';\r
}\r
+ $query = str_replace('&', '&', $query);\r
echo '<tr><td';\r
if ($colspan) {\r
echo ' colspan="' . $colspan . '"';\r
\r
if (($orig_from - $cant) >= 0) {\r
$from = $orig_from - $cant;\r
- $q = $query ? "$query&lista_from=$from" : "lista_from=$from";\r
+ $q = $query ? "$query&lista_from=$from" : "lista_from=$from";\r
printf('<a href="%s?%s"><</a> ', $link, $q);\r
}\r
for ($i = 0; $i < $pags; ++$i)\r
} else {\r
$data = $i + 1;\r
}\r
- $q = $query ? "$query&lista_from=$from" : "lista_from=$from";\r
+ $q = $query ? "$query&lista_from=$from" : "lista_from=$from";\r
printf('<a href="%s?%s">%s</a> ', $link, $q, $data);\r
}\r
if ( ($orig_from + $cant) <= $total ) {\r
$from = $orig_from + $cant;\r
- $q = $query ? "$query&lista_from=$from" : "lista_from=$from";\r
+ $q = $query ? "$query&lista_from=$from" : "lista_from=$from";\r
printf('<a href="%s?%s">></a> ', $link, $q);\r
}\r
echo '</td></tr>';\r