Update trades.php

Added a check for the new 'format' field when uploading new cards.