getClass("photo"); $photo = $class->get($id); include "templates/view.php"; ?>