Failed Conditions
Push — master ( 328b73...9cdd6e )
by Markus
04:54
created

pages/pokestops.page.php (3 issues)

Upgrade to new PHP Analysis Engine

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
				<?= sprintf($locales->POKESTOPS_TITLE, $config->infos->city); ?>
6
			</h1>
7
			
8
		</div>
9
	</div>
10
</header>
11
12
13
<div class="row area">
14
15
	<?php
16
    if (true === !$config->system->no_lures) {
17
        ?>
18
		<div class="col-md-6 col-sm-6 col-xs-12 big-data" style="border-right:1px lightgray solid;"> <!-- POKESTOPS -->
19
		<?php
20
    } else {
21
        ?>
22
		<div class="big-data"> <!-- POKESTOPS -->
23
		<?php
24
    }
25
    ?>
26
		<img src="core/img/pokestop.png" alt="Pokestop" width=50 class="big-icon">
27
		<p><big><strong><?= $pokestop->total; ?></strong> <?= $locales->POKESTOPS; ?></big><br> <?= sprintf($locales->INCITY, $config->infos->city); ?></p>
0 ignored issues
show
It is generally recommended to place each PHP statement on a line by itself.

Let’s take a look at an example:

// Bad
$a = 5; $b = 6; $c = 7;

// Good
$a = 5;
$b = 6;
$c = 7;
Loading history...
28
	</div>
29
30
	<?php
31
    if (true === !$config->system->no_lures) {
32
        ?>
33
		<div class="col-md-6 col-sm-6 col-xs-12 big-data"> <!-- LURED STOPS -->
34
		<img src="core/img/lure-module.png" alt="Lured Pokestop" width=50 class="big-icon">
35
			<p><big><strong><?= $pokestop->lured; ?></strong> <?= $locales->LURES; ?></big><br> <?= $locales->POKESTOPS_LURES; ?></p>
0 ignored issues
show
It is generally recommended to place each PHP statement on a line by itself.

Let’s take a look at an example:

// Bad
$a = 5; $b = 6; $c = 7;

// Good
$a = 5;
$b = 6;
$c = 7;
Loading history...
36
		</div>
37
	<?php
38
    }
39
    ?>
40
</div>
41
42
<?php
43
if (true === !$config->system->no_lures) {
44
        ?>
45
	<div class="row text-center subnav">
46
		<div class="btn-group" role="group">
47
		<a class="btn btn-default active" id="pokestopSelector"><i
48
				class="fa fa-medkit"></i> <?= $locales->POKESTOPS; ?></a>
49
		<a class="btn btn-default " id="lureSelector"><i class="fa fa-eye"></i> <?= $locales->LURES; ?></a>
50
	</div>
51
	</div>
52
	<?php
53
    }
0 ignored issues
show
Closing brace indented incorrectly; expected 0 spaces, found 4
Loading history...
54
?>
55
56
<div class="row">
57
	
58
	<div class="col-md-12">
59
	
60
		<div id="map">
61
		
62
		</div>
63
	
64
	</div>
65
66
</div>
67