{{template "base"}}
{{if .Profile.ID}}

{{.Profile.Name}} {{.Profile.Title}}

Privileges

{{if .Profile.Flag.Special}}

Admin

{{end}} {{if .Profile.Flag.Tagging}}

Tagging

{{end}} {{if .Profile.Flag.Upload}}

Upload

{{end}} {{if .Profile.Flag.Comics}}

Comics

{{end}} {{if .Profile.Flag.Banning}}

Banning

{{end}} {{if .Profile.Flag.Delete}}

Delete

{{end}} {{if .Profile.Flag.Tags}}

Tags

{{end}} {{if .User.Flag.Special}}

Upgrade User

{{end}} {{if .User.ID}} {{if ne .User.ID .Profile.ID}}

Send Message

{{else}}

Messages ({{.NewMessages}})

{{end}} {{end}}

Pools

{{with .RecentPosts}}

Recent uploads

{{range .}} {{template "thumbnail" (wrap2 "Post" "UserInfo" . $.UserInfo)}} {{end}}
{{end}} {{with .RecentVotes}}

Recent votes

{{range .}} {{template "thumbnail" (wrap2 "Post" "UserInfo" . $.UserInfo)}} {{end}}
{{end}}

Tag history

{{else if .User.ID}} No user by that ID {{end}} {{define "login-panel"}} {{if .ID}}

Logout

Sessions

{{else}}

Login

Register

{{end}} {{end}} {{if eq .User.ID .Profile.ID}} {{template "login-panel" .User}} {{else}}
{{template "login-panel" .User}} {{end}}
{{template "baseEnd"}}