Ceiling Fan and separate ceiling light fixtures
You would appear to have the lights connected to BOTH the dimmer and the fan switch. Presumably this means that things are not really wired the way they were before. You'll need to figure out where this happened and correct it; it's difficult to speculate from afar, but when you get beyond what you can sort out yourself, call in a pro.