get_record($bibid); $record['info_keys'] = $p->detail_keys; $record['is_saved'] = true; $records[] = $record; } } $sm->assign("records", $records); header("Content-Type: text/html; charset=utf-8"); $sm->display("pages/saved_list.html"); } catch (Exception $e) { $sm->assign("error", $e->GetMessage()); $sm->display("responses/error.html"); } ?>