<?php
/**
* Legacy class, replaced by full MVC implementation.  See {@link JController}
*
* @deprecated	As of version 1.5
* @package	Joomla.Legacy
* @subpackage	1.5
* This file provides compatibility for simplemembership Library on Joomla! 1.0.x and Joomla! 1.5
*
*/

if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' );

require('./components/com_simplemembership/admin.simplemembership.class.conf.php');

// load language 

global $mosConfig_absolute_path, $mosConfig_lang,$mosConfig_live_site;
if (file_exists($mosConfig_absolute_path."/components/com_simplemembership/language/{$mosConfig_lang}.php" )) {
	include_once($mosConfig_absolute_path."/components/com_simplemembership/language/{$mosConfig_lang}.php" );
} else {
	include_once($mosConfig_absolute_path."/components/com_simplemembership/language/english.php" );
       }
?>

<table class="adminform">
	<tr>
		<td>
			<h3><?php echo _SIMPLEMEMBERSHIP_DOC_GENERAL_INFO;?></h3>
		</td>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td>
			<strong> <?php echo _SIMPLEMEMBERSHIP_DOC_VERSION;?></strong>
		</td>
		<td>
			<strong><?php echo $user_configuration['release']['version'];?></strong>
		</td>
	</tr>
	<tr>
		<td>
			<strong><?php echo _SIMPLEMEMBERSHIP_DOC_RELEASE_DATE;?></strong>
		</td>
		<td>
			<strong><?php echo $user_configuration['release']['date'];?></strong>
		</td>
	</tr>
	<tr>
    <td valign="top">

      <strong><?php echo _SIMPLEMEMBERSHIP_DOC_LICENSE;?></strong>

    </td>
    <td>
      <strong>
        <a href="<?php echo $mosConfig_live_site."/administrator/components/com_simplemembership/doc/LICENSE.txt"; ?>" 
           target="blank">License</a>
      </strong>
      <br />
       <?php echo _SIMPLEMEMBERSHIP_DOC_WARRANTY;?>
    </td>
  </tr>
  <tr>
    <td valign="top">
      <strong>README:</strong>
    </td>
    <td>
      <strong>
        <a href="<?php echo $mosConfig_live_site."/administrator/components/com_simplemembership/doc/README.txt"; ?>" 
           target="blank">README</a>
      </strong>
    </td>
  </tr>
	<tr>
		<td colspan="2">
			&nbsp;
		</td>
	</tr>	
</table>
