Location: PHPKode > projects > MyPhpMoney > myphpmoney_2.0/public_html/index.php
<?php
/**
 * $Id: index.php 320 2003-03-26 08:31:59Z courou $
 *
 * Author     : courou&#64;users.sourceforge.net
 * Website    : http://allreponse.ath.cx
 *
 * Support    : http://sourceforge.net/projects/myphpmoney/
 * CVS        : http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/myphpmoney/
 */

/**
 * INCLUDE FILE
 */
     require_once 'config/settings.inc.php';

/**
 * ENTER IN THE SESSION OR BUILD THE LOGIN FORM
 */
     if (SQL_VerifSession()) {

/**
 * BUILD THE HEADER
 */
       XHTML_header(1,0,0,1,1,1,1,1);

/**
 * OPTIMIZE THE RECORD OF THE DATABASE
 */
       SQL_Record(1);

/**
 * THE TEMPLATES  --  BUILD MIDDLE MENU
 */
       echo XHTML_ConstMiddle
       (
          isset($_MPM['lang_country_id'])   ? $_MPM['lang_country_id']   : '',
          isset($_POST['CHANGE_COUNTRY'])   ? $_POST['CHANGE_COUNTRY']   : '',
          isset($_MPM['lang_graph'])        ? $_MPM['lang_graph']        : 'default',
          isset($_POST['CHANGE_GRAPHIQUE']) ? $_POST['CHANGE_GRAPHIQUE'] : ''
       );
/**
 * CHECK THE NEW VERSION OF APPLICATION
 */
       if (!isset($sess_check) && isset($OPTION_NEW_APPLI) && $OPTION_NEW_APPLI == 1) {
            XHTML_CheckAppli($_SERVER['PHP_SELF']);
       }

     } else {
          XHTML_DisplayLogin();
     } ## end if (SQL_VerifSession())

/**
 * BUILD THE FOOTER
 */
     XHTML_footer();
Return current item: MyPhpMoney