"> // escape an attribute // partial('Include/matsit_incl.php', array( // render a partial with vars // 'matchId' => $id, // )); // // Benefits: e() makes "did I escape this?" answerable at a glance and B5 can // sweep raw `echo $var` -> `echo e($var)` mechanically. partial() gives the // duplicated *_incl.php fragments a single render path with explicit inputs // instead of relying on leaked globals (C4 dedup target). // Escape a value for safe output inside HTML text or a double/single-quoted // attribute. ENT_QUOTES covers both quote styles; UTF-8 matches the charset // sent by bootstrap.php. Null/ints/floats are cast to string first so callers // don't have to guard them. function e($value) { if ($value === null) { return ''; } return htmlspecialchars((string) $value, ENT_QUOTES, 'UTF-8'); } // Render a PHP partial in an isolated scope with only the variables it is // given. $vars keys become local variables inside the partial, so fragments // declare their inputs instead of reaching into page globals. Path is relative // to the project root (the directory above Include/). function partial($path, $vars = array()) { $full = __DIR__ . '/../' . ltrim($path, '/'); if (!is_file($full)) { error_log('partial(): missing file -- ' . $full); return; } extract($vars, EXTR_SKIP); include $full; } Starcraft2.fi :: Turnaukset
Turnaukset - Hall of Fame - Rankings

Perjantain-cup

Koko: 256

Ilmoittautuneita: 21

Turnaus alkaa:
Perjantai, 17. kesäkuu 2011, klo 22:00

Formaatti:
Single elimination + pronssiottelu

Bracket-kierrosten ottelut:

FinaaliBO3
PronssiotteluBO3
SemifinaaliBO3
RO8->BO1
RO16->BO1
RO32->BO1

Sallitut liigat:
Bronze, Silver, Gold, Platinum, Diamond, Master, Grandmaster

Avoin/Kutsu: Avoin kaikille.

Map pool:
Delta Quadrant
GSL Crevasse
GSL Crossfire
GSL Tal'Darim Altar
GSL TerminusRe
Lost Temple
Metalopolis
Scrap Station
Shakuras Plateau
The Shattered Temple
Xel'Naga Caverns

Tulokset

SijaPelaaja
1Divinesia
2OOO
3robsCom
4reVy
8Cruzifix
8Roizky
8Jope
8wortex

Kuvaus:
Starting maps:
R1: Xel'Naga Caverns
R2: Tal Darim
R3: Metalopolis
R4: The Shattered Temple
R5: Scrap station

Turnauksen luoja:
reVy

Adminit:
reVy, jamppa