@@ -56,12 +56,18 @@ |
||
| 56 | 56 | <?php if ($is_authenticated): ?> |
| 57 | 57 | <?php if (!empty($user_nick)): ?> |
| 58 | 58 | <div class="nick"><?= sprintf(__('Hello, %s'), $user_nick) ?> <a href="<?= locale_base_url() . "logout/" ?>"><?= __('Logout') ?></a></div> |
| 59 | - <?php else: ?> |
|
| 59 | + <?php else { |
|
| 60 | + : ?> |
|
| 60 | 61 | <div><a href="<?= locale_base_url() . "login/" ?>" class="pure-button btn"><?= __('Login / Register') ?></a></div> |
| 61 | - <?php endif; ?> |
|
| 62 | - <?php else: ?> |
|
| 62 | + <?php endif; |
|
| 63 | +} |
|
| 64 | +?> |
|
| 65 | + <?php else { |
|
| 66 | + : ?> |
|
| 63 | 67 | <div><a href="<?= locale_base_url() . "login/" ?>" class="pure-button btn"><?= __('Login / Register') ?></a></div> |
| 64 | - <?php endif; ?> |
|
| 68 | + <?php endif; |
|
| 69 | +} |
|
| 70 | +?> |
|
| 65 | 71 | </div> |
| 66 | 72 | <?php endif; ?> |
| 67 | 73 | |
@@ -61,12 +61,18 @@ |
||
| 61 | 61 | <?php if ($is_authenticated): ?> |
| 62 | 62 | <?php if (!empty($user_nick)): ?> |
| 63 | 63 | <div class="nick"><?= sprintf(__('Hello, %s'), $user_nick) ?> <a href="<?= locale_base_url() . "logout/" ?>"><?= __('Logout') ?></a></div> |
| 64 | - <?php else: ?> |
|
| 64 | + <?php else { |
|
| 65 | + : ?> |
|
| 65 | 66 | <div><a href="<?= locale_base_url() . "login/" ?>" class="pure-button btn"><?= __('Login / Register') ?></a></div> |
| 66 | - <?php endif; ?> |
|
| 67 | - <?php else: ?> |
|
| 67 | + <?php endif; |
|
| 68 | +} |
|
| 69 | +?> |
|
| 70 | + <?php else { |
|
| 71 | + : ?> |
|
| 68 | 72 | <div><a href="<?= locale_base_url() . "login/" ?>" class="pure-button btn"><?= __('Login / Register') ?></a></div> |
| 69 | - <?php endif; ?> |
|
| 73 | + <?php endif; |
|
| 74 | +} |
|
| 75 | +?> |
|
| 70 | 76 | </div> |
| 71 | 77 | <?php endif; ?> |
| 72 | 78 | <div id="container" class="wrapper" style="z-index: 4;"> |
@@ -2,18 +2,18 @@ |
||
| 2 | 2 | <?php |
| 3 | 3 | for ($i = 1; $i <= 15; $i++) { |
| 4 | 4 | ?> |
| 5 | - <div style="transform: rotate( <?= rand(1,360) ?>deg);"> |
|
| 5 | + <div style="transform: rotate( <?= rand(1, 360) ?>deg);"> |
|
| 6 | 6 | <div class="cloud globe" style=" |
| 7 | 7 | position:absolute; |
| 8 | - animation-duration: <?=35+rand(-5,5)?>s !important; |
|
| 8 | + animation-duration: <?=35 + rand(-5, 5)?>s !important; |
|
| 9 | 9 | top: 100%; |
| 10 | 10 | left: 50%; |
| 11 | 11 | "> |
| 12 | - <img src="<?= base_url() ?>static/images/cloud<?=rand(1,3)?>.png" class="cloud-img" style=" |
|
| 12 | + <img src="<?= base_url() ?>static/images/cloud<?=rand(1, 3)?>.png" class="cloud-img" style=" |
|
| 13 | 13 | position: relative; |
| 14 | 14 | z-index:2; |
| 15 | 15 | transform: translate(-50%, -50%); |
| 16 | - bottom:<?=28+ rand(-5,5) ?>vw; |
|
| 16 | + bottom:<?=28 + rand(-5, 5) ?>vw; |
|
| 17 | 17 | width:9vw; height: auto; opacity: 80%;"> |
| 18 | 18 | </div> |
| 19 | 19 | </div> |