Advertisement
Guest User

Untitled

a guest
Apr 20th, 2014
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. <?php
  2. ob_start();
  3. include 'includes/inc.bootstrap.php';
  4. include 'includes/inlog.php';
  5. $pagina = Array('title' => 'Archief');
  6. include 'content/header.php';
  7. include 'content/menu.php';
  8. ?>
  9. <div class="mid">
  10. <?php
  11. include 'content/left.php';
  12. ?>
  13.  
  14. <div class="right">
  15. <div class="group">
  16. <div class="top">Archief</div>
  17. <div class="mid">
  18. <?php
  19. $archiefQuery = DB::Query("SELECT * FROM `HN-Nieuws` ORDER by `id` DESC");
  20. $archiefC = false;
  21. while($archiefFetch = DB::Fetch($archiefQuery)) {
  22. $datum = $site->getFullyDate($archiefFetch['post_tijd'], true, true, false);
  23. if($archiefC == false) {
  24. $archiefC = true;
  25. $archiefO = "bar-greydark";
  26. }else{
  27. $archiefC = false;
  28. $archiefO = "bar-greylight";
  29. }
  30. 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>
  31. geschreven door ' . $archiefFetch['authors'] . ' op ' . $datum . ' in ' . $archiefFetch['categorie'] . '<br>
  32. <img src="' . $archiefFetch['plaatje'] . '" class="headlines" style="margin-top: 10px; float:left;">
  33. ' . $archiefFetch['beschrijving'] . '</div>
  34. ';
  35. }
  36. ?>
  37. </div>
  38. <div class="bot"></div>
  39. </div>
  40.  
  41. </div>
  42. </div>
  43. <?php
  44. include 'content/footer.php';
  45. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement