SELECT * FROM docscategories WHERE category=15 AND (type='' OR type IS NULL) ORDER BY id ASC SELECT * FROM docscategories WHERE category=28 AND (type='' OR type IS NULL) ORDER BY id ASC SELECT * FROM docscategories WHERE category=35 AND (type='' OR type IS NULL) ORDER BY id ASC SELECT * FROM docscategories WHERE category=37 AND (type='' OR type IS NULL) ORDER BY id ASC SELECT * FROM docscategories WHERE category=39 AND (type='' OR type IS NULL) ORDER BY id ASC SELECT * FROM docscategories WHERE category=40 AND (type='' OR type IS NULL) ORDER BY id ASC SELECT * FROM docscategories WHERE category=41 AND (type='' OR type IS NULL) ORDER BY id ASC SELECT * FROM docscategories WHERE category=42 AND (type='' OR type IS NULL) ORDER BY id ASC SELECT * FROM docscategories WHERE category=47 AND (type='' OR type IS NULL) ORDER BY id ASC SELECT * FROM docscategories WHERE category=49 AND (type='' OR type IS NULL) ORDER BY id ASC SELECT * FROM docscategories WHERE category=50 AND (type='' OR type IS NULL) ORDER BY id ASC SELECT * FROM docscategories WHERE category=52 AND (type='' OR type IS NULL) ORDER BY id ASC SELECT * FROM docscategories WHERE category=54 AND (type='' OR type IS NULL) ORDER BY id ASC SELECT * FROM docscategories WHERE category=55 AND (type='' OR type IS NULL) ORDER BY id ASC SELECT * FROM docscategories WHERE category=56 AND (type='' OR type IS NULL) ORDER BY id ASC SELECT * FROM docscategories WHERE category=57 AND (type='' OR type IS NULL) ORDER BY id ASC SELECT * FROM docscategories WHERE category=58 AND (type='' OR type IS NULL) ORDER BY id ASC SELECT * FROM docscategories WHERE category=60 AND (type='' OR type IS NULL) ORDER BY id ASC SELECT * FROM docscategories WHERE category=63 AND (type='' OR type IS NULL) ORDER BY id ASC