Exemplo n.º 1
0
 * of the License, or (at your option) any later version.
 *
 * Double Choco Latte 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.
 *
 * Select License Info from the Help menu to view the terms and conditions of this license.
 */
include_once 'login.php';
$g_oSec = CreateObject('dcl.boSecurity');
$g_oPage = GetPageObject();
$g_oPage->StartPage();
commonHeader();
?>
<TABLE BORDER=0 CELLSPACING="0" CELLPADDING="2">
<TR><TH class="formTitle">Double Choco Latte, Copyright (C) 1999-2003 Free Software Foundation
</TH></TR><TR><TD class="formContainer">
<TABLE BORDER=0>
<TR><TD>
Double Choco Latte comes with ABSOLUTELY NO WARRANTY; for details see below.<BR>
<H2>GNU GENERAL PUBLIC LICENSE</H2>
<P>
Version 2, June 1991

</P>
Exemplo n.º 2
0
<?php

// ======================================================================
// Auteur : Donatien CELIA
// Licence : CeCILL v2
// ======================================================================
error_reporting(E_ALL);
include "includes/function_GetPageObject.php";
// - On inclut la function GetPageObject
// - on récupère le nom de la page
$strNomPage = "";
if (!isset($_GET['page'])) {
    $strNomPage = "accueil";
} else {
    $strNomPage = $_GET['page'];
}
// - Gestion de la page à afficher
$pageCurrent = GetPageObject($strNomPage);
$pageCurrent->Afficher();
Exemplo n.º 3
0
 * Double Choco Latte 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.
 *
 * Double Choco Latte 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.
 *
 * Select License Info from the Help menu to view the terms and conditions of this license.
 */
include_once 'login.php';
$g_oPage =& GetPageObject();
$g_oPage->StartPage();
if (isset($menuAction) && $menuAction != 'clearScreen') {
    if ($g_oSec->ValidateMenuAction() == true) {
        Invoke($menuAction);
    } else {
        commonHeader();
        PrintPermissionDenied();
    }
} else {
    commonHeader();
    trigger_error('Method not supplied.', E_USER_ERROR);
}
$g_oPage->EndPage();