diff options
Diffstat (limited to 'modules/rudi/views/view.profile.php')
-rw-r--r-- | modules/rudi/views/view.profile.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/rudi/views/view.profile.php b/modules/rudi/views/view.profile.php index 1010985..6135ea4 100644 --- a/modules/rudi/views/view.profile.php +++ b/modules/rudi/views/view.profile.php @@ -116,13 +116,13 @@ define('BLOCK_RIGHT_DISABLE', true); <th class="header" scope="col" colspan="3">Service Record</th> </tr> <tr> - <?php decho($member->service_record); if($this->evalData($member->service_record)):?> + <?php if($this->evalData($member->service_record)):?> <td>No service record available </td> <?php else:?> <?php foreach($member->service_record as $record): ?> <tr> <th class="header" width="25%"><?php echo date('M j, Y', strtotime($record->date_added)); ?> </th> - <td style="text-align:left;"><?php echo $record->record_note; ?> </td> + <td><?php echo $record->record_note; ?> </td> </tr> <?php endforeach; ?> <?php endif; ?> @@ -141,7 +141,7 @@ define('BLOCK_RIGHT_DISABLE', true); <?php else:?> <?php foreach($member->award_record as $record): ?> <tr> - <th class="header" width="25%"><?php echo $record->date_added; ?> </th> + <th class="header" width="25%"><?php echo date('M j, Y', strtotime($record->date_added)); ?> </th> <td ><?php echo $this->evalData($record->award_name); ?> </td> <td style="vertical-align:middle;"><center><img src="modules/rudi/images/medals/<?php echo $record->image; ?>"/></center></td> <td width="40%"><?php echo $record->record_note; ?> </td> @@ -163,7 +163,7 @@ define('BLOCK_RIGHT_DISABLE', true); <?php else:?> <?php foreach($member->combat_record as $record): ?> <tr> - <th class="header" width="25%"><?php echo $record->date; ?> </th> + <th class="header" width="25%"><?php echo date('M j, Y', strtotime($record->date_added)); ?> </th> <td><a href="<?php echo $record->website; ?>"><?php echo $record->name; ?></a> </td> <td><?php echo $record->status; ?> </td> </tr> |