Code:
local party, mode = GetNumPartyMembers(), GetCurrentDungeonDifficulty()
-- hide both
PANEL1:Hide()
PANEL2:Hide()
-- 10 man normal mode
if party > 5 and mode == 1 then
PANEL1:Show()
-- 25 man heroic mode
elseif party > 10 and mode >= 2 then
PANEL2:Show()
end
Drycoded, but hope it helps