Lines Matching refs:result

255         $result = $this->hlp->Query()->aggregate($this->tlimit);
259 echo '<li><div class="li">' . sprintf($this->getLang('dash_' . $name), $result[$name]) . '</div></li>';
265 echo '<li><div class="li">' . sprintf($this->getLang('dash_' . $name), $result[$name]) . '</div></li>';
278 $result = $this->hlp->Query()->pages($this->tlimit, $this->start, 15);
279 $this->html_resulttable($result);
286 $result = $this->hlp->Query()->newreferer($this->tlimit, $this->start, 15);
287 $this->html_resulttable($result);
294 $result = $this->hlp->Query()->searchphrases(true, $this->tlimit, $this->start, 15);
295 $this->html_resulttable($result);
311 $result = $this->hlp->Query()->countries($this->tlimit, $this->start, 150);
312 $this->html_resulttable($result, '', 150);
317 $result = $this->hlp->Query()->pages($this->tlimit, $this->start, 150);
318 $this->html_resulttable($result, '', 150);
323 $result = $this->hlp->Query()->edits($this->tlimit, $this->start, 150);
324 $this->html_resulttable($result, '', 150);
330 $result = $this->hlp->Query()->imagessum($this->tlimit);
332 echo sprintf($this->getLang('trafficsum'), $result[0]['cnt'], filesize_h($result[0]['filesize']));
335 $result = $this->hlp->Query()->images($this->tlimit, $this->start, 150);
336 $this->html_resulttable($result, '', 150);
342 $result = $this->hlp->Query()->downloadssum($this->tlimit);
344 echo sprintf($this->getLang('trafficsum'), $result[0]['cnt'], filesize_h($result[0]['filesize']));
347 $result = $this->hlp->Query()->downloads($this->tlimit, $this->start, 150);
348 $this->html_resulttable($result, '', 150);
354 $result = $this->hlp->Query()->browsers($this->tlimit, $this->start, 150, true);
355 $this->html_resulttable($result, '', 150);
361 $result = $this->hlp->Query()->topuser($this->tlimit, $this->start, 150, true);
362 $this->html_resulttable($result, '', 150);
368 $result = $this->hlp->Query()->topeditor($this->tlimit, $this->start, 150, true);
369 $this->html_resulttable($result, '', 150);
375 $result = $this->hlp->Query()->topgroup($this->tlimit, $this->start, 150, true);
376 $this->html_resulttable($result, '', 150);
382 $result = $this->hlp->Query()->topgroupedit($this->tlimit, $this->start, 150, true);
383 $this->html_resulttable($result, '', 150);
389 $result = $this->hlp->Query()->os($this->tlimit, $this->start, 150, true);
390 $this->html_resulttable($result, '', 150);
394 $result = $this->hlp->Query()->aggregate($this->tlimit);
396 $all = $result['search'] + $result['external'] + $result['direct'];
401 $all, $result['direct'], (100 * $result['direct'] / $all),
402 $result['search'], (100 * $result['search'] / $all), $result['external'],
403 (100 * $result['external'] / $all)
407 $result = $this->hlp->Query()->referer($this->tlimit, $this->start, 150);
408 $this->html_resulttable($result, '', 150);
414 $result = $this->hlp->Query()->newreferer($this->tlimit, $this->start, 150);
415 $this->html_resulttable($result, '', 150);
420 $result = $this->hlp->Query()->outlinks($this->tlimit, $this->start, 150);
421 $this->html_resulttable($result, '', 150);
426 $result = $this->hlp->Query()->searchphrases(true, $this->tlimit, $this->start, 150);
427 $this->html_resulttable($result, '', 150);
432 $result = $this->hlp->Query()->searchwords(true, $this->tlimit, $this->start, 150);
433 $this->html_resulttable($result, '', 150);
438 $result = $this->hlp->Query()->searchphrases(false, $this->tlimit, $this->start, 150);
439 $this->html_resulttable($result, '', 150);
444 $result = $this->hlp->Query()->searchwords(false, $this->tlimit, $this->start, 150);
445 $this->html_resulttable($result, '', 150);
451 $result = $this->hlp->Query()->searchengines($this->tlimit, $this->start, 150);
452 $this->html_resulttable($result, '', 150);
458 $result = $this->hlp->Query()->resolution($this->tlimit, $this->start, 150);
459 $this->html_resulttable($result, '', 150);
465 $result = $this->hlp->Query()->viewport($this->tlimit, $this->start, 150);
466 $this->html_resulttable($result, '', 150);
471 $result = $this->hlp->Query()->seenusers($this->tlimit, $this->start, 150);
472 $this->html_resulttable($result, '', 150);
476 * Display a result in a HTML table
478 function html_resulttable($result, $header = '', $pager = 0) {
489 if(is_array($result)) foreach($result as $row) {
559 if($pager) $this->html_pager($pager, count($result) > $pager);