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

{{$u.Name}}'s profile

About {{$u.Name}}

{{template "avatar" (av $u.Name "huge")}}
  • Username: {{$u.Name}}
  • Title: {{if $u.Sysop}}Administrator{{else}}{{group $u}}{{end}}
  • From: {{if $u.Location}}{{$u.Location}}{{else}}(Unknown){{end}}
  • Registered: {{ymd $u.Created}}
  • Last visit: {{stamp $u.LastLogin}}
  • Posts: {{num $u.Posts}}
  • Calls: {{num $u.Logins}}
  • Status: {{if .Body.On}}Online{{range .Body.On}} (node {{.Num}} by {{.Via}}: {{.Activity}}){{end}}{{else}}Offline{{end}}
{{if $u.About}}

Interests

{{$u.About}}

{{end}}

Recent posts

{{range $i, $r := .Body.Recent}}

{{$r.Subject}}

{{snippet $r.Body 160}}

{{else}}

No posts yet.

{{end}}
{{template "foot" .}}{{end}}