Location: PHPKode > projects > ChemAzTech > chimiotheque/admin_panel.php
<?php

require_once("include/fonctions_auth.inc.php");
require_once("config/config.php");



if ((isset($_SESSION['account'])) AND (isset($_SESSION['password']))) 
	{
    $pseudo = htmlentities ($_SESSION['account']);
    $code = htmlentities ($_SESSION['password']);
    $hashcode = md5($code);
    if (check_admin_login($pseudo, $hashcode) == true) 
	 {
     echo "<h3>".$lang[$country]['ADM_PAN']."</h3><br />";
	 show_tmp_user();
	 show_user();
	 show_admin();
	 echo "<center><table width=\"90%\" border=\"1\">";
	 echo "<tr><td class=\"special\"><p><a href = 'gestion/gerer_groupe.php'>".$lang[$country]['GRP_MANAG']."</a></p>";
	 echo "<p><a href = 'gestion/storagechoice.php'>".$lang[$country]['STOR_CHOICE']."</a>";
	 echo "<p><a href = 'gestion/comchoice.php'>".$lang[$country]['MAN_COMPROD']."</a>";
	 echo "<p><a href = 'gestion/Infos.php'>".$lang[$country]['MOD_MY_INFO']."</a></p></div>";
	 echo "</p></td></tr>";
	 
	 echo "<tr><td class=\"special\">";
	 echo "<p><a href = 'export/choixextract.php'>".$lang[$country]['CUST_EXT']."</a></p>";
	 echo "<p><a href = 'formulaires/form_envoi.php'>".$lang[$country]['IMPORT_SDF_LIST']."</a></p>";
	 echo "</div></td></tr>";
	 
	 echo "<br /><tr><td><p><br />".$lang[$country]['KIT']."</p><hr />";
	 echo "<div class=\"justif\">";
	 echo "<p><a href = 'maintenance/choixclean.php'>".$lang[$country]['CHOIX_CLEAN']."</a></p>";
	 echo "<p><a href = 'maintenance/synchromolinfo.php'>".$lang[$country]['ADD_SYNC']."(**)</a></p>";
	 //echo "<p><a href = './jmol/mol/pngfromsmiles.php'>".$lang[$country]['GEN_SMI_PIC']."</a></p>";
	 echo "</td></tr></table>";
	 
	 echo "<p><i>(**) ".$lang[$country]['INFO_4']."</i></p></center>";
	 } 
	else 
	 {
	 echo "<center>".$lang[$country]['NOT_ADMIN_BUT'];
	 echo "<div class=\"justif\"><p><a href = 'export/extract.php'>".$lang[$country]['CUST_EXT_PROD']."</a></p>";
	 echo "<p><a href = 'gestion/Infos.php'>".$lang[$country]['MOD_MY_INFO']."</a></p></div></center>";
     }
   }

else 
   {
   echo "<a href=index.php?id=2>".$lang[$country]['NOT_LOGIN']."</a>";
   }

?>
Return current item: ChemAzTech