/trunk/custom/apt.php |
---|
Файл удален |
/trunk/custom/apt/apt.php |
---|
Новый файл |
0,0 → 1,12 |
<?php |
$mirs =& $db->query("SELECT * FROM apt_mirrors"); |
echo "<h2>Зеркалируемые репозитории</h2>\n"; |
echo "<table>\n"; |
echo "<tr>"; |
echo "<th>№</th><th>Источник</th><th>Описание</th>\n"; |
$n = 0; |
while ($mirs->fetchInto($info_mirs, DB_FETCHMODE_ASSOC)) { |
echo "<tr><td>".++$n."</td><td><a href='".$info_mirs['src_url']."'>".$info_mirs['src_name']."</a></td><td>".$info_mirs['description']."</td></tr>\n"; |
} |
echo "</table>\n"; |
?> |