Location: PHPKode > scripts > Impleo Music Collection Script > impleo/templates/statistics.tpl
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="en">
<head>
  <title>Statistics - {$collectionName}</title>
  <link href="style.css" rel="stylesheet" type="text/css" media="screen">
</head>
<body>
<h1>{$collectionName}</h1>
<ul>
  <li><a href="./">Main</a></li>
  <li><a href="./statistics.php">Statistics</a></li>
</ul>
{if $hasRecords}

<h2>Top 5 artists</h2>
<ol>
{foreach from=$topArtists item=num key=artist}
  <li>{$artist} ({$num})</li>
{/foreach}
</ol>
<p>{$numArtists} artists in total.</p>

{if $hasFormat}
<h2>Top 5 formats</h2>
<ol>
{foreach from=$topFormats item=num key=artist}
  <li>{$artist} ({$num})</li>
{/foreach}
</ol>
<p>{$numFormats} formats in total.</p>
{/if}

{if $hasLabel}
<h2>Top 5 labels</h2>
<ol>
{foreach from=$topLabels item=num key=artist}
  <li>{$artist} ({$num})</li>
{/foreach}
</ol>
<p>{$numLabels} labels in total.</p>
{/if}

<h2>Release years</h2>
<p><img src="years.php" alt="Release years"></p>

{else}
<p>There is no data for this view. </p>
{/if}
<p id="author"><a href="http://sappy.dk/impleo/">Impleo Music Collection 2.0</a></p>
</body>
</html>
Return current item: Impleo Music Collection Script