function to generate a html page header.
01 <?php
02
03 function make_head($description,$keywords,$author,$lang,$title,$css_path,$favicon_path)
04 {
05 echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
06 "http://www.w3.org/TR/html4/loose.dtd">
07 <html>
08 <head>
09 <title>'.$title.'</title>
10 <meta name="description" content="'.$description.'" />
11 <meta name="keywords" content="'.$keywords.'" />
12 <meta name="author" content="'.$author.'" />
13 <meta name="content-language" content="'.$lang.'" />
14 <link rel="stylesheet" href="'.$css_path.'" media="all" />
15 <link rel="shortcut icon" href="'.$favicon_path.'" />
16 <link rel="icon" href="'.$favicon_path.'" type="image/ico" />
17 <head>
18 <body>';
19
20 }
21
22 ?>