<?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"><?php echo $GLOBALS['lang']['way']['home'] ?></a>
		</li>
		<li>
			<a href="<?php echo $rub_link; ?>">
			<?php echo $GLOBALS['lang']['menu']['system']; ?>
			</a>
		</li>
	</ul>
</div>
  <!--end barre haute -->
<?php include_once ("quickicons.php"); ?>
<div class="contentcontainer">
<?php include_once($dir . "/menurub.php");?>
<div id="content">
	
	<div id="define_readonly">
      <h2>LINEA RELEASE</h2>
      <dl>
      <dt><?php echo $GLOBALS['lang']['system']['LINEA_VERSION']; ?></dt>
      <dd><?php echo SITE_LINEA_NAME . ' - ' . LINEA_VERSION; ?></dd>
      <dt><?php echo $GLOBALS['lang']['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 $GLOBALS['lang']['system']['MAIL_LINEA']; ?></dt>
      <dd><a href="mailto:<?php echo MAIL_LINEA; ?>"><?php echo MAIL_LINEA; ?></dd>
      </dl>	
      <br style="clear:both;"/>
	</div>
	
	<div class="toggle_title"><a href="#" onclick="$('#define_theme').slideToggle();"><?php echo $GLOBALS['lang']['system']['title_theme']; ?></a></div>
	
	<div id="define_theme" style="display:none;">
		<?php echo ("<a href=\"".$link_mod."theme\" title=\"".$GLOBALS['lang']['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 $GLOBALS['lang']['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=\"".$GLOBALS['lang']['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 $GLOBALS['lang']['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=\"".$GLOBALS['lang']['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 $GLOBALS['lang']['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>
  
