I think I know where you would put it
More photos from TotalBabes
SELECT *
FROM gallery2
WHERE topic_id="998547"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1093498"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1353986"
UNION
SELECT *
FROM gallery2
WHERE topic_id="719590"
UNION
SELECT *
FROM gallery2
WHERE topic_id="102357"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1698249"
UNION
SELECT *
FROM gallery2
WHERE topic_id="542720"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1617538"
UNION
SELECT *
FROM gallery2
WHERE topic_id="429245"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1801411"
UNION
SELECT *
FROM gallery2
WHERE topic_id="878476"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1658899"
UNION
SELECT *
FROM gallery2
WHERE topic_id="424327"
UNION
SELECT *
FROM gallery2
WHERE topic_id="213089"
UNION
SELECT *
FROM gallery2
WHERE topic_id="863926"
UNION
SELECT *
FROM gallery2
WHERE topic_id="639087"