from .tool.func import * def user_info_2(conn): curs = conn.cursor() ip = ip_check() curs.execute('select name from alarm where name = ? limit 1', [ip_check()]) if curs.fetchall(): plus2 = '
  • ' + load_lang('alarm') + ' (O)
  • ' else: plus2 = '
  • ' + load_lang('alarm') + '
  • ' if custom()[2] != 0: plus = '''
  • ''' + load_lang('logout') + '''
  • ''' + load_lang('user_setting') + '''
  • ''' plus2 += '
  • ' + load_lang('watchlist') + '
  • ' plus3 = '
  • ' + load_lang('user_document_acl') + '
  • ' else: plus = '''
  • ''' + load_lang('login') + '''
  • ''' + load_lang('register') + '''
  • ''' plus3 = '' curs.execute("select data from other where name = 'email_have'") test = curs.fetchall() if test and test[0][0] != '': plus += '
  • ' + load_lang('password_search') + '
  • ' return easy_minify(flask.render_template(skin_check(), imp = [load_lang('user_tool'), wiki_set(), custom(), other2([0, 0])], data = '''

    ''' + load_lang('state') + '''


    ''' + load_lang('login') + '''


    ''' + load_lang('tool') + '''


    ''' + load_lang('other') + '''

    ''', menu = 0 ))