Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>RedScrape[MC]</title>
- <link rel="stylesheet" type="text/css" href="./css/main.css" />
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
- <script src="./scripts/hs.js"></script>
- </head>
- <body>
- <div class="header">
- <h1>RedScrape</h1><h1>[<span id="m">M</span><span id="c">C</span>]</h1></br>
- <?php
- $xml=simplexml_load_file("MC.xml");
- foreach($xml->POST as $post)
- {
- print "<div class='mc'><div class='post'>";
- print "<b>TITLE: </b><a class='title' href=". $post->LINK ." target='_new'>" . $post->TITLE . "</a>";
- print "</br>";
- print "<div class='jqu'><b>MEDIA: </b><a class='media' href=". $post->MEDIA ." target='_new'>" . $post->MEDIA . "</a></div>";
- print "</div></div>";
- }
- ?>
- </body>
- </html>
Add Comment
Please, Sign In to add comment