from .tool.func import *
def list_not_close_topic_2(conn):
curs = conn.cursor()
div = '
'
curs.execute(db_change('select title, sub, date, code from rd where stop != "O" order by date desc'))
n_list = curs.fetchall()
for data in n_list:
div += '- ' + data[2] + ' | ' + html.escape(data[1]) + ' (' + html.escape(data[0]) + ')
'
div += '
'
return easy_minify(flask.render_template(skin_check(),
imp = [load_lang('open_discussion_list'), wiki_set(), custom(), other2([0, 0])],
data = div,
menu = [['manager', load_lang('return')]]
))