Gestion simplissime des Todo

crabs_todo-2.0 ©2008-2011 - Christophe Cazajus (crabs-mettre_le_signe_at-crabs-world.com)

~~ / logout.php
Makefile todo.css todo.js onglet.js liste.js detail.js modif.js index.php logout.php todo.php hr_todo_create.php hr_todo_list.php hr_todo_info.php hr_todo_change.php hr_todo_del.php hr_projet_liste.php hr_pseudo_liste.php
    1 <?php
    2 //
    3 // =============================================================================
    4 //  crabs_todo-2.0 : Gestion simplissime des Todo
    5 //  Copyright (C) 2008-2011 : Christophe Cazajus (crabs-mettre_le_signe_at-crabs-world.com)
    6 //
    7 //  Ce source fait partie d'un projet logiciel libre. Vous pouvez le distribuer
    8 //  et/ou le modifier en respectant les termes de la GNU General Public License
    9 //  version 2 ou (suite a votre propre choix) une version ulterieure.
   10 //
   11 //  Ce programme est distribue dans l'espoir qu'il puisse etre utile, mais
   12 //  sans aucune garantie, meme si il est associe a un produit qui vous en
   13 //  propose une. Conformez-vous a la GNU General Public License pour avoir
   14 //  plus de precisions.
   15 //
   16 //  L'auteur ne peut etre tenu responsable de l'utilisation faite des
   17 //  composantes associees a ce projet (en partie ou dans leur totalite).
   18 //
   19 //  Une copie du fichier de la GNU GPL est fournie dans le repertoire DOC
   20 //  de ce projet sous le nom gnu_gpl.txt
   21 //
   22 // =============================================================================
   23 //
   24 $ROOT = '' ;
   25 include( "{$ROOT}LIB/param.php" ) ;
   26 include( "{$ROOT}LIB/util.php" ) ;
   27 include( "{$ROOT}LOCALE/defaut.php" ) ;
   28 include( "{$ROOT}pinfo.php" ) ;
   29 
   30 foreach( acceptLang() as $lang => $q )
   31     if ( is_file( "{$ROOT}LOCALE/{$lang}.php" ) )
   32         { include( "{$ROOT}LOCALE/{$lang}.php" ) ; break ; }
   33 
   34 session_set_cookie_params ( 0,  relative2absolute( '.', true ) ) ;
   35 session_start() ;
   36 $sn = session_name() ;
   37 $_SESSION = array();
   38 session_set_cookie_params(time()-42000,relative2absolute('.',true));
   39 session_destroy() ;
   40 setcookie( $sn, '', time()-42000,  relative2absolute( '.', true ) );
   41 
   42 echo <<<HTML
   43 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
   44 <html>
   45 <head>
   46     <link rel="stylesheet" href="todo.css" type="text/css" />
   47     <title>{$tr['COMMON_DESC']} : {$tr['LOGOUT_TITLE']}</title>
   48 </head>
   49 <body>
   50     <div id="one_col">
   51         <p class="disconnect">{$tr['LOGOUT_INFO']} <a href="{$SECURE_URL}"
   52             >{$tr['LOGOUT_ACTION']}</a>.</p>
   53         <p style="margin: 250px 0 0 0; text-align:center; font-weight:bold;">
   54             $P_PRODUIT $P_VERSION &copy; $P_ANNEE<br>
   55             $P_DESC<br>
   56             $P_AUTEUR ($P_EMAIL)
   57         </p>
   58     </div>
   59 </body>
   60 </html>
   61 HTML;
   62 ?>
Makefile todo.css todo.js onglet.js liste.js detail.js modif.js index.php logout.php todo.php hr_todo_create.php hr_todo_list.php hr_todo_info.php hr_todo_change.php hr_todo_del.php hr_projet_liste.php hr_pseudo_liste.php
~~ / logout.php

Haut de page

Contacter crabs

Date de génération : 22/09/2011 21:49