<?php
/**
 * @package linea21.core
 * @subpackage system
 * @author linea21 <info@linea21.com>
 * @version $id SVN
 * @access public
 * @license http://opensource.org/licenses/gpl-3.0.html
 */

//////////// Check Inclusion de pages //////////// 
if (!function_exists('AuthenthificationProcess')) {
	include_once ("../lib/lib_common.php");
	ReloadIndex('admin');
}
$config_file = new config_file;
$config_file->__construct($GLOBALS['authorized_release_sections'],$GLOBALS['authorized_db_sections'],$GLOBALS['authorized_theme_sections']);
$config_file->loadParams();
$link_mod=$rub_link."&amp;todo=mod&amp;type=";
?>
<div id="chemin">
	<ul>
		<li>
			<a href="index.php" class="chemin_home"><?php echo _t('way','home') ?></a>
		</li>
		<li>
			   <a href="<?php echo $rub_link; ?>" id="chemin_<? echo $rub; ?>" class="chemin_rub">
			<?php echo _t('menu','system'); ?>
			</a>
		</li>
	</ul>
</div>
  <!--end barre haute -->
<?php include_once(THEME_ADMIN_PATH."quickicons.php"); ?>
<div class="contentcontainer">
<?php include_once($dir . "/menurub.php");?>
<div id="content">
	
	<div id="define_readonly">
      <h2>LINEA RELEASE</h2>
      <?php echo check4newVersion(); ?>
      <dl>
      <dt><?php echo _t('system','LINEA_VERSION'); ?></dt>
      <dd><?php echo SITE_LINEA_NAME . ' - ' . LINEA_VERSION ?> </dd>
      <dt><?php echo _t('system','SITE_LINEA_URL'); ?></dt>
      <dd><a href="<?php echo SITE_LINEA_URL; ?>" class="out"><?php echo SITE_LINEA_URL; ?></a></dd>
      <dt><?php echo _t('system','MAIL_LINEA'); ?></dt>
      <dd><a href="mailto:<?php echo MAIL_LINEA; ?>"><?php echo MAIL_LINEA; ?></a></dd>
      </dl>	
      <br style="clear:both;" />
	</div>
	
	<div class="toggle_title"><a href="#" onclick="$('#define_theme').slideToggle();"><?php echo _t('system','title_theme'); ?></a></div>
	
	<div id="define_theme" style="display:none;">
		<?php echo ("<a href=\"".$link_mod."theme\" title=\""._t('system','mod')."\" class=\"ico_mod2\"></a>"); ?>
		<?php echo ($config_file->getThemeParams()); ?>	
		<br style="clear:both;" />
	</div>
	
	<div class="toggle_title"><a href="#" onclick="$('#define_release').slideToggle();"><?php echo _t('system','title_release'); ?> (<?php echo ($config_file->file_release); ?>)</a></div>
	
	<div id="define_release" style="display:none;">
		<?php echo ("<a href=\"".$link_mod."define_release\" title=\""._t('system','mod')."\" class=\"ico_mod2\"></a>"); ?>
		<?php echo ($config_file->getReleaseParams()); ?>
		<br style="clear:both;" />
	</div>
	
	<div class="toggle_title"><a href="#" onclick="$('#define_db').slideToggle();"><?php echo _t('system','title_db'); ?> (<?php echo ($config_file->file_db); ?>)</a></div>
	
	<div id="define_db" style="display:none;">
		<?php echo ("<a href=\"".$link_mod."define_db\" title=\""._t('system','mod')."\" class=\"ico_mod2\"></a>"); ?>
		<?php echo ($config_file->getDbParams()); ?>
		<br style="clear:both;" />
	</div>
	
	<div class="toggle_title"><a href="#" onclick="$('#php_info').slideToggle();"><?php echo _t('system','title_php_info'); ?></a></div>
	
	<div id="php_info" style="display:none;">
		<?php echo ($config_file->getPhpInfo()); ?>
	</div>

</div>
<?php include_once($dir . "/help.php");?>
</div>
  
