mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-14 15:07:03 +02:00
orig theme renamed to mobile
This commit is contained in:
30
webui/view/theme/mobile/templates/stat/online.tpl
Normal file
30
webui/view/theme/mobile/templates/stat/online.tpl
Normal file
@ -0,0 +1,30 @@
|
||||
|
||||
<h4><?php print $text_online_users; ?>, <?php print $text_refresh_period; ?>: <?php print HEALTH_REFRESH; ?> sec</h4>
|
||||
|
||||
<div class="listarea">
|
||||
|
||||
<?php if(isset($users)){ ?>
|
||||
|
||||
<div id="ss1">
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php print $text_username; ?></div>
|
||||
<div class="domaincell"><?php print $text_ipaddr; ?></div>
|
||||
<div class="domaincell"><?php print $text_logged_in; ?></div>
|
||||
<div class="domaincell"><?php print $text_last_activity; ?></div>
|
||||
</div>
|
||||
|
||||
<?php foreach($users as $user) { ?>
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php print $user['username']; ?></div>
|
||||
<div class="domaincell"><?php if(DEMO_MODE == 1) { print anonimize_ip_addr($user['ipaddr']); } else { print $user['ipaddr']; } ?></div>
|
||||
<div class="domaincell"><?php print date("Y.m.d. G:i:s", $user['ts']); ?></div>
|
||||
<div class="domaincell"><?php print date("Y.m.d. G:i:s", $user['last_activity']); ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
|
15
webui/view/theme/mobile/templates/stat/stat.tpl
Normal file
15
webui/view/theme/mobile/templates/stat/stat.tpl
Normal file
@ -0,0 +1,15 @@
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p>
|
||||
|
||||
<?php if($timespan == "daily"){ ?>
|
||||
<strong><?php print $text_daily_report; ?></strong> <a href="index.php?route=stat/stat&timespan=monthly<?php if(isset($uid)) { ?>&uid=<?php print $uid; } ?>"><?php print $text_monthly_report; ?></a>
|
||||
<?php } else { ?>
|
||||
<a href="index.php?route=stat/stat&timespan=daily<?php if(isset($uid)) { ?>&uid=<?php print $uid; } ?>"><?php print $text_daily_report; ?></a> <strong><?php print $text_monthly_report; ?></strong>
|
||||
<?php } ?>
|
||||
|
||||
</p>
|
||||
|
||||
<p><img src="index.php?route=stat/graph&timespan=<?php print $timespan; ?>&uid=<?php print $uid; ?>" border="1" /> </p>
|
||||
|
Reference in New Issue
Block a user