794,10 → 794,8 |
} |
$query = "SELECT a.* FROM ".$this->prefix."arch a WHERE a.arch_id NOT IN (SELECT arch_id FROM ".$this->prefix."arch2rep WHERE rep_id='$repID')"; |
$rq =& $this->db->query($query); |
if ($rq->numRows()>0) { |
while ($rq->fetchInto($element)) { |
$show .= "<input type='checkbox' name='".$name."[]' value='".$element["arch_id"]."'> ".$this->secure->checkStr($element["arch"],1)." "; |
} |
while ($rq->fetchInto($element)) { |
$show .= "<input type='checkbox' name='".$name."[]' value='".$element["arch_id"]."'> ".$this->secure->checkStr($element["arch"],1)." "; |
} |
} |
break; |