/************************************************************************/ /* FlatNuke - Flat Text Based Content Management System */ /* ============================================ */ /* */ /* Copyright (c) 2003-2004 by Simone Vellei */ /* http://flatnuke.sourceforge.net */ /* */ /* 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. */ /* */ /* */ /* Tema creato da Piercolone */ /* ========================== */ /* */ /* Tema: Blumoon */ /* Versione:1.1 */ /* */ /* Web: http://flathemes.altervista.org/ */ /* Email: piercolone[at]libero.it */ /* */ /************************************************************************/ // opzione di sicurezza! $req=$_SERVER["REQUEST_URI"]; if(strstr($req,"myforum=")) die(_NONPUOI); if($backimage==""){ $backimg=""; echo "
"; } else{ $backimg="themes/$theme/images/$backimage"; echo ""; } ?> //funzioni modificate //crea un menu orizzontale function create_menu2(){ global $theme; $handle=opendir('sections'); while ($file = readdir($handle)) { if (!( $file=="." or $file==".." ) and (!ereg("^\.",$file) and ($file!="CVS") )) { $modlist .= "$file "; } } closedir($handle); $modlist = explode(" ", $modlist); sort($modlist); //OpenTableTitle("Menu"); echo " "; echo " Home "; for ($i=1; $i < sizeof($modlist); $i++) { if(!stristr($modlist[$i],"none_")){ if(stristr($modlist[$i],"_")){ $tmp=eregi_replace("^[0-9][0-9]_","",$modlist[$i]); $tmp=str_replace("_"," ",$tmp); } else $tmp=$modlist[$i]; echo " $tmp "; } } //CloseTableTitle(); echo " "; } ?>create_blocks("sx"); ?> | // ATTENZIONE // NON MODIFICARE!!!! getflopt(); // FINE ?> | create_blocks("dx"); ?> |