home
chi siamo
Avvocati
aree di competenza
news
contatti
}?>
$dt=explode("-",$row["data"]); $mese=$dt[1]; $mese=$mese-1; ?>
0
}?>
include("class.pagination.php"); $paging = new Pagination(); $paging->set('urlscheme','news.php?pg=%page%'); $paging->set('perpage',5); $paging->set('page',max(1,intval($pg))); $paging->set('total',$tot); $paging->set('nexttext','Pagina successiva'); $paging->set('prevtext','Pagina precedente'); $paging->set('focusedclass','active'); $paging->set('delimiter',' '); $paging->set('numlinks',10); $paging->display(); ?>
Ultime news
$sql="select * from news where data <= '".$dataoggi."' order by data desc limit 5"; $result=mysqli_query($mysqli,$sql); while($row=mysqli_fetch_array($result)){ ?>
$dt=explode("-",$row["data"]); $mese=$dt[1]; $mese=$mese-1; ?>
0
}?>
Categorie
$sql="select * from categorie"; $result=mysqli_query($mysqli,$sql); while($row=mysqli_fetch_array($result)){ ?>
}?>
© copyright 2015 Berruti & Associati.