<!DOCTYPE html> <html> <head> <title>Death Arena 1.0</title> <link rel="stylesheet" type="text/css" href="css/da_full.css" /> <script type="text/javascript" src="scripts/functions.js"></script> </head> <body> <?php require 'scripts/source.php'; @($DeathArena = new DeathArena()); $pg = isset($_GET['page']) ? $_GET['page'] : 0; $min_row = $pg * $DeathArena->max_row; $type = isset($_GET['type']) ? $_GET['type'] : 0; $filter = isset($_GET['filter']) ? $_GET['filter'] : 0; $DeathArena->Consult($type, $min_row, $filter == 1 ? 'loss' : ($filter == 2 ? 'ration' : 'wins')); ?> <div id="layout"> <div id="logo"><img src="images/logo.png"/></div> <div id="contents"> <div id="menu"> <span><a href="?type=0">Rank de Jogadores</a></span> <span><a href="?type=1">Rank de Clãns</a></span><span><a href="?type=2">Rank de Grupos</a></span> </div> <?php if ($DeathArena->Ranking['total_rows']) { ?> <div id="filter-bar"> <input type="hidden" id="page" name="page" value="<?php echo $pg; ?> " />
<script src="scripts/easyTooltip.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function() { $("a").easyTooltip(); $("span").easyTooltip(); }); </script> </head> <body> <?php require 'scripts/source.php'; @($DeathArena = new DeathArena()); $pg = isset($_GET['page']) ? $_GET['page'] : 0; $min_row = $pg * $DeathArena->max_row; $type = isset($_GET['type']) ? $_GET['type'] : 0; $DeathArena->Consult($type, $min_row, 'wins'); ?> <div id="layout"> <div id="logo"> <div id="filter-bar"><a href="?type=0" title="Rank de Jogadors">Jogadores</a> <a href="?type=1" title="Rank de Clãns">Clãns</a> <a href="?type=2" title="Rank de Grupos">Grupos</a></div> </div> <div id="content"> <?php if (!$DeathArena->Ranking['total_rows']) { ?> <div id="no-result">Sem Resultados</div> <?php } else { ?> <table> <tr id="title">