function _shn_get_victim_records() { //print($_GET['eid']); $res = Browse::getSourceRecords($_GET['eid']); $person = new Person(); ?> <table class="table table-bordered table-striped table-hover"> <thead> <tr><th><?php echo _t('VICTIM'); ?> </th></tr> <tr> <th><?php echo _t('SOURCE'); ?> </th> <th><?php echo _t('INTERVENTION'); ?> </th> <th><?php echo _t('DATE'); ?> </th> </tr> </thead> <tbody> <?php foreach ($res as $record) { ?> <tr> <td><?php $person->LoadFromRecordNumber($record['source']); echo $person->name . ' ' . $person->other_names; ?> </td> <td><?php $person->LoadFromRecordNumber($record['intervening_party']); echo $person->name . ' ' . $person->other_names; ?> </td> <td><?php echo $records['date_of_intervention']; ?> </td> </tr> <?php } ?> </tbody> </table> <?php }