2010-10-02 23:31:14 +02:00
|
|
|
<?php
|
2013-01-15 15:42:39 +01:00
|
|
|
/* Copyright (C) 2006-2013 Laurent Destailleur <eldy@users.sourceforge.net>
|
2010-10-02 23:31:14 +02:00
|
|
|
*
|
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
2013-01-16 15:36:08 +01:00
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
2010-10-02 23:31:14 +02:00
|
|
|
* (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This program 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
|
2011-08-01 01:45:11 +02:00
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2010-10-02 23:31:14 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
2011-10-24 14:11:49 +02:00
|
|
|
* \file htdocs/core/menus/standard/empty.php
|
2010-10-02 23:31:14 +02:00
|
|
|
* \brief This is an example of an empty top menu handler
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
2013-01-15 15:42:39 +01:00
|
|
|
* Class to manage empty menu
|
2010-10-02 23:31:14 +02:00
|
|
|
*/
|
2013-01-15 15:42:39 +01:00
|
|
|
class MenuManager
|
2012-02-17 10:04:10 +01:00
|
|
|
{
|
2011-03-08 10:36:24 +01:00
|
|
|
var $db;
|
2012-12-27 17:06:55 +01:00
|
|
|
var $type_user=0; // Put 0 for internal users, 1 for external users
|
2013-02-27 21:40:43 +01:00
|
|
|
var $atarget=""; // To store default target to use onto links
|
2010-10-02 23:31:14 +02:00
|
|
|
|
2013-03-05 15:42:26 +01:00
|
|
|
var $menu;
|
2013-01-16 15:54:07 +01:00
|
|
|
var $menu_array_after;
|
2010-10-02 23:31:14 +02:00
|
|
|
|
|
|
|
|
|
2013-01-15 15:42:39 +01:00
|
|
|
/**
|
|
|
|
|
* Constructor
|
|
|
|
|
*
|
2013-02-28 23:49:38 +01:00
|
|
|
* @param DoliDB $db Database handler
|
|
|
|
|
* @param int $type_user Type of user
|
2013-01-15 15:42:39 +01:00
|
|
|
*/
|
2013-02-28 23:49:38 +01:00
|
|
|
function __construct($db, $type_user)
|
2013-01-15 15:42:39 +01:00
|
|
|
{
|
2013-02-28 23:49:38 +01:00
|
|
|
$this->type_user=$type_user;
|
2013-01-15 15:42:39 +01:00
|
|
|
$this->db=$db;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2013-03-30 14:27:13 +01:00
|
|
|
/**
|
|
|
|
|
* Load this->tabMenu
|
|
|
|
|
*
|
|
|
|
|
* @return void
|
|
|
|
|
*/
|
|
|
|
|
function loadMenu()
|
2013-03-05 15:42:26 +01:00
|
|
|
{
|
2013-03-24 03:51:49 +01:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2013-03-05 15:42:26 +01:00
|
|
|
|
2013-01-15 15:42:39 +01:00
|
|
|
/**
|
|
|
|
|
* Show menu
|
|
|
|
|
*
|
2013-04-01 20:15:52 +02:00
|
|
|
* @param string $mode 'top', 'left', 'jmobile'
|
|
|
|
|
* @return void
|
2013-01-15 15:42:39 +01:00
|
|
|
*/
|
|
|
|
|
function showmenu($mode)
|
|
|
|
|
{
|
|
|
|
|
global $user,$conf,$langs,$dolibarr_main_db_name;
|
|
|
|
|
|
2013-02-27 21:40:43 +01:00
|
|
|
$id='mainmenu';
|
|
|
|
|
|
2013-03-07 19:47:03 +01:00
|
|
|
require_once DOL_DOCUMENT_ROOT.'/core/class/menu.class.php';
|
2013-03-30 14:27:13 +01:00
|
|
|
$this->menu=new Menu();
|
2013-03-24 03:51:49 +01:00
|
|
|
|
2013-04-01 20:15:52 +02:00
|
|
|
$res='ErrorBadParameterForMode';
|
|
|
|
|
|
|
|
|
|
$noout=0;
|
|
|
|
|
if ($mode == 'jmobile') $noout=1;
|
|
|
|
|
|
|
|
|
|
if ($mode == 'top' || $mode == 'jmobile')
|
2013-01-15 15:42:39 +01:00
|
|
|
{
|
2013-04-01 20:15:52 +02:00
|
|
|
if (empty($noout)) print_start_menu_array_empty();
|
2013-01-15 15:42:39 +01:00
|
|
|
|
2013-03-24 03:51:49 +01:00
|
|
|
// Home
|
|
|
|
|
$showmode=1;
|
2013-01-15 15:42:39 +01:00
|
|
|
$idsel='home';
|
2013-02-27 21:40:43 +01:00
|
|
|
$classname='class="tmenusel"';
|
|
|
|
|
|
2013-04-01 20:15:52 +02:00
|
|
|
if (empty($noout)) print_start_menu_entry_empty($idsel, $classname, $showmode);
|
|
|
|
|
if (empty($noout)) print_text_menu_entry_empty($langs->trans("Home"), 1, dol_buildpath('/index.php',1).'?mainmenu=home&leftmenu=', $id, $idsel, $classname, $this->atarget);
|
|
|
|
|
if (empty($noout)) print_end_menu_entry_empty($showmode);
|
2013-06-05 16:24:32 +02:00
|
|
|
$this->menu->add(dol_buildpath('/index.php',1), $langs->trans("Home"), 0, $showmode, $this->atarget, 'home', '');
|
2013-04-01 20:15:52 +02:00
|
|
|
|
2013-08-06 03:01:56 +02:00
|
|
|
$showmode=1;
|
2013-08-27 14:53:24 +02:00
|
|
|
if (empty($noout)) print_start_menu_entry_empty('','class="tmenuend"',$showmode);
|
|
|
|
|
if (empty($noout)) print_end_menu_entry_empty($showmode);
|
2013-07-28 05:35:51 +02:00
|
|
|
|
2013-04-01 20:15:52 +02:00
|
|
|
if (empty($noout)) print_end_menu_array_empty();
|
2013-01-15 15:42:39 +01:00
|
|
|
|
2013-04-01 20:15:52 +02:00
|
|
|
if ($mode == 'jmobile')
|
|
|
|
|
{
|
|
|
|
|
$this->topmenu=dol_clone($this->menu);
|
|
|
|
|
unset($this->menu->liste);
|
|
|
|
|
}
|
2013-01-15 15:42:39 +01:00
|
|
|
}
|
|
|
|
|
|
2013-04-01 20:15:52 +02:00
|
|
|
if ($mode == 'left' || $mode == 'jmobile')
|
2013-01-15 15:42:39 +01:00
|
|
|
{
|
2013-01-16 15:54:07 +01:00
|
|
|
// Put here left menu entries
|
|
|
|
|
// ***** START *****
|
|
|
|
|
|
|
|
|
|
$langs->load("admin"); // Load translation file admin.lang
|
2013-03-05 15:42:26 +01:00
|
|
|
$this->menu->add("/admin/index.php?leftmenu=setup", $langs->trans("Setup"),0);
|
|
|
|
|
$this->menu->add("/admin/company.php", $langs->trans("MenuCompanySetup"),1);
|
|
|
|
|
$this->menu->add("/admin/modules.php", $langs->trans("Modules"),1);
|
|
|
|
|
$this->menu->add("/admin/menus.php", $langs->trans("Menus"),1);
|
|
|
|
|
$this->menu->add("/admin/ihm.php", $langs->trans("GUISetup"),1);
|
|
|
|
|
$this->menu->add("/admin/boxes.php", $langs->trans("Boxes"),1);
|
|
|
|
|
$this->menu->add("/admin/delais.php",$langs->trans("Alerts"),1);
|
|
|
|
|
$this->menu->add("/admin/proxy.php?mainmenu=home", $langs->trans("Security"),1);
|
|
|
|
|
$this->menu->add("/admin/limits.php?mainmenu=home", $langs->trans("MenuLimits"),1);
|
|
|
|
|
$this->menu->add("/admin/pdf.php?mainmenu=home", $langs->trans("PDF"),1);
|
|
|
|
|
$this->menu->add("/admin/mails.php?mainmenu=home", $langs->trans("Emails"),1);
|
|
|
|
|
$this->menu->add("/admin/sms.php?mainmenu=home", $langs->trans("SMS"),1);
|
|
|
|
|
$this->menu->add("/admin/dict.php?mainmenu=home", $langs->trans("DictionnarySetup"),1);
|
|
|
|
|
$this->menu->add("/admin/const.php?mainmenu=home", $langs->trans("OtherSetup"),1);
|
2013-01-16 15:54:07 +01:00
|
|
|
|
|
|
|
|
// ***** END *****
|
|
|
|
|
|
|
|
|
|
// do not change code after this
|
|
|
|
|
|
2013-04-01 20:15:52 +02:00
|
|
|
if (empty($noout))
|
2013-01-16 15:54:07 +01:00
|
|
|
{
|
2013-04-01 20:15:52 +02:00
|
|
|
$alt=0;
|
|
|
|
|
$num=count($this->menu->liste);
|
|
|
|
|
for ($i = 0; $i < $num; $i++)
|
2013-01-16 15:54:07 +01:00
|
|
|
{
|
2013-04-01 20:15:52 +02:00
|
|
|
$alt++;
|
|
|
|
|
if (empty($this->menu->liste[$i]['level']))
|
2013-01-16 15:54:07 +01:00
|
|
|
{
|
2013-04-01 20:15:52 +02:00
|
|
|
if (($alt%2==0))
|
|
|
|
|
{
|
|
|
|
|
print '<div class="blockvmenuimpair">'."\n";
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
print '<div class="blockvmenupair">'."\n";
|
|
|
|
|
}
|
2013-01-16 15:54:07 +01:00
|
|
|
}
|
2013-04-01 20:15:52 +02:00
|
|
|
|
|
|
|
|
// Place tabulation
|
|
|
|
|
$tabstring='';
|
|
|
|
|
$tabul=($this->menu->liste[$i]['level'] - 1);
|
|
|
|
|
if ($tabul > 0)
|
2013-01-16 15:54:07 +01:00
|
|
|
{
|
2013-04-01 20:15:52 +02:00
|
|
|
for ($j=0; $j < $tabul; $j++)
|
|
|
|
|
{
|
|
|
|
|
$tabstring.=' ';
|
|
|
|
|
}
|
2013-01-16 15:54:07 +01:00
|
|
|
}
|
|
|
|
|
|
2013-04-01 20:15:52 +02:00
|
|
|
if ($this->menu->liste[$i]['level'] == 0) {
|
|
|
|
|
if ($this->menu->liste[$i]['enabled'])
|
|
|
|
|
{
|
|
|
|
|
print '<div class="menu_titre">'.$tabstring.'<a class="vmenu" href="'.dol_buildpath($this->menu->liste[$i]['url'],1).'"'.($this->menu->liste[$i]['target']?' target="'.$this->menu->liste[$i]['target'].'"':'').'>'.$this->menu->liste[$i]['titre'].'</a></div>'."\n";
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
print '<div class="menu_titre">'.$tabstring.'<font class="vmenudisabled">'.$this->menu->liste[$i]['titre'].'</font></div>'."\n";
|
|
|
|
|
}
|
|
|
|
|
print '<div class="menu_top"></div>'."\n";
|
2013-01-16 15:54:07 +01:00
|
|
|
}
|
|
|
|
|
|
2013-04-01 20:15:52 +02:00
|
|
|
if ($this->menu->liste[$i]['level'] > 0) {
|
|
|
|
|
print '<div class="menu_contenu">';
|
|
|
|
|
|
|
|
|
|
if ($this->menu->liste[$i]['enabled'])
|
|
|
|
|
print $tabstring.'<a class="vsmenu" href="'.dol_buildpath($this->menu->liste[$i]['url'],1).'">'.$this->menu->liste[$i]['titre'].'</a><br>';
|
|
|
|
|
else
|
|
|
|
|
print $tabstring.'<font class="vsmenudisabled vsmenudisabledmargin">'.$this->menu->liste[$i]['titre'].'</font><br>';
|
|
|
|
|
|
|
|
|
|
print '</div>'."\n";
|
2013-01-16 15:54:07 +01:00
|
|
|
}
|
2013-04-01 20:15:52 +02:00
|
|
|
|
|
|
|
|
// If next is a new block or end
|
|
|
|
|
if (empty($this->menu->liste[$i+1]['level']))
|
2013-01-16 15:54:07 +01:00
|
|
|
{
|
2013-04-01 20:15:52 +02:00
|
|
|
print '<div class="menu_end"></div>'."\n";
|
|
|
|
|
print "</div>\n";
|
2013-01-16 15:54:07 +01:00
|
|
|
}
|
|
|
|
|
}
|
2013-04-01 20:15:52 +02:00
|
|
|
}
|
2013-01-16 15:54:07 +01:00
|
|
|
|
2013-04-01 20:15:52 +02:00
|
|
|
if ($mode == 'jmobile')
|
|
|
|
|
{
|
|
|
|
|
$this->leftmenu=dol_clone($this->menu);
|
|
|
|
|
unset($this->menu->liste);
|
2013-06-05 16:24:32 +02:00
|
|
|
}
|
2013-04-01 20:15:52 +02:00
|
|
|
}
|
2013-01-16 15:54:07 +01:00
|
|
|
|
2013-06-05 16:24:32 +02:00
|
|
|
if ($mode == 'jmobile')
|
|
|
|
|
{
|
|
|
|
|
foreach($this->topmenu->liste as $key => $val) // $val['url','titre','level','enabled'=0|1|2,'target','mainmenu','leftmenu'
|
|
|
|
|
{
|
2013-06-19 16:59:03 +02:00
|
|
|
print '<ul class="ulmenu" data-role="listview" data-inset="true">';
|
2013-10-22 18:01:54 +02:00
|
|
|
print '<li data-role="list-dividerxxx" class="lilevel0">';
|
2013-06-05 16:24:32 +02:00
|
|
|
if ($val['enabled'] == 1)
|
|
|
|
|
{
|
|
|
|
|
$relurl=dol_buildpath($val['url'],1);
|
|
|
|
|
$relurl=preg_replace('/__LOGIN__/',$user->login,$relurl);
|
|
|
|
|
$relurl=preg_replace('/__USERID__/',$user->id,$relurl);
|
|
|
|
|
|
|
|
|
|
print '<a href="#">'.$val['titre'].'</a>'."\n";
|
|
|
|
|
// Search submenu fot this entry
|
|
|
|
|
$tmpmainmenu=$val['mainmenu'];
|
|
|
|
|
$tmpleftmenu='all';
|
|
|
|
|
//$submenu=new Menu();
|
|
|
|
|
//$res=print_left_eldy_menu($this->db,$this->menu_array,$this->menu_array_after,$this->tabMenu,$submenu,1,$tmpmainmenu,$tmpleftmenu);
|
|
|
|
|
//$nexturl=dol_buildpath($submenu->liste[0]['url'],1);
|
|
|
|
|
$submenu=$this->leftmenu;
|
|
|
|
|
|
|
|
|
|
$canonrelurl=preg_replace('/\?.*$/','',$relurl);
|
|
|
|
|
$canonnexturl=preg_replace('/\?.*$/','',$nexturl);
|
|
|
|
|
//var_dump($canonrelurl);
|
|
|
|
|
//var_dump($canonnexturl);
|
|
|
|
|
print '<ul>';
|
2013-04-01 20:15:52 +02:00
|
|
|
if ($canonrelurl != $canonnexturl && ! in_array($val['mainmenu'],array('home','tools')))
|
2013-06-05 16:24:32 +02:00
|
|
|
{
|
|
|
|
|
// We add sub entry
|
2013-10-22 18:01:54 +02:00
|
|
|
print '<li data-role="list-dividerxxx"><a href="'.$relurl.'">'.$langs->trans("MainArea").'-'.$val['titre'].'</a></li>'."\n";
|
2013-06-05 16:24:32 +02:00
|
|
|
}
|
|
|
|
|
foreach($submenu->liste as $key2 => $val2) // $val['url','titre','level','enabled'=0|1|2,'target','mainmenu','leftmenu'
|
|
|
|
|
{
|
|
|
|
|
$relurl2=dol_buildpath($val2['url'],1);
|
|
|
|
|
$relurl2=preg_replace('/__LOGIN__/',$user->login,$relurl2);
|
|
|
|
|
$relurl2=preg_replace('/__USERID__/',$user->id,$relurl2);
|
|
|
|
|
//var_dump($val2);
|
2013-10-22 18:01:54 +02:00
|
|
|
print '<li'.($val2['level']==0?' data-role="list-dividerxxx"':'').'><a href="'.$relurl2.'">'.$val2['titre'].'</a></li>'."\n";
|
2013-06-05 16:24:32 +02:00
|
|
|
}
|
|
|
|
|
//var_dump($submenu);
|
|
|
|
|
print '</ul>';
|
|
|
|
|
}
|
|
|
|
|
if ($val['enabled'] == 2)
|
|
|
|
|
{
|
|
|
|
|
print '<font class="vsmenudisabled">'.$val['titre'].'</font>';
|
|
|
|
|
}
|
|
|
|
|
print '</li>';
|
2013-04-01 20:15:52 +02:00
|
|
|
print '</ul>'."\n";
|
2013-01-16 15:54:07 +01:00
|
|
|
|
2013-06-05 16:24:32 +02:00
|
|
|
break; // Only first menu entry (so home)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2013-04-01 20:15:52 +02:00
|
|
|
unset($this->menu);
|
2013-01-16 15:54:07 +01:00
|
|
|
|
2013-04-01 20:15:52 +02:00
|
|
|
return $res;
|
2013-01-15 15:42:39 +01:00
|
|
|
}
|
2010-10-02 23:31:14 +02:00
|
|
|
}
|
|
|
|
|
|
2013-01-15 15:42:39 +01:00
|
|
|
|
2012-03-19 17:18:11 +01:00
|
|
|
/**
|
|
|
|
|
* Output menu entry
|
|
|
|
|
*
|
|
|
|
|
* @return void
|
|
|
|
|
*/
|
2010-10-02 23:31:14 +02:00
|
|
|
function print_start_menu_array_empty()
|
|
|
|
|
{
|
2013-03-30 14:27:13 +01:00
|
|
|
print '<div class="tmenudiv">';
|
2013-02-27 21:40:43 +01:00
|
|
|
print '<ul class="tmenu">';
|
2010-10-02 23:31:14 +02:00
|
|
|
}
|
|
|
|
|
|
2012-03-19 17:18:11 +01:00
|
|
|
/**
|
|
|
|
|
* Output start menu entry
|
|
|
|
|
*
|
|
|
|
|
* @param string $idsel Text
|
2013-02-27 21:40:43 +01:00
|
|
|
* @param string $classname String to add a css class
|
2013-03-24 03:51:49 +01:00
|
|
|
* @param int $showmode 0 = hide, 1 = allowed or 2 = not allowed
|
2012-03-19 17:18:11 +01:00
|
|
|
* @return void
|
|
|
|
|
*/
|
2013-03-24 03:51:49 +01:00
|
|
|
function print_start_menu_entry_empty($idsel,$classname,$showmode)
|
2010-10-02 23:31:14 +02:00
|
|
|
{
|
2013-03-24 03:51:49 +01:00
|
|
|
if ($showmode)
|
|
|
|
|
{
|
|
|
|
|
print '<li '.$classname.' id="mainmenutd_'.$idsel.'">';
|
|
|
|
|
print '<div class="tmenuleft"></div><div class="tmenucenter">';
|
|
|
|
|
}
|
2010-10-02 23:31:14 +02:00
|
|
|
}
|
|
|
|
|
|
2012-03-19 17:18:11 +01:00
|
|
|
/**
|
|
|
|
|
* Output menu entry
|
|
|
|
|
*
|
|
|
|
|
* @param string $text Text
|
2013-02-27 21:40:43 +01:00
|
|
|
* @param int $showmode 1 or 2
|
|
|
|
|
* @param string $url Url
|
|
|
|
|
* @param string $id Id
|
|
|
|
|
* @param string $idsel Id sel
|
|
|
|
|
* @param string $classname Class name
|
|
|
|
|
* @param string $atarget Target
|
2012-03-19 17:18:11 +01:00
|
|
|
* @return void
|
|
|
|
|
*/
|
2013-03-15 18:00:29 +01:00
|
|
|
function print_text_menu_entry_empty($text, $showmode, $url, $id, $idsel, $classname, $atarget)
|
2010-10-02 23:31:14 +02:00
|
|
|
{
|
|
|
|
|
global $conf;
|
2013-02-27 21:40:43 +01:00
|
|
|
|
2013-03-30 14:27:13 +01:00
|
|
|
if ($showmode == 1)
|
|
|
|
|
{
|
|
|
|
|
print '<a class="tmenuimage" href="'.$url.'"'.($atarget?' target="'.$atarget.'"':'').'>';
|
|
|
|
|
print '<div class="'.$id.' '.$idsel.'"><span class="'.$id.' tmenuimage" id="mainmenuspan_'.$idsel.'"></span></div>';
|
|
|
|
|
print '</a>';
|
|
|
|
|
print '<a '.$classname.' id="mainmenua_'.$idsel.'" href="'.$url.'"'.($atarget?' target="'.$atarget.'"':'').'>';
|
|
|
|
|
print '<span class="mainmenuaspan">';
|
|
|
|
|
print $text;
|
|
|
|
|
print '</span>';
|
|
|
|
|
print '</a>';
|
|
|
|
|
}
|
|
|
|
|
if ($showmode == 2)
|
|
|
|
|
{
|
2013-07-23 18:36:18 +02:00
|
|
|
print '<div class="'.$id.' '.$idsel.' tmenudisabled"><span class="'.$id.'" id="mainmenuspan_'.$idsel.'"></span></div>';
|
2013-03-30 14:27:13 +01:00
|
|
|
print '<a class="tmenudisabled" id="mainmenua_'.$idsel.'" href="#" title="'.dol_escape_htmltag($langs->trans("NotAllowed")).'">';
|
2013-02-27 21:40:43 +01:00
|
|
|
}
|
2010-10-02 23:31:14 +02:00
|
|
|
}
|
|
|
|
|
|
2012-03-19 17:18:11 +01:00
|
|
|
/**
|
|
|
|
|
* Output end menu entry
|
|
|
|
|
*
|
2013-03-24 03:51:49 +01:00
|
|
|
* @param int $showmode 0 = hide, 1 = allowed or 2 = not allowed
|
2012-03-19 17:18:11 +01:00
|
|
|
* @return void
|
|
|
|
|
*/
|
2013-03-24 03:51:49 +01:00
|
|
|
function print_end_menu_entry_empty($showmode)
|
2010-10-02 23:31:14 +02:00
|
|
|
{
|
2013-03-24 03:51:49 +01:00
|
|
|
if ($showmode)
|
|
|
|
|
{
|
|
|
|
|
print '</div></li>';
|
|
|
|
|
print "\n";
|
|
|
|
|
}
|
2010-10-02 23:31:14 +02:00
|
|
|
}
|
|
|
|
|
|
2012-03-19 17:18:11 +01:00
|
|
|
/**
|
|
|
|
|
* Output menu array
|
|
|
|
|
*
|
|
|
|
|
* @return void
|
|
|
|
|
*/
|
2010-10-02 23:31:14 +02:00
|
|
|
function print_end_menu_array_empty()
|
|
|
|
|
{
|
2013-02-27 21:40:43 +01:00
|
|
|
print '</ul>';
|
|
|
|
|
print '</div>';
|
2010-10-02 23:31:14 +02:00
|
|
|
print "\n";
|
|
|
|
|
}
|
|
|
|
|
|
2013-01-16 15:45:17 +01:00
|
|
|
?>
|