<?php
if ( !defined('ADMIN_FILE') && !defined('MAXIMUS'))
{die("Illegal File Access Admin");}

echo "<script type='text/javascript' src='kernel/js/JSCookMenu.js'></script>"
	."<link rel='stylesheet' href='admin/themes/admin_Kmax/menu/theme.css' type='text/css' />"
	."<script type='text/javascript' src='admin/themes/admin_Kmax/menu/theme.js'></script>"
	."<div id='myMenuID'></div>\n"
	."<script type='text/javascript'>\n"
	."<!--\n"
	."var myMenu =\n"
	."[\n"
	."['', '&nbsp;"._PANELWEBSITE."', '$admin_file.php', '_self', '',\n"
	."['<img src=images/blocks/config.png>', '"._CONFIGSTANDART."', '$admin_file.php?op=Configure', '_self', ''],\n"
	."['<img src=kernel/js/templates/ThemeOffice2003/config.png>', '"._CONFIGADVANCE."', '$admin_file.php?op=ConfigureAdvance', '_self', ''],\n"
	."['<img src=kernel/js/templates/ThemeOffice2003/config.png>', '"._CONTROLECENTER."', '$admin_file.php?op=cMax', '_self', ''],\n"
	."['<img src=kernel/js/templates/ThemeOffice2003/config.png>', '"._LEGALMENTIONS."', '$admin_file.php?op=MentionsLegales', '_self', ''],\n"
	."['<img src=images/blocks/cachebloc.png>', '"._CACHEBLOCKS."', '$admin_file.php?op=cMaxCache_Blocks', '_self', ''],\n"
	."['<img src=images/blocks/cachemod.png>', '"._CACHEMODULES."', '$admin_file.php?op=cMaxCache_Modules', '_self', ''],\n"
	."['<img src=images/blocks/sysinfo.png>', '"._DEBUG."', '$admin_file.php?op=max_debug', '_self', ''],\n"
	."['<img src=images/blocks/document.png>', '"._LOGSACCESS."', '$admin_file.php?op=max_LogAcessAdmin', '_self', ''],\n"
	."['<img src=images/blocks/18_version.gif>', '"._SESSIONS."', '$admin_file.php?op=max_sessions', '_self', ''],\n"
	."['<img src=images/blocks/db.png>', '"._DATABASE."', '$admin_file.php?op=database', '_self', ''],\n"
	."['<img src=images/blocks/18_privacy.gif>', '"._SENTINEL."', '$admin_file.php?op=ABMain', '_self', ''],\n"
	."['<img src=images/blocks/security.png>', '"._SECUREADMINS."', '$admin_file.php?op=nsnsecureadmin', '_self', ''],\n"
	."['<img src=images/blocks/stats.png>', '"._MSANALYSIS."', 'modules.php?name=MS_Analysis&file=admin', '_self', ''],\n"
	."['<img src=images/blocks/preview.png>', '"._PLAN."', '$admin_file.php?op=Plan', '_self', '']],\n"
// second
	."['', '"._GESTIONCOMPTES."', '', '_self', '',\n"
	."['<img src=images/blocks/admin.png>', '"._COMPTESADMINS."', '$admin_file.php?op=promotion', '_self', ''],\n"
	."['<img src=images/blocks/group.png>', '"._GESTIONGROUPES."', '$admin_file.php?op=NSNGroups', '_self', ''],\n"
	."['<img src=images/blocks/user.png>', '"._GESTIONMEMBERS."', '$admin_file.php?op=members', '_self', '']],\n"


."['', '"._GESTIONBLOCKS."', '$admin_file.php?op=BlocksManager', '_self', '',\n"
	."['<img src=images/blocks/blockswb.png>', '"._GESTIONWBBLOCKS."', '$admin_file.php?op=BlocksManager', '_self', 'description'],\n"
	."['<img src=images/blocks/blocks1.png>', '"._CREATEBLOCK."', '$admin_file.php?op=BlocksManager_AddBlock', '_self', ''],\n"
	."['<img src=images/blocks/blocks2.png>', '"._EDITDELETEBLOCK."', '$admin_file.php?op=BlocksManager_AllBlocks', '_self', 'description'],\n"
	."['<img src=images/blocks/blocks3.png>', '"._ALLACTIVESMODULES."', '$admin_file.php?op=BlocksManager_AllModules', '_self', 'description'],\n"
	."['<img src=images/blocks/blocks4.png>', '"._GESTIONCENTERBLOCKS."', '$admin_file.php?op=CenterBlocksAdmin', '_self', '']],\n"


."['', '"._GESTIONMODULES."', '$admin_file.php?op=modules', '_self', '',\n"
	."['<img src=images/blocks/module.png>', '"._PANELADMINMODULES1."', '$admin_file.php?op=AdminPanelModules', '_self', ''],\n"
	."['<img src=images/blocks/module.png>', '"._PANELADMINMODULES."', '$admin_file.php?op=modules', '_self', '']],\n"

."['', '"._GESTIONARTICLES."', '$admin_file.php?op=homenews', '_self', '',\n"
	."['<img src=images/blocks/news1.png>', '"._ADDARTICLE."', '$admin_file.php?op=adminStory', '_self', ''],\n"
	."['<img src=images/blocks/news1.png>', '"._LASTARTICLES."', '$admin_file.php?op=lastarticles', '_self', ''],\n"
	."['<img src=images/blocks/topic1.png>', '"._ADDTOPIC."', '$admin_file.php?op=topicadd', '_self', ''],\n"
	."['<img src=images/blocks/topic1.png>', '"._EDITTOPIC."', '$admin_file.php?op=topicmodify', '_self', ''],\n"
	."['<img src=images/blocks/topic1.png>', '"._DELETEIMAGES."', '$admin_file.php?op=topicdelunused', '_self', ''],\n"
	."['<img src=images/blocks/newsconf1.png>', '"._CONFIGNEWS."', '$admin_file.php?op=NENewsConfig', '_self', '']],\n"


	."['', '"._HELP."', '$admin_file.php?op=BlocksManager', '_self', '',\n"
	."['<img src=images/blocks/license.png>', '"._LICENCEGPL."', '$admin_file.php?op=LicenceGPL', '_self', ''],\n"
	."_cmSplit,\n"
	."['<img src=images/blocks/tux.png>', '"._CREDITS."', '$admin_file.php?op=Credits', '_self', ''],\n"
	."_cmSplit,\n"


	."]\n"
	."];\n"
	."//-->\n"
	."</script>\n";

echo  "<script type='text/javascript'>"
     ." cmDraw ('myMenuID', myMenu, 'hbr', cmThemeOffice2003, 'ThemeOffice2003') "
     ."</script>";