<html xmlns="http://www.w3.org/1999/xhtml" lang="' . $language . '" xml:lang="' . $language . '">'); } else { echo ('<' . $doctype . '>
<html lang="' . $language . '">'); } echo ('
<head>
'); if ($charset != NULL) { if(stristr($doctype, 'xhtml11')) { echo ('<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=' . $charset . '" />'); } else { echo ('<meta http-equiv="Content-Type" content="text/html; charset=' . $charset . '" />'); } } else { if(stristr($doctype, 'xhtml11')) { echo ('<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />'); } else { echo ('<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />'); } } if ($description != NULL) { echo ('
<meta name="description" content="' . $description . '" />'); } if ($keywords != NULL) { echo ('
<meta name="keywords" content="' . $keywords . '" />'); } if ($owner != NULL) { echo ('
<meta name="owner" content="' . $owner . '" />'); } if ($author != NULL) { echo ('
<meta name="author" content="' . $author . '" />'); } echo ('
<meta name="generator" content=HTML Generator made by Tecfan" />'); if ($title != NULL) { echo ('
<title>' . $title . '</title>'); } else { echo ('
<title>INSERT THE TITLE OF THE PAGE HERE</title>'); } echo ('
</head>
'); echo ('<body>

'); echo ('This page was generated by Tecfan\'s html generator.'); echo ('

</body>
'); echo ('</html>'); } ?>