2015-04-12 13:33:59 +00:00
|
|
|
{% include 'global/header.tpl' %}
|
2015-04-26 16:01:28 +00:00
|
|
|
{% if profile.notset or profile.user.id == 0 %}
|
|
|
|
<div class="content standalone" style="padding: 20px;">
|
|
|
|
<h1>The requested user does not exist!</h1>
|
|
|
|
There are a few possible reasons for this:
|
|
|
|
<ul style="padding-left: 40px;">
|
|
|
|
<li>They changed their username.</li>
|
2015-04-27 00:41:59 +00:00
|
|
|
<li>They may have been <a href="/faq#abyss" class="default">abyss'd</a>.</li>
|
2015-04-26 16:01:28 +00:00
|
|
|
<li>You made a typo.</li>
|
|
|
|
<li>They never existed.</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
{% else %}
|
|
|
|
<div class="content profile">
|
|
|
|
<div class="{% if profile.profpage|length > 1 %}content-right {% endif %}content-column">
|
|
|
|
<div style="text-align: center;">
|
2015-04-27 00:41:59 +00:00
|
|
|
<img src="/a/{{ profile.user.id }}" alt="{{ profile.user.username }}'s Avatar" class="default-avatar-setting" style="box-shadow: 0 3px 7px #{% if profile.online %}484{% else %}844{% endif %};" />
|
|
|
|
<br /><span style="font-size: .8em;">{{ profile.ranktitle }}</span>
|
|
|
|
<h1 style="color: {{ profile.colour }}; text-shadow: 0 0 7px #888; padding: 0 0 2px;">{{ profile.user.username }}</h1>
|
|
|
|
{% if profile.istenshi %}<img src="//{{ sakura.urls.content }}/images/tenshi.png" alt="Tenshi" /> {% endif %}<img src="//{{ sakura.urls.content }}/images/flags/{% if profile.user.country|lower == 'eu' %}europeanunion{% else %}{{ profile.user.country|lower }}{% endif %}.png" alt="{{ profile.user.country }}" /> <span style="font-size: .9em; line-height: 11px;">{{ profile.country }}</span>
|
2015-04-26 16:01:28 +00:00
|
|
|
<hr class="default" />
|
2015-04-27 00:41:59 +00:00
|
|
|
<b>Joined</b> {{ profile.user.regdate|date("l Y-m-d H:i T") }}<br />
|
|
|
|
<b>Last Seen on</b> {{ profile.user.lastdate|date("l Y-m-d H:i T") }}
|
|
|
|
{% if profile.data is not null %}
|
|
|
|
<hr class="default" />
|
2015-04-27 15:13:52 +00:00
|
|
|
{% if user.loggedin %}
|
2015-04-27 00:41:59 +00:00
|
|
|
<table style="width: 100%;">
|
|
|
|
{% for name,field in profile.data %}
|
|
|
|
<tr>
|
|
|
|
<td style="text-align: left; font-weight: bold;">
|
|
|
|
{{ field.name }}
|
|
|
|
</td>
|
|
|
|
<td style="text-align: right;">
|
|
|
|
{% if name == 'youtube' %}
|
|
|
|
<a href="https://youtube.com/{% if field.youtubetype == 1 %}channel{% else %}user{% endif %}/{{ field.value }}" class="default">{{ field.value }}</a>
|
|
|
|
{% else %}
|
|
|
|
{% if field.islink %}
|
|
|
|
<a href="{{ field.link }}" class="default">
|
|
|
|
{% endif %}
|
|
|
|
{{ field.value }}
|
|
|
|
{% if field.islink %}
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
2015-04-27 15:13:52 +00:00
|
|
|
{% else %}
|
|
|
|
<b>Log in to view the full profile!</b>
|
|
|
|
{% endif %}
|
2015-04-27 00:41:59 +00:00
|
|
|
{% endif %}
|
2015-04-26 16:01:28 +00:00
|
|
|
<hr class="default" />
|
|
|
|
<b>Account Standing</b>
|
|
|
|
<h2 style="color: green; text-shadow: 0 0 7px #888; margin-top: 0;">Good</h2>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="content-left content-column markdown{% if profile.profpage|length < 1 %} hidden{% endif %}">
|
|
|
|
{{ profile.profpage|raw }}
|
|
|
|
</div>
|
|
|
|
<div class="clear"></div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2015-04-12 13:33:59 +00:00
|
|
|
{% include 'global/footer.tpl' %}
|