| @@ -82,9 +82,12 @@ | ||
| 82 | 82 | <div class="navbar-form btn-group" data-toggle="button"> | 
| 83 | 83 | <?php if (empty($_COOKIE['aop_on']) || $_COOKIE['aop_on'] === 'true'): ?> | 
| 84 | 84 | <button type="button" class="btn btn-info" id="aop_on">On</button> | 
| 85 | - <?php else: ?> | |
| 85 | +                        <?php else { | |
| 86 | + : ?> | |
| 86 | 87 | <button type="button" class="btn btn-danger active" id="aop_on">Off</button> | 
| 87 | - <?php endif; ?> | |
| 88 | + <?php endif; | |
| 89 | +} | |
| 90 | +?> | |
| 88 | 91 | </div> | 
| 89 | 92 | </li> | 
| 90 | 93 | <li><a href="https://github.com/lisachenko/go-aop-php" target="_blank">Fork me</a></li> |