2014-04-04 12:48:32 -07:00
<!DOCTYPE html>
< html >
< head >
< title > Banned< / title >
2018-10-03 00:31:43 -07:00
< link rel = "shortcut icon" href = "/favicon.png" >
2014-04-04 12:48:32 -07:00
< link rel = "stylesheet" href = "/css/global/front.css" / >
2018-08-09 00:04:45 -07:00
{{range $i, $style := .config.Styles}}
< link rel = "{{if not (isStyleDefault $style)}}alternate {{end}}stylesheet" href = "/css/{{$style}}/front.css" / > {{end}}
2014-04-04 12:48:32 -07:00
< script type = "text/javascript" >
2018-08-09 00:04:45 -07:00
var styles = [{{range $i, $style := .config.Styles}}{{if gt $i 0}}, {{end}}"{{$style}}"{{end}}];
2018-04-06 01:03:57 -07:00
var webroot = "{{.config.SiteWebfolder}}"
2014-04-04 12:48:32 -07:00
< / script >
2018-01-28 15:01:59 -08:00
< script type = "text/javascript" src = "/javascript/jquery-3.3.1.min.js" > < / script >
2014-04-04 12:48:32 -07:00
< script type = "text/javascript" src = "/javascript/gochan.js" > < / script >
< script type = "text/javascript" src = "/javascript/manage.js" > < / script >
< / head >
< body >
< div id = "top-pane" >
2018-04-06 01:03:57 -07:00
< span id = "site-title" > {{.config.SiteName}}< / span > < br / >
< span id = "site-slogan" > {{.config.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}}
2018-10-05 15:21:36 -07:00
< img id = "banpage-image" src = "/permabanned.jpg" style = "float:right; margin: 4px 8px 8px 4px" / > < br / >
< audio id = "jack" preload = "auto" autobuffer loop >
< source src = "{{.config.SiteWebfolder}}hittheroad.ogg" / >
< source src = "{{.config.SiteWebfolder}}hittheroad.wav" / >
< source src = "{{.config.SiteWebfolder}}hittheroad.mp3" / >
< / audio >
< script type = "text/javascript" >
document.getElementById("jack").play();
2018-10-07 12:20:10 -07:00
< / script > {{else if isBanned .ban .banBoards}}
< img id = "banpage-image" src = "/banned.jpg" style = "float:right; margin: 4px 8px 8px 4px" / > < br / > {{end}}
{{end}}< / div >
2014-04-04 12:48:32 -07:00
< / div >
2018-10-03 00:31:43 -07:00
{{template "global_footer.html" .}}