force sync from /var/www/html/panel: 2025-09-08T20:36:30Z
This commit is contained in:
commit
4f717c9ee8
18119 changed files with 2566034 additions and 0 deletions
54
ControlPanel/modules/teamspeak3/templates/new/logview.tpl
Executable file
54
ControlPanel/modules/teamspeak3/templates/new/logview.tpl
Executable file
|
|
@ -0,0 +1,54 @@
|
|||
{if isset($permoverview['b_virtualserver_log_view']) AND empty($permoverview['b_virtualserver_log_view'])}
|
||||
<table class="border" style="width:50%;" cellpadding="1" cellspacing="0">
|
||||
<tr>
|
||||
<td class="thead">{$lang['error']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="green1">{$lang['nopermissions']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
{else}
|
||||
<br />
|
||||
<table class="border" style="width:90%" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td>
|
||||
<form method="post" action="index.php?site=logview&sid={$sid}">
|
||||
<input type="hidden" name="begin_pos" value="{$begin_pos}"/>
|
||||
<input type="submit" name="showmore" value="{$lang['showmoreentrys']}" />
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:20%" class="thead">{$lang['date']}</td>
|
||||
<td style="width:5%" class="thead">{$lang['level']}</td>
|
||||
<td style="width:10%" class="thead">{$lang['type']}</td>
|
||||
<td style="width:10%" class="thead">{$lang['serverid']}</td>
|
||||
<td style="width:55%" class="thead">{$lang['message']}</td>
|
||||
</tr>
|
||||
|
||||
{if !empty($serverlog)}
|
||||
{foreach key=key item=value from=$serverlog}
|
||||
{if empty($smarty.post.type.error) AND empty($smarty.post.type.warning) AND empty($smarty.post.type.debug) AND empty($smarty.post.type.info) OR $smarty.post.type.error == $value['level'] OR $smarty.post.type.warning == $value['level'] OR $smarty.post.type.debug == $value['level'] OR $smarty.post.type.info == $value['level']}
|
||||
{if $change_col % 2} {assign var=td_col value="green1"} {else} {assign var=td_col value="green2"} {/if}
|
||||
<tr>
|
||||
<td class="{$td_col}">{$value[0]}</td>
|
||||
<td class="{$td_col}">{$value[1]}</td>
|
||||
<td class="{$td_col}">{$value[2]}</td>
|
||||
<td class="{$td_col}">{$value[3]}</td>
|
||||
<td class="{$td_col}">{$value[4]}</td>
|
||||
</tr>
|
||||
|
||||
{assign var=change_col value="`$change_col+1`"}
|
||||
{/if}
|
||||
{/foreach}
|
||||
{/if}
|
||||
<tr>
|
||||
<td>
|
||||
<form method="post" action="index.php?site=logview&sid={$sid}">
|
||||
<input type="hidden" name="begin_pos" value="{$begin_pos}"/>
|
||||
<input type="submit" name="showmore" value="{$lang['showmoreentrys']}" />
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/if}
|
||||
Loading…
Add table
Add a link
Reference in a new issue