Vergleich admin/modules/tools/statistics.php - 1.6.2 - 1.6.17

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * $Id: statistics.php 5030 2010-06-16 16:34:13Z RyanGordon $

 * $Id$

 */

// Disallow direct access to this file for security reasons

 */

// Disallow direct access to this file for security reasons

Zeile 99Zeile 99
	if(empty($stats))
{
flash_message($lang->error_no_results_found_for_criteria, 'error');

	if(empty($stats))
{
flash_message($lang->error_no_results_found_for_criteria, 'error');

		admin_redirect("index.php?module=tools-statistics");

		admin_redirect("index.php?module=tools");

	}

krsort($stats, SORT_NUMERIC);

	}

krsort($stats, SORT_NUMERIC);

Zeile 218Zeile 218
		{
$stats[] = $stat['num'.$type];
$datelines[] = $stat['dateline'];

		{
$stats[] = $stat['num'.$type];
$datelines[] = $stat['dateline'];

			$x_labels[] = date("j/m", $stat['dateline']);

			$x_labels[] = date("m/j", $stat['dateline']);

		}
$points[$datelines[0]] = 0;
$points[$datelines[1]] = $stats[0]-$stats[1];

		}
$points[$datelines[0]] = 0;
$points[$datelines[1]] = $stats[0]-$stats[1];

Zeile 231Zeile 231
		{
$stats[] = $stat['num'.$type];
$datelines[] = $stat['dateline'];

		{
$stats[] = $stat['num'.$type];
$datelines[] = $stat['dateline'];

			$x_labels[] = date("j/m", $stat['dateline']);

			$x_labels[] = date("m/j", $stat['dateline']);

		}
$points[$datelines[0]] = 0;
$points[$datelines[1]] = $stats[1]-$stats[0];

		}
$points[$datelines[0]] = 0;
$points[$datelines[1]] = $stats[1]-$stats[0];

Zeile 244Zeile 244
		{
$points[$stat['dateline']] = $stat['num'.$type];
$datelines[] = $stat['dateline'];

		{
$points[$stat['dateline']] = $stat['num'.$type];
$datelines[] = $stat['dateline'];

			$x_labels[] = date("j/m", $stat['dateline']);

			$x_labels[] = date("m/j", $stat['dateline']);

		}
}


		}
}