PageRenderTime 42ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/googlemini/code/trunk/administrator/components/com_artofgm/views/about/tmpl/default.php

https://bitbucket.org/eddieajau/the-art-of-joomla-archive
PHP | 82 lines | 54 code | 17 blank | 11 comment | 4 complexity | c2d901ca5693064289c92f294f2f0a9f MD5 | raw file
  1. <?php
  2. /**
  3. * @version $Id: default.php 518 2011-01-07 06:36:43Z eddieajau $
  4. * @package NewLifeInIT
  5. * @subpackage com_ARTOFGM
  6. * @copyright Copyright 2011 New Life in IT Pty Ltd. All rights reserved
  7. * @license GNU General Public License <http://www.fsf.org/licensing/licenses/gpl.html>
  8. * @link http://www.theartofjoomla.com
  9. */
  10. // No direct access.
  11. defined('_JEXEC') or die;
  12. JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
  13. JHtml::stylesheet('default.css', 'administrator/components/com_ARTOFGM/media/css/');
  14. // Initialise variables.
  15. $db = JFactory::getDbo();
  16. $jVersion = new JVersion;
  17. // Pre-compute server information.
  18. if (isset($_SERVER['SERVER_SOFTWARE'])) {
  19. $server = $_SERVER['SERVER_SOFTWARE'];
  20. }
  21. else {
  22. $sf = getenv('SERVER_SOFTWARE');
  23. if ($sf) {
  24. $server = $sf;
  25. }
  26. else {
  27. $server = 'Not applicable.';
  28. }
  29. }
  30. ?>
  31. <h1>
  32. <?php echo JText::_('COM_ARTOFGM_TITLE');?>
  33. </h1>
  34. <p>
  35. <?php echo JText::_('COM_ARTOFGM_DESC'); ?>
  36. </p>
  37. <p>
  38. <a href="http://www.theartofjoomla.com/extensions/artof-google-mini.html">
  39. http://www.theartofjoomla.com/extensions/artof-google-mini.html</a>.
  40. </p>
  41. <h2>
  42. <?php echo JText::_('COM_ARTOFGM_ABOUT_SUPPORT');?>
  43. </h2>
  44. <p>
  45. <?php echo JText::_('COM_ARTOFGM_ABOUT_SUPPORT_DESC');?><p>
  46. <textarea style="width:100%;font-family:monospace;" onclick="this.focus();this.select();" rows="10">
  47. Joomla : <?php echo $jVersion->getLongVersion(); ?>
  48. Software : <?php echo ARTOFGMVersion::getVersion(true, true); ?>
  49. Server : <?php echo $server; ?>
  50. PHP : <?php echo phpversion(); ?>
  51. Database : <?php echo $db->getVersion(); ?> <?php echo $db->getCollation(); ?>
  52. Browser : <?php echo htmlspecialchars(phpversion() <= '4.2.1' ? getenv('HTTP_USER_AGENT') : $_SERVER['HTTP_USER_AGENT'], ENT_QUOTES); ?>
  53. Platform : <?php echo php_uname(); ?> <?php echo php_sapi_name(); ?>
  54. </textarea>
  55. <h2>
  56. <?php echo JText::_('COM_ARTOFGM_ABOUT_CHANGELOG');?>
  57. </h2>
  58. <dl>
  59. <dt>Version 1.0.0 - November 2010</dt>
  60. <dd>
  61. <ul>
  62. <li>Initial release.</li>
  63. </ul>
  64. </dd>
  65. </dl>