source: trunk/www/localized/it/includes/common.inc @ 108736

Last change on this file since 108736 was 19376, checked in by yeled@…, 14 years ago

add svn:keywords Id

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1<?php
2
3# $Id: common.inc 19376 2006-09-02 03:19:06Z yeled@macports.org $
4# Copyright (c) 2003, OpenDarwin
5
6######################################################################
7
8# print the page header
9function print_header($title, $encoding) {
10  global $DOCUMENT_ROOT;
11?>
12<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
13  "http://www.w3.org/TR/xhtml/DTD/xhtml1-strict.dtd">
14<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it" lang="it">
15  <head>
16    <title><?php echo("$title"); ?></title>
17    <meta http-equiv="Content-type" content="text/html; charset=<?php echo("$encoding"); ?>" />
18    <meta name="author" content="Jim Mock (mij@opendarwin.org)" />
19    <meta name="copyright" content="2003, OpenDarwin" />
20    <meta name="robots" content="all" />
21    <link rel="stylesheet" type="text/css" href="/dp.css" />
22    <link rel="alternate" type="application/rss+xml" href="http://www.darwinports.org/dp_news.xml" />
23  </head>
24
25  <body>
26
27  <div id="main">
28
29<?php
30  include("$DOCUMENT_ROOT/it/includes/header.inc");
31}
32
33######################################################################
34
35# print the page footer
36function print_footer() {
37  global $DOCUMENT_ROOT;
38
39  include("$DOCUMENT_ROOT/it/includes/footer.inc");
40
41  echo "  </body>\n";
42  echo "</html>\n";
43}
44?>
Note: See TracBrowser for help on using the repository browser.