{{define "profile.html"}}{{template "head" .}} {{$u := .Body.U}}

Profile

Personal
Username:
{{$u.Name}}
Title:
{{if $u.Sysop}}Administrator{{else}}{{group $u}}{{end}}
Location:
{{if $u.Location}}{{$u.Location}}{{else}}(Unknown){{end}}
Interests:
{{if $u.About}}{{$u.About}}{{else}}(Unknown){{end}}
Personality
Avatar:
{{template "avatar" (av $u.Name "huge")}}
User activity
Posts:
{{num $u.Posts}}
Last post:
{{range $i, $r := .Body.Recent}}{{if eq $i 0}}{{stamp $r.Created}}{{end}}{{else}}Never{{end}}
Registered:
{{ymd $u.Created}}
Last visit:
{{stamp $u.LastLogin}}
Calls:
{{num $u.Logins}}
Status:
{{if .Body.On}}Online{{range .Body.On}} (node {{.Num}} by {{.Via}}: {{.Activity}}){{end}}{{else}}Offline{{end}}

Recent posts

{{range $i, $r := .Body.Recent}} {{else}}{{end}}
TopicPosted
{{$r.Subject}}
{{snippet $r.Body 160}}
{{stamp $r.Created}}
No posts yet.
{{template "foot" .}}{{end}}