Редакция 368 | Редакция 381 | К новейшей редакции | Весь файл | Не учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS
Редакция 368 | Редакция 380 | ||
---|---|---|---|
Строка 262... | Строка 262... | ||
262 | $rq =& $this->db->query($query); |
262 | $rq =& $this->db->query($query); |
263 | $rq->fetchInto($element); |
263 | $rq->fetchInto($element); |
264 | }
|
264 | }
|
265 | 265 | ||
266 | if ($element["distlogo"] == 1) { |
266 | if ($element["distlogo"] == 1) { |
267 | $image = "<img src='./img/".$this->secure->checkStr($element["distua"],1).".png' width='32' height='32' id='adm-dist-logo'>"; |
267 | $image = "<img src='./img/d/".$this->secure->checkStr($element["distua"],1).".png' width='32' height='32' id='adm-dist-logo' alt='Логотип дистрибутива ".$this->secure->checkStr($element["distname"],1)."' title='Логотип дистрибутива ".$this->secure->checkStr($element["distname"],1)."'>"; |
268 | } else { |
268 | } else { |
269 | $image = "<img src='./img/empty-logo.png' width='32' height='32' id='adm-dist-logo'>"; |
269 | $image = "<img src='./img/d/empty-logo.png' width='32' height='32' id='adm-dist-logo' alt='Логотип дистрибутива' title='Логотип дистрибутива не загружен'>"; |
270 | }
|
270 | }
|
271 | 271 | ||
272 | $show = "<fieldset><legend>Дистрибутив</legend>\n"; |
272 | $show = "<fieldset><legend>Дистрибутив</legend>\n"; |
273 | $show .= "<div class='inputbox'><label for='dname'>Название дистрибутива:</label> <input type='text' name='dname' id='dname' value='".$this->secure->checkStr($element["distname"],1)."'></div>\n"; |
273 | $show .= "<div class='inputbox'><label for='dname'>Название дистрибутива:</label> <input type='text' name='dname' id='dname' value='".$this->secure->checkStr($element["distname"],1)."'></div>\n"; |
274 | $show .= "<div class='inputbox'><label for='dua'>UA дистрибутива:</label> <input type='text' name='dua' id='dua' value='".$this->secure->checkStr($element["distua"],1)."'></div>\n"; |
274 | $show .= "<div class='inputbox'><label for='dua'>UA дистрибутива:</label> <input type='text' name='dua' id='dua' value='".$this->secure->checkStr($element["distua"],1)."'></div>\n"; |