Example #1
0
			<?php 
/**==================================================================
		 * Load custom page text in both php session and javascript
		 * Warning : Must be in <head> html bloc 
		 ====================================================================*/
$text_group = 'home';
require './includes/common/textes.php';
echo chr(10);
/*===================================================================*/
?>
		</script>
		<?php 
//==================================================================
// Common tree HTML header generation
//==================================================================
itree::generate_common_html_header($link, $ssid, __MAGICTREE_TABLE_TEXT__, __MAGICTREE_TABLE_SETUP__, __MAGICTREE_APPLICATION_RELEASE__, $_SESSION[$ssid]['MT']['langue'], $path_root_framework);
//==================================================================
/**==================================================================
		 * MagicTree definition of each tree in page
		 ====================================================================*/
include 'includes/MTSetup/define/MT1.php';
$_SESSION[$ssid]['MT'][$mt1_id]->generate_html_header();
include 'includes/MTSetup/define/MT2.php';
$_SESSION[$ssid]['MT'][$mt2_id]->generate_html_header();
include 'includes/MTSetup/define/MT3.php';
$_SESSION[$ssid]['MT'][$mt3_id]->generate_html_header();
include 'includes/MTSetup/define/MT4.php';
$_SESSION[$ssid]['MT'][$mt4_id]->generate_html_header();
/*===================================================================*/
?>
		<link rel="stylesheet" href="css/index.css" type="text/css"> <!-- * load custom page style * -->
Example #2
0
';
			function over(p_txt)
			{
				document.getElementById('help').innerHTML = p_txt;
			}
	
			function unset_text_help()
			{
				document.getElementById('help').innerHTML = '';
			}
		</script>
		<?php 
//==================================================================
// Common tree HTML header generation
//==================================================================
itree::generate_common_html_header($link_mt, $ssid, __MAGICTREE_TABLE_TEXT__, __MAGICTREE_TABLE_SETUP__, __MAGICTREE_APPLICATION_RELEASE__, $_SESSION[$ssid]['langue']);
//==================================================================
/**==================================================================
		 * MagicTree definition of each tree in page
		 ====================================================================*/
include 'includes/MTSetup/define/MT_user_doc.php';
$_SESSION[$ssid]['MT'][$mt_user_id]->generate_html_header();
/*===================================================================*/
/**==================================================================
		 * Load custom doxumentation screen text in both php session and javascript
		 * Warning : Must be in <head> html bloc 
		 ====================================================================*/
$type_screen = 'user';
$_SESSION[$ssid]['lisha']['langue'] = $_SESSION[$ssid]['langue'];
require './includes/common/textes.php';
echo chr(10);