<?php
/*
$Id: about.php 68 2007-07-24 02:20:42Z randomperson83 $
Obsessive Web Statistics
Copyright (C) 2007 Dustin Spicuzza <hide@address.com>
This program 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 3 of the License, or
(at your option) any later version.
This program 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, see <http://www.gnu.org/licenses/>.
*/
// source required files, show header
require('include/base.inc.php');
require('include/plugin.inc.php');
// begin output buffering
ob_start("ob_callback");
set_title('About Obsessive Web Stats');
?><h4>About Obsessive Website Statistics</h4>
<p>Copyright © 2007 Dustin Spicuzza (<a href="mailto:hide@address.com">email</a>, <a href="http://www.virtualroadside.com/blog/">blog</a>)<br/>
<blockquote>
This program is free software: you can redistribute it and/or modify<br/>
it under the terms of the GNU General Public License as published by<br/>
the Free Software Foundation, either version 3 of the License, or<br/>
(at your option) any later version.<br/>
<br/>
This program is distributed in the hope that it will be useful,<br/>
but WITHOUT ANY WARRANTY; without even the implied warranty of<br/>
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br/>
GNU General Public License for more details.<br/>
<br/>
You should have received a copy of the GNU General Public License<br/>
along with this program. If not, see <http://www.gnu.org/licenses/>.<br/>
</blockquote>
OWS is intended to be a framework for analysis plugins, and as such the plugins implement most of the
important functionality of this program. Shown below is information about each plugin that is installed. If you create your own plugin, you are encouraged to contribute it so that it can be included in future versions of OWS and others can benefit from your work.
<h4>Plugin Information</h4>
<?php
if (!load_plugins(''))
return show_error('Could not load plugins!');
global $ows_plugins;
$ids = array();
// this works because plugins have been loaded in file order..
$fname = '';
foreach ($ows_plugins['all'] as $plugin){
$id = $plugin['plugin']->getPluginId();
if (!in_array($id,$ids)){
if ($fname != $plugin['filename']){
echo "<h4>" . htmlentities(basename($plugin['filename'])) . "</h4>";
$fname = $plugin['filename'];
}
echo "<p>";
show_plugin_information_table($plugin);
echo "</p>";
$ids[] = $id;
}
}
ob_end_flush();
?>