from .tool.func import * async def recent_record_topic(name = 'Test'): with get_db_connect() as conn: curs = conn.cursor() num = int(number_check(flask.request.args.get('num', '1'))) sql_num = (num * 50 - 50) if num * 50 > 0 else 0 div = '''
| ''' + get_lang(conn, 'discussion_name') + ''' | ''' + get_lang(conn, 'writer') + ''' | ''' + get_lang(conn, 'time') + ''' |
| ' + \ '' + other_data[0][1] + '#' + data[1] + ' (' + other_data[0][0] + ')' + \ ' | ' + \ '' + pas_name + ' | ' + \ '' + data[2] + ' | ' + \ '