Viewing file: header.php (2.68 KB) -rw----r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php session_start(); //error_reporting(0); $_SESSION['UserId'] = 1; if (empty($_SESSION['admine_name']) || empty($_SESSION['UserId'])) header("Location:login.php"); if (isset($_GET['logout'])) { session_destroy(); header("Location:login.php"); } require("./class/class.upload.php"); require("./class/config.inc.php"); require("./class/Database.singleton.php"); require_once("functions.php"); $db = Database::obtain(DB_SERVER, DB_USER, DB_PASS, DB_DATABASE); $db->connect(); $countmessages = mysql_query("select count(id) as totmes from " . TABLE_CONTACTS . " where lu=0"); $totalmess = mysql_fetch_assoc($countmessages); mysql_free_result($countmessages); $langs = array('fr'); ?> <!DOCTYPE html> <html lang="fr"> <head> <meta charset="utf-8"> <title>Menuiserie ebenisterie DANDERS | Administration</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link id="bs-css" href="css/bootstrap-united.css" rel="stylesheet"> <style type="text/css"> body { padding-bottom: 40px; } .sidebar-nav { padding: 9px 0; } </style> <link href="css/bootstrap-responsive.css" rel="stylesheet"> <link href="css/charisma-app.css" rel="stylesheet"> <link href="css/jquery-ui-1.8.21.custom.css" rel="stylesheet"> <link href='css/fullcalendar.css' rel='stylesheet'> <link href='css/fullcalendar.print.css' rel='stylesheet' media='print'> <link href='css/chosen.css' rel='stylesheet'> <link href='css/uniform.default.css' rel='stylesheet'> <link href='css/colorbox.css' rel='stylesheet'> <link href='css/jquery.cleditor.css' rel='stylesheet'> <link href='css/jquery.noty.css' rel='stylesheet'> <link href='css/noty_theme_default.css' rel='stylesheet'> <link href='css/elfinder.min.css' rel='stylesheet'> <link href='css/elfinder.theme.css' rel='stylesheet'> <link href='css/jquery.iphone.toggle.css' rel='stylesheet'> <link href='css/opa-icons.css' rel='stylesheet'> <link href='css/uploadify.css' rel='stylesheet'> <link href='css/bootstrap-colorpicker.min.css' rel='stylesheet'> <link href='css/bootstrap-fileupload.min.css' rel='stylesheet'> <!-- The HTML5 shim, for IE6-8 support of HTML5 elements --> <!--[if lt IE 9]> <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> <![endif]-->
<!-- The fav icon --> <link rel="shortcut icon" href="img/favicon.ico"> <script src="js/jquery-1.7.2.min.js"></script> <script src="js/jquery-ui-1.8.21.custom.min.js"></script>
|