<?php 
require_once 'lib/PHPLIB.php';
require_once 'PEAR.php';
require_once 'DB.php';
require_once 'lib/layersmenu-common.inc.php';
require_once 'lib/layersmenu.inc.php';
$mid = new LayersMenu();
////$mid->setHorizontalMenuTpl('layersmenu-horizontal_menu-old.ihtml');
////$mid->setSubMenuTpl('layersmenu-sub_menu-old.ihtml');
//$mid->setDownArrowImg('down-arrow.png');
//$mid->setForwardArrowImg('forward-arrow.png');
//$mid->setMenuStructureFile('layersmenu-horizontal-1.txt');
//$mid->setIconsize(16, 16);
//$mid->parseStructureForMenu('hormenu1');
$mid->setDBConnParms('mysql://*****:*****@localhost/phplayersmenu');
//$mid->setDBConnParms('pgsql://*****:*****@localhost/phplayersmenu');
//$mid->setDBConnParms('sqlite:///DUMPS/phplayersmenu');
/* THE DEFAULTS FOR THE DEFAULT LANGUAGE TABLE:
$mid->setTableName('phplayersmenu');
$mid->setTableFields(array(
	'id'		=> 'id',
	'parent_id'	=> 'parent_id',
	'text'		=> 'text',
	'href'		=> 'href',
	'title'		=> 'title',
	'icon'		=> 'icon',
	'target'	=> 'target',
	'orderfield'	=> 'orderfield',
	'expanded'	=> 'expanded'
));
<?php 
require_once 'lib/PHPLIB.php';
require_once 'PEAR.php';
require_once 'DB.php';
require_once 'lib/layersmenu-common.inc.php';
require_once 'lib/layersmenu.inc.php';
$mid = new LayersMenu();
////$mid->setHorizontalMenuTpl('layersmenu-horizontal_menu-old.ihtml');
////$mid->setSubMenuTpl('layersmenu-sub_menu-old.ihtml');
//$mid->setDownArrowImg('down-arrow.png');
//$mid->setForwardArrowImg('forward-arrow.png');
//$mid->setMenuStructureFile('layersmenu-horizontal-1.txt');
//$mid->setIconsize(16, 16);
//$mid->parseStructureForMenu('hormenu1');
$mid->setDBConnParms('pgsql://*****:*****@localhost/phplayersmenu');
//$mid->setDBConnParms('mysql://*****:*****@localhost/phplayersmenu');
/* THE DEFAULTS FOR THE DEFAULT LANGUAGE TABLE:
$mid->setTableName('phplayersmenu');
$mid->setTableFields(array(
	'id'		=> 'id',
	'parent_id'	=> 'parent_id',
	'text'		=> 'text',
	'href'		=> 'href',
	'title'		=> 'title',
	'icon'		=> 'icon',
	'target'	=> 'target',
	'orderfield'	=> 'orderfield',
	'expanded'	=> 'expanded'
));
*/