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.

155 lines
5.1 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 -->
</div>
<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>
<div id="banLabel" class="text-center <!-- IF !banned -->hide<!-- ENDIF !banned -->">
<span class="label label-danger">[[user:banned]]</span>
</div>
<hr/>
<div class="text-center account-stats">
<!-- IF reputation -->
<div class="inline-block text-center">
<span class="human-readable-number" title="{reputation}">{reputation}</span>
<span class="account-bio-label">[[global:reputation]]</span>
</div>
<!-- ENDIF reputation -->
<div class="inline-block text-center">
<span class="human-readable-number" title="{postcount}">{postcount}</span>
<span class="account-bio-label">[[global:posts]]</span>
</div>
<div class="inline-block text-center">
<span class="human-readable-number" title="{profileviews}">{profileviews}</span>
<span class="account-bio-label">[[user:profile_views]]</span>
</div>
<div class="inline-block text-center">
<span class="human-readable-number" title="{followerCount}">{followerCount}</span>
<span class="account-bio-label">[[user:followers]]</span>
</div>
<div class="inline-block text-center">
<span class="human-readable-number" title="{followingCount}">{followingCount}</span>
<span class="account-bio-label">[[user:following]]</span>
10 years ago
</div>
</div>
<div class="hidden">
<!-- IF email -->
<span class="account-bio-label">[[user:email]]</span>
<span class="account-bio-value"><i class="fa fa-eye-slash {emailClass}" title="[[user:email_hidden]]"></i> {email}</span>
<!-- ENDIF email -->
10 years ago
<!-- IF fullname -->
<span class="account-bio-label">[[user:fullname]]</span>
<span class="account-bio-value">{fullname}</span>
<!-- ENDIF fullname -->
10 years ago
<!-- IF websiteName -->
<span class="account-bio-label">[[user:website]]</span>
<span class="account-bio-value"><a href="{websiteLink}" rel="nofollow">{websiteName}</a></span>
<!-- ENDIF websiteName -->
10 years ago
<!-- IF location -->
<span class="account-bio-label">[[user:location]]</span>
<span class="account-bio-value">{location}</span>
<!-- ENDIF location -->
10 years ago
<!-- IF age -->
<span class="account-bio-label">[[user:age]]</span>
<span class="account-bio-value">{age}</span>
<!-- ENDIF age -->
10 years ago
<span class="account-bio-label">[[user:followers]]</span>
<span class="human-readable-number account-bio-value" title="{followerCount}">{followerCount}</span>
10 years ago
<span class="account-bio-label">[[user:following]]</span>
<span class="human-readable-number account-bio-value" title="{followingCount}">{followingCount}</span>
10 years ago
<span class="account-bio-label">[[user:joined]]</span>
<span class="timeago account-bio-value" title="{joindate}"></span>
10 years ago
<span class="account-bio-label">[[user:lastonline]]</span>
<span class="timeago account-bio-value" title="{lastonline}"></span>
<!-- IF !disableSignatures -->
<!-- IF signature -->
<hr/>
<span class="account-bio-label">[[user:signature]]</span>
<div class="post-signature">
<span id='signature'>{signature}</span>
10 years ago
</div>
<!-- ENDIF signature -->
<!-- ENDIF !disableSignatures -->
10 years ago
</div>
<!-- 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>