Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (43 sloc) 1.35 KB
$title='GTD-PHP Version Information';
include_once '';
if (array_key_exists('addons',$_SESSION)) {
foreach ($_SESSION['addons'] as $key=>$val) if ($val===true) {
<table summary='version information'>
<tr><th>GTD-PHP revision</th>
<td><?php echo _GTD_REVISION; ?></td>
<tr><th>GTD-PHP version</th>
<td><?php echo _GTDPHP_VERSION; ?></td>
<tr><th>GTD-PHP database</th>
<td><?php echo array_pop(array_pop(query('getgtdphpversion'))); ?></td>
<tr><th>GTD-PHP theme</th>
<td><?php echo $_SESSION['theme']; ?></td>
<td><?php echo PHP_VERSION; ?></td>
<td><?php echo getDBVersion(); ?></td>
<?php if (count($addons)) { ?>
<tr><th colspan='2'>Addons</th></tr>
<?php foreach ($addons as $name=>$ver) { ?>
<tr><th><?php echo $name; ?></th>
<td><?php echo $ver; ?></td>
} ?>
<?php include_once ''; ?>
Jump to Line
Something went wrong with that request. Please try again.