
{source}<script![]() type="text/javascript" ![]() src="https://www.saveecobot.com/widgets/air-quality-informer/js/iframeResizer.min.js">![]() </script><iframe ![]() ![]() src="https://www.saveecobot.com/widgets/air-quality-informer/render/3e39ca41b1ea792e2aa20ccc18861fc2"![]() ![]() height="170px"![]() ![]() width="212px"![]() ![]() scrolling="no"![]() ![]() frameborder="0" ![]() ![]() referrerpolicy="strict-origin"![]() ![]() onload="iFrameResize({autoResize: true})"></iframe>{/source} |
{source}<script![]() type="text/javascript" ![]() src="https://www.saveecobot.com/widgets/air-quality-informer/js/iframeResizer.min.js">![]() </script><iframe ![]() ![]() src="https://www.saveecobot.com/widgets/air-quality-informer/render/d7928a1d7e55500631a7539e31e7f9bd"![]() ![]() height="170px"![]() ![]() width="212px"![]() ![]() scrolling="no"![]() ![]() frameborder="0" ![]() ![]() referrerpolicy="strict-origin"![]() ![]() onload="iFrameResize({autoResize: true})"></iframe>{/source} |
{source}
<?php //выводим модуль по id
$document = JFactory::getDocument();
$renderer = $document->loadRenderer('module');
$params = array('style'=>'xhtml');
$dbo = JFactory::getDBO();
//получить модуль как объект
$dbo->setQuery("SELECT * FROM #__modules WHERE id='146'");
$module = $dbo->loadObject();
//убрать предупреждение
$module->user = '';
echo $renderer->render($module, $params);
?>
{/source}