<?php
$widgetid = JRequest::getVar(‚widgetid’, ‚widgetid is empty’);
$widgettitle = JRequest::getVar(‚widgettitle’, ”);
echo „<p>”;
echo $widgettitle;
echo „</p>”;
echo „<p>”;
echo „<code>”;
echo „[widgetkit id=”. $widgetid . „]”;
echo „</code>”;
echo „</p>”;
?>