Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- ob_start();
- include 'includes/inc.bootstrap.php';
- include 'includes/inlog.php';
- $pagina = Array('title' => 'Archief');
- include 'content/header.php';
- include 'content/menu.php';
- ?>
- <div class="mid">
- <?php
- include 'content/left.php';
- ?>
- <div class="right">
- <div class="group">
- <div class="top">Archief</div>
- <div class="mid">
- <?php
- $archiefQuery = DB::Query("SELECT * FROM `HN-Nieuws` ORDER by `id` DESC");
- $archiefC = false;
- while($archiefFetch = DB::Fetch($archiefQuery)) {
- $datum = $site->getFullyDate($archiefFetch['post_tijd'], true, true, false);
- if($archiefC == false) {
- $archiefC = true;
- $archiefO = "bar-greydark";
- }else{
- $archiefC = false;
- $archiefO = "bar-greylight";
- }
- echo'<div class="'. $archiefO .'"><a href="../nieuws?id=' . $archiefFetch['id'] . '" style="text-decoration: none !important;"><span style="font-size: 18px; color: #000; font-weight: bold;">' . $archiefFetch['titel'] . '</span></a><br>
- geschreven door ' . $archiefFetch['authors'] . ' op ' . $datum . ' in ' . $archiefFetch['categorie'] . '<br>
- <img src="' . $archiefFetch['plaatje'] . '" class="headlines" style="margin-top: 10px; float:left;">
- ' . $archiefFetch['beschrijving'] . '</div>
- ';
- }
- ?>
- </div>
- <div class="bot"></div>
- </div>
- </div>
- </div>
- <?php
- include 'content/footer.php';
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement