A portion of the code needed to take orders for a mobile advertising network (created as a sample with CakePHP for a client)