| Server IP : 10.200.247.200 / Your IP : 216.73.217.19 Web Server : Apache System : Linux synergy-usa-sites 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64 User : jeremy ( 1001) PHP Version : 8.4.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/usa_sites/fundingapplications.com/tracker/client/ |
Upload File : |
<?
/*
File: TrackerLib.php
Author: Michael Hoover
Comments:
TrackerLib.php handles displaying the 'tracker' image with all of the necessary parameters attached.
*/
//function spl_autoload_register($class_name) {
require_once($_SERVER['DOCUMENT_ROOT'].'/tracker/client/sources/Yahoo.php');
require_once($_SERVER['DOCUMENT_ROOT'].'/tracker/client/sources/MIVA.php');
require_once($_SERVER['DOCUMENT_ROOT'].'/tracker/client/sources/Unknown.php');
//}
class TrackerLib
{
var $trackers = array("Yahoo", "MIVA");
var $tracker = null;
var $site;
function __construct($site)
{
$this->site = $site;
foreach ($this->trackers as $tracker)
{
$testtracker = new $tracker;
if ($testtracker->IsTracking())
{
$this->tracker = $testtracker;
$this->tracker->Load($this->site);
break;
}
}
if ($this->tracker == null)
{
$this->tracker = new Unknown();
$this->tracker->Load($this->site);
}
}
function URLParameters()
{
return "&spt_site=" . $this->site . $this->tracker->URLParameters();
}
function TrackerParameters()
{
return "&spt_site=" . $this->site . $this->tracker->TrackerParameters();
}
function FormParameters()
{
return "<input type=\"hidden\" name=\"spt_site\" value=\"" . $this->site . "\">\n" . $this->tracker->FormParameters();
}
}
?>