My 7 yr old child is having a fever, lower stomach ache, and leg pains. What could wrong with her?

Not sure. Not enough info to make a diagnosis, but from what you describe would strongly recommend having her seen by a doctor asap. As an example this could conceivably be appendicitis with irritation of nerves running into their legs creating the pain. Have them seen, and hope they are better soon.