$document = &JFactory::getDocument();
$renderer = $document->loadRenderer(‘module’);
$params = array(‘style’=>$style);
echo $renderer->render(JModuleHelper::getModule(‘mod_login’), $params);
$renderer = $document->loadRenderer(‘module’);
$params = array(‘style’=>$style);
echo $renderer->render(JModuleHelper::getModule(‘mod_login’), $params);