foreach ($columns as $l1 => $english1) {
        if ($l1 == $l2) {
            echo "<td bgcolor=\"#eeeeee\"></td>\n";
            continue;
        }
        $combination = $l1 . '-' . $l2;
        $d = find_dictionary($combination);
        if (isset($d)) {
            $r = find_release($d, $platform);
        }
        if (!isset($d) or !isset($r)) {
            echo "<td>-</td>\n";
            continue;
        }
        $alt = 'Headwords: ' . $d->{$get_attr}('headwords') . ' Version: ' . $d->{$get_attr}('version') . ' Last change: ' . $d->{$get_attr}('date') . ' Status: ' . $d->{$get_attr}('status');
        linkcell($d, $r, $platform, $alt);
    }
    echo "</tr>\n";
}
?>
</table>

<p><?php 
echo _('Please click on the links to get to the SourceForge
Download Mirror selection page. Right-Click and Save-As will not work
from here!');
?>
</p>

<?php 
require 'inc/legend.php';
示例#2
0
    $source = $d->{$get_attr}('sourceURL');
    if ($source) {
        echo '<a href="' . htmlentities($source) . '" target="_top">';
    }
    echo _(langcode2english($l1)) . ' -&gt; ' . _(langcode2english($l2));
    if ($source) {
        echo '</a>';
    }
    echo '</td>';
    $maintainer = $d->{$get_attr}('maintainerName');
    if ($maintainer == '') {
        $maintainer = '-';
    }
    echo '<td>' . $maintainer . '</td>';
    echo '<td align="right">' . $d->{$get_attr}('headwords') . '</td>';
    $hwsum += $d->{$get_attr}('headwords');
    echo '<td>' . $d->{$get_attr}('edition') . '</td>';
    echo '<td>' . $d->{$get_attr}('date') . '</td>';
    echo '<td><small>' . $status . '</small></td>';
    foreach (array('dict-tgz', 'dict-tbz2', 'evolutionary', 'bedic', 'stardict', 'rpm', 'tei', 'src') as $platform) {
        linkcell($d, find_release($d, $platform), $platform);
    }
    echo '</tr>';
}
?>
</table>

<?php 
echo "{$dscount} dictionaries, {$hwsum} headwords<br />";
require_once 'inc/legend.php';
require_once 'inc/footer.php';