Disculpa que insista, pero no entendí muy bien como debo agregar esa función.
Este es el código de toda la función que tengo:
Código:
function cabecera() {
global $module_name,$LEMA;
OpenTable();
echo "<center>";
echo "<table width=\"60%\" border=\"0\">";
echo "<tr>";
echo "<td width=\"50%\" align=\"center\"><a href=\"http://www.rae.es\"><img src=\"modules/$module_name/logo.gif\" border=\"0\" alt=\"\"></a></td>";
echo "<td width=\"50%\" align=\"left\"><b>DICCIONARIO DE LA LENGUA ESPAÑOLA<br>Vigésima segunda edición</b><br><a href=\"http://www.rae.es\" target=\"blank\">http://www.rae.es</a></td>";
echo "</tr>";
echo "</table><br>";
echo "<form action=\"modules.php?name=$module_name&LEMA=$LEMA&IDVERBO=\" method=\"post\">"
."<font class=\"content\"><input type=\"text\" size=\"45\" name=\"LEMA\" value=\"$LEMA\"> <input type=\"submit\" value=\"Consultar\"></font>"
."</form>";
echo "</center>";
CloseTable();
}
¿Cómo debería incluir el código que me pasaste?