formInputText('entry', $entry); $form .= $display->radios('fid', $isis->getFieldNames(), $fid); $script = basename(__FILE__); $display->form($form, $script); // Query database. $field = $isis->getFieldArray($fid); list($entry, $result) = $isis->nextRepetition($field, $entry); // Navigation bar. $display->navbar($entry, $isis->entries, $script, '&fid='. $fid); // Format output. $display->pre("Selected field: $fid: ". $field['name'] ."."); $display->pre("Showing entry ". $display->entryLink($entry) ." from ". $isis->entries ." total entries."); $display->pre("Repetitions found: ". count($result[$field['name']]) ."."); $display->pre($display->fieldLink($entry, $fid)); $display->dump($result[$field['name']]); } $display->footer();