Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- ob_start();
- session_start();
- if(!file_exists("include/config/bdd.php")) { header("Location:install.php"); exit; }
- include("include/config/site.php");
- include("include/fonction.php");
- require('include/class/class.php');
- connexion_mysql();
- include("include/variables.php");
- if(isset($_GET['ln'])) { $_SESSION['language'] = $_GET['ln']; }
- if(@$_SESSION['language']=="") { header("Location:?page=index&ln=".$langue_default); }
- Language::Set($_SESSION['language']);
- Language::SetAuto(true);
- if($s_identifiant!="") {
- $imembre = mysql_fetch_assoc(mysql_query("SELECT * FROM me_utilisateur WHERE identifiant='$s_identifiant'"));
- $s_niveau = $imembre['niveau'];
- $s_id = $imembre['id'];
- } else {
- $imembre = "";
- $s_niveau = "4";
- $s_id = "";
- }
- if(@$_GET['page']=="") { $page = "index"; } else { $page = $_GET['page']; }
- include("$a_theme/$theme/index.php");
- if(@$_SESSION['identifiant']=="" && @$_COOKIE['identifiant']!="") { header("Location:?page=connexion&test=ok"); }
- echo"<div style='width:200px; margin:0px auto; text-align:center; padding:0px; color:#CCC;'>".__("Propulsé par")." <a style='color:#CCC; text-decoration:none;' target='_blank' href='http://membris.fr.nf'>Membris</a> </div>
- </body>
- </html>";
- deco_mysql();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement