Редакция 390 |
Редакция 399 |
К новейшей редакции |
Авторство |
Сравнить с предыдущей |
Последнее изменение |
Открыть журнал
| Скачать
| RSS
<?php
/**
*
* Codename: ant-ng - generator of sources.list for Debian and
* distributives, based on Debian
* http://alex-w.org.ru/p/antng/
*
* Copyright (c) 2009 Alexander Wolf
* Dual licensed under the MIT and GNU LGPL licenses.
* http://alex-w.org.ru/p/antng/license
*
*/
require_once dirname(__FILE__)."/init.php";
$ID = $_GET["reqID"];
list($step,$dist,$vers,$reps) = split(":",$ID);
$stepId = $secure->checkInt($step);
$distId = $secure->checkInt($dist);
$versId = $secure->checkInt($vers);
if ($reps!="") {
$repsIDs = array();
$repsIDs = split("-",$reps);
}
switch($stepId) {
case '1':
$result = $core->showDistributionList("dist","Дистрибутивы","Выберите дистрибутив");
break;
}
print $result;
?>