Редакция 666 | Редакция 668 | К новейшей редакции | Весь файл | Учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS
Редакция 666 | Редакция 667 | ||
---|---|---|---|
Строка 660... | Строка 660... | ||
660 | if ($i<count($data["repository"])-1) { |
660 | if ($i<count($data["repository"])-1) { |
661 | $query .= " OR "; |
661 | $query .= " OR "; |
662 | }
|
662 | }
|
663 | }
|
663 | }
|
664 | $query .= ") ORDER BY r.rtype_id ASC"; |
664 | $query .= ") ORDER BY r.rtype_id ASC"; |
665 | $rq =& $this->db->query($query); |
665 | $req =& $this->db->query($query); |
666 | while ($rq->fetchInto($updates)) { |
666 | while ($req->fetchInto($updates)) { |
667 | // Формируем type proto://host/folder
|
667 | // Формируем type proto://host/folder
|
668 | $show .= "# ".$this->secure->checkStr($updates["repinfo"],1)."\n"; |
668 | $show .= "# ".$this->secure->checkStr($updates["repinfo"],1)."\n"; |
669 | $show .= $this->secure->checkStr($dist["type"],1)." ".$this->secure->checkStr($updates["proto"],1).$this->secure->checkStr($updates["rhost"],1).$this->secure->checkStr($updates["rfolder"],1); |
669 | $show .= $this->secure->checkStr($dist["type"],1)." ".$this->secure->checkStr($updates["proto"],1).$this->secure->checkStr($updates["rhost"],1).$this->secure->checkStr($updates["rfolder"],1); |
670 | $dvname = str_replace("{DIST}",$this->secure->checkStr($dist["vcodename"],1),$this->secure->checkStr($updates["scheme"],1)); |
670 | $dvname = str_replace("{DIST}",$this->secure->checkStr($dist["vcodename"],1),$this->secure->checkStr($updates["scheme"],1)); |
671 | // Формируем distname
|
671 | // Формируем distname
|