A unf. social network done poorly.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

158 lines
5.2KB

  1. <?php
  2. ini_set('display_errors', '1');
  3. require_once($_SERVER['DOCUMENT_ROOT'] . '/socialtune/includes/session.php');
  4. require_once($_SERVER['DOCUMENT_ROOT'] . '/socialtune/includes/config.php');
  5. if(isset($_SESSION['Authenticated']) && $_SESSION['Authenticated']){
  6. require_once($_SERVER['DOCUMENT_ROOT'] . '/socialtune/includes/user-data.php');
  7. if($_SESSION['Expires'] < time()){
  8. // Log out here.
  9. exit();
  10. header("Location: logout.php");
  11. }
  12. $_SESSION['Expires'] = time() + 86400; // if logged in, set to 24 hours.
  13. //header("Location: Dashboard.php");
  14. }
  15. ?>
  16. <!DOCTYPE html>
  17. <html lang="en">
  18. <head>
  19. <meta charset="utf-8">
  20. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  21. <meta name="viewport" content="width=device-width, initial-scale=1">
  22. <title>SocialTune | About</title>
  23. <!--// bootstrap //-->
  24. <link href="css/bootstrap.css" rel="stylesheet">
  25. <link href="css/specialFX.css" rel="stylesheet">
  26. <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
  27. <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  28. <!--[if lt IE 9]>
  29. <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  30. <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  31. <![endif]-->
  32. <style>
  33. html,
  34. body{
  35. height: 100%;
  36. }
  37. #wrap{
  38. min-height: 100%;
  39. height: auto !important;
  40. height: 100%
  41. margin: 0 auto -60px;
  42. }
  43. #push,
  44. #footer{
  45. height: 60px;
  46. }
  47. @media(max-width: 767px){
  48. #footer{
  49. margin-left: -20px;
  50. margin-right: -20px;
  51. padding-left: 20px;
  52. padding-right: 20px;
  53. }
  54. }
  55. </style>
  56. </head>
  57. <body>
  58. <div id="wrap">
  59. <!--// Navigation //-->
  60. <nav class="navbar navbar-default navbar-fixed-top">
  61. <div class="container">
  62. <div class="navbar-header">
  63. <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
  64. <span class="sr-only">Toggle Navigation</span>
  65. <span class="icon-bar"></span>
  66. <span class="icon-bar"></span>
  67. <span class="icon-bar"></span>
  68. </button>
  69. <a class="navbar-brand" href="#">Social.Tune</a>
  70. </div>
  71. <div id="navbar" class="navbar-collapse collapse">
  72. <ul class="nav navbar-nav">
  73. <?php
  74. if(isset($_SESSION['Authenticated']) && $_SESSION['Authenticated']){
  75. echo '
  76. <li><a href="dashboard.php">Home</a></li>';
  77. if($pending_notification == 1){
  78. echo '<li><span class="relative_blink"><span class="notification_blink"><span class="online_blink">New</span></span></span><a href="notifications.php">Notifications</a></li>';
  79. }else{
  80. echo '<li><a href="notifications.php">Notifications</a><li>';
  81. }
  82. echo ' <li><a href="profile.php?id='.$user_id.'">View Profile</a></li>
  83. <li><a href="edit-profile.php">Edit Profile</a></li>
  84. <li><a href="friends.php?id='.$user_id.'">Friends</a></li>
  85. <li class="active"><a href="about.php">About</a></li>
  86. <li><a href="logout.php">Log out</a></li>
  87. ';
  88. }else{
  89. echo '
  90. <li><a href="index.php">Login</a></li>
  91. <li><a href="signup.php">Signup</a></li>
  92. <li class="active"><a href="about.php">About</a></li>
  93. ';
  94. }
  95. ?>
  96. </ul>
  97. </div>
  98. </div>
  99. </nav>
  100. <!--// Content //-->
  101. <div class="container">
  102. <div class="jumbotron">
  103. <h2>Social.Tune - What is it?</h2>
  104. <p> A social networking site:
  105. <ul>
  106. <li>SS-class social network! (+3 CHA bonus, + 5 INT bonus)</li>
  107. <li>Music-centric</li>
  108. <li>Point System && titles</li>
  109. <li>NO targetted Ads. -- Just regular, not-as-creepy ads</li>
  110. <li>User Profiles (Remember mysp**e?)</li>
  111. <li>Government involvement? Hell no, fuck them. (Of course...As we're in the US, we are kind of required by law if they have a warrent...</li>
  112. <li>WTF is a browser game? Farmville? B.S. money scheme. Screw that.</li>
  113. <li>Every band keeps their rights to their own music. We don't own any part of it.</li>
  114. <li>User Verification. You know who you're talking to. (Parents? :D :D :D)</li>
  115. <ul>
  116. <li>Methods: Phone / Letter / Social Confirmations</li>
  117. <li>Verified Users: MOAR FEATURES</li>
  118. <li>UNVERIFIED: Can't search, can't downvote, can't contact under 17 year olds, can't customize their page. </li>
  119. </ul>
  120. <li>What are you waiting for? Be a hipster (Not even launched yet...Sign up)</li>
  121. </ul>
  122. </p>
  123. </div>
  124. <div id="push"></div>
  125. </div>
  126. </div> <!--## ending wrap ##-->
  127. <!--// Footer //-->
  128. <div id="footer">
  129. <div class="container">
  130. <div class="row">
  131. <div class="col-md-4">
  132. <p style="font-size: 12px;">Social.Tune &copy; 2015</p>
  133. </div>
  134. <div class="col-md-8">
  135. <p class="text-right" style="font-size: 12px;">
  136. | <a href="">English</a> | <a href="">汉语</a> | <a href="">日本語</a> |
  137. <a href="">français</a> |<br /> | <a href="">Social-Tune</a> |
  138. <a href="">About Us</a> |<a href="">Contact Us</a> | <a href="">Careers</a> |
  139. <a href="">Privacy</a> | <a href="">License</a> | <a href="">Help</a> |
  140. </p>
  141. </div>
  142. </div>
  143. </div>
  144. </div>
  145. </div>
  146. </body>
  147. </html>