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