CommunityID/modules/stats/views/scripts/sites/index.phtml

10 lines
574 B
PHTML
Raw Normal View History

2019-07-17 20:16:19 +00:00
<h3><?php echo $this->translate('Trusted Sites') ?></h3>
2019-07-17 20:08:50 +00:00
<div>
2019-07-17 20:16:19 +00:00
<?php echo $this->translate('Select view') ?>:
2019-07-17 20:08:50 +00:00
<select name="view" onchange="COMMID.stats.loadReport('sites', 'statsNumTrustedSites', 'type=' + this.value)">
2019-07-17 20:16:19 +00:00
<option value="week" <?php echo $this->weekSelected ?>><?= $this->translate('Last Week') ?></option>
<option value="year" <?php echo $this->yearSelected ?>><?= $this->translate('Last Year') ?></option>
2019-07-17 20:08:50 +00:00
</select>
</div>
2019-07-17 20:16:19 +00:00
<img src="<?php echo $this->base ?>/stats/sites/graph?rand=<?= $this->rand ?>&type=<?= $this->type ?>" />