Advertisement
Guest User

Untitled

a guest
Aug 29th, 2012
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.21 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html>
  4. <head>
  5. <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
  6. <title>Olimoli Web</title>
  7. <link rel="stylesheet" type="text/css" href="css/home.css" />
  8. <link rel="stylesheet" type="text/css" href="css/ui-darkness/jquery-ui-1.8.23.custom.css"/>
  9. </head>
  10.  
  11. <body>
  12. <div id="wrapper">
  13. <div id="header">
  14.  
  15. <!-- Div is for Shadow Overlay-->
  16. <div>
  17. <!-- Title -->
  18. <br />
  19. <br />
  20. <br />
  21. <br />
  22. <img src="images/header.png" />
  23. </div>
  24. </div>
  25. <div id="body">
  26. <div id="tabs">
  27. <ul>
  28. <li><a href="#fragment-1"><span>Home</span></a></li>
  29. <li><a href="#fragment-3"><span>Projects</span></a></li>
  30. </ul>
  31. <div id="fragment-1">
  32. <p>Welcome to my website!</p>
  33. <p>On this page you will find all of my creative projects within the projects tab, feel free to explore!</p>
  34. </div>
  35. <div id="fragment-2">
  36. <p>Projects</p>
  37. <?php
  38.  
  39. $path = 'projects/Progress/' . $name[0];
  40. $results = scandir($path);
  41. echo 'Your current folders include:';
  42. echo '<br>';
  43. foreach ($results as $result) {
  44. if ($result === '.' or $result === '..') continue;
  45.  
  46. if (is_dir($path . '/' . $result)) {
  47. echo $result;
  48.  
  49. if (file_exists("projects/Progress/".$result."/icon.jpg"))
  50. {
  51. echo "<div id='thumbnails'>";
  52. echo "<img src=projects/Progress/".$result."/icon.jpg>";
  53. echo "</div>";
  54. }
  55. else
  56. {
  57. }
  58. }
  59. else {
  60. echo "No Projects Found";
  61. }
  62. }
  63.  
  64. ?>
  65. </div>
  66. <div id="fragment-3">
  67. <p>Portfolio</p>
  68. </div>
  69. </div>
  70. </div>
  71. </div>
  72. </body>
  73.  
  74. <!-- Import jQuery-->
  75. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
  76. <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
  77.  
  78. <script src="js/mBG.js" type="text/javascript" charset="utf-8"></script>
  79. <script>
  80. $(document).ready(function() {
  81. $("#tabs").tabs();
  82. });
  83. </script>
  84. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement