Вход Регистрация
Файл: EasyHost v2.0/system/htdocs/admin/main.html
Строк: 126
<?php
<html>
    <
head>
        <
link rel="stylesheet" type="text/css" href="<{system.htdocs}>styles/<{system.color}>/default.css" />
        <
title>MAIN</title>
    </
head>
    <
body marginwidth="10" marginheight="10" topmargin="10" leftmargin="10" rightmargin="10" bottommargin="10" bgcolor="<{system.color('body_bg')}>" style="background: #ffffff url('<{system.htdocs}>images/bg.jpg') no-repeat">
        <%if:
"{system.service.users.count} > 0"%>
        <
table border="0" cellspacing="0" cellpadding="0" bgcolor="<{system.color('border')}>" align="right">
            <
tr>
                <
td>
                    <
table border="0" cellspacing="1" cellpadding="0">
                        <
tr>
                            <
td>
                                <
table border="0" cellspacing="0" cellpadding="0" width="100%" height="25" bgcolor="<{system.color('link')}>" background="<{system.htdocs}>styles/<{system.color}>/titlebg.gif">
                                    <
tr>
                                        <
td><font color="#ffffff"><b>&nbspUser Activity</b></font></td>
                                    </
tr>
                                </
table>
                                <
table border="0" cellspacing="0" cellpadding="10" width="100%" bgcolor="<{system.color('content_bg')}>">
                                    <
tr>
                                        <
td>
                                            <
table border="0" cellspacing="10" cellpadding="0">
                                                <
tr>
                                                    <
td><b>Today (last 24 hours)</b></td>
                                                </
tr>
                                            </
table>
                                            <
table border="0" cellspacing="10" cellpadding="0">
                                                <
tr>
                                                    <
td width="100">New users:</td>
                                                    <
td><{system.service.users('date_created > NOW() - INTERVAL 1 DAY').count}><%if:"{system.service.users('date_created > NOW() - INTERVAL 1 DAY').count} > 0"%> [ <a href="<{system.url('users/search')}>&type=new">Search</a> ]<%end%></td>
                                                </
tr>
                                                <
tr>
                                                    <
td width="100">Active users:</td>
                                                    <
td><{system.service.users('date_online > NOW() - INTERVAL 1 DAY').count}><%if:"{system.service.users('date_online > NOW() - INTERVAL 1 DAY').count} > 0"%> [ <a href="<{system.url('users/search')}>&type=active">Search</a> ]<%end%></td>
                                                </
tr>
                                            </
table>
                                        </
td>
                                    </
tr>
                                </
table>
                            </
td>
                        </
tr>
                        <
tr>
                            <
td>
                                <
table border="0" cellspacing="0" cellpadding="10" width="100%" bgcolor="<{system.color('content_bg')}>">
                                    <
tr>
                                        <
td>
                                            <
table border="0" cellspacing="10" cellpadding="0">
                                                <
tr>
                                                    <
td><b>Totals</b></td>
                                                </
tr>
                                            </
table>
                                            <
table border="0" cellspacing="10" cellpadding="0">
                                                <
tr>
                                                    <
td width="100">Users:</td>
                                                    <
td><{system.service.users.count}><%if:"{system.service.users.count} > 0"%> [ <a href="<{system.url('users/search')}>">Search</a> ]<%end%></td>
                                                </
tr>
                                                <
tr>
                                                    <
td width="100">Disabled users:</td>
                                                    <
td><{system.service.users('status = 0').count}><%if:"{system.service.users('status = 0').count} > 0"%> [ <a href="<{system.url('users/search')}>&type=disabled">Search</a> ]<%end%></td>
                                                </
tr>
                                                <
tr>
                                                    <
td width="100">Space usage:</td>
                                                    <
td><{system.service.stats.space_usage.string}><%if:"{system.service.stats.space_limit.bytes} > 0"%> / <{system.service.stats.space_limit.string}><%end%></td>
                                                </
tr>
                                            </
table>
                                        </
td>
                                    </
tr>
                                </
table>
                            </
td>
                        </
tr>
                        <%if:
"{system.service.config('transfer')}"%>
                        <
tr>
                            <
td>
                                <
table border="0" cellspacing="0" cellpadding="10" width="100%" bgcolor="<{system.color('content_bg')}>">
                                    <
tr>
                                        <
td>
                                            <
table border="0" cellspacing="10" cellpadding="0">
                                                <
tr>
                                                    <
td><b>Transfer</b> [ <a href="<{system.url('transfer')}>">More...</a> ]</td>
                                                </
tr>
                                            </
table>
                                            <
table border="0" cellspacing="10" cellpadding="0">
                                                <
tr>
                                                    <
td width="100">Today:</td>
                                                    <
td><{system.service.stats.transfer.string}></td>
                                                </
tr>
                                                <
tr>
                                                    <
td width="100">Month total:</td>
                                                    <
td><{system.service.stats.transfer_monthly.string}></td>
                                                </
tr>
                                            </
table>
                                        </
td>
                                    </
tr>
                                </
table>
                            </
td>
                        </
tr>
                        <%
end%>
                    </
table>
                </
td>
            </
tr>
        </
table>
        <%
end%>
        <
table border="0" cellspacing="10" cellpadding="0">
            <%if:
"{system.service.packages.count} == 0"%>
            <
tr valign="top">
                <
td width="75">&nbsp;</td>
                <
td bgcolor="<{system.color('border')}>">
                    <
table border="0" cellspacing="1" cellpadding="10" width="100%">
                        <
tr>
                            <
td bgcolor="<{system.color('content_bg')}>"><b>Note:</bYou must <a href="<{system.url('/admin/packages/create')}>">configure a package</abefore any accounts can be created.</td>
                        </
tr>
                    </
table>
                </
td>
            </
tr>
            <%
end%>
            <
tr valign="top">
                <
td width="75">&nbsp;</td>
                <
td><a href="<{system.url('users')}>"><b>Users</b></a><br>Searchcreateremove and manage your accounts.</td>
            </
tr>
            <
tr valign="top">
                <
td width="75">&nbsp;</td>
                <
td><a href="<{system.url('packages')}>"><b>Packages</b></a><br>Setup different types of user limits.</td>
            </
tr>
            <
tr valign="top">
                <
td width="75">&nbsp;</td>
                <
td><a href="<{system.url('categories')}>"><b>Categories</b></a><br>Create new or manage your current categories.</td>
            </
tr>
            <
tr valign="top">
                <
td width="75">&nbsp;</td>
                <
td><a href="<{system.url('system/service')}>"><b>System Configuration</b></a><br>Manage this server and software.</td>
            </
tr>
            <
tr valign="top">
                <
td width="75">&nbsp;</td>
                <
td><a href="<{system.url('restrictions/password')}>"><b>Restrictions &ampSecurity</b></a><br>Manage the limits to block unwanted accounts.</td>
            </
tr>
            <
tr valign="top">
                <
td width="75">&nbsp;</td>
                <
td><a href="<{system.url('emails')}>"><b>E-mail Templates User Notices</b></a><br>Manage your predefined user notices</td>
            </
tr>
        </
table>
    </
body>
</
html>
?>
Онлайн: 1
Реклама