<body bgcolor="<?php 
echo '#eeeeee';
?>
">		
<?php 
require_once "../tpl/atpl.php";
atpl::printent("../tpl/mmdiv.php");
?>

<?php 
require_once "../uti/Ureaddir.php";
require_once "../uti/MysqlHieroglyphics.php";
//$rootdir = $_REQUEST["dir"];
$harr = new MysqlHieroglyphics();
$myarr = $harr->getRootsStatistic();
arsort($myarr);
print "[total roots = " . count($myarr) . "]";
if (0) {
    print "<table border='1'>";
    $i = 0;
    foreach ($myarr as $key => $ar) {
        $freq = $ar["freq"];
        $i++;
        print "<tr><td>{$i}</td>";
        $src = MysqlHieroglyphics::imgsrc($key);
        print "<td><img class='db' name='{$key}' src={$src} /><a>{$key}</a></td>";
        print "<td><a>{$freq}</a></td>";
        print "</tr>\r\n";
    }
    print "</table>";