Entry:

db) { // Get the number of entries. $entries = $isis->db->entries(); // Input sanitization. if ($entries < $entry) { $entry = 1; } // Query database. $result = $isis->db->read($entry); // First / prev links. if ($entry != 1) { $prev = $entry - 1; echo 'first '; echo '< prev '; } // Next / last links. if ($entry < $entries) { $next = $entry + 1; echo 'next > '; echo 'last'; } // Format output. echo "
\n";
  echo "Showing entry $entry from $entries total entries.\n";
  echo "\n";
  print_r($result);
  echo '
'; } ?>