Advertisement
Guest User

Untitled

a guest
Feb 19th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.78 KB | None | 0 0
  1. <?php
  2.  
  3. error_reporting(E_ALL);
  4. ini_set('display_errors', 1);
  5. if(file_exists("install/index.php")){
  6. //perform redirect if installer files exist
  7. //this if{} block may be deleted once installed
  8. header("Location: install/index.php");
  9. }
  10.  
  11. require_once '../users/init.php';
  12. require_once $abs_us_root.$us_url_root.'../users/includes/header.php';
  13. require_once $abs_us_root.$us_url_root.'../users/includes/navigation.php';
  14. if(isset($user) && $user->isLoggedIn()){
  15. }
  16. ?>
  17.  
  18. <div id="page-wrapper">
  19. <div class="container">
  20. <div class="row">
  21. <div class="col-xs-12">
  22.  
  23. <div class="jumbotron">
  24. <h1>Welcome to <?php echo $settings->site_name;?></h1>
  25. <p class="text-muted">An Safe Place For Developers to Sell</p>
  26. <p>
  27. <?php if($user->isLoggedIn()){$uid = $user->data()->id;?>
  28. <a class="btn btn-default" href=".//marketplace.php" role="button">Marketplace &raquo;</a>
  29. <?php }else{?>
  30. <a class="btn btn-default" href="../marketplace.php" role="button">Marketplace &raquo;</a>
  31. <?php } ?>
  32. </p>
  33. </div>
  34. </div>
  35. </div>
  36. <div class="row">
  37. <?php
  38. // To generate a sample notification, uncomment the code below.
  39. // It will do a notification everytime you refresh index.php.
  40. // $msg = 'This is a sample notification! <a href="'.$us_url_root.'users/logout.php">Go to Logout Page</a>';
  41. // $notifications->addNotification($msg, $user->data()->id);
  42. ?>
  43.  
  44.  
  45. </div> <!-- /container -->
  46.  
  47. </div> <!-- /#page-wrapper -->
  48.  
  49. <!-- footers -->
  50. <?php require_once $abs_us_root.$us_url_root.'../users/includes/page_footer.php'; // the final html footer copyright row + the external js calls ?>
  51.  
  52. <!-- Place any per-page javascript here -->
  53.  
  54.  
  55. <?php require_once $abs_us_root.$us_url_root.'.//users/includes/html_footer.php'; // currently just the closing /body and /html ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement