Редакция 658 | Весь файл | Учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS
Редакция 658 | Редакция 659 | ||
---|---|---|---|
Строка 623... | Строка 623... | ||
623 | $query .= "JOIN ".$this->prefix."repscheme s ON r.scheme_id=s.scheme_id "; |
623 | $query .= "JOIN ".$this->prefix."repscheme s ON r.scheme_id=s.scheme_id "; |
624 | $query .= "WHERE v.version_id='".$data["version_id"]."' AND r.rtype_id='1'"; |
624 | $query .= "WHERE v.version_id='".$data["version_id"]."' AND r.rtype_id='1'"; |
625 | $rq =& $this->db->query($query); |
625 | $rq =& $this->db->query($query); |
626 | $rq->fetchInto($base); |
626 | $rq->fetchInto($base); |
627 | // Формируем type proto://host/folder
|
627 | // Формируем type proto://host/folder
|
628 | $show .= "# ".$this->secure->checkStr($base["rtype"],1)."\n"; |
628 | $show .= "# ".$this->secure->checkStr($base["repinfo"],1)."\n"; |
629 | $show .= $this->secure->checkStr($dist["type"],1)." ".$this->secure->checkStr($base["proto"],1).$this->secure->checkStr($base["rhost"],1).$this->secure->checkStr($base["rfolder"],1); |
629 | $show .= $this->secure->checkStr($dist["type"],1)." ".$this->secure->checkStr($base["proto"],1).$this->secure->checkStr($base["rhost"],1).$this->secure->checkStr($base["rfolder"],1); |
630 | $dvname = str_replace("{DIST}",$this->secure->checkStr($dist["vcodename"],1),$this->secure->checkStr($base["scheme"],1)); |
630 | $dvname = str_replace("{DIST}",$this->secure->checkStr($dist["vcodename"],1),$this->secure->checkStr($base["scheme"],1)); |
631 | // Формируем distname
|
631 | // Формируем distname
|
632 | $show .= " ".$dvname." "; |
632 | $show .= " ".$dvname." "; |
633 | // Формируем sections
|
633 | // Формируем sections
|
Строка 664... | Строка 664... | ||
664 | }
|
664 | }
|
665 | $query .= ")"; |
665 | $query .= ")"; |
666 | $rq =& $this->db->query($query); |
666 | $rq =& $this->db->query($query); |
667 | while ($rq->fetchInto($updates)) { |
667 | while ($rq->fetchInto($updates)) { |
668 | // Формируем type proto://host/folder
|
668 | // Формируем type proto://host/folder
|
669 | $show .= "# ".$this->secure->checkStr($updates["rtype"],1)."\n"; |
669 | $show .= "# ".$this->secure->checkStr($updates["repinfo"],1)."\n"; |
670 | $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 | $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); |
671 | $dvname = str_replace("{DIST}",$this->secure->checkStr($dist["vcodename"],1),$this->secure->checkStr($updates["scheme"],1)); |
671 | $dvname = str_replace("{DIST}",$this->secure->checkStr($dist["vcodename"],1),$this->secure->checkStr($updates["scheme"],1)); |
672 | // Формируем distname
|
672 | // Формируем distname
|
673 | $show .= " ".$dvname." "; |
673 | $show .= " ".$dvname." "; |
674 | // Формируем sections
|
674 | // Формируем sections
|