Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>Xing's Blog</title>
- <link rel="icon" href="/favicon.ico" type="image/x-icon" />
- <link rel="stylesheet" type="text/css" href="/Style.css" />
- <link rel="stylesheet" type="text/css" href="/Blog/Style.css" />
- <meta name="description" content="Xing's Useless Site" />
- <meta name="author" content="Michael Xing" />
- <meta charset="UTF-8" />
- <script type="text/javascript" src="/Init.js"></script>
- </head>
- <body onload="InitScript('NBlog', 'Blog');">
- <a href="/"><img src="/Logo.png" alt="Xing's Site" /></a>
- <div class="MainContainer">
- <nav id="NavBar">
- <br /><hr />
- <h4>Navigation</h4>
- <hr />
- <noscript><img width="100px" height="100px" src="/Error.png" alt="ERROR"/><h1>Y U NO JAVA-<br />SCRIPT<br />?!?!?!</h1>You must have Javascript enabled to use this site. Sorry about that, but I'm too lazy to make all the pages PHP based.</noscript>
- </nav>
- <div class="MainContent">
- <br /><hr />
- <article>
- <!--Begin PHP Generated Cr@p - Sorry About The Weird Formatting-->
- <?php
- require 'Includes.php';
- $PostId = $_GET["pid"];
- $blogPost = GetBlogPosts($PostId, null);
- foreach ($blogPost as $post){
- $splitDate = explode("/", $post->datePosted);
- $realDate = $splitDate[2] . "-" . $splitDate[0] . "-" . $splitDate[1];
- echo "<h1><time datetime='" . $realDate . "'>" . $post->datePosted . "</time> - " . $post->title . "</h1>";
- echo "<hr />";
- echo "<h3><a class='BlogLink' href='/Blog'>← Back to Blog</a></h3>";
- echo "<hr />";
- echo $post->post;
- echo "<span class='ByLine'><b>Posted By:</b> " . $post->author . " <b>- Tags:</b> " . $post->tags . "</span>";
- }
- ?>
- <!--End PHP Generated Cr@p - Resume Normal Formatting-->
- </article>
- <hr />
- <h3><a class="BlogLink" href="/Blog">← Back to Blog</a></h3>
- <hr /><br />
- </div>
- </div>
- <br />
- <footer class="PageFooter" id="PageFooter">
- </footer>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement