Skip to content
Snippets Groups Projects
milliways.tpl 628 B
Newer Older
  • Learn to ignore specific revisions
  • {include file="../static/fragments/Milliways.txt"}
    
    <h2>Current Milliways Users</h2>
    {if $people|@count < 1}
    <p>No-one logged on to Milliways</p>
    {else}
    <table class="border">
        <tr>
    	<th>Username</th>
    	<th>Idle time</th>
    	<th>What</th>
        </tr>
        {foreach name=people from=$people key=personnum item=person}
        <tr>
    	<td>{$person.username}</td>
    	<td>{$person.idle}</td>
    	<td>{$person.what}</td>
        </tr>
        {/foreach}
    </table>
    {/if}
    
    <a href="#" onclick="window.open('/mw/','Milliways','height=380,width=610,menubar=no,resizable=no,location=no,directories=no,scr
    ollbars=no,status=no,toolbar=no')">Use Milliways now</a>