Guest User

register

a guest
Sep 29th, 2016
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.01 KB | None | 0 0
  1. <!doctype html>
  2. <!-- This is the Main code to copy and paste into the start of nearly every page, this contains the Title(which needs to be changed per page) but the navigation bars should be perfect. -->
  3. <html>
  4.  
  5.  
  6. <head>
  7. <title>Blog|Cats In The Cradle|Project</title>
  8. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
  9. <script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/jquery.validate.min.js"></script>
  10.  
  11. <link rel="stylesheet" href="CSS.css" />
  12.  
  13. <style>
  14. html,body{
  15. height:100%;
  16.  
  17. }
  18. .newspaper {
  19. -webkit-columns: 100px 3; /* Chrome, Safari, Opera */
  20. -moz-columns: 100px 3; /* Firefox */
  21. columns: 100px 3;
  22. }
  23. </style>
  24. <script>
  25. $(document).ready(function() {
  26.  
  27. $('#signup').validate({
  28.  
  29. rules : {
  30.  
  31. username : {
  32. required : true,
  33. minlength : 3
  34.  
  35. },
  36. email : {
  37. email: true,
  38. required : true
  39. },
  40. password : 'required',
  41. firstname : 'required',
  42. lastname : 'required',
  43. confirm email : 'required'
  44.  
  45.  
  46. }
  47.  
  48. });
  49. });
  50. </script>
  51.  
  52.  
  53.  
  54. </head>
  55.  
  56. <body>
  57.  
  58.  
  59.  
  60. <div style="height:160px; "> <!-- first div -->
  61. <h1>Cats In The Cradle</h1>
  62. <h2>Create the purrrfect blog</h2>
  63. <div style="position:relative; bottom:140px; left: 50px">
  64. <img src="black_cat1.gif" alt ="Cat" width=150px; height=150px/>
  65. </div>
  66. </div>
  67. <!-- first div finish -->
  68.  
  69.  
  70. <div style="height:10px;"> <!-- Navigation Bar -->
  71.  
  72. <ul style="position: relative; bottom:10px">
  73. <li><a class="active" href="home.html">Home</a></li>
  74. <li><a href="health.html">Health</a></li>
  75. <li><a href="food.html">Food</a></li>
  76. <li><a href="lifestyle.html">Lifestyle</a></li>
  77. <li><a href="subscribe.html">Subscribe</a></li>
  78. <li><a href="contact.html">Contact</a></li>
  79. <li><input type="search" name="search" placeholder="Search"></li>
  80. </ul>
  81. </div>
  82.  
  83. <a href="index.jsp">Home</a>
  84. <hr>
  85. <h1 style= "positive:relative; left:10px">Register here</h1>
  86. <form action="RegisterController" method="post" id="signup">
  87. <table id="simple">
  88. <tr>
  89. <td>Username:</td>
  90. <td><input type="text" name="username" id="username" required
  91. maxlength="15" /></td>
  92. </tr>
  93. <tr>
  94. <td>Password:</td>
  95. <td><input type="password" name="password" size="23" required /></td>
  96. </tr>
  97. <tr>
  98. <td>Email:</td>
  99. <td><input type="text"
  100. name="email" size=30 required /></td>
  101. </tr>
  102. <tr>
  103. <td>Confirm Email:</td>
  104. <td><input type="text"
  105. name="confirm email" size=30 required/></td>
  106. </tr>
  107. <tr>
  108. <td>First Name:</td>
  109. <td><input type="text"
  110. name="firstname" size="30" required/></td>
  111. </tr>
  112. <tr>
  113. <td>Last Name:</td>
  114. <td><input type="text"
  115. name="lastname" size="30" required /></td>
  116. </tr>
  117. <tr>
  118. <td>Send Mail?:</td>
  119. <td><input type="checkbox" name="cbSendMail" value="true"
  120. checked /></td>
  121. <tr>
  122. <td><input type="submit" value="Submit Details"
  123. name="subbutton" /></td>
  124. </tr>
  125. </table>
  126. </form>
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134. </body>
  135. </html>
Add Comment
Please, Sign In to add comment