Collaborama About Help Contact Anonymous [login] Source: site.view [edit] Function name: storyRender Arguments: stories Description: Render storys Page type: webl Render function: Module: jw Page source: var res = WubCall("jw.header", ["bodyf"]); res = res + "<table border=1 width=100%>\n"; res = res + "<tr>\n"; res = res + "<td width=10%><b>Date</b></td>\n"; res = res + "<td width=15%><b>Name</b></td>\n"; res = res + "<td width=15%><b>Address</b></td>\n"; res = res + "<td width=15%><b>Phone</b></td>\n"; res = res + "<td width=45%><b>Story</b></td>\n"; res = res + "</tr>\n"; every story in stories do res = res + "<tr>\n"; res = res + "<td>" + story.date+ "</td>\n"; res = res + "<td>" + story.name + "</td>\n"; res = res + "<td>" + story.addr + "</td>\n"; res = res + "<td>" + story.phone + "</td>\n"; res = res + "<td>" + story.story + "</td>\n"; res = res + "</tr>\n"; end; res = res + WubCall("jw.footer", []); NewPage(res, "text/html");