Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Jul 16th, 2018 53 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. <?php
  2. // Begin the session!
  3. session_start();
  4.  
  5. // Now for this page, we want to use the database, so let's get the database ready.
  6. include('mysql_connect.php');
  7. include('includes/settings.php');
  8. include('includes/system.php');
  9. include('includes/functions.php');
  10.  
  11. /**
  12.  * Now, seeing as we have all the content set,
  13.  * let's get this page up by showing the template!
  14.  */
  15.  
  16. global $username;
  17. if(isset($_SESSION['user_name'])) {
  18.     global $username;
  19.     $username = $_SESSION['user_name'];
  20. }
  21.  
  22. if(isset($_GET['page'])){
  23.     $page = $_GET['page'];
  24. } else {
  25.     $page = '';
  26. }
  27.  
  28. main($page, $username);
  29.  
  30. template();
  31.  
  32. /**
  33.  * Well seeing as this is the end of the page,
  34.  * let's clean some thing up so there's no nasty surprises.
  35.  */
  36.  
  37. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top