| 123456789101112131415161718192021222324 |
- <style >
- #table_respond td, #table_respond th{padding:0.35rem !important}
- </style>
- <table class="table" id="table_respond">
- <tr>
- <td style="border-top:4px solid gray; border-bottom:4px solid gray" colspan="2"><b><?php echo _('Specialist respond'); ?></b></td>
- </tr>
-
- <?php if(is_array($comments) && !empty($comments)): ?>
- <?php foreach($comments as $index => $comment): ?>
-
- <tr style="border-bottom: 1px solid gray; <?php echo $comment['is_the_author'] ? 'background-color:#cccccc' :'' ?>">
- <td style="border-top: none !important" ><?php echo _('From'); ?>: <b><?php echo ucwords($comment['user_surname']).' '.ucwords($comment['user_name']); ?><?php echo $comment['show_specialties'] ? ' ('.$comment['medspec_list'].')':'' ?></b></td>
- <td style="border-top: none !important; width:25%; text-align:right"><?php echo date('d/m/Y H:i', strtotime($comment['created_at'])); ?></td>
- </tr>
- <tr>
- <td colspan="2" style="border-top: none !important" ><?php echo $comment['comment']; ?></td>
- </tr>
-
- <?php endforeach; ?>
- <?php else: ?>
- <div class="alert alert-info"><?php echo _('No comments so far.'); ?></div>
- <?php endif; ?>
- </table>
|