<?php if (!isset($_GET['url'][0])) { http_response_code(404); header("Location: /404"); die; } include 'php/classes.php'; $category = new Category(); $category->loadByUrl($_GET['url'][0]); if ($category->guid == null) { http_response_code(404); header("Location: /404"); die; } include 'php/header.php'; ?> <div class="container"> <div class="row"> <div class="col-lg-12"> <h1 class="page-header"><?php echo $category->name; ?> <small>Recente verlotingen in deze categorie</small> </h1> <ol class="breadcrumb"> <li><a href="/">Home</a> </li> <li class="active"><?php echo $category->name; ?>