mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-19 13:46:13 +00:00
log + reply ingame page
This commit is contained in:
parent
22b1eaec86
commit
16fc5276f2
3 changed files with 3 additions and 3 deletions
|
@ -28,7 +28,7 @@ class Ticket_Log{
|
|||
//return all logs that are related to a ticket
|
||||
public static function getLogsOfTicket( $ticket_id) {
|
||||
$dbl = new DBLayer("lib");
|
||||
$statement = $dbl->execute("SELECT * FROM ticket_log INNER JOIN ticket_user ON ticket_log.Author = ticket_user.TUserId and ticket_log.Ticket=:id ORDER BY ticket_log.TLogId DESC", array('id' => $ticket_id));
|
||||
$statement = $dbl->execute("SELECT * FROM ticket_log INNER JOIN ticket_user ON ticket_log.Author = ticket_user.TUserId and ticket_log.Ticket=:id ORDER BY ticket_log.TLogId ASC", array('id' => $ticket_id));
|
||||
$row = $statement->fetchAll();
|
||||
$result = Array();
|
||||
foreach($row as $log){
|
||||
|
|
|
@ -100,7 +100,7 @@
|
|||
<span class="label label-warning"><strong><i class="icon-star icon-white"></i>{if isset($isMod) and $isMod eq "TRUE"} <a href="index.php?page=show_user&id={$reply.authorExtern}"><font color="red"> {$reply.author}</font>{else} {$reply.author} {/if}</a></strong></span>
|
||||
{/if}
|
||||
</p>
|
||||
<p><pre> {if $reply.hidden eq 1}{/if}{$reply.replyContent}{if $reply.hidden eq 1}{/if}</pre></p>
|
||||
<p><pre>{$reply.replyContent}</pre></p>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<table class="table table-bordered" >
|
||||
<tr>
|
||||
<td>
|
||||
<p><span class="label label-info"> {$reply_timestamp} {$author_permission}</span>
|
||||
<p><span class="label label-info"> {$reply_timestamp}</span>
|
||||
{if $author_permission eq '1'}
|
||||
<span class="label label-success"><strong><i class="icon-user icon-white"></i>{if isset($isMod) and $isMod eq "TRUE"} <a href="index.php?page=show_user&id={$author}"><font color="white"> {$authorName}</font>{else} {$authorName} {/if}</a></strong></span></p>
|
||||
{else if $author_permission gt '1'}
|
||||
|
|
Loading…
Reference in a new issue