Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <?php
- require_once "funtions/functions.php";
- $news = getNews();
- ?>
- <meta charset="utf-8">
- <title>MySite1 Main</title>
- <link rel="stylesheet" href="css/style.css" type="text/css">
- </head>
- <body>
- <div id="main-wrapper">
- <?php require_once "blocks/header.php" ?>
- <div class="content">
- <?php
- for ($i = 0; $i < count($news); $i++) {
- echo '<p>'.$news[$i]["TEXT"].'</p>';
- echo '<p>'.$news[$i]["TEXT"].'</p>';
- echo '<p>'.$news[$i]["TEXT"].'</p>';
- // echo "<p>uihidf</p>";
- }
- ?>
- </div>
- <div class="appendix"></div>
- </div>
- <?php require_once "blocks/footer.php" ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement