from .tool.func import *
def watch_list_2(conn):
curs = conn.cursor()
div = 'limit : 10
'
if custom()[2] == 0:
return redirect('/login')
curs.execute("select title from scan where user = ?", [ip_check()])
data = curs.fetchall()
for data_list in data:
div += '' + data_list[0] + ' (' + load_lang('delete') + ')'
if data:
div = '
'
div += '(' + load_lang('add') + ')'
return easy_minify(flask.render_template(skin_check(),
imp = [load_lang('watchlist'), wiki_set(), custom(), other2([0, 0])],
data = div,
menu = [['manager', load_lang('return')]]
))