Location: PHPKode > projects > Phpress > phpress/menu.php
<?
/*
    Copyright (C)2004-2007  Matthieu Perez - hide@address.com

    This file is part of PhPress.

    PhPress 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 3 of the License, or
    (at your option) any later version.

    PhPress 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 PhPress.  If not, see <http://www.gnu.org/licenses/>.
*/
// le menu en haut de la page
session_start();
require 'program/common/constantes.php' ;
require LANG_PATH . $lang ."/msg.php";
//require PROG_COM_PATH . 'functions_common.php';
require PROG_FUNC_PATH."select_previous.php";

require 'program/html/lightblue.css';
//require 'program/html/default.css';

print '
<SCRIPT language="JavaScript">
function submit_lang()
{
  document.lang.submit();
}

function submit_prog()
{
  document.prog.submit();
}
</SCRIPT>

<table width="100%" height="24" cellspadding="0" cellspacing="0" valign="" STYLE="border-collapse: collapse; border: 0px solid black;" nowrap>
  <tr nowrap height="25">
  <td valign="" width="25" bgcolor="white" STYLE="border-collapse: collapse; border: 1px solid black;">
<A href="http://www.phpress.org" type="text/html" target="_blank" style="color:white">
<IMG src="program/icones/logo-phpress-24x24.png" width="24" height="24" border="1" ></A></td>';

require PROG_COM_PATH .'menu_programme.php'; 

print '
<form name="lang" action="run.php" method="POST">
<input type="hidden" name="mode" value="change_lang">
<td align="right" valign="" nowrap>
<select name="nlang"  onchange="submit_lang()" '.$black_box.'>
<option';

if($lang=='FR'){print ' selected="FR"';}
 
print '>FR</option><option ';

if($lang=='EN'){print ' selected="EN"';}

print '>EN</option></select></td>
</form>

<td align="right" valign="" width="30" nowrap>
<A href="help.php" rel="Help" type="text/html" target="help">
<IMG src="program/icones/Help_24.png" width="24" height="22" border="0"></A>
</td>

<td align="right" valign="" width="30" nowrap>
<A href="info.php" rel="Copyright" type="text/html" target="info">
<IMG src="program/icones/GNOME-Application-Info_24.png" alt="ABOUT PHPRESS" width="22" height="24" valign="top" border="0"></A>
</td>
</tr>
</table>';

Return current item: Phpress