1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
| <?php require_once ('Artichow/LinePlot.class.php'); ?>
<?php require_once('../Connections/openDB.php'); ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title> =======> Pegasys Logistique <======= </title>
</head>
<body>
<CENTER>
<h2>Table identifiant </h2>
<table border="1" cellpadding="1" cellspacing="1">
<tr align="center" valign="middle" bgcolor="#CCCCCC">
<td><strong>N°</strong></td>
<td><strong>Identifiant</strong></td>
<td><strong>Mot de passe</strong></td>
<td><strong>N° de siege</strong></td>
<td><strong>N° de regroupement societe</strong></td>
<td><strong>N° de magasin</strong></td>
<td><strong>Nombre de connexion</strong></td>
<td><strong>Date de création</strong></td>
<td><strong>Date de dernière connexion </strong></td>
</tr>
</table>
<h2><br><br>Top 3 des connexions </h2>
<table border="1" cellpadding="1" cellspacing="1">
<tr align="center" valign="middle" bgcolor="#CCCCCC">
<td><strong>Identifiant</strong></td>
<td><strong>Nombre de connexion</strong></td>
</tr>
</table>
</CENTER>
<?php
$a = 0.5;
$b = -0.5;
$c = 3;
$d = 1.5;
$e = -1;
$graph = new Graph(400, 400);
$graph->setAntiAliasing(TRUE);
$values = array($a, $b, $c, $d, $e);
$plot = new LinePlot($values);
$plot->setBackgroundGradient(
new LinearGradient(
new Color(210, 210, 210),
new Color(250, 250, 250),
0
)
);
$plot->yAxis->setLabelPrecision(1);
$plot->setSpace(5, 5, NULL, NULL);
$graph->add($plot);
$graph->draw();
?>
</body>
</html> |
Partager