Advertisement
johnburn

Decoded for: [email protected]

Sep 16th, 2011
312
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.26 KB | None | 0 0
  1. <?php
  2.  
  3. ob_start();
  4. session_start();
  5.  
  6. if(!file_exists("include/config/bdd.php")) { header("Location:install.php"); exit; }
  7.  
  8. include("include/config/site.php");
  9. include("include/fonction.php");
  10. require('include/class/class.php');
  11.  
  12. connexion_mysql();
  13.  
  14. include("include/variables.php");
  15.  
  16. if(isset($_GET['ln'])) { $_SESSION['language'] = $_GET['ln']; }
  17. if(@$_SESSION['language']=="") { header("Location:?page=index&ln=".$langue_default); }
  18. Language::Set($_SESSION['language']);
  19. Language::SetAuto(true);
  20.  
  21. if($s_identifiant!="") {
  22.     $imembre = mysql_fetch_assoc(mysql_query("SELECT * FROM me_utilisateur WHERE identifiant='$s_identifiant'"));
  23.     $s_niveau = $imembre['niveau'];
  24.     $s_id = $imembre['id'];
  25. } else {
  26.     $imembre = "";
  27.     $s_niveau = "4";
  28.     $s_id = "";
  29. }
  30.  
  31. if(@$_GET['page']=="") { $page = "index"; } else { $page = $_GET['page']; }
  32. include("$a_theme/$theme/index.php");
  33.  
  34.  
  35. if(@$_SESSION['identifiant']=="" && @$_COOKIE['identifiant']!="") { header("Location:?page=connexion&test=ok"); }
  36.  
  37. 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>
  38. </body>
  39. </html>";
  40. deco_mysql();
  41.  
  42. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement