{{template "base"}}
{{if .Profile.ID}}
{{.Profile.Name}} {{.Profile.Title}}
{{range .Profile.Flag.Flags}} {{.}} {{end}} {{if .User.Flag.Special}}

Upgrade User

{{end}}
{{if .User.ID}} {{if ne .User.ID .Profile.ID}}
Send Message
{{else}}
Messages ({{.Inbox.UnreadCount}})
{{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}}
Logs
{{else if .User.ID}} No user by that ID {{end}} {{if eq .User.ID .Profile.ID}}
{{if .User.ID}}
Sessions
Logout
{{else}}
Login
Register
{{end}}
{{end}}
{{template "baseEnd"}}