!7 p { ai_spec_init(); } html { bool authed = creatorAuthed(); S _topic = params.get("topic"); if (empty(_topic)) _topic = ai_randomString(); fS topic = _topic; if (nempty(params.get("topic"))) { // not from "random topic" url // post user's answers (verified or unverified) } S formURL = smartBotRealURL() + "/dyn/" + psI(programID()) + "?topic=" + urlencode(topic); L data = ll(); // Main HTML ret hstyle_matrixBackground() + htitle_htmlencode("Matrix: " + topic) + loadJQuery() + div(small(authed ? "Authed" : "Not authed"), style := "position:absolute; right: 10px; top: 10px;") + hcenter( hform("Topic: " + hinputfield('topic, value := topic), action := smartBot_emptyMatrixLink()) + p(b( hfontsize(15, "Matrix Parsing Page for:") + "
" + targetBlank(smartBot_encyclopediaLink(topic), hfontsize(40, topic), style := "text-decoration: none")) + "
" /*+ ahref(smartBot_encyclopediaLink(topic), "[more]")*/, style := "margin-top: 3em") + hpostform(hhidden(+topic) + hsubmit("Save answers") + "

" + htable_noEncode(data), action := formURL)); }