I'd like to add a field to upload.tpl

How/where does smarty handle the MySql insert query?

Regards, HE