A federal judge has ordered a purveyor of weight-loss and human-growth hormone-related products to pay more than $2.5 million for violations of the FTC Act and the CAN-SPAM Act.