Is this what you need?
Category:
footjobs
Posted by:
Kalyanubis
More photos from Footjobs
SELECT *
FROM gallery2
WHERE topic_id="1573937"
UNION
SELECT *
FROM gallery2
WHERE topic_id="435374"
UNION
SELECT *
FROM gallery2
WHERE topic_id="928722"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1287767"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1092322"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1434527"
UNION
SELECT *
FROM gallery2
WHERE topic_id="810644"
UNION
SELECT *
FROM gallery2
WHERE topic_id="554797"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1068145"
UNION
SELECT *
FROM gallery2
WHERE topic_id="808183"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1021253"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1357564"
UNION
SELECT *
FROM gallery2
WHERE topic_id="791852"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1030019"
UNION
SELECT *
FROM gallery2
WHERE topic_id="174402"
UNION
SELECT *
FROM gallery2
WHERE topic_id="426560"