70,8 → 70,16 |
</script> |
"; |
|
$body = $core->showDistributionList("dist","Дистрибутив","Выберите дистрибутив"); |
$body = "<fieldset><label>Дистрибутив</label>\n"; |
$body .= "<select id='dist'>\n<option value=''>Выберите дистрибутив</option>\n"; |
|
$query = "SELECT * FROM ".PREFIX."distribution ORDER BY dist_id ASC"; |
$rq =& $db->query($query); |
while ($rq->fetchInto($element)) { |
$body .= "<option value='".$secure->checkInt($element["dist_id"])."'>".$secure->checkStr($element["distname"],1)."</option>\n"; |
} |
$body .= "</select></fieldset>"; |
|
$tmpl->assign('scripts', $scripts); |
$tmpl->assign('body', $body); |
|