%
ERuby.import('init.txt')
topic_row = $db.query("SELECT * FROM forum_topics WHERE id=#{$cgi['id']}").fetch_hash
forum_row = $db.query("SELECT * FROM forum_forums WHERE id=#{topic_row['forum_id']}").fetch_hash
$navigation.add(forum_row['name'], "forum.eruby?id=#{forum_row['id']}")
$navigation.add(topic_row['title'], "")
ERuby.import('head.txt')
%>
Reply to this topic
|
<%=Time.at(row['date_create'].to_i).strftime('Posted at %H:%M on %B %d')%>: <%=CGI.escapeHTML(row['message']).gsub(/\n/," \n")%> |