brusselopole /
Worldopole
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
| 1 | <header id="single-header"> |
||
| 2 | <div class="row"> |
||
| 3 | <div class="col-md-12 text-center"> |
||
| 4 | <h1> |
||
| 5 | <?= $locales->GYMS_TITLE; ?> |
||
| 6 | </h1> |
||
| 7 | |||
| 8 | </div> |
||
| 9 | </div> |
||
| 10 | </header> |
||
| 11 | |||
| 12 | |||
| 13 | <div class="row teams"> |
||
| 14 | |||
| 15 | |||
| 16 | <?php |
||
| 17 | |||
| 18 | foreach ($teams as $team_name => $team) { |
||
| 19 | // We do not display the team rocket result as it's not a real team |
||
| 20 | |||
| 21 | if ('rocket' != $team_name) { |
||
| 22 | $upper_team_name = strtoupper($team_name); |
||
| 23 | $lower_team_name = strtolower($team_name); ?> |
||
| 24 | |||
| 25 | <div class="col-md-4 col-sm-4 col-xs-12 big-data"> <!-- <?= $team_name; ?> --> |
||
| 26 | |||
| 27 | <h2 style="margin:0;"><img src="core/img/<?= $lower_team_name; ?>.png" alt="<?= $locales->TEAM; ?> <?= $team_name; ?> logo" width=50 style="display:inline-block;" class="team-logo" /> <?= $locales->TEAM; ?> <?= $locales->$upper_team_name; ?></h2> |
||
|
0 ignored issues
–
show
|
|||
| 28 | |||
| 29 | <div class="row" style="margin-top:1em;"> |
||
| 30 | <div class="col-xs-6"> |
||
| 31 | <p><big><strong class="gym-<?= $team_name; ?>-js"><span>0</span></strong></big><br><?= $locales->GYMS_OWNED; ?></p> |
||
|
0 ignored issues
–
show
|
|||
| 32 | </div> |
||
| 33 | |||
| 34 | <div class="col-xs-6"> |
||
| 35 | <p><big><strong><span class="average-<?= $team_name; ?>-js">0</span></strong></big><br><?= $locales->GYMS_AVERAGE; ?></p> |
||
|
0 ignored issues
–
show
|
|||
| 36 | </div> |
||
| 37 | </div> |
||
| 38 | |||
| 39 | <div class="row"> |
||
| 40 | <p style="margin-top:1em"><?= $locales->GYMS_GUARDIANS; ?></p> |
||
| 41 | |||
| 42 | <?php foreach ($team->guardians as $guardian) { |
||
| 43 | ?> |
||
| 44 | |||
| 45 | <div class="col-xs-4 pokemon-single"> |
||
| 46 | <a href="pokemon/<?= $guardian; ?>"> |
||
| 47 | <img src="<?= $pokemons->pokemon->$guardian->img; ?>" alt="<?= $pokemons->pokemon->$guardian->name; ?>" class="img-responsive" width=150> |
||
|
0 ignored issues
–
show
|
|||
| 48 | </a> |
||
| 49 | </div> |
||
| 50 | |||
| 51 | |||
| 52 | <?php |
||
| 53 | } ?> |
||
|
0 ignored issues
–
show
|
|||
| 54 | |||
| 55 | </div> |
||
| 56 | </div> |
||
| 57 | |||
| 58 | <?php |
||
| 59 | } |
||
| 60 | }?> |
||
| 61 | |||
| 62 | </div> |
||
| 63 | |||
| 64 | <!-- auto hide buttons if no url is set in variables.json --> |
||
| 65 | <?php if ($config->urls->fb_mystic || $config->urls->fb_valor || $config->urls->fb_instinct) { |
||
| 66 | ?> |
||
| 67 | <div class="row hidden-xs hiddem-sm area"> |
||
| 68 | <div class="col-md-4"> |
||
| 69 | <p align="center"><a href="<?= $config->urls->fb_mystic; ?>" target="_blank" class="btn btn-default"><i class="fa fa-facebook"></i> <?= $locales->TEAM; ?> <?= $locales->MYSTIC; ?></a></p> |
||
|
0 ignored issues
–
show
|
|||
| 70 | </div> |
||
| 71 | |||
| 72 | <div class="col-md-4"> |
||
| 73 | <p align="center"><a href="<?= $config->urls->fb_valor; ?>" target="_blank" class="btn btn-default"><i class="fa fa-facebook"></i> <?= $locales->TEAM; ?> <?= $locales->VALOR; ?></a></p> |
||
|
0 ignored issues
–
show
|
|||
| 74 | </div> |
||
| 75 | |||
| 76 | <div class="col-md-4"> |
||
| 77 | <p align="center"><a href="<?= $config->urls->fb_instinct; ?>" target="_blank" class="btn btn-default"><i class="fa fa-facebook"></i> <?= $locales->TEAM; ?> <?= $locales->INSTINCT; ?></a></p> |
||
|
0 ignored issues
–
show
|
|||
| 78 | </div> |
||
| 79 | </div> |
||
| 80 | <?php |
||
| 81 | } ?> |
||
|
0 ignored issues
–
show
|
|||
| 82 | |||
| 83 | <div class="row"> |
||
| 84 | <div class="col-md-12"> |
||
| 85 | <div id="map"></div> |
||
| 86 | </div> |
||
| 87 | </div> |
||
| 88 | <div id="gym_details_template_container"> |
||
| 89 | <div class="row area gym_details" id="gym_details_template"> |
||
| 90 | <div id="gymDetail"> |
||
| 91 | <div id="gymInfos"> |
||
| 92 | <div id="circleImage"></div> |
||
| 93 | <div id="gymName"></div> |
||
| 94 | <div id="gymHistory"><a href="#">Show History</a></div> |
||
| 95 | <div id="gymPrestige"> |
||
| 96 | <?= $locales->PRESTIGE; ?>: <span id="gymPrestigeDisplay"></span> |
||
| 97 | </div> |
||
| 98 | <div id="gymLastScanned"> |
||
| 99 | <?= $locales->LAST_SCANNED; ?>: <span id="gymLastScannedDisplay"></span> |
||
| 100 | </div> |
||
| 101 | <div id="gymDefenders" class="pokemon-single"> |
||
| 102 | <?= $locales->GYMS_NO_DEFENDER; ?> |
||
| 103 | </div> |
||
| 104 | </div> |
||
| 105 | </div> |
||
| 106 | </div> |
||
| 107 | </div> |
||
| 108 |
Let’s take a look at an example: