14,12 → 14,14 |
while ($distrs->fetchInto($info_distrs, DB_FETCHMODE_ASSOC)) { |
|
$vers =& $db->query("SELECT * FROM apt_vers JOIN apt_reps2vers ON apt_vers.id=apt_reps2vers.ver_id WHERE distr_id=".$info_distrs['id']." AND rep_id=".$info_mirs['id']); |
if ($vers->numRows()!=0) echo $info_distrs['distr'].": "; |
if ($vers->numRows()!=0) { |
echo $info_distrs['distr'].": "; |
while ($vers->fetchInto($info_vers, DB_FETCHMODE_ASSOC)) { |
echo $info_vers['codename']." "; |
} |
echo "<br>"; |
} |
} |
echo "</td>"; |
|
echo "</tr>"; |