86,7 → 86,7 |
$rq =& $this->db->query($query); |
switch ($format) { |
case 'html': |
$show = "<fieldset><legend>".$headss."</legend>\n<select id='".$name."' name='".$name."'>\n"; |
$show = "<fieldset><legend>".$heads."</legend>\n<select id='".$name."' name='".$name."'>\n"; |
$show .= "<option value=''>".$info."</option>\n"; |
while ($rq->fetchInto($element)) { |
$show .= "<option value='".$this->secure->checkInt($element["dist_id"])."'>".$this->secure->checkStr($element["distname"],1)."</option>\n"; |
134,7 → 134,8 |
$rq =& $this->db->query($query); |
switch ($format) { |
case 'html': |
$show = "<fieldset><legend>Версии ".$distname["DistName"]."</legend>\n<select id='".$name."' name='".$name."'>\n"; |
$show = "<fieldset><legend>Версии ".$distname["DistName"]."</legend>\n<select id='".$name."' name='".$name."'>\n"; |
$show .= "<option value=''>Выбери версию ".$distname["DistName"]."</option>\n"; |
while ($rq->fetchInto($element)) { |
$show .= "<option value='".$this->secure->checkInt($element["version_id"])."'>".$this->secure->checkStr($element["version"],1)." ".$this->secure->checkStr($element["vname"],1)."</option>\n"; |
} |