|
@@ -13,7 +13,8 @@ def setting_2(conn, num):
|
|
|
load_lang('main_head'),
|
|
load_lang('main_head'),
|
|
|
load_lang('main_body'),
|
|
load_lang('main_body'),
|
|
|
'robots.txt',
|
|
'robots.txt',
|
|
|
- 'Google'
|
|
|
|
|
|
|
+ 'Google',
|
|
|
|
|
+ load_lang('main_bottom_body'),
|
|
|
]
|
|
]
|
|
|
|
|
|
|
|
x = 0
|
|
x = 0
|
|
@@ -310,12 +311,16 @@ def setting_2(conn, num):
|
|
|
''',
|
|
''',
|
|
|
menu = [['setting', load_lang('return')]]
|
|
menu = [['setting', load_lang('return')]]
|
|
|
))
|
|
))
|
|
|
- elif num == 3 or num == 4:
|
|
|
|
|
|
|
+ elif num == 3 or num == 4 or num == 7:
|
|
|
if flask.request.method == 'POST':
|
|
if flask.request.method == 'POST':
|
|
|
if num == 4:
|
|
if num == 4:
|
|
|
info_d = 'body'
|
|
info_d = 'body'
|
|
|
end_r = '4'
|
|
end_r = '4'
|
|
|
coverage = ''
|
|
coverage = ''
|
|
|
|
|
+ elif num == 7:
|
|
|
|
|
+ info_d = 'bottom_body'
|
|
|
|
|
+ end_r = '7'
|
|
|
|
|
+ coverage = ''
|
|
|
else:
|
|
else:
|
|
|
info_d = 'head'
|
|
info_d = 'head'
|
|
|
end_r = '3'
|
|
end_r = '3'
|
|
@@ -344,6 +349,10 @@ def setting_2(conn, num):
|
|
|
curs.execute("select data from other where name = 'body'")
|
|
curs.execute("select data from other where name = 'body'")
|
|
|
title = '_body'
|
|
title = '_body'
|
|
|
start = ''
|
|
start = ''
|
|
|
|
|
+ elif num == 7:
|
|
|
|
|
+ curs.execute("select data from other where name = 'bottom_body'")
|
|
|
|
|
+ title = '_bottom_body'
|
|
|
|
|
+ start = ''
|
|
|
else:
|
|
else:
|
|
|
curs.execute("select data from other where name = 'head' and coverage = ?", [flask.request.args.get('skin', '')])
|
|
curs.execute("select data from other where name = 'head' and coverage = ?", [flask.request.args.get('skin', '')])
|
|
|
title = '_head'
|
|
title = '_head'
|