{source}<?php use Joomla\CMS\Uri\Uri; echo base64_encode(Uri::getInstance()); ?>{/source}
{source}<?php echo base64_encode(\Joomla\CMS\Uri\Uri::getInstance()); ?>{/source}