You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
403 B
23 lines
403 B
4 years ago
|
require"htk"
|
||
|
|
||
|
local a_table = {}
|
||
|
for i = 1, 20 do
|
||
|
local l = {}
|
||
|
for j = 1, 20 do
|
||
|
table.insert (l, HTK.TD { "cell "..i..","..j })
|
||
|
end
|
||
|
table.insert (a_table, HTK.TR (l))
|
||
|
end
|
||
|
|
||
|
cgilua.htmlheader()
|
||
|
cgilua.put (HTK.HTML {
|
||
|
HTK.HEAD { HTK.TITLE { "Titulo da Pagina" } },
|
||
|
HTK.BODY {
|
||
|
bgcolor = "#FFFFFF",
|
||
|
HTK.H1 { "Titulo da Pagina" },
|
||
|
HTK.P {},
|
||
|
"Uma p�gina qualquer",
|
||
|
HTK.TABLE (a_table),
|
||
|
}
|
||
|
})
|