Редакция 495 | Редакция 497 | К новейшей редакции | Весь файл | Учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS
Редакция 495 | Редакция 496 | ||
---|---|---|---|
Строка 526... | Строка 526... | ||
526 | if ($list == 1) { |
526 | if ($list == 1) { |
527 | $query = "SELECT * FROM ".$this->prefix."version v JOIN ".$this->prefix."distribution d ON v.dist_id=d.dist_id ORDER BY d.dist_id,v.version ASC"; |
527 | $query = "SELECT * FROM ".$this->prefix."version v JOIN ".$this->prefix."distribution d ON v.dist_id=d.dist_id ORDER BY d.dist_id,v.version ASC"; |
528 | $rq =& $this->db->query($query); |
528 | $rq =& $this->db->query($query); |
529 | $show = "<ul>\n"; |
529 | $show = "<ul>\n"; |
530 | while ($rq->fetchInto($element)) { |
530 | while ($rq->fetchInto($element)) { |
531 | $show .= "<li>[<a href='".$actor."?mode=versions&action=edit&uuid=".$this->secure->checkInt($element["version_id"])."'>править</a>][<a href='".$actor."?mode=versions&action=delete&uuid=".$this->secure->checkInt($element["version_id"])."'>удалить</a>] ".$this->secure->checkStr($element["distname"],1)." ".$this->secure->checkStr($element["version"],1)." ".$this->secure->checkStr($element["vname"],1)."</li>\n"; |
531 | $show .= "<li>[<a href='".$actor."?mode=versions&action=edit&uuid=".$this->secure->checkInt($element["version_id"])."'>править</a>][<a href='".$actor."?mode=versions&action=delete&uuid=".$this->secure->checkInt($element["version_id"])."'>удалить</a>] ".$this->secure->checkStr($element["distname"],1)." ".$this->secure->checkStr($element["version"],1)." “<em>".$this->secure->checkStr($element["vname"],1)."</em>”</li>\n"; |
532 | }
|
532 | }
|
533 | $show .= "</ul>"; |
533 | $show .= "</ul>"; |
534 | } else { |
534 | } else { |
535 | 535 | ||
536 | }
|
536 | }
|