Ho questo errore che penso si adovuto alla mancanza di una chiusura nel codice ma nn capisco dove

LINK



[PHP]
<?php
include_once ("admin/classi/class.EasyPagination.php");
include_once ("admin/classi/ez_sql.php");
//esgue operazioni varie
$sql="SELECT id,testo,titolo,data FROM newsRCGM ORDER BY id";//pagine ORDER BY ordine";
//$sql.=" ORDER BY ordine ASC";
$sql2= "SELECT COUNT(*) FROM newsRCGM";
######
if ($_GET["page"]!=""): $page = $_GET["page"]; else: $page = 1; endif;
$pagination = new EasyPagination($page,10); // English Language
$sqlSearch = $sql;
$pagination->setSQLSearch($sqlSearch);
// Same search thar gets the total number of records
$sqlNumRows = $sql2;
$pagination->setSQLNumRows($sqlNumRows);
// Get Records
$SQLresult = $pagination->getResultData($page);
echo "<span class='testi'>Ci sono ".$pagination->getTotalRecords()." news in archivio.
";
// Current Page
//echo "Dati della pagina: <font color='#FF0000'>$page</font>
";
// Gets the current records according to the current page
//echo "vedi: ".$pagination->getListCurrentRecords()."
";
// Gets the links for browsing
echo $pagination->getNavigation()."Pagina: ";
// Gets the links of the current page, according to the current page
// Always from 1 to 10, 11 to 20, 21 to 30, and so forth
echo $pagination->getCurrentPages();
echo "
";
// Gets groups of links, from 10 to 10, oscillating as follows: (X)1,(X+1)1,(X+2)1
echo $pagination->getNavigationGroupLinks();
if (mysql_num_rows($SQLresult)>=1)
{
//scrive tutta la prima news
$i=0;
//$len=200;//$db->get_var("SELECT valore FROM opzioni WHERE identificativo ='len_anteprima'");
while ($result=mysql_fetch_array($SQLresult))
{
?>

</td>
</tr>
<tr>
<td class="titolipic2"><? echo $result["data"];?></td>
</tr>
<tr>
<td><strong class="titoligrandi">
<?
if ($i==0)
{
echo $result["titolo"];
}
else
{
?>
" class="testi" alt="leggi la news" title="leggi la news"><? echo $result["titolo"];?>[/b]
<?
}
?>