<?php
//v1.0.4 www.bcoos.net 2006/10 GPL
//v1.5 www.exoops.info 2006/03 
// $Id: main.php,v 1.4 2003/03/19 07:04:15 half-dead Exp $
// ------------------------------------------------------------------------- //
//               E-Xoops: Content Management for the Masses                  //
//                       < http://www.e-xoops.com >                          //
// ------------------------------------------------------------------------- //
// Original Author: Kazumi Ono
// Author Website : http://www.mywebaddons.com/ , http://www.myweb.ne.jp
// License Type   : GPL: See /manual/LICENSES/GPL.txt
// ------------------------------------------------------------------------- //
if ( !preg_match("/admin\.php/i", _PHP_SELF) ) {
	exit();
	}
if(!isset($dirname) || $dirname == "") {
	$dirname = "admin/version";
}
if ( is_numeric($mid) ) {
	$versioninfo = new XoopsModule($mid);
} else {
	$versioninfo = new XoopsModule();
	$versioninfo->loadModInfo($mid);
}
?>
<html>
<head>
<title><?php echo $bcoosConfig['title'];?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo _CHARSET;?>"></meta>
<link href="<?php echo XOOPS_URL;?>/include/style.css" rel="stylesheet" type="text/css" />
<?php
$themecss = getcss(getTheme());
if ( $themecss ) {
echo "<style type='text/css' media='all'><!-- @import url($themecss); --></style>\n";
}
?>
</head>
<body><br />
<table align="center" width="80%"><tr>
<td align="center">
<img src="<?php echo XOOPS_URL."/modules/".$versioninfo->dirname()."/".$versioninfo->image();?>" border="0" />
<br />
<big><b><?php echo $versioninfo->name();?></b></big>
<br /><hr />
</td>
</tr><tr>
<td><br /><u>Version</u>:</td>
</tr><tr>
<td><?php echo $versioninfo->currentVersion();?></td>
</tr><tr>
<td><br /><u>Description</u>:</td>
</tr><tr>
<td><?php echo $versioninfo->description();?></td>
</tr><tr>
<td><br /><u>Author</u>:</td>
</tr><tr>
<td><?php echo $versioninfo->author();?></td>
</tr><tr>
<td><br /><u>Credits</u>:</td>
</tr><tr>
<td><?php echo $versioninfo->credits();?></td>
</tr><tr>
<td><br /><u>License</u>:</d>
</tr><tr>
<td><?php echo $versioninfo->license();?></td>
</tr><tr>
<td align="center"><br /><hr /><a href="javascript:window.close();"><?php echo _CLOSE;?></a><hr /></td>
</tr></table>
</body></html>
