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

Profile of {{$u.Name}}

{{if $u.Location}}{{end}} {{if $u.About}}{{end}}
Name:{{$u.Name}}
Posts:{{num $u.Posts}}
Position:{{if $u.Sysop}}Administrator{{else}}{{group $u}}{{end}}
Date Registered:{{smfdate $u.Created}}
Last Active:{{smfdate $u.LastLogin}}
Calls:{{num $u.Logins}}
Location:{{$u.Location}}
Interests:{{$u.About}}
Status:{{if .Body.On}}Online{{range .Body.On}} (node {{.Num}} by {{.Via}}: {{.Activity}}){{end}}{{else}}Offline{{end}}
{{template "avatar" (av $u.Name "huge")}}

{{$u.Name}}

Latest posts

{{range .Body.Recent}}
{{.Subject}} « on: {{smfdate .Created}} »

{{snippet .Body 200}}

{{else}}
This member has not posted yet.
{{end}}
{{template "foot" .}}{{end}}