HEX
Server: Microsoft-IIS/10.0
System: Windows NT ITPWINWEBSVR22 10.0 build 20348 (Windows Server 2022) AMD64
User: www.conferencesearch.co.uk (0)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: D:/web/itpartnership.net (cms)/modules/Search/function.admin_statistics_tab.php
<?php

$smarty->assign('formstart',$this->CreateFormStart($id,'defaultadmin'));
$smarty->assign('formend',$this->CreateFormStart($id,'defaultadmin'));
$smarty->assign('wordtext',$this->Lang('word'));
$smarty->assign('counttext',$this->Lang('count'));
$smarty->assign('exportcsv',
		$this->CreateInputSubmit($id,'exportcsv',$this->Lang('export_to_csv')));
$smarty->assign('clearwordcount',
		$this->CreateInputSubmit($id,'clearwordcount',$this->Lang('clear'),'','',
					 $this->Lang('confirm_clearstats')));

$query = 'SELECT * FROM '.cms_db_prefix().'module_search_words ORDER BY count DESC';
$results = array();
$dbr = $db->SelectLimit($query,50,0);
while( $dbr && $row = $dbr->FetchRow() )
  {
    $results[] = $row;
  }
if( count($results) )
  {
    $smarty->assign('topwords',$results);
  }

echo $this->ProcessTemplate('admin_statistics_tab.tpl');

?>