<main class="users zero"><ul class="top"><li><a class="ajax block" href="/users/refresh/<?=$refresh?>">
<img alt="" class="icon" src="/design/icons/refresh.png">Обновить</a></li></ul><h3>Все игроки</h3>
<ul class="users"><? foreach($list as &$post) : ?><li><a class="ajax list" href="<?=$post['link']?>"><article class="users">
<img alt="" class="icon users" src="/design/icons/<?=$post['icon']?>.png"><h4><?=$post['name']?> <span class="color">
(<?=$post['visit']?>)</span></h4></article></a></li><? endforeach; ?></ul><? if ($pages > 1) : ?><ul class="page">
<? if ($page != 1) : ?><li><a class="ajax button page" href="/users"><?=$one?></a></li><? endif; ?><? if ($page != 2) : ?>
<li><a class="ajax button page" href="/users/page/2"><?=$two?></a></li><? endif; ?><? if ($page != 3 && $pages > 2) : ?>
<li><a class="ajax button page" href="/users/page/3">3</a></li><? endif; ?><? if ($page != 4 && $pages > 3) : ?>
<li><a class="ajax button page" href="/users/page/4">4</a></li><? endif; ?><? if ($page != 5 && $pages > 4) : ?>
<li><a class="ajax button page" href="/users/page/5">5</a></li><? endif; ?></ul><? endif; ?></main>