2013-05-29 12:15:44 -07:00
<!DOCTYPE html>
< html >
< head >
2014-02-09 02:17:06 -08:00
< meta charset = "UTF-8" >
2013-05-29 13:43:12 -07:00
< title > {{$board.Title}}< / title >
2014-02-21 21:11:37 -08:00
< script type = "text/javascript" src = "/javascript/jquery/jquery-1.10.2.min.js" > < / script >
2013-05-29 12:15:44 -07:00
< script type = "text/javascript" src = "/javascript/msgpack.js" > < / script >
< script type = "text/javascript" >
var styles = [{{range $ii, $style := $config.Styles_img}}{{if gt $ii 0}}, {{end}}"{{$style}}"{{end}}];
2013-07-29 06:43:57 -07:00
var webroot = "{{$config.SiteWebfolder}}";
var thread_type = "thread";
2015-01-10 10:57:24 -08:00
function changePage(sel) {
window.location = webroot+"test/res/"+{{$op.ID}}+"p"+sel.value+".html";
}
2013-05-29 12:15:44 -07:00
< / script >
< script type = "text/javascript" src = "/javascript/gochan.js" > < / script >
2013-07-01 03:10:46 -07:00
< script type = "text/javascript" src = "/javascript/manage.js" > < / script >
2013-05-29 12:15:44 -07:00
< link rel = "stylesheet" href = "/css/global/img.css" / >
{{range $i, $style := $config.Styles_img}}
< link rel = "{{if isStyleNotDefault_img $style}}alternate {{end}}stylesheet" href = "/css/{{$style}}/img.css" / > {{end}}
< / head >
< body >
< div id = "topbar" >
2014-02-08 23:18:32 -08:00
{{range $i, $board := $board_arr.Data}}
< a href = "/{{$board.Dir}}/" class = "topbar-item" > /{{$board.Dir}}/< / a >
2014-02-06 01:50:59 -08:00
{{end}}
2013-05-29 12:15:44 -07:00
< / div >
< div id = "top-pane" >
2013-05-29 13:43:12 -07:00
< span id = "board-title" > {{$board.Title}}< / span > < br / >
< span id = "board-subtitle" > {{$board.Subtitle}}< / span >
2013-05-29 12:15:44 -07:00
< / div >
< hr / >
< div id = "threadlinks-top" >
2013-06-05 14:01:27 -07:00
< a href = "{{$config.SiteWebfolder}}{{$board.Dir}}/board.html" > Return< / a > < br / >
2015-01-10 10:57:24 -08:00
< select id = "changepage" onchange = "changePage(this)" >
< option value = "" > Select page...< / option >
< option value = "1" > Page 1< / option >
< option value = "2" > Page 2< / option >
< option value = "3" > Page 3< / option >
< option value = "4" > Page 4< / option >
< / select >
{{/*}}< a href = "{{$op.ID}}-100.html" > First 100 posts< / a > < br / >
< a href = "{{$op.ID}}+50.html" > Last 50 posts< / a > < br / > {{*/}}
2013-05-29 12:15:44 -07:00
< / div >
< div id = "right-sidelinks" >
2013-06-05 14:01:27 -07:00
< a href = "{{$config.SiteWebfolder}}{{$board.Dir}}/catalog.html" > Board catalog< / a > < br / >
2013-05-29 12:15:44 -07:00
< / div >
< div id = "postbox-area" >
2013-06-02 14:04:34 -07:00
< form name = "postform" action = "/post" method = "POST" enctype = "multipart/form-data" >
2014-02-06 01:50:59 -08:00
< input type = "hidden" name = "threadid" value = "{{$op.ID}}" / >
< input type = "hidden" name = "boardid" value = "{{$board.ID}}" / >
2013-05-30 14:04:03 -07:00
< table id = "postbox-static" >
2013-10-05 00:50:59 -07:00
< tr > < td class = "postblock" > Name< / td > < td > < input type = "text" id = "postname" name = "postname" maxlength = "75" size = "28" { { / * value = "Name" onFocus = "if(this.value=='Name') {this,value= ''}" onBlur = "if(this.value == '') {this.value = 'Name'}" * / } } / > < / td > < / tr >
< tr > < td class = "postblock" > Email< / td > < td > < input type = "text" id = "postemail" name = "postemail" maxlength = "75" size = "28" / > < / td > < / tr >
2013-05-29 12:15:44 -07:00
< tr > < td class = "postblock" > Subject< / td > < td > < input type = "text" name = "postsubject" maxlength = "75" size = "35" / > < input type = "submit" value = "Post" / > < / td > < / tr >
< tr > < td class = "postblock" > Message< / td > < td > < textarea rows = "4" cols = "48" name = "postmsg" > < / textarea > < / td > < / tr >
2014-02-06 01:50:59 -08:00
< tr > < td class = "postblock" > File< / td > < td > < input name = "imagefile" type = "file" > < input type = "checkbox" id = "spoiler" name = "spoiler" / > < label for = "spoiler" > Spoiler< / label > < / td > < / tr >
2013-10-05 00:50:59 -07:00
< tr > < td class = "postblock" > Password< / td > < td > < input type = "password" id = "postpassword" name = "postpassword" size = "14" / > (for post/file deletion)< / td > < / tr >
2013-05-30 14:04:03 -07:00
< / table >
< / form >
2013-05-29 12:15:44 -07:00
< / div >
< hr / >
< div id = "content" >
2013-07-26 17:49:38 -07:00
< form action = "/util" method = "POST" id = "main-form" >
2014-02-06 01:50:59 -08:00
< div class = "thread" id = "{{$op.ID}}" >
< div class = "op-post" id = "op{{$op.ID}}" >
{{if stringNeq $op.Filename ""}}
{{if stringNeq $op.Filename "deleted"}}
2014-05-03 18:12:07 -07:00
< div class = "file-info" > File: < a href = "src/{{$op.Filename}}" target = "_blank" > {{$op.Filename}}< / a > - ({{formatFilesize $op.Filesize}} , {{$op.ImageW}}x{{$op.ImageH}}, {{$op.FilenameOriginal}} )< / div >
2014-04-20 13:16:16 -07:00
< a href = "{{$config.SiteWebfolder}}{{$board.Dir}}/src/{{$op.Filename}}" > < img src = "{{$config.SiteWebfolder}}{{$board.Dir}}/thumb/{{imageToThumbnailPath $op.Filename}}" width = "{{$op.ThumbW}}" height = "{{$op.ThumbH}}" class = "thumbnail" alt = "{{imageToThumbnailPath $op.Filename}}" / > < / a >
2014-02-06 01:50:59 -08:00
{{else}}
< div class = "file-deleted-box" style = "text-align:center;" > File removed< / div >
{{end}}
{{end}}
2014-06-08 08:26:28 -07:00
< input type = "checkbox" id = "check{{$op.ID}}" name = "check{{$op.ID}}" / > < label class = "post-info" for = "check{{$op.ID}}" > < span class = "subject" > {{$op.Subject}}< / span > < span class = "postername" > {{if stringNeq $op.Email ""}}< a href = "mailto:{{$op.Email}}" > {{end}}{{if stringNeq $op.Name ""}}{{$op.Name}}{{else}}{{if stringEq $op.Tripcode ""}}{{$board.Anonymous}}{{end}}{{end}}{{if stringNeq $op.Email ""}}< / a > {{end}}< / span > {{if stringNeq $op.Tripcode ""}}< span class = "tripcode" > !{{$op.Tripcode}}< / span > {{end}} {{formatTimestamp $op.Timestamp}} < / label > < a href = "/{{$board.Dir}}/res/{{$op.ID}}.html#{{$op.ID}}" > No.< / a > < a href = "/{{$board.Dir}}/res/{{$op.ID}}.html#i{{$op.ID}}" > {{$op.ID}}< / a > < span class = "post-links" > < span class = "thread-ddown" > [< a href = "javascript:void(0)" > ▼ < / a > ]< / span > < / span > < br / >
2014-02-06 01:50:59 -08:00
< div class = "post-text" >
2014-05-03 18:12:07 -07:00
{{if stringNeq $op.Message ""}}
< div class = "post-text" >
{{$op.Message}}
< / div >
{{end}}
2014-02-06 01:50:59 -08:00
< / div >
< / div >
{{range $reply_num,$reply := $post_arr}}{{if gt $reply_num 0}}
2015-01-10 10:57:24 -08:00
< div class = "reply-container" id = "replycontainer{{$reply.ID}}" >
< a class = "anchor" id = "{{$reply.ID}}" > < / a >
< div class = "reply" id = "reply{{$reply.ID}}" >
2014-06-15 02:15:51 -07:00
< input type = "checkbox" id = "check{{$reply.ID}}" name = "check{{$reply.ID}}" / > < label class = "post-info" for = "check{{$reply.ID}}" > < span class = "postername" > {{if stringNeq $reply.Email ""}}< a href = "mailto:{{$reply.Email}}" > {{end}}{{if stringNeq $reply.Name ""}}{{$reply.Name}}{{else}}{{if stringEq $reply.Tripcode ""}}{{$board.Anonymous}}{{end}}{{end}}{{if stringNeq $reply.Email ""}}< / a > {{end}}< / span > {{if stringNeq $reply.Tripcode ""}}< span class = "tripcode" > !{{$reply.Tripcode}}< / span > {{end}} {{formatTimestamp $reply.Timestamp}} < / label > < a href = "/{{$board.Dir}}/res/{{$op.ID}}.html#{{$reply.ID}}" > No.< / a > < a href = "/{{$board.Dir}}/res/{{$op.ID}}.html#{{$reply.ID}}i" > {{$reply.ID}}< / a > < span class = "post-links" > < span class = "thread-ddown" > [< a href = "javascript:void(0)" > ▼ < / a > ]< / span > < / span > < br / >
{{if stringNeq $reply.Filename ""}}< span class = "file-info" > File: < a href = "../src/{{$reply.Filename}}" target = "_blank" > {{$reply.Filename}}< / a > - ({{formatFilesize $reply.Filesize}} , {{$reply.ImageW}}x{{$reply.ImageH}}, {{$reply.FilenameOriginal}} )< / span > < br / >
< a href = "{{$config.SiteWebfolder}}{{$board.Dir}}/src/{{$reply.Filename}}" > < img src = "{{$config.SiteWebfolder}}{{$board.Dir}}/thumb/{{imageToThumbnailPath $reply.Filename}}" width = "{{$reply.ThumbW}}" height = "{{$reply.ThumbH}}" class = "thumbnail" alt = "{{imageToThumbnailPath $reply.Filename}}" / > < / a > {{end}}
2013-05-29 12:15:44 -07:00
2014-06-15 02:15:51 -07:00
< div class = "post-text" >
{{$reply.Message}}
< / div >
2014-02-06 01:50:59 -08:00
< / div >
2013-05-29 12:15:44 -07:00
< / div >
2014-02-06 01:50:59 -08:00
{{end}}{{end}}
2013-05-29 12:15:44 -07:00
< / div >
< hr / >
< div id = "left-bottom-content" >
2014-02-06 01:50:59 -08:00
< table id = "pages" >
2013-05-30 14:04:03 -07:00
< tr > < td > Previous< / td > < td > [0] [< a href = "{{$op.ID}}p1.html" > 1< / a > ]< / td > < td > < input type = "button" value = "Next" onclick = "window.location.href = '{{$op.ID}}p1.html'" / > < / td > < / tr >
2013-05-29 12:15:44 -07:00
< / table >
< span id = "boardmenu-bottom" >
2013-06-05 14:01:27 -07:00
[{{range $i, $board := $board_arr.Data}} {{if gt $i 0}}/{{end}} < a href = "/{{$board.Dir}}/" > {{$board.Dir}}< / a > {{end}}]
2013-05-29 12:15:44 -07:00
< / span >
< / div >
< div id = "right-bottom-content" >
< span id = "threadlinks-bottom" >
2013-06-05 14:01:27 -07:00
[< a href = "{{$config.SiteWebfolder}}{{$board.Dir}}/board.html" > Return< / a > ] [< a href = "{{$op.ID}}-100.html" > First 100 posts< / a > ] [< a href = "{{$op.ID}}+50.html" > Last 50 posts< / a > ]
2013-05-29 12:15:44 -07:00
< / span >
< div id = "report-delbox" >
2013-07-27 07:21:11 -07:00
< input type = "hidden" name = "board" value = "{{$board.Dir}}" / >
2013-07-29 06:43:57 -07:00
< label > [< input type = "checkbox" name = "fileonly" / > File only]< / label > < input type = "password" size = "10" name = "password" id = "delete-password" / > < input type = "submit" name = "delete_btn" value = "Delete" onclick = "return confirm('Are you sure you want to delete these posts?')" / > < br / >
Reason: < input type = "text" size = "10" name = "reason" id = "reason" / > < input type = "submit" value = "Report" / >
2013-05-29 12:15:44 -07:00
< / div >
< / div >
2013-07-26 17:49:38 -07:00
< / form >
2013-05-29 12:15:44 -07:00
< / div >
< div id = "footer" >
2013-06-07 08:11:41 -07:00
< a href = "{{$config.SiteWebfolder}}" > Home< / a > | < a href = "{{$config.SiteWebfolder}}#boards" > Boards< / a > | < a href = "{{$config.SiteWebfolder}}#rules" > Rules< / a > | < a href = "{{$config.SiteWebfolder}}#faq" > FAQ< / a > < br / >
Powered by Gochan {{$config.Version}}< br / >
2013-05-29 12:15:44 -07:00
< / div >
< / body >
2014-02-09 02:17:06 -08:00
< / html >