PHP Classes
elePHPant
Icontem

File: samples/twig/demo.html.twig

Recommend this page to a friend!
  Classes of Joseluis Laso  >  PHP Stats Graphs  >  samples/twig/demo.html.twig  >  Download  
File: samples/twig/demo.html.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Stats Graphs
Generate SVG charts from sample data
Author: By
Last change:
Date: 3 years ago
Size: 512 bytes
 

 

Contents

Class file image Download
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>Example of Simple Stats</h1>
<div>
    {{ statsGraph('scatter', 'Example scatter', 'clicks,ips', [0,99999999999], 600, 480) }}
</div>
<div>
    <a href="../click.php?data=click_link&redirect=twig/{{ home() }}">Click</a>
    <span>&nbsp;count [{{ statsCount('ips', userIP()) }}]</span>
</div>
<div>
    {{ statsGraph('bar', 'Example bars', 'logins', [0,99999999999], 600, 480) }}
</div>
</body>
</html>