2015-04-12 13:33:59 +00:00
{ % include 'global/header.tpl' % }
2015-04-27 17:04:27 +00:00
{ % if profile . notset or profile . user . id = = 0 or profile . user . password_algo = = 'nologin' % }
2015-04-26 16:01:28 +00:00
<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 % }
2015-05-05 03:47:58 +00:00
<div id="userBackground"></div>
2015-05-04 20:08:53 +00:00
<div class="content profile">
2015-06-04 12:41:55 +00:00
<div class=" { % if profile . profilePage | length > 1 % } content-right { % endif % } content-column">
2015-04-26 16:01:28 +00:00
<div style="text-align: center;">
2015-08-09 18:26:01 +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 />
{ % if profile . user . rank_main > 1 and profile . ban_check | length < 1 % }
<span style="font-size: .8em;"> { { profile . ranktitle } } </span>
2015-04-27 00:41:59 +00:00
<h1 style="color: { { profile . colour } } ; text-shadow: 0 0 7px #888; padding: 0 0 2px;"> { { profile . user . username } } </h1>
2015-07-01 14:29:12 +00:00
{ % if profile . is_premium % } <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-05-11 22:20:19 +00:00
{ % if user . checklogin % }
<div class="user-actions">
2015-06-20 19:25:41 +00:00
{ % if user . data . id = = profile . user . id % }
2015-06-28 14:43:46 +00:00
<a class="fa fa-pencil-square-o" title="Edit your profile" href="// { { sakura . urls . main } } /settings/profile"></a>
2015-06-20 19:25:41 +00:00
{ % else % }
{ % if profile . friend ! = 0 % } <a class="fa fa- { % if profile . friend = = 2 % } heart { % else % } star { % endif % } " title="You are friends"></a> { % endif % }
<a class="fa fa-user- { % if profile . friend = = 0 % } plus { % else % } times { % endif % } " title=" { % if profile . friend = = 0 % } Add { { profile . user . username } } as a friend { % else % } Remove friend { % endif % } " href="// { { sakura . urls . main } } /friends? { % if profile . friend = = 0 % } add { % else % } remove { % endif % } = { { profile . user . id } } &session= { { php . sessionid } } &time= { { php . time } } &redirect= { { sakura . currentpage } } " id="profileFriendToggle"></a>
2015-06-21 13:16:31 +00:00
<a class="fa fa-flag" title="Report { { profile . user . username } } " href="// { { sakura . urls . main } } /u/ { { profile . user . id } } /report"></a>
2015-06-20 19:25:41 +00:00
{ % endif % }
2015-05-11 22:20:19 +00:00
</div>
{ % endif % }
2015-04-26 16:01:28 +00:00
<hr class="default" />
2015-07-30 17:07:23 +00:00
<b>Joined</b> { { profile . user . regdate | date ( sakura . date_format ) } } <br />
2015-04-27 16:30:31 +00:00
{ % if profile . user . lastdate = = 0 % }
2015-07-08 13:09:57 +00:00
<b> { { profile . user . username } } hasn't logged in yet.</b>
2015-04-27 16:30:31 +00:00
{ % else % }
2015-07-30 17:07:23 +00:00
<b>Last Seen on</b> { { profile . user . lastdate | date ( sakura . date_format ) } }
2015-05-06 13:42:02 +00:00
{ % endif % } <br />
2015-07-08 13:09:57 +00:00
<b> { { profile . user . username } } has { % if not profile . forum_stats . posts % } no { % else % } { { profile . forum_stats . posts } } { % endif % } forum post { % if profile . forum_stats . posts ! = 1 % } s { % endif % } .</b>
2015-06-04 12:41:55 +00:00
{ % if profile . fields is not null % }
2015-04-27 00:41:59 +00:00
<hr class="default" />
2015-04-27 15:31:56 +00:00
{ % if user . checklogin % }
2015-04-27 00:41:59 +00:00
<table style="width: 100%;">
2015-06-04 12:41:55 +00:00
{ % for name , field in profile . fields % }
2015-04-27 00:41:59 +00:00
<tr>
<td style="text-align: left; font-weight: bold;">
{ { field . name } }
</td>
<td style="text-align: right;">
{ % if name = = 'youtube' % }
2015-04-27 16:30:31 +00:00
<a href="https://youtube.com/ { % if field . youtubetype = = 1 % } channel { % else % } user { % endif % } / { { field . value } } " class="default"> { % if field . youtubetype = = 1 % } { { profile . user . username } } 's Channel { % else % } { { field . value } } { % endif % } </a>
2015-04-27 00:41:59 +00:00
{ % 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-08-09 18:26:01 +00:00
{ % else % }
<h1 style="color: #222; text-shadow: 0 0 7px #888; padding: 0 0 2px;"> { { profile . user . username } } </h1>
2015-04-27 16:30:31 +00:00
{ % endif % }
2015-04-26 16:01:28 +00:00
<hr class="default" />
<b>Account Standing</b>
2015-04-27 16:30:31 +00:00
{ % if profile . user . rank_main < 2 % }
<h2 style="color: #888; text-shadow: 0 0 7px #888; margin-top: 0;">Deactivated</h2>
2015-08-09 18:26:01 +00:00
{ % elseif profile . ban_check % }
<h2 style="color: #222; text-shadow: 0 0 7px #222; margin-top: 0;">Banned</h2>
2015-04-27 16:30:31 +00:00
{ % else % }
2015-05-04 20:08:53 +00:00
{ % if profile . warnings % }
2015-08-09 18:26:01 +00:00
<h2 style="color: red; text-shadow: 0 0 7px #888; margin-top: 0;">Bad</h2>
<span style="font-size: 10px; line-height: 10px;">This user has <b> { { profile . warnings | length } } warning { % if profile . warnings | length ! = 1 % } s { % endif % } </b>.<br />After 5 to 10 warnings (depending on what they are for) this user may be permanently banned.</span>
2015-05-04 20:08:53 +00:00
{ % else % }
2015-08-09 18:26:01 +00:00
<h2 style="color: green; text-shadow: 0 0 7px #888; margin-top: 0;">Good</h2>
2015-05-04 20:08:53 +00:00
{ % endif % }
2015-04-27 16:30:31 +00:00
{ % endif % }
2015-04-26 16:01:28 +00:00
</div>
</div>
2015-06-04 12:41:55 +00:00
<div class="content-left content-column markdown { % if profile . profilePage | length < 1 % } hidden { % endif % } ">
{ { profile . profilePage | raw } }
2015-04-26 16:01:28 +00:00
</div>
<div class="clear"></div>
</div>
2015-06-28 14:43:46 +00:00
{ % if profile . user . userData . profileBackground % }
2015-05-05 03:47:58 +00:00
<script type="text/javascript">
initialiseParallax('userBackground');
</script>
{ % endif % }
2015-04-26 16:01:28 +00:00
{ % endif % }
2015-04-12 13:33:59 +00:00
{ % include 'global/footer.tpl' % }