linea21-core
[ class tree: linea21-core ] [ index: linea21-core ] [ all elements ]

Source for file login.php

Documentation is available at login.php

  1. <?php
  2. /**
  3.  * @package linea21.core
  4.  * @subpackage admin
  5.  * @author linea21 <info@linea21.com>
  6.  * @version $id SVN
  7.  * @access public
  8.  * @license http://opensource.org/licenses/gpl-3.0.html
  9.  */
  10.  
  11. include_once("../config/define.php");
  12. include_once("../config/server.php");
  13. include_once("../lib/no_cache.php");
  14. include_once('../languages/' LANGUAGE '/lang_common.'CHARSET .'.php');
  15. include_once("../class/system/class." SQL ".php");
  16. include_once('../lib/lang.php')
  17.  
  18. $sql_entity SQL;
  19. $sql_object new $sql_entity;
  20. $sql_object->DBInitialise();
  21. $sql_object->DBConnexion();
  22.  
  23. include_once(SQL ".inc.php");
  24. // ////////////////////////////////////
  25. // TENTATIVE D'AUTHENTIFICATION
  26. // ////////////////////////////////////
  27. if (isset($_POST['valid'])) {
  28.     include_once("../lib/functions_auth.php");
  29.  
  30.     $auth_res AuthenthificationProcess($_POST['login']$_POST['password']'ADMIN');
  31.     if ($auth_res === true{
  32.         header("Location: index.php");
  33.     
  34.  
  35. ?>
  36.  
  37. <?php include_once(THEME_ADMIN_PATH."login.php")?>

Documentation generated on Fri, 16 Oct 2009 09:36:07 +0200 by phpDocumentor 1.4.1