----- (mysql): select rec_id from area where name='Sidebar Buttons' LIMIT 1 ----- ----- (mysql): SELECT * FROM area WHERE name='Home' LIMIT 1 -----
----- (mysql): select rec_id from area where name='Home' LIMIT 1 ----- ----- (mysql): select category, cat_id, rec_id from categorys where area='' and category='Top Bar' and hidden=0 and private <= 0 and parent_id=0 LIMIT 1 -----