function showArchivalProjectsTable()
{
    $db = new SqliteDb('archives.sqlite');
    createHtmlPage("Archival Projects", getTableStyle());
    switch (rq('table')) {
        case 'archives':
            echo '<h1>Archival Projects Reference</h1>';
            echo '<table id="archivalprojectsTable">';
            echo '<tr><th>ID</th><th>Source URL</th><th>Scope of project</th><th>URL of archived data</th><th class="highlightedCell">Status of project</th></tr>';
            if (rq('editTable', true) == 'true') {
                echo $db->editTable("archives", "archives");
            } else {
                echo $db->displayTable("archives", "archives", array("status" => "Done"));
            }
            echo '</table>';
            break;
        case 'encodings':
            echo '<h1>Data for known encodings</h1>';
            break;
    }
    endHtmlPage();
    $db->close();
}