Редакция 540 | Редакция 546 | К новейшей редакции | Весь файл | Учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS
Редакция 540 | Редакция 545 | ||
---|---|---|---|
Строка 242... | Строка 242... | ||
242 | $show .= ']'; |
242 | $show .= ']'; |
243 | break; |
243 | break; |
244 | case 'list': |
244 | case 'list': |
245 | $show = "<ul>\n"; |
245 | $show = "<ul>\n"; |
246 | while ($rq->fetchInto($element)) { |
246 | while ($rq->fetchInto($element)) { |
247 | $show .= "<li>[<a href='".$actor."?mode=".$name."&action=edit&uuid=".$this->secure->checkInt($element["version_id"])."'>править</a>][<a href='".$actor."?mode=".$name."&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"; |
247 | $show .= "<li>[<a href='".$actor."?mode=".$name."&action=edit&uuid=".$this->secure->checkInt($element["version_id"])."' class='edit'>править</a>][<a href='".$actor."?mode=".$name."&action=delete&uuid=".$this->secure->checkInt($element["version_id"])."' class='delete'>удалить</a>] ".$this->secure->checkStr($element["distname"],1)." ".$this->secure->checkStr($element["version"],1)." “<em>".$this->secure->checkStr($element["vname"],1)."</em>”</li>\n"; |
248 | }
|
248 | }
|
249 | $show .= "</ul>"; |
249 | $show .= "</ul>"; |
250 | break; |
250 | break; |
251 | }
|
251 | }
|
252 | return $show; |
252 | return $show; |
Строка 606... | Строка 606... | ||
606 | public function showSectionsList($name, $actor) { |
606 | public function showSectionsList($name, $actor) { |
607 | $query = "SELECT * FROM ".$this->prefix."section"; |
607 | $query = "SELECT * FROM ".$this->prefix."section"; |
608 | $rq =& $this->db->query($query); |
608 | $rq =& $this->db->query($query); |
609 | $show = "<ul>\n"; |
609 | $show = "<ul>\n"; |
610 | while ($rq->fetchInto($element)) { |
610 | while ($rq->fetchInto($element)) { |
611 | $show .= "<li>[<a href='".$actor."?mode=".$name."&action=edit&uuid=".$element["sect_id"]."'>править</a>][<a href='".$actor."?mode=".$name."&action=delete&uuid=".$element["sect_id"]."'>удалить</a>] ".$this->secure->checkStr($element["secname"],1)."</li>\n"; |
611 | $show .= "<li>[<a href='".$actor."?mode=".$name."&action=edit&uuid=".$element["sect_id"]."' class='edit'>править</a>][<a href='".$actor."?mode=".$name."&action=delete&uuid=".$element["sect_id"]."' class='delete'>удалить</a>] ".$this->secure->checkStr($element["secname"],1)."</li>\n"; |
612 | }
|
612 | }
|
613 | $show .= "</ul>"; |
613 | $show .= "</ul>"; |
614 | 614 | ||
615 | return $show; |
615 | return $show; |
616 | }
|
616 | }
|
Строка 741... | Строка 741... | ||
741 | public function showSignsList($name, $actor) { |
741 | public function showSignsList($name, $actor) { |
742 | $query = "SELECT * FROM ".$this->prefix."signs"; |
742 | $query = "SELECT * FROM ".$this->prefix."signs"; |
743 | $rq =& $this->db->query($query); |
743 | $rq =& $this->db->query($query); |
744 | $show = "<ul>\n"; |
744 | $show = "<ul>\n"; |
745 | while ($rq->fetchInto($element)) { |
745 | while ($rq->fetchInto($element)) { |
746 | $show .= "<li>[<a href='".$actor."?mode=".$name."&action=edit&uuid=".$element["sign_id"]."'>править</a>][<a href='".$actor."?mode=".$name."&action=delete&uuid=".$element["sign_id"]."'>удалить</a>] ".$this->secure->checkStr($element["sname"],1)."</li>\n"; |
746 | $show .= "<li>[<a href='".$actor."?mode=".$name."&action=edit&uuid=".$element["sign_id"]."' class='edit'>править</a>][<a href='".$actor."?mode=".$name."&action=delete&uuid=".$element["sign_id"]."' class='delete'>удалить</a>] ".$this->secure->checkStr($element["sname"],1)."</li>\n"; |
747 | }
|
747 | }
|
748 | $show .= "</ul>"; |
748 | $show .= "</ul>"; |
749 | 749 | ||
750 | return $show; |
750 | return $show; |
751 | }
|
751 | }
|