Редакция 281 | Редакция 323 | К новейшей редакции | Весь файл | Учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS
Редакция 281 | Редакция 322 | ||
---|---|---|---|
Строка 56... | Строка 56... | ||
56 | $infomsg = array( _("Step"), _("Next step"), _("Mirror selection"), _("Choosing a distribution"), _("Choosing a version of distribution"), _("Selection of repositories"), _("Get sources.list") ); |
56 | $infomsg = array( _("Step"), _("Next step"), _("Mirror selection"), _("Choosing a distribution"), _("Choosing a version of distribution"), _("Selection of repositories"), _("Get sources.list") ); |
57 | 57 | ||
58 | if (!isset($status)) { $status = 0; }; |
58 | if (!isset($status)) { $status = 0; }; |
59 | 59 | ||
60 | switch ($status) { |
60 | switch ($status) { |
61 | case 0: |
- | |
62 | //Выбор зеркала
|
- | |
63 | $query =& $db->query("SELECT * FROM mirror"); |
- | |
64 | while ($query->fetchInto($data, DB_FETCHMODE_ASSOC)) { |
- | |
65 | $mirrors .= "<p><input type='radio' name='m' value='".$data["mirror_id"]."'>".$secure->stripStr($data["mname"])." (".$secure->stripStr($data["murl"]).")</p>\n"; |
- | |
66 | }
|
- | |
67 | break; |
- | |
68 | case 1: |
61 | case 1: |
69 | // Выбор дистрибутива
|
62 | // Выбор дистрибутива
|
70 | $query =& $db->query("SELECT * FROM distribution"); |
63 | $query =& $db->query("SELECT * FROM distribution"); |
71 | $linux .= "<input type='hidden' name='m' value='".$mirror."'>"; |
64 | $linux .= "<input type='hidden' name='m' value='".$mirror."'>"; |
72 | while ($query->fetchInto($data, DB_FETCHMODE_ASSOC)) { |
65 | while ($query->fetchInto($data, DB_FETCHMODE_ASSOC)) { |