<?
 
############################################################################
 
# This code is developed by Guerrieri Luca                                                                #
 
# copyright (C) 2006/2007 [email protected]
 
# This code is released under the terms of the GPL v.2 License.
 
#
 
# The author is not responsible for data loss, or any kind of trouble that
 
# results from the use of this software.
 
# USE IT AT YOUR OWN RISK!
 
#
 
# 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., 675 Mass Ave, Cambridge, MA 02139, USA.
 
############################################################################
 
 
require_once('config.inc.php');
 
$html_header="<html>";
 
 
//l'header generale di un documento html completo
 
$complete_html_header="<html>
 
                        <head>
 
                        <meta http-equiv='Content-Type' content='text/html; charset=ISO-8859-1' />
 
                        <title><!-- html_title --></title>
 
                        <style type='text/css' media='screen'>
 
                        @import url(<!-- html_stylesheet -->);
 
                        </style>
 
                        <style type='text/css' media='print'>
 
                        @import url( <!-- print_stylesheet -->);
 
                        </style>
 
                        <script src=<!-- javascript -->><--/file contenente direttive javascript/--></script>
 
                        <script src=<!-- ajax_javascript -->><--/file contenente direttive per ajax/--></script>
 
                        </head>
 
                        <body <!-- html_body -->>";
 
 
$simple_html_header="<html>
 
                        <head>
 
                        <meta http-equiv='Content-Type' content='text/html; charset=ISO-8859-1' />
 
                        <title><!-- html_title --></title>
 
                        </head>
 
                        <body <!-- html_body -->>";
 
//header solo per includere un javascript
 
$javascript_html_header="<html>
 
                            <head>
 
                            <meta http-equiv='Content-Type' content='text/html; charset=ISO-8859-1' />
 
                            <title><!-- html_title --></title>
 
                            <script src=<!-- javascript -->><--//--></script>
 
                            </head>
 
                            <body <!-- html_body -->>";
 
//header per includere solo dei css
 
$stylesheet_html_header="<html>
 
                            <head>
 
                            <meta http-equiv='Content-Type' content='text/html; charset=ISO-8859-1' />
 
                            <title><!-- html_title --></title>
 
                            <style type='text/css' media='screen''>
 
                            @import url(<!-- html_stylesheet -->);
 
                            </style>
 
                            <style type='text/css' media='print'>
 
                            @import url( <!-- print_stylesheet -->);
 
                            </style>
 
                            </head>
 
                            <body <!-- html_body -->>";
 
 
$html_title=$site_title;    //Passa la variabile globale impostata in config.inc.php
 
$html_stylesheet="screen.css";
 
$print_stylesheet="print.css";
 
#$html_body ="class=\"body\"";
 
$html_body_color="bgcolor=#66CCFF";
 
$html_footer="</body></html>";
 
$javascript="null.js";
 
$alert_javascript="alert.js";
 
$ajax_javascript="ajax.js";
 
?>
 
 |