Smarty: Use local configuration instead of GLOBALS
MySQL.STMT - MySQL wrapper for prepared statements