" . _('Results for') . " "$restrict"
\n"; } ?>

\n"; $_data = Query::sql($sql); if ($_data['num_rows'] > 0) foreach($_data['data'] as $row) { print "
\n"; #$asset = get_content_details('Person','thumbnail',$row['PersonId']); $asset = get_content_details('Person','web_high',$row['PersonId']); if (sizeof($asset) > 0 && file_exists("content/{$asset['File']}")) { print ""; print ""; print "\n"; } else { print ""; } print "
\n"; print "

{$row['PersonKeyNames']}, {$row['PersonNamesBeforeKey']}

\n"; $paras = false; if (strpos($row['BiographicalNote'],'

') > 0) $paras = true; if ( strlen($row['BiographicalNote']) > 300 ) { $pos = strpos($row['BiographicalNote'], '.'); while ( $pos && $pos < 300 ) { $last_pos = $pos; $pos = strpos($row['BiographicalNote'], '.', $pos + 1); } if ( $pos == "" ) { print $row['BiographicalNote']; } else { print substr($row['BiographicalNote'],0,$pos+1); if ( strlen($row['BiographicalNote']) > ($pos + 1) ) { print " ....."; } print "

"; } } else { print $row['BiographicalNote']; } print "
\n"; print "
\n"; } ?>