45 lines
2.0 KiB
HTML
45 lines
2.0 KiB
HTML
<div class="context-main-bg context-main p-3">
|
|
<legend class="text-center">Recent Comments</legend>
|
|
<hr>
|
|
{ADMIN_BREADCRUMBS}
|
|
<form action="{ROOT_URL}admin/comments/delete" method="post">
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th style="width: 20%">Author</th>
|
|
<th style="width: 20%">Subject</th>
|
|
<th style="width: 35%">Comment</th>
|
|
<th style="width: 10%">Time</th>
|
|
<th style="width: 5%"></th>
|
|
<th style="width: 5%"></th>
|
|
<th style="width: 5%">
|
|
<INPUT type="checkbox" onchange="checkAll(this)" name="check.c" value="C_[]">
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{LOOP}
|
|
<tr>
|
|
<td><a href="{ROOT_URL}admin/users/view/{author}">{authorName}</a></td>
|
|
<td><a href="{ROOT_URL}admin/blog/view/{contentID}">{contentTitle}</a></td>
|
|
<td>{content}</td>
|
|
<td>{DTC}{created}{/DTC}</td>
|
|
<td><a href="{ROOT_URL}admin/comments/edit/{ID}" class="btn btn-sm btn-warning"><i class="fa fa-fw fa-pencil"></i></a></td>
|
|
<td><a href="{ROOT_URL}admin/comments/delete/{ID}" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></a></td>
|
|
<td>
|
|
<input type="checkbox" value="{ID}" name="C_[]">
|
|
</td>
|
|
</tr>
|
|
{/LOOP}
|
|
{ALT}
|
|
<tr>
|
|
<td align="center" colspan="7">
|
|
No results to show.
|
|
</td>
|
|
</tr>
|
|
{/ALT}
|
|
</tbody>
|
|
</table>
|
|
<button name="submit" value="submit" type="submit" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></button>
|
|
</form>
|
|
</div> |