keywords.php 1002 Bytes
Newer Older
root's avatar
root committed
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
<?php
/*********************************
	WP-Piwik::Stats:Keywords
**********************************/

	$aryConf['data'] = $this->call_API(
		'Referers.getKeywords',
		$aryConf['params']['period'],
		$aryConf['params']['date'],
		$aryConf['params']['limit']
	);
	$aryConf['title'] = __('Keywords', 'wp-piwik');
	include('header.php');
/***************************************************************************/ ?>
<table class="widefat">
	<thead>
		<tr><th><?php _e('Keyword', 'wp-piwik'); ?></th><th><?php _e('Unique', 'wp-piwik'); ?></th></tr>
	</thead>
	<tbody>
<?php /************************************************************************/
	foreach ($aryConf['data'] as $aryValues)
		echo '<tr><td>'.$aryValues['label'].'</td><td>'.$aryValues['nb_uniq_visitors'].'</td></tr>';
/***************************************************************************/ ?>
	</tbody>
</table>
<?php /************************************************************************/
include ('footer.php');

/* EOF */