Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html>
- <head>
- <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
- <title>Olimoli Web</title>
- <link rel="stylesheet" type="text/css" href="css/home.css" />
- <link rel="stylesheet" type="text/css" href="css/ui-darkness/jquery-ui-1.8.23.custom.css"/>
- </head>
- <body>
- <div id="wrapper">
- <div id="header">
- <!-- Div is for Shadow Overlay-->
- <div>
- <!-- Title -->
- <br />
- <br />
- <br />
- <br />
- <img src="images/header.png" />
- </div>
- </div>
- <div id="body">
- <div id="tabs">
- <ul>
- <li><a href="#fragment-1"><span>Home</span></a></li>
- <li><a href="#fragment-3"><span>Projects</span></a></li>
- </ul>
- <div id="fragment-1">
- <p>Welcome to my website!</p>
- <p>On this page you will find all of my creative projects within the projects tab, feel free to explore!</p>
- </div>
- <div id="fragment-2">
- <p>Projects</p>
- <?php
- $path = 'projects/Progress/' . $name[0];
- $results = scandir($path);
- echo 'Your current folders include:';
- echo '<br>';
- foreach ($results as $result) {
- if ($result === '.' or $result === '..') continue;
- if (is_dir($path . '/' . $result)) {
- echo $result;
- if (file_exists("projects/Progress/".$result."/icon.jpg"))
- {
- echo "<div id='thumbnails'>";
- echo "<img src=projects/Progress/".$result."/icon.jpg>";
- echo "</div>";
- }
- else
- {
- }
- }
- else {
- echo "No Projects Found";
- }
- }
- ?>
- </div>
- <div id="fragment-3">
- <p>Portfolio</p>
- </div>
- </div>
- </div>
- </div>
- </body>
- <!-- Import jQuery-->
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
- <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
- <script src="js/mBG.js" type="text/javascript" charset="utf-8"></script>
- <script>
- $(document).ready(function() {
- $("#tabs").tabs();
- });
- </script>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement