Вход Регистрация
Файл: EasyHost v2.0/system/htdocs/category/default.html
Строк: 93
<?php
<html>
    <
head>
        <
link rel="stylesheet" type="text/css" href="<{system.htdocs}>styles/<{system.service.config('color')}>/default.css" />
        <
title>Users</title>
    </
head>
    <
body marginwidth="10" marginheight="10" topmargin="10" leftmargin="10" rightmargin="10" bottomargin="10" bgcolor="<{system.color('body_bg')}>">
        <
p><{system.service.config('header')}></p>
        <
form method="get" name="form">
            <
input type="hidden" name="command" value="category" />
            <%if:
"{category}"%>
            <
input type="hidden" name="id" value="<{category.id}>" />
            <%
end%>
            <
input type="hidden" name="page" value="<{page}>" />
            <
input type="hidden" name="temp" value="1" />
            <
table border="0" cellspacing="0" cellpadding="0" width="100%" bgcolor="<{system.color('border')}>">
                <
tr>
                    <
td>
                        <
table border="0" cellspacing="1" cellpadding="0" width="100%">
                            <
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>&nbspHome<%if:"{category}"%>: <{category.path}><%end%></b></font></td>
                                        </
tr>
                                    </
table>
                            <%if:
"{categories.count} > 0"%>
                                    <
table border="0" cellspacing="0" cellpadding="10" width="100%" bgcolor="<{system.color('content_bg')}>">
                                        <
tr>
                                            <
td>
                                                <%
categories%>
                                                <
table border="0" cellspacing="10" cellpadding="0">
                                                    <
tr>
                                                        <
td><a href="<{system.url}>&id=<{category.id}>"><{category.name}></a><%if:"{category.users.count} > 0"%> (<{category.users.count}>)<%end%></td>
                                                    </
tr>
                                                </
table>
                                                <%
end%>
                                            </
td>
                                        </
tr>
                                    </
table>
                                </
td>
                            </
tr>
                            <
tr>
                                <
td>
                            <%
end%>
                            <%if:
"{search.count} > 0"%>
                                    <
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>Users</b></td>
                                                    </
tr>
                                                </
table>
                                                <%
users%>
                                                <
table border="0" cellspacing="10" cellpadding="0">
                                                    <
tr>
                                                        <
td><{user.name}> [ <a href="<{user.url}>" target="_blank">Website</a> ]</td>
                                                    </
tr>
                                                </
table>
                                                <%
end%>
                                            </
td>
                                        </
tr>
                                    </
table>
                                </
td>
                            </
tr>
                            <%if:
"{page} > 1 || {page} * {amount} < {search.count}"%>
                            <
tr>
                                <
td>
                                    <
table border="0" cellspacing="0" cellpadding="3" width="100%" bgcolor="<{system.color('highlight_bg')}>">
                                        <
tr>
                                            <
td<%if:"{system.env('HTTP_USER_AGENT')} !~ /mozilla/4/i || {system.env('HTTP_USER_AGENT')} =~ /compatible/i"%> class="buttons"<%end%>>
                                                <%if:
"{page} > 1"%>
                                                <
input type="submit" value="Previous" onclick="document.form.page.value--" />
                                                <%
end%>
                                                <%if:
"{page} * {amount} < {search.count}"%>
                                                <
input type="submit" value="Next" onclick="document.form.page.value++" />
                                                <%
end%>
                                            </
td>
                                            <
td align="right"><{start}> to <{finish}> of <{search.count}> total</td>
                                        </
tr>
                                    </
table>
                                </
td>
                            </
tr>
                            <%
end%>
                            <%
else_if:"{categories.count} == 0"%>
                                    <
table border="0" cellspacing="0" cellpadding="20" width="100%" bgcolor="<{system.color('content_bg')}>">
                                        <
tr>
                                            <
td>No users found in the database.</td>
                                        </
tr>
                                    </
table>
                                </
td>
                            </
tr>
                            <%
end%>
                        </
table>
                    </
td>
                </
tr>
            </
table>
        </
form>
        <
p><{system.service.config('footer')}></p>
    </
body>
</
html>
?>
Онлайн: 1
Реклама