<?php

# $Id: common.inc 19376 2006-09-02 03:19:06Z yeled@macports.org $
# Copyright (c) 2003, OpenDarwin

######################################################################

# print the current darwinports version
$dp_version = "1.3.1";

######################################################################

# print the page header
function print_header($title, $encoding) {
  global $DOCUMENT_ROOT;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
  <head>
    <title><?php echo("$title"); ?></title>
    <meta http-equiv="Content-type" content="text/html; charset=<?php echo("$encoding"); ?>" />
    <meta name="author" content="Jim Mock (mij@opendarwin.org)" />
    <meta name="copyright" content="2003, OpenDarwin" />
    <meta name="robots" content="all" />
    <link rel="stylesheet" type="text/css" href="/dp.css" />
    <link rel="alternate" type="application/rss+xml" href="http://www.darwinports.org/dp.xml" />
  </head>

  <body>

  <div id="main">

<?php
  include("$DOCUMENT_ROOT/fr/includes/header.inc");
}

###################################################################### 

# print the page footer
function print_footer() {
  global $DOCUMENT_ROOT;

  include("$DOCUMENT_ROOT/fr/includes/footer.inc");

  echo "  </body>\n";
  echo "</html>\n";
}
?>
