Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.22 KB | None | 0 0
  1. // [][][][][][][][][][][][][][][][][][] PHP [][][][][][][][][][][][][][][][][][]
  2. <?php
  3. include_once('inc/admin/management.php'); // Include management file.
  4. ?>
  5. <!doctype html>
  6. <html>
  7. <head>
  8. <meta charset="UTF-8">
  9. <title><?php echo $arr2[3] . " | " . $arr1[0] . " of " . $arr2[0]; ?></title>
  10. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  11. <link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
  12. <link rel="stylesheet" href="inc/styling/css/index.css?version=45" type="text/css">
  13. <link rel="stylesheet" href="inc/styling/css/swoopie.css?version=45" type="text/css">
  14. <link href="https://fonts.googleapis.com/css?family=Acme|Berkshire+Swash|Dosis|Gloria+Hallelujah|Hind+Madurai|Indie+Flower|Lato|Lobster|Roboto|Roboto+Condensed|Russo+One|Satisfy|Shadows+Into+Light|Vollkorn+SC" rel="stylesheet">
  15. </head>
  16. <body>
  17. <div id="container">
  18. <!-- Pop Up Box -->
  19. <div id="div2" class="stdPopUpBlack">
  20. <button id="closePopUp" class="stdBtnWhite stdBtnSmall">X</button>
  21. <h2 class="stdFont10 stdFontColorWhite">stdPopUpBlack</h2><br>
  22. <form class="stdForm">
  23. <fieldset>
  24. <legend>a</legend>
  25. <input type="text" name="inp2" placeholder="Inp2" class="stdInputWhite" />
  26. <input type="submit" name="sub2" value="Sub2" class="stdInputWhite" />
  27. <br><input type="radio" id="radio1" name="radio1" value="radio1"><label for="radio1"><span></span>Radio1</label>
  28. <input type="radio" id="radio2" name="radio1" value="radio2"><label for="radio2"><span></span>Radio2</label>
  29. <input type="radio" id="radio3" name="radio1" value="radio3"><label for="radio3"><span></span>Radio3</label>
  30. <br><input type="checkbox" id="checkbox1" name="checkbox1" value="checkbox1" class="checkBoxBlack"><label for="checkbox1"><span></span>Check1</label>
  31. <input type="checkbox" id="checkbox2" name="checkbox1" value="checkbox2" class="checkBoxBlack"><label for="checkbox2"><span></span>Check2</label>
  32. <input type="checkbox" id="checkbox3" name="checkbox1" value="checkbox3" class="checkBoxBlack"><label for="checkbox3"><span></span>Check3</label>
  33. </fieldset>
  34. </form>
  35. </div>
  36.  
  37. <!-- Pages goes here -->
  38. <div id="content">
  39. <!-- Page 1 -->
  40. <div id="page_1">
  41. <div class="stdNavTopBlack stdFont9"><p>a</p></div>
  42. <div class="stdPWrap">
  43. <h2 class="stdFontSizeMedium stdFontColorWhite stdFont1">Test Menu</h2>
  44. <div id="menu" class="stdDivBlack">
  45. <button class="stdBtnWhite stdSizeMediumPlus stdFont10">Btn1</button>
  46. <button id="menuMiddleBtn" class="stdBtnWhite stdSizeMedium stdFont10">Btn1</button>
  47. <button class="stdBtnWhite stdSizeMediumPlus stdFont10">Btn1</button>
  48. <textarea class="stdTextareaBlack stdFontSizeSmall stdFont11" readonly>asdfasc</textarea>
  49. <p class="stdFontColorWhite stdFont3">Swoopie.css</p>
  50. </div>
  51. </div>
  52. </div>
  53. <!-- Page 2 -->
  54. <div id="page_2">
  55. <p>a</p>
  56. </div>
  57. </div>
  58. </div>
  59. <script type="text/javascript">
  60. $(function(){
  61. // Variables, booleans & Arrays
  62. var bool1 = false; // Boolean to check if animation is out
  63. var bool2 = false; // Boolean to check if animation aint wanted
  64.  
  65. $(window).on("scroll touchmove", function(){
  66. if(!bool1 && !bool2) {
  67. $("#div2").addClass("stdAnimationCallPageSlideIn").on("webkitAnimationEnd", function(){
  68. $("#content").addClass("stdAnimationCallPageFadeOut");
  69. });
  70. bool1 = !bool1;
  71. }
  72. });
  73.  
  74. $("#closePopUp").click(function(){
  75. if(bool1){
  76. $("#div2").removeClass("stdAnimationCallPageSlideIn");
  77. $("#div2").addClass("stdAnimationCallPageSlideOut").on("webkitAnimationEnd", function(){
  78. $("#content").addClass("stdAnimationCallPageFadeIn");
  79. $("#content").removeClass("stdAnimationCallPageFadeOut");
  80. $("#div2").removeClass("stdAnimationCallPageSlideOut");
  81. });
  82. bool2 = true;
  83. }
  84. });
  85. });
  86. </script>
  87. </body>
  88. </html>
  89.  
  90. // [][][][][][][][][][][][][][][][][][] CSS [][][][][][][][][][][][][][][][][][]
  91. @charset "UTF-8";
  92. /* CSS Document */
  93.  
  94. /* Common */
  95.  
  96. * {
  97. margin: 0;
  98. padding: 0;
  99. }
  100.  
  101. body {
  102. overflow-x: hidden;
  103. background-color: grey;
  104. }
  105.  
  106. #menu {
  107. height: 200px;
  108. width: 400px;
  109. }
  110.  
  111. #menuMiddleBtn {
  112. margin-left: -4px;
  113. margin-right: -4px;
  114. }
  115.  
  116. #menu textarea {
  117. width: 94.5%;
  118. height: 125px;
  119. }
  120.  
  121. #menu p {
  122. position: relative;
  123. top: -5px;
  124. left: 5px;
  125. }
  126.  
  127.  
  128. /* IGNORE */
  129. #closePopUp {
  130. position: absolute;
  131. right: 5px;
  132. top: 5px;
  133. }
  134.  
  135.  
  136. #page_2 {
  137. position: relative;
  138. top: 1000px;
  139. }
  140.  
  141. // [][][][][][][][][][][][][][][][][][] MANAGEMENT [][][][][][][][][][][][][][][][][][]
  142. <?php
  143. $host = "localhost"; // Server host.
  144. $user = "root"; // Username for phpmyadmin.
  145. $pass = ""; // Password for phpmyadmin.
  146. $base = "swoop_login"; // Database.
  147.  
  148. $connect = mysqli_connect($host, $user, $pass, $base);
  149. if(mysqli_connect_error()){ echo mysqli_connect_errno(); } // Checking database connection.
  150.  
  151. // [][][][][][][][][][][][] - Edit - [][][][][][][][][][][][]
  152. $arr1 = array("Home", "Register", "Login", "Me"); // Webpage titles.
  153. $arr2 = array("Swoop", "Swoop", "Swoop", "Swoopie.xyz"); // Webpage infomation.
  154. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement