assign("tituloPagina", $grupo["nombre"]); $smarty->assign("result", $result); if ($grupo["title"] != "") $page->title = $grupo["title"]; else $page->title = $grupo["nombre"].". ".CLIENT_NAME; if ($grupo["description"] != "") $page->description = $grupo["description"]; if ($grupo["keywords"] != "") $page->keywords = $grupo["keywords"]; $smarty->assign("canonical", $urlWeb.$grupo["link"]); $moneda = explode("|", MONEDA_PARAMETROS); include(PATH."header.php"); if ($mailing) { $smarty->assign("urlWeb", "http://".substr(URL_WEB, 0, -1)); $smarty->assign("pathHtml", PATH_HTML); $smarty->assign("moneda", $moneda[0]); $resultado = $smarty->fetch('boletinLayout.html'); header('Content-Type:text/html; charset=ISO-8859-1'); echo $resultado; // Porque ha sido llamado por ajax desde el cup } else { $smarty->display('especial.html'); } if (false) { echo "
";print_r($result);echo "
"; } ?>