codice:
<? ################################################################################## # FANTACALCIOBAZAR EVOLUTION # Copyright (C) 2003-2008 by Antonello Onida (fantacalciobazar@sssr.it) # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ################################################################################## # nel caso fosse settato register_globals = Off reset($_POST); $conta=count($_POST); for($num1 = 0 ; $num1 < $conta; $num1++) { $var_POST = key($_POST); $$var_POST = $_POST[$var_POST]; next($_POST); } # fine for $num1 reset($_GET); $conta=count($_GET); for($num1 = 0 ; $num1 < $conta; $num1++) { $var_GET = key($_GET); $$var_GET = $_GET[$var_GET]; next($_GET); } # fine for $num1 session_start(); header("Cache-control: private"); include_once("./dati/dati_gen.php"); include_once("./inc/funzioni.php"); include("./header.php"); ?> <div class="contenuto"> <div id="articoli"> <div id="sinistra"> <div class="articoli_s"> <?php if ($usa_cms == "SI" AND $_GET[paginaid]) { pagina($_GET[paginaid]); } elseif ($usa_cms == "SI" AND $_GET[categoria]) { categoria($_GET[categoria]); } elseif ($usa_cms == "SI" AND $_GET[notiziaid]) { notizia($_GET[notiziaid], $evidenzia); } elseif ($usa_cms == "SI" AND $ricerca) { ricerca($testo); } elseif ($usa_cms == "SI" AND $vedi_notizie >= 1) { echo"<p style='float: left; margin: 10; padding-right: 10px;'>"; immagine_casuale('sx',0,0); echo "</p>"; if (trim($messaggi[1]) != "") echo "<div class='slogan'>".html_entity_decode($messaggi[1])."</div><div style='clear:both;'></div>"; if (trim($messaggi[3]) OR trim($messaggi[4])) echo "<div>"; if (trim($messaggi[3]) != "") echo "<div class='box1'>" . html_entity_decode($messaggi[3]) . "</div>"; if (trim($messaggi[4]) != "") echo "<div class='box2'>" . html_entity_decode($messaggi[4]) . "</div>"; if (trim($messaggi[3]) OR trim($messaggi[4])) echo "</div>"; echo "<div style='clear:both;'></div>"; notizie(); } elseif(trim($messaggi[1]) != "") { echo"<p style='float: left; margin: 10; padding-right: 10px;'>"; immagine_casuale('sx',0,0); echo "</p>"; if (trim($messaggi[1]) != "") echo "<div class='slogan'>".html_entity_decode($messaggi[1])."</div><div style='clear:both;'></div>"; if (trim($messaggi[3]) OR trim($messaggi[4])) echo "<div>"; if (trim($messaggi[3]) != "") echo "<div class='box1'>" . html_entity_decode($messaggi[3]) . "</div>"; if (trim($messaggi[4]) != "") echo "<div class='box2'>" . html_entity_decode($messaggi[4]) . "</div>"; if (trim($messaggi[3]) OR trim($messaggi[4])) echo "</div>"; echo "<div style='clear:both;'></div>"; } else { echo"<p style='float: left; margin: 0; padding-right: 10px;'>"; immagine_casuale('sx',0,0); echo "</p>"; if (trim($messaggi[3]) OR trim($messaggi[4])) echo "<div>"; if (trim($messaggi[3]) != "") echo "<div class='box1'>" . html_entity_decode($messaggi[3]) . "</div>"; if (trim($messaggi[4]) != "") echo "<div class='box2'>" . html_entity_decode($messaggi[4]) . "</div>"; if (trim($messaggi[3]) OR trim($messaggi[4])) echo "</div>"; echo "<div style='clear:both;'></div>"; } echo "</div> </div> <div id='destra'>"; include("./menu_i.php"); echo "</div>"; include("./footer.php"); ?>