GGC

News
Main
Links
SourceForge forum
SourceForge downloads
Javadoc documentation
About this project
Deutsche Flagge Deutsche Version

Legal
Webpages' source

SourceForge.net Logo


Should you experience any difficulties with any of the above pages, please drop the sitemaster a note.

Best viewed with any browser

<?php
/*
MODIFICATIONS:
  +2006-09-23: RR started modifications, make sure $nodb is initialised
*/

if (!isset ($relpath)) $relpath='../';

//all the db stuff should be done in the header
include_once ($relpath.'php/db.inc');
//make sure that $nodb is initialised to FALSE
$nodb FALSE;
//open db connection
$db = @mysql_connect ($dbhost$dbuser$dbrwpass) or $nodb TRUE;
@
mysql_select_db ($dbname);

include_once (
$relpath.'php/session.inc');
if (!
has_session ()) start_session ();
include_once (
$relpath.'php/useragents.inc');

if (
$_GET['right'] != ''$right $_GET['right'];
//shouldn't happen, but we check anyway
elseif ($_POST['right'] != ''$right $_POST['right'];
else 
$right 'news';

$visits num_visits ($right'de');

//and close db connection
@mysql_close ($db);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de">
  <head>
    <meta name="generator" content=
        "HTML Tidy for Linux/x86 (vers 1st May 2002), see www.w3.org" />

    <title>Das BE-Tagebuch</title>
    <meta name="GENERATOR" content="Quanta Plus" />
    <link rel="stylesheet" type="text/css"
        href="<? echo $relpath ?>styles/global.css" />
    <link rel="stylesheet" type="text/css"
        href="<? echo $relpath ?>styles/index.css" />
    <script src="<? echo $relpath ?>scripts/index.js"
        type="text/javascript"></script>
    <script src="<? echo $relpath ?>scripts/global.js"
        type="text/javascript"></script>
<? @include_once($relpath.'php/'.$right.'_head.inc'); ?>
    <link rel="stylesheet" media="print, embossed"
        href="<? echo $relpath ?>styles/printer.css" />
  </head>

  <body>
    <div class="left">
<? include_once($relpath.'de/contents.php');?>
    </div>
    <div class="right">
      <!-- begin content; indentation reset -->
<? @include ($relpath.'de/'.$right.'.php'); ?>
      <!-- end content; indentation back to normal -->
      <p class="visits">Besucherz√§hler: <? echo $visits?></p>
    </div>
  </body>
</html>

Visitor count: 11503