from .tool.func import * def bbs_w(bbs_num = ''): with get_db_connect() as conn: curs = conn.cursor() curs.execute(db_change('select set_id from bbs_set where set_id = ? and set_name = "bbs_name"'), [bbs_num]) if not curs.fetchall(): return redirect('/bbs/main') bbs_num_str = str(bbs_num) data = '' data += '''
| ''' + load_lang('version') + ''' | ''' + load_lang('editor') + ''' | ''' + load_lang('time') + ''' |
| ''' + temp_dict['code'] + ''' | ''' + ip_pas(temp_dict['user_id']) + ''' | ''' + temp_dict['date'] + ''' |
| ''' + ('' + temp_dict['title'] + '') + ''' | ||