Commit 541084c1 authored by MatrixCrawler's avatar MatrixCrawler

Added Copyright notes

Minor fixes
parent 1bc47169
<?php <?php
/** /**
* Copyright (c) 2011, Johannes Brunswicker. * Copyright (c) 2014, Johannes Brunswicker.
* This file is licensed under the Affero General Public License version 3 or later. * This file is licensed under the Affero General Public License version 3 or later.
* See the COPYRIGHT file. * See the COPYRIGHT file.
*/ */
......
<?php <?php
/**
* Copyright (c) 2014, Johannes Brunswicker
* This file is licensed under the Affero General Public License version 3 or later.
* See the COPYRIGHT file.
*/
/** /**
* Class collecting functions for pulling data from Pods * Class collecting functions for pulling data from Pods
* @author J. Brunswicker * @author J. Brunswicker
...@@ -316,12 +322,12 @@ class Pull { ...@@ -316,12 +322,12 @@ class Pull {
/** /**
* Tries ti get a GeoIP based Location * Tries ti get a GeoIP based Location
* @param unknown $ipnum * @param string $ipnum
* @param unknown $whois * @param string $whois
* @param unknown $country * @param string $country
* @param unknown $city * @param string $city
* @param unknown $lat * @param string $lat
* @param unknown $long * @param string $long
*/ */
public static function getGeoIPData($ipnum, &$whois, &$country, &$city, &$lat, &$long) { public static function getGeoIPData($ipnum, &$whois, &$country, &$city, &$lat, &$long) {
$geoip = Net_GeoIP::getInstance("GeoLiteCity.dat"); $geoip = Net_GeoIP::getInstance("GeoLiteCity.dat");
...@@ -508,39 +514,39 @@ class Pull { ...@@ -508,39 +514,39 @@ class Pull {
/** /**
* Writes the Data into the Database * Writes the Data into the Database
* @param PDO $connection * @param PDO $connection
* @param unknown $gitdate * @param string $gitdate
* @param unknown $encoding * @param string $encoding
* @param unknown $secure * @param string $secure
* @param unknown $hidden * @param string $hidden
* @param unknown $runtime * @param string $runtime
* @param unknown $gitrev * @param string $gitrev
* @param unknown $ipnum * @param string $ipnum
* @param unknown $ipv6 * @param string $ipv6
* @param unknown $months * @param string $months
* @param unknown $uptime * @param string $uptime
* @param unknown $live * @param string $live
* @param unknown $pingdomdate * @param string $pingdomdate
* @param unknown $timenow * @param string $timenow
* @param unknown $responsetime * @param string $responsetime
* @param unknown $score * @param string $score
* @param unknown $adminRating * @param string $adminRating
* @param unknown $country * @param string $country
* @param unknown $city * @param string $city
* @param unknown $state * @param string $state
* @param unknown $lat * @param string $lat
* @param unknown $long * @param string $long
* @param unknown $diasporaVersion * @param string $diasporaVersion
* @param unknown $whois * @param string $whois
* @param unknown $userRating * @param string $userRating
* @param unknown $xdver * @param string $xdver
* @param unknown $masterVersion * @param string $masterVersion
* @param unknown $registrationsOpen * @param string $registrationsOpen
* @param unknown $totalUsers * @param string $totalUsers
* @param unknown $activeUsersHalfyear * @param string $activeUsersHalfyear
* @param unknown $activeUsersMonthly * @param string $activeUsersMonthly
* @param unknown $localPosts * @param string $localPosts
* @param unknown $podName * @param string $podName
* @param unknown $domain * @param string $domain
*/ */
public static function writeData(PDO $connection, $gitdate, $encoding, $secure, $hidden, $runtime, $gitrev, $ipnum, $ipv6, $months, $uptime, $live, $pingdomdate, $timenow, $responsetime, $score, $adminRating, $country, $city, $state, $lat, $long, $diasporaVersion, $whois, $userRating, $xdver, $masterVersion, $registrationsOpen, $totalUsers, $activeUsersHalfyear, $activeUsersMonthly, $localPosts, $podName, $domain) { public static function writeData(PDO $connection, $gitdate, $encoding, $secure, $hidden, $runtime, $gitrev, $ipnum, $ipv6, $months, $uptime, $live, $pingdomdate, $timenow, $responsetime, $score, $adminRating, $country, $city, $state, $lat, $long, $diasporaVersion, $whois, $userRating, $xdver, $masterVersion, $registrationsOpen, $totalUsers, $activeUsersHalfyear, $activeUsersMonthly, $localPosts, $podName, $domain) {
......
<?php <?php
/**
* Copyright (c) 2011, David Morley.
* This file is licensed under the Affero General Public License version 3 or later.
* See the COPYRIGHT file.
*/
require_once 'config.inc.php'; require_once 'config.inc.php';
require_once 'db.class.php'; require_once 'db.class.php';
......
<meta charset="utf-8"> <?php
<!-- /* Copyright (c) 2011, David Morley. This file is licensed under the Affero General Public License version 3 or later. See the COPYRIGHT file. */ --> /**
* Copyright (c) 2011, David Morley.
* This file is licensed under the Affero General Public License version 3 or later.
* See the COPYRIGHT file.
*/
?>
<table id="myTable" class="tablesorter" style="width: 98%"> <table id="myTable" class="tablesorter" style="width: 98%">
<thead> <thead>
<tr> <tr>
......
<?php error_reporting(E_ALL); ?> <?php
/**
* Copyright (c) 2011, David Morley.
* This file is licensed under the Affero General Public License version 3 or later.
* See the COPYRIGHT file.
*/
error_reporting(E_ALL);
?>
<!doctype html> <!doctype html>
<html> <html>
<head> <head>
...@@ -29,14 +37,14 @@ ...@@ -29,14 +37,14 @@
<link rel="stylesheet" href="css/newstyle.css" /> <link rel="stylesheet" href="css/newstyle.css" />
<link rel="stylesheet" href="css/facebox.css" /> <link rel="stylesheet" href="css/facebox.css" />
<?php <?php
$hidden = isset ( $_GET ['hidden'] ) ? $_GET ['hidden'] : null; $hidden = isset ( $_GET ['hidden'] ) ? $_GET ['hidden'] : null;
$lastfile = 'db/last.data'; $lastfile = 'db/last.data';
include ("vendor/mobiledetect/Mobile_Detect.php"); include ("vendor/mobiledetect/Mobile_Detect.php");
$detect = new Mobile_Detect (); $detect = new Mobile_Detect ();
if ($detect->isMobile ()) { if ($detect->isMobile ()) {
echo '<link rel="stylesheet" href="http://c807316.r16.cf2.rackcdn.com/mobile.css" /><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">'; echo '<link rel="stylesheet" href="http://c807316.r16.cf2.rackcdn.com/mobile.css" /><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">';
} }
?> ?>
<script type="text/javascript"> <script type="text/javascript">
(function() { (function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment