Medians - E-commerce PHP script for online stores