Is this wordpress widget code? I think so.