Svira
Active Member
- Joined
- Jan 27, 2008
- Messages
- 269
- Solutions
- 11
- Reaction score
- 37
Hello
easy but userfull script.
in index.tpl below:
Add this:
You can see this on SviraOtserver
easy but userfull script.
in index.tpl below:
PHP:
<h1>Server status</h1><br />
{foreach from=$worlds key=id item=world}
<b>World:</b> {$world} <br />
<b>Status:</b>
{if $serverOnline[$id]}
<font color='green'>Online</font><br />
<b>Uptime:</b> {$serverUptime[$id]} <br />
<b>Players:</b> {$serverPlayers[$id]}/{$serverMax[$id]}<br /><br />
{else}
<font color='red'>Offline</font><br />
{/if}
{/foreach}
PHP:
<h1>Server Details</h1><br />
<li>Exp: 180x -> 5</li>
<li>Magic: 5x</li>
<li>Loot: 1*1,4</li>
<li>PVP: 50 level.</li>
<script language="JavaScript">
TargetDate = "09/01/2010 8:00 PM";
CountActive = true;
CountStepper = -1;
LeadingZero = false;
DisplayFormat = "<li>Too start left:<br/> %%D%% D, %%H%% H, %%M%% M %%S%% S!</li>";
<li>by svira</li>