59 lines
No EOL
2.1 KiB
PHP
59 lines
No EOL
2.1 KiB
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of NOALYSS.
|
|
*
|
|
* NOALYSS 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.
|
|
*
|
|
* NOALYSS 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 NOALYSS; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
*/
|
|
|
|
// Copyright Author Dany De Bontridder danydb@aevalys.eu
|
|
|
|
/*
|
|
* Global variables
|
|
*/
|
|
global $g_connection,$g_parameter,$g_user;
|
|
if (!defined("DOSSIER"))define ("DOSSIER",25);
|
|
|
|
$_REQUEST['gDossier'] = DOSSIER;
|
|
$g_connection=new Database(DOSSIER);
|
|
$g_parameter = new Noalyss_Parameter_Folder($g_connection);
|
|
$_SESSION['g_user']='admin';
|
|
$_SESSION['g_pass']='phpcompta';
|
|
$_SESSION['g_pagesize']='50';
|
|
$g_user=new User($g_connection);
|
|
|
|
if ( !function_exists("phpunit_page_start"))
|
|
{
|
|
function phpunit_page_start()
|
|
{
|
|
$noalyss_home=NOALYSS_HOME;
|
|
echo <<<EOF
|
|
<!doctype html>
|
|
<HTML><HEAD><meta charset="utf-8"><META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<TITLE>PRINTJRN NOALYSS</TITLE>
|
|
<link rel="icon" type="image/ico" href="favicon.ico" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<LINK id="pagestyle" REL="stylesheet" type="text/css" href="{$noalyss_home}/style-classic7.css?version=7105" media="screen"/>
|
|
<link rel="stylesheet" type="text/css" href="./style-print.css?version=7105" media="print"/>
|
|
<script language="javascript" src="js/calendar.js"></script>
|
|
<script type="text/javascript" src="js/lang/calendar-en.js"></script>
|
|
<script language="javascript" src="js/calendar-setup.js"></script>
|
|
<LINK REL="stylesheet" type="text/css" href="calendar-blue.css" media="screen">
|
|
</HEAD>
|
|
<body>
|
|
<div class="content">
|
|
EOF;
|
|
}
|
|
} |