do you want it like this?
Category:
PantiesToTheSide
Posted by:
Lilithscarletred
More photos from PantiesToTheSide
SELECT *
FROM gallery2
WHERE topic_id="386552"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1303434"
UNION
SELECT *
FROM gallery2
WHERE topic_id="629153"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1025004"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1769832"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1418780"
UNION
SELECT *
FROM gallery2
WHERE topic_id="577450"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1294374"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1322942"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1544561"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1352501"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1490230"
UNION
SELECT *
FROM gallery2
WHERE topic_id="118603"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1469241"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1288512"
UNION
SELECT *
FROM gallery2
WHERE topic_id="576370"