analyser(); $msg = $messages->table; // temporaire : $inst_language = ""; require_once("$include_path/templates/common.tpl.php"); require_once("$include_path/templates/index.tpl.php"); if (!$dbh) { header ("Content-Type: text/html; charset=".$charset); print $index_header; print $extra_version; print "

$__erreur_cnx_base__


" ; //-------------------LLIUREX 17/02/2015---------------------------- //------print $msg["cnx_base_err1"]." ./tables/install.php ?

.".$msg["cnx_base_err2"];------------ print $msg["cnx_base_err1"]."

.".$msg["cnx_base_err2"]; //------------------FIN LLIUREX 17/02/2015-------------------------- print $index_footer; exit ; } // affichage du form de login if ($demo=="") $demo = 0; header ("Content-Type: text/html; charset=$charset"); if (!$login_error) { //Est-on déjà authentifié ? if (checkUser('PhpMyBibli')) { header("Location: ./main.php"); exit(); } } print $index_layout; if ($demo) { if (!$login_error) { $login_form_demo = str_replace("!!erreur!!", " ", $login_form_demo); print $login_form_demo; } else { $login_form_demo = str_replace("!!erreur!!", $login_form_error, $login_form_demo); print $login_form_demo; } } else { if (!$login_error) { $login_form = str_replace("!!erreur!!", " ", $login_form); } else { $login_form = str_replace("!!erreur!!", $login_form_error, $login_form); } if ($login_message) { $login_form = str_replace("!!login_message!!", $login_message, $login_form); } print $login_form; } print form_focus('login', 'user'); print $index_footer;