Finished (but not debugged) get_archive.php