Viewing file: head.php (1.2 KB) -rw----r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php session_name('Menuiserie'); session_start(); error_reporting(E_ALL); ini_set('display_errors', '0'); require("./admin/class/config.inc.php"); require("./admin/class/Database.singleton.php"); $db = Database::obtain(DB_SERVER, DB_USER, DB_PASS, DB_DATABASE); $db->connect(); //require_once("secure.php"); require_once("./functions.php"); if (isset($_GET['logout'])) { session_destroy(); header("Location:index.php"); }
$lang = "fr"; $sqlconf = "SELECT * FROM `" . TABLE_CONFIG . "` WHERE id=1"; $recordconf = $db->query_first($sqlconf); ?> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title><?php echo $recordconf['nom_site_' . $lang]; ?></title> <meta name="description" content=""> <meta name="keywords" content=""> <link href="./css/style.css" rel="stylesheet" type="text/css"> <link rel="stylesheet" href="css/jmenu.css" type="text/css" /> <link rel="stylesheet" href="./css/nivo-slider.css" type="text/css" media="screen" /> <!--[if lt IE 9]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <link href="style-ie.css" rel="stylesheet" type="text/css" > <![endif]-->
|