-- vim:set ft=lua: PAGE_COUNT=30 dofile(mg.script_name:gsub('[^\\/]*$','')..'util.lua') ct=CreateContentBuilder(GZIP_THRESHOLD_BYTE) ct:Append([=[ 予約一覧 - EDCB

予約一覧

]=]) for i=pageIndex*PAGE_COUNT+1,math.min(#a,(pageIndex+1)*PAGE_COUNT) do v=a[i] ct:Append(' \n') end ct:Append([=[
' ..FormatTimeAndDuration(v.startTime, v.durationSecond) ..''..v.stationName..''..v.title..'
view.lua]=]) for i,v in ipairs(edcb.FindFile and edcb.FindFile('\\\\.\\pipe\\SendTSTCP_*',0) or {}) do n=v.name:match('^[^_]+_(%d+)_%d+$') if n then ct:Append(' port'..n..'') end end ct:Append([=[ (term)
]=]) ct:Finish() mg.write(ct:Pop(Response(200,'text/html','utf-8',ct.len)..(ct.gzip and 'Content-Encoding: gzip\r\n' or '')..'\r\n'))