SET NAMES latin1
select id, owner, name, tpl, list from pre_folder_ru where id='164'
select id, owner, name, tpl, list from pre_folder_ru where id='45'
select id, owner, name, tpl, list from pre_folder_ru where id='41'
select def_doc, name, description from pre_folder_ru where id='164'
select name, l_name, sec, name, text, ps, keywords, description, doc_type from pre_docs_ru where id='205' and list=1
select id, name, link from pre_folder_ru where owner='41' and list=1 order by sort, id