Content deleted Content added
No edit summary |
No edit summary |
||
Line 26:
local d = 1-j
local skip = false
while d <= N do
table.insert(res, '<tr>')
Line 39 ⟶ 40:
table.insert(res, '<td>' .. d .. '</td>')
end
elseif (skip == false) then
local cs = (d <= 0) and (2 - d) or (9 - i)
table.insert(res, '<td' .. (cs > 1 and ' colspan=' .. cs or '') .. '>' .. i .. ' and ' .. d .. '</td>')
end
end
|