<div class="table-wrap">
    <div class="table-responsive">
        <table class="table table-sm text-white">
            <tbody>
                <tr>
                    <td width="20%"><?php echo $this->lang->line('title'); ?></td>
                    <td width="30%"><?php echo $video->title; ?></td>
                    <td width="20%"><?php echo $this->lang->line('bn_title'); ?></td>
                    <td width="30%"><?php echo $video->bn_title; ?></td>
                </tr>
                <tr>
                    <td><?php echo $this->lang->line('sort_by'); ?></td>
                    <td><?php echo $video->sort_by; ?></td>
                    <td><?php echo $this->lang->line('image'); ?></td>
                    <td>
                        <div class="avatar">
                            <?php if ($video->image) { ?>
                                <img class="avatar-img rounded" src="<?php echo UPLOAD_PATH; ?>gallery-image/<?php echo $video->image; ?>" alt="<?php echo $video->title; ?>" />
                            <?php } ?>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td><?php echo $this->lang->line('is_view_on_web'); ?></td>
                    <td><?php echo $video->is_view_on_web ? '<span class="badge badge-success">' . $this->lang->line('yes') . '</span>' : '<span class="badge badge-danger">' . $this->lang->line('no') . '</span>'; ?></td>
                    <td><?php echo $this->lang->line('status'); ?></td>
                    <td><?php echo $video->status ? '<span class="badge badge-success">' . $this->lang->line('active') . '</span>' : '<span class="badge badge-danger">' . $this->lang->line('in_active') . '</span>'; ?></td>
                </tr>
                <tr>
                    <td colspan="4"><?php echo $this->lang->line('description'); ?></td>
                </tr>
                <tr>
                    <td colspan="4"><?php echo $video->description; ?></td>
                </tr>
                <tr>
                    <td colspan="4"><?php echo $this->lang->line('bn_description'); ?></td>
                </tr>
                <tr>
                    <td colspan="4"><?php echo $video->bn_description; ?></td>
                </tr>
                <tr>
                    <td><?php echo $this->lang->line('created_by'); ?></td>
                    <td><?php echo $video->created_by; ?></td>
                    <td><?php echo $this->lang->line('date'); ?></td>
                    <td><?php echo date('M, d, Y h:ia', strtotime($video->created_at)); ?></td>
                </tr>
                <tr>
                    <td><?php echo $this->lang->line('modified_by'); ?></td>
                    <td><?php echo $video->modified_by; ?></td>
                    <td><?php echo $this->lang->line('date'); ?></td>
                    <td><?php echo $video->modified_by ? date('M, d, Y h:ia', strtotime($video->modified_at)) : ''; ?>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
</div>