/*if($total!=0)
{
if($pager->numPages>1)
{
#============================================
# PAGING
#============================================
// use pager values to fetch data
$result = $qry;
// use $result here to output page content
// output paging system (could also do it before we output the page content)
if ($page == 1) // this is the first page - there is no previous page
{
// echo "Previous";
$j = $page;
}
else
{ // not the first page, link to the previous page
echo "Indietro";
$j = ($page-1)*$limit+1;
}
//for ($i = 1; $i <= $pager->numPages; $i++) {
// echo " | ";
// if ($i == $pager->page)
// echo " $i";
//else
// echo "$i";
//}
if ($page == $pager->numPages) // this is the last page - there is no next page
// echo " | Next";
echo " | ";
else // not the last page, link to the next page
echo " | Altra Strumentazione";
echo "