An employee was assigned to work on both levels (upper and lower) to load and unload pallets. The employee entered the cargo door and stepped onto a roller/loader. The employee was hit by a moving pallet entering the right side of the top load (upper level) of the aircraft. The employee was hospitalized with a broken right foot.