Is this what you want?
Category:
soles
Posted by:
cobra_lily
More photos from Soles
SELECT *
FROM gallery2
WHERE topic_id="1185680"
UNION
SELECT *
FROM gallery2
WHERE topic_id="68057"
UNION
SELECT *
FROM gallery2
WHERE topic_id="66448"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1241510"
UNION
SELECT *
FROM gallery2
WHERE topic_id="43832"
UNION
SELECT *
FROM gallery2
WHERE topic_id="527396"
UNION
SELECT *
FROM gallery2
WHERE topic_id="675171"
UNION
SELECT *
FROM gallery2
WHERE topic_id="952642"
UNION
SELECT *
FROM gallery2
WHERE topic_id="661786"
UNION
SELECT *
FROM gallery2
WHERE topic_id="379336"
UNION
SELECT *
FROM gallery2
WHERE topic_id="41092"
UNION
SELECT *
FROM gallery2
WHERE topic_id="678956"
UNION
SELECT *
FROM gallery2
WHERE topic_id="660543"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1792667"
UNION
SELECT *
FROM gallery2
WHERE topic_id="179694"
UNION
SELECT *
FROM gallery2
WHERE topic_id="512495"