turt2live

Untitled

Apr 29th, 2012
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.67 KB | None | 0 0
  1. <?php
  2. include "inc.php";
  3. ?>
  4. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  5. <html>
  6. <head>
  7.     <link rel="stylesheet" type="text/css" href="style.css">
  8.     <link rel="icon" type="image/ico" href="favicon.ico">
  9.     <title>Pony Gladiators</title>
  10.     <script type='text/javascript' src="jquery.js"></script>
  11.     <script type='text/javascript' src='script.js'></script>
  12. </head>
  13. <body>
  14. <div class='wrapper'>
  15.     <div class='header'>
  16.         &nbsp;
  17.     </div>
  18.     <?php
  19.         if(isset($_GET['mess']) && !empty($_GET['mess'])){
  20.             $col = "red";
  21.             if(isset($_GET['messColor']) && !empty($_GET['messColor'])){
  22.                 $col = $_GET['messColor'];
  23.             }
  24.             echo "<div class='message' style='background:".$col."'>".$_GET['mess']."</div>";
  25.         }
  26.     ?>
  27.     <div class='content'>
  28.         <p>
  29.             Testing content
  30.         </p>
  31.     </div>
  32.     <div class='sidebar'>
  33.         <ul>
  34.             <li><a href='index.php'>Home</a></li>
  35.             <?php
  36.                 if(!isLoggedIn()){
  37.                 ?>
  38.                     <li><a href='login.php'>Login</a></li>
  39.                     <li><a href='register.php'>Register</a></li>
  40.                 <?php
  41.                 }else{
  42.                 ?>
  43.                     <li><a href='manage.php'>Manage Account</a></li>
  44.                     <li><a href='register.php'>Logout</a></li>
  45.                 <?php
  46.                 }
  47.             ?>
  48.             <li><a href='download.php'>Download</a></li>
  49.             <li><a href='about.php'>About</a></li>
  50.             <li><a href='contact.php'>Contact</a></li>
  51.         </ul>
  52.     </div>
  53.     <div class='footer'>
  54.         <p>
  55.             Characters, images, themes, and names are copyright of their respective owners. Source Code and idea are copyright of Turt2Live Programming (Travis Ralston) 2012. <br>
  56.             Special thanks to JawaGrunt, Technodork, and many others who helped with the project!
  57.         </p>
  58.     </div>
  59. </div>
  60. </body>
  61. </html>
Advertisement
Add Comment
Please, Sign In to add comment