2014-04-04 12:48:32 -07:00
<!DOCTYPE html>
< html >
< head >
< title > Banned< / title >
2021-07-11 11:51:29 -07:00
< link rel = "shortcut icon" href = "{{.systemCritical.WebRoot}}favicon.png" >
< link rel = "stylesheet" href = "{{.systemCritical.WebRoot}}css/global.css" / >
< link id = "theme" rel = "stylesheet" href = "{{.systemCritical.WebRoot}}css/{{.boardConfig.DefaultStyle}}" / >
< script type = "text/javascript" src = "{{.systemCritical.WebRoot}}js/consts.js" > < / script >
< script type = "text/javascript" src = "{{.systemCritical.WebRoot}}js/gochan.js" > < / script >
2014-04-04 12:48:32 -07:00
< / head >
< body >
< div id = "top-pane" >
2021-07-11 11:51:29 -07:00
< span id = "site-title" > {{.siteConfig.SiteName}}< / span > < br / >
< span id = "site-slogan" > {{.siteConfig.SiteSlogan}}< / span >
2018-10-07 12:20:10 -07:00
< / div > < br / >
2014-04-04 12:48:32 -07:00
< div class = "section-block" style = "margin: 0px 26px 0px 24px" >
< div class = "section-title-block" >
2018-10-07 12:20:10 -07:00
< span class = "section-title" > < b > {{if bannedForever .ban}}YOUR'E PERMABANNED, IDIOT!{{else if isBanned .ban .banBoards}}YOU ARE BANNED :({{else}}YOU ARE NOT BANNED :){{end}}< / b > < / span >
2014-04-04 12:48:32 -07:00
< / div >
2018-10-07 12:20:10 -07:00
< div class = "section-body" style = "padding-top:8px" > {{if not (isBanned .ban .banBoards)}}< div style = "text-align:center;" > You're not banned. Good job.< / div > < br / > < img id = "banpage-image" src = "/notbanned.png" style = "display: block;margin-left: auto;margin-right: auto;" / > < br / > {{else}}
< div id = "ban-info" style = "float:left" > {{if eq .ban.Boards ""}}
2018-10-03 00:31:43 -07:00
You are banned from posting on < b > all boards< / b > for the following reason:{{else}}
You are banned from posting on < b > {{.ban.Boards}}< / b > for the following reason:{{end}}
2014-04-04 12:48:32 -07:00
< br / > < br / >
2018-10-03 00:31:43 -07:00
< b > {{.ban.Reason}}< / b >
2018-10-05 15:21:36 -07:00
< br / > < br / > {{$expires_timestamp := formatTimestamp .ban.Expires}}{{$appeal_timestamp := formatTimestamp .ban.AppealAt}}
Your ban was placed on {{formatTimestamp .ban.Timestamp}} and will
{{if .ban.Permaban}}< b > not expire< / b > {{else}}expire on < b > {{$expires_timestamp}}< / b > {{end}}.< br / >
2018-10-03 00:31:43 -07:00
Your IP address is < b > {{.ban.IP}}< / b > .< br / > < br / >
2018-10-05 15:21:36 -07:00
{{if .ban.CanAppeal}}You may appeal this ban:< br / >
2018-10-07 12:20:10 -07:00
< form id = "appeal-form" action = "/banned" method = "POST" >
< textarea rows = "4" cols = "48" name = "appealmsg" id = "postmsg" placeholder = "Appeal message" > < / textarea > < br / >
2018-10-05 15:21:36 -07:00
< input type = "submit" value = "Submit" / > < br / >
< / form > {{else}}You may < b > not< / b > appeal this ban.< br / > {{end}}
2018-10-07 12:20:10 -07:00
< / div > {{if bannedForever .ban}}
2022-01-16 15:14:08 -08:00
< img id = "banpage-image" src = "/permabanned.png" style = "float:right; margin: 4px 8px 8px 4px" / > < br / >
2018-10-05 15:21:36 -07:00
< audio id = "jack" preload = "auto" autobuffer loop >
2021-07-11 11:51:29 -07:00
< source src = "{{.systemCritical.WebRoot}}hittheroad.ogg" / >
< source src = "{{.systemCritical.WebRoot}}hittheroad.wav" / >
< source src = "{{.systemCritical.WebRoot}}hittheroad.mp3" / >
2018-10-05 15:21:36 -07:00
< / audio >
< script type = "text/javascript" >
document.getElementById("jack").play();
2018-10-07 12:20:10 -07:00
< / script > {{else if isBanned .ban .banBoards}}
2022-01-16 15:14:08 -08:00
< img id = "banpage-image" src = "/banned.png" style = "float:right; margin: 4px 8px 8px 4px" / > < br / > {{end}}
2018-10-07 12:20:10 -07:00
{{end}}< / div >
2014-04-04 12:48:32 -07:00
< / div >
2019-11-29 15:08:18 -08:00
{{template "page_footer.html" .}}