from .tool.func import * def list_acl_2(conn): 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 = '' div += next_fix('/acl_list?num=', num, list_data) return easy_minify(flask.render_template(skin_check(), imp = [load_lang('acl_document_list'), wiki_set(), wiki_custom(), wiki_css([0, 0])], data = div, menu = [['other', load_lang('return')]] ))