[UPDATED] Removed unused Smarty / PHP variables