Just by looking into the car there was nothing in site that would get the cop to look through the car.
School cop? Not a member of the local police force? If so, then the warrant rules do not apply and I feel certain there are other rules that do- look at your enrollment agreement. Fourth Amendment restricts what the GOVERNMENT law enforcement agents can do.