<?php
$sql = "SELECT " . $table . ".Jahr, " . $table . ".ID, " . PREFIX . "_Kontakte.Firma, " . PREFIX . "_Kontakte.Nachname, " . PREFIX . "_Kontakte.Vorname FROM " . $table . " LEFT JOIN " . PREFIX . "_Kontakte ON " . $table . ".Kontakt_ID = " . PREFIX . "_Kontakte.ID " . $Abfrage . " ORDER BY " . $table . ".Jahr DESC, " . $table . ".ID DESC;";
$result = $db->query($sql);
include __DIR__ . "/sv_overview.php";