File tree Expand file tree Collapse file tree
frontend/themes/material/layouts Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 <?php if (!Yii::$ app ->user ->isGuest ):?>
1616 <a href="<?= Url::to (['/profile/me ' ])?> " class="simple-text logo-normal" style="text-transform:none" title="<?= \Yii::t ('app ' ,'Profile of ' )?> <?= Html::encode (Yii::$ app ->user ->identity ->username )?> <?= Yii::$ app ->user ->identity ->onVPN ? "\nVPN IP: " .Yii::$ app ->user ->identity ->vpnIP : "" ?> ">
1717 <?php if (Yii::$ app ->user ->identity ->isVip ):?>
18- <span class="badge badge-danger" style="position: absolute; bottom: 32%; left: 57%"><?php if (Yii::$ app ->user ->identity ->subscription !==null ):?> <img src="/images/<?= Yii::$ app ->user ->identity ->subscription ->product -> shortcode ?> .svg" width="20px"><?php else :?> VIP<?php endif ;?> </span>
18+ <span class="badge badge-danger" style="position: absolute; bottom: 32%; left: 57%"><?php if (Yii::$ app ->user ->identity ->subscription !==null ):?> <img src="/images/<?= Yii::$ app ->user ->identity ->subscription ->product ? Yii:: $ app -> user -> identity -> subscription -> product -> shortcode : " vip " ?> .svg" width="20px"><?php else :?> VIP<?php endif ;?> </span>
1919 <?php endif ;?>
2020 <img style="width: 75px; height: 75px" src="/images/avatars/<?= Yii::$ app ->user ->identity ->profile ->avtr ;?> ?<?= Yii::$ app ->formatter ->asTimestamp (Yii::$ app ->user ->identity ->profile ->updated_at )?> " class="img-fluid rounded <?php if (Yii::$ app ->user ->identity ->isVip ):?> border-danger<?php endif ;?> <?= \app \components \formatters \RankFormatter::ordinalPlaceCss (Yii::$ app ->user ->identity ->profile ->rank ->id )?> " style="max-width: 60px; max-height: 60px" alt="Avatar of <?= Html::encode (Yii::$ app ->user ->identity ->username )?> "><br/>
2121 <i class="fas fa-shield-alt <?= Yii::$ app ->user ->identity ->onVPN ? "text-primary " : "text-danger " ?> " style="font-size: 0.75em"></i> <?= Html::encode (Yii::$ app ->user ->identity ->username )?> <small style="font-size: 0.65em">(<code><?= number_format (Yii::$ app ->user ->identity ->profile ->score ->points )?> pts</code>)</small>
You can’t perform that action at this time.
0 commit comments