Редакция 676 | Весь файл | Учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS
Редакция 676 | Редакция 677 | ||
---|---|---|---|
Строка 734... | Строка 734... | ||
734 | $show .= $sections["secname"]." "; |
734 | $show .= $sections["secname"]." "; |
735 | }
|
735 | }
|
736 | $show .= "\n\n"; |
736 | $show .= "\n\n"; |
737 | }
|
737 | }
|
738 | 738 | ||
- | 739 | if (count($data["repository"])>0) { |
|
739 | // Репозитории обновлений и третьих лиц
|
740 | // Репозитории обновлений и третьих лиц
|
740 | $query = "SELECT * FROM ".$this->prefix."repository r "; |
741 | $query = "SELECT * FROM ".$this->prefix."repository r "; |
741 | $query .= "JOIN ".$this->prefix."protos p ON r.proto_id=p.proto_id "; |
742 | $query .= "JOIN ".$this->prefix."protos p ON r.proto_id=p.proto_id "; |
742 | $query .= "JOIN ".$this->prefix."rephost h ON r.rhost_id=h.rhost_id "; |
743 | $query .= "JOIN ".$this->prefix."rephost h ON r.rhost_id=h.rhost_id "; |
743 | $query .= "JOIN ".$this->prefix."repfolder f ON r.rfolder_id=f.rfolder_id "; |
744 | $query .= "JOIN ".$this->prefix."repfolder f ON r.rfolder_id=f.rfolder_id "; |
Строка 751... | Строка 752... | ||
751 | $query .= " OR "; |
752 | $query .= " OR "; |
752 | }
|
753 | }
|
753 | }
|
754 | }
|
754 | $query .= ") ORDER BY r.rtype_id ASC"; |
755 | $query .= ") ORDER BY r.rtype_id ASC"; |
755 | $req =& $this->db->query($query); |
756 | $req =& $this->db->query($query); |
756 | if ($req->numRows()>0) { |
- | |
- | 757 | ||
757 | while ($req->fetchInto($updates)) { |
758 | while ($req->fetchInto($updates)) { |
758 | // Формируем type proto://host/folder
|
759 | // Формируем type proto://host/folder
|
759 | $show .= "# ".$this->secure->checkStr($updates["repinfo"],1)."\n"; |
760 | $show .= "# ".$this->secure->checkStr($updates["repinfo"],1)."\n"; |
760 | $show .= $this->secure->checkStr($dist["type"],1)." "; |
761 | $show .= $this->secure->checkStr($dist["type"],1)." "; |
761 | if ($updates["sign_id"]!=0) { |
762 | if ($updates["sign_id"]!=0) { |