Would this do?
Category:
manass
Posted by:
doowlean31
More photos from Manass
SELECT *
FROM gallery2
WHERE topic_id="276358"
UNION
SELECT *
FROM gallery2
WHERE topic_id="70003"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1337685"
UNION
SELECT *
FROM gallery2
WHERE topic_id="65707"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1278971"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1604580"
UNION
SELECT *
FROM gallery2
WHERE topic_id="821789"
UNION
SELECT *
FROM gallery2
WHERE topic_id="314427"
UNION
SELECT *
FROM gallery2
WHERE topic_id="454062"
UNION
SELECT *
FROM gallery2
WHERE topic_id="492408"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1209397"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1483310"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1144412"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1477419"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1533766"
UNION
SELECT *
FROM gallery2
WHERE topic_id="910978"