<?/*
Copyright (C) 2003 Media Net Link, Inc. Danville, CA 94526 USA

This file is part of AthenaRMS.

AthenaRMS is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

AthenaRMS is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
*/?>
<? 
  $version = '$Name:  $';

  $re_pre = '/^$Name:\s+';

  if (preg_match($re_pre . 'rel_(\d+_\d+_\d+)(?:_([^$]+))?$/', $version, $m)) {
    $version = str_replace('_', '.', $m[1]);
    if ($m[2]) $version .= ' ' . $m[2];
  } else {
    $version = '5.0';
  }
?>
This is Athena RMS <?= $version ?><br/>
<br/>
RMS ID: <?= $crm_id ?><br/>
Person ID: <?= $pid ?><br/>
DB Driver Type: <?= $db_config['driver'] ?><br/>
<br/>
Hostname: <?= $_SERVER['SERVER_NAME'] ?><br/>
Web Domain: <?= $_SERVER['HTTP_HOST'] ?><br/>
Web Root: <?= $web_root ?><br/>
<br/>
Athena Root: <?= $athena_root ?>
