You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

130 lines
3.7 KiB
Smarty

10 years ago
<div class="account">
<!-- IMPORT partials/account/header.tpl -->
10 years ago
<div class="profile row">
<h1 class="fullname"><!-- IF fullname -->{fullname}<!-- ELSE -->{username}<!-- ENDIF fullname --></h1>
9 years ago
<h2 class="username"><!-- IF !banned -->@{username}<!-- ELSE -->[[user:banned]]<!-- ENDIF !banned --></h2>
<!-- IF aboutme -->
<span component="aboutme" class="text-center aboutme">{aboutme}</span>
<!-- ENDIF aboutme -->
9 years ago
<div class="account-stats">
<!-- IF reputation -->
<div class="stat">
<div class="human-readable-number" title="{reputation}">{reputation}</div>
<span class="stat-label">[[global:reputation]]</span>
</div>
<!-- ENDIF reputation -->
<div class="stat">
<div class="human-readable-number" title="{postcount}">{postcount}</div>
<span class="stat-label">[[global:posts]]</span>
</div>
<div class="stat">
<div class="human-readable-number" title="{profileviews}">{profileviews}</div>
<span class="stat-label">[[user:profile_views]]</span>
</div>
<div class="stat">
<div class="human-readable-number" title="{followerCount}">{followerCount}</div>
<span class="stat-label">[[user:followers]]</span>
</div>
<div class="stat">
<div class="human-readable-number" title="{followingCount}">{followingCount}</div>
<span class="stat-label">[[user:following]]</span>
</div>
</div>
<div class="text-center profile-meta">
<span>[[user:joined]]</span>
9 years ago
<strong class="timeago" title="{joindateISO}"></strong>
<span>[[user:lastonline]]</span>
9 years ago
<strong class="timeago" title="{lastonlineISO}"></strong><br />
<!-- IF email -->
<span>[[user:email]]</span>
<strong><i class="fa fa-eye-slash {emailClass}" title="[[user:email_hidden]]"></i> {email}</strong>
<!-- ENDIF email -->
<!-- IF websiteName -->
<span>[[user:website]]</span>
<strong><a href="{websiteLink}" rel="nofollow">{websiteName}</a></strong>
<!-- ENDIF websiteName -->
<!-- IF location -->
<span>[[user:location]]</span>
<strong>{location}</strong>
<!-- ENDIF location -->
<!-- IF age -->
<span>[[user:age]]</span>
<strong>{age}</strong>
<!-- ENDIF age -->
</div>
</div>
9 years ago
<hr />
<div class="row">
<div class="col-xs-12 account-block hidden">
<div class="account-picture-block text-center">
<span>
<span class="account-username"> {username}</span>
</span>
<!-- IF !isSelf -->
<!-- IF isFollowing -->
<a component="account/unfollow" href="#" class="btn btn-warning btn-sm">[[user:unfollow]]</a>
<!-- ELSE -->
<a component="account/follow" href="#" class="btn btn-success btn-sm">[[user:follow]]</a>
<!-- ENDIF isFollowing -->
<!-- ENDIF !isSelf -->
</div>
10 years ago
<!-- IF groups.length -->
<div class="hidden">
10 years ago
<!-- BEGIN groups -->
<a href="{config.relative_path}/groups/{groups.slug}"><span class="label group-label inline-block" style="background-color: {groups.labelColor};"><!-- IF groups.icon --><i class="fa {groups.icon}"></i> <!-- ENDIF groups.icon -->{groups.userTitle}</span></a>
10 years ago
<!-- END groups -->
</div>
<!-- ENDIF groups.length -->
<br /><br />
10 years ago
<!-- IF ips.length -->
<div class="hidden">
10 years ago
<div class="panel-heading">
<h3 class="panel-title">[[global:recentips]]</h3>
</div>
<div class="panel-body">
<!-- BEGIN ips -->
<div>{ips.ip}</div>
<!-- END ips -->
</div>
</div>
<!-- ENDIF ips.length -->
</div>
<h1>[[pages:account/posts, {username}]]</h1>
<div class="col-xs-12">
<!-- IF !posts.length -->
10 years ago
<div class="alert alert-warning">[[user:has_no_posts]]</div>
<!-- ENDIF !posts.length -->
<!-- IMPORT partials/posts_list.tpl -->
10 years ago
</div>
10 years ago
</div>
<br/>
<div id="user-action-alert" class="alert alert-success hide"></div>
</div>