ok!!

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>B O I A T E</title>
<style type="text/css">
<!--
.Stile3 {color: #FF0000; font-size: x-large; font-weight: bold; font-family: Elephant; }
.Stile5 {font-size: x-small; font-family: Georgia, "Times New Roman", Times, serif;}
a:link {
color: #FF0000;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #FF0000;
}
a:hover {
text-decoration: underline;
color: #0066CC;
}
a:active {
text-decoration: none;
}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>

<body bgcolor="#FFFF00" >
<?
$pag = (!$_GET['pag']) ? 1 : (int)$_GET['pag'];
$n1 = (!$_GET['n1']) ? 0 : (int)$_GET['n1'];
$n2 = 5;
mysql_connect("www.db.org","ut","pwd") or die("errore");
mysql_select_db("leoleo");
$sql="SELECT * FROM boiate ORDER BY id DESC LIMIT $n1,5";
//mysql_query("SELECT * FROM boiate ORDER BY id DESC LIMIT $n1,$n2");
$query=mysql_query($sql);
$row=mysql_num_rows($query);
//$count = mysql_query("select count(id) from new");
//$row = mysql_fetch_row($count);
//$tot_records = $row[0];
//$tot_page = ceil($tot_records / $n2);
?>
<?
$piu = $n1 + 5;
$meno = $n1 - 5;
if($n1 == 0) {
$indietro = "Precedente";
} else {
$indietro = "<a href=\"index.php?n1=$meno\">Precedente</a>";
};
$avanti = "<a href=\"index.php?n1=$piu\">Successivo</a>";
//$scritte = "$indietro $avanti";
?><? print($indietro);?>
<div id="Layer1" style="position:absolute; width:151px; height:23px; z-index:1; left: 838px; top: 13px;"><? print($avanti);?></div>
<table width="982" border="1" cellpadding="0" cellspacing="0" bordercolor="#FF0000">
<tr>
<th width="420" class="Stile3" scope="col">BOIATA(ord. di data) </th>
<th width="453" class="Stile3" scope="col">AUTORE</th>
</tr>
<? while($fine=mysql_fetch_array($query)) {
//$boiatae = print($fine['boiata']);
?>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td><? echo eregi_replace("([www]+)(\.[a-z0-9]\.-_+)(\.[a-z]{2-6})","<a href=\"http://\\1\\2\\3\">\\1\\2\\3</a>", print($fine['boiata']));?></td>
<td><? print($fine['autore'])?></td>
</tr>

<? };
mysql_close();
?>
</table>
<div align="center">









<a name="fondo"></a><span class="Stile5">Inserisci una boiata in tempo reale!</span> | <span class="Stile5">Inserisci immagine

















<span class="Stile5">By Leo91


</span>
</div>
</div>
<div align="right" class="Stile5"><a href="http://leo91.altervista.org/scola/fv/cacchiate/index.php#top">Torna SU
</a></div>
</body>
</html>


Wow!