Advertisement
Guest User

Untitled

a guest
Feb 19th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.43 KB | None | 0 0
  1. <?php
  2.  
  3. if(file_exists("install/index.php")){
  4. //perform redirect if installer files exist
  5. //this if{} block may be deleted once installed
  6. header("Location: install/index.php");
  7. }
  8.  
  9. require_once '../../../users/init.php';
  10. require_once $abs_us_root.$us_url_root.'users/includes/header.php';
  11. require_once $abs_us_root.$us_url_root.'users/includes/navigation.php';
  12. if(isset($user) && $user->isLoggedIn()){
  13. }
  14. ?>
  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="users/account.php" role="button">User Account &raquo;</a>
  29. <?php }else{?>
  30. <a class="btn btn-warning" href="users/login.php" role="button">Log In &raquo;</a>
  31. <a class="btn btn-info" href="users/join.php" role="button">Sign Up &raquo;</a>
  32. <?php } ?>
  33. </p>
  34. </div>
  35. </div>
  36. </div>
  37. <div class="row">
  38. <?php
  39. // To generate a sample notification, uncomment the code below.
  40. // It will do a notification everytime you refresh index.php.
  41. // $msg = 'This is a sample notification! <a href="'.$us_url_root.'users/logout.php">Go to Logout Page</a>';
  42. // $notifications->addNotification($msg, $user->data()->id);
  43. ?>
  44. <style>
  45. .button1 {
  46. background-color: white;
  47. color: black;
  48. border: 2px solid #4CAF50;
  49. }
  50. .test {
  51. width:60%;
  52. display:inline;
  53. overflow: auto;
  54. white-space: nowrap;
  55. margin:0px auto;
  56. }
  57. </style>
  58.  
  59. <link href="css/bootstrap.min.css" rel="stylesheet">
  60.  
  61. <!-- Custom CSS -->
  62. <link href="css/shop-homepage.css" rel="stylesheet">
  63.  
  64.  
  65. <style>
  66. #rcorners2 {
  67. border-radius: 25px;
  68. border: 2px solid #73AD21;
  69. padding: 20px;
  70. width: 200px;
  71. height: 150px;
  72. }
  73. </style>
  74.  
  75.  
  76. </div> <!-- /container -->
  77.  
  78. </div> <!-- /#page-wrapper -->
  79.  
  80. <!-- footers -->
  81. <?php require_once $abs_us_root.$us_url_root.'users/includes/page_footer.php'; // the final html footer copyright row + the external js calls ?>
  82.  
  83. <!-- Place any per-page javascript here -->
  84.  
  85.  
  86. <?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