funchat/modules/chat/templates/default/chat.tpl

23 lines
728 B
Smarty

<div class="twelve columns">
<h2>Chat:</h2>
<form name="form" id="chatform" action="/chat/in" method="post">
Raum: <select name="room">
{foreach from=$options item=option}
<option value="{if $option.value==''}{$option.room}{else}{$option.value}{/if}" {$option.selected}>{$option.room}</option>
{/foreach}
</select>
<a href="//funch.at/chat/online.html" target="_blank">Es {$befinden} {$usercount} User im Chat.</a>
<br /><br />
<input type="submit" value="Eintreten" /><br />
<br /><br />
</form>
<h1 class="block">Derzeit Online</h1>
<div class="online">
{foreach from=$user item=i}
<strong>Raum:</strong> {$i.room}<br /><hr />
{$i.users}<br /><br />
{foreachelse}
Sorry, niemand online:-(
{/foreach}
</div>
</div>