299,9 → 299,9 |
* @return string |
*/ |
public function showRepList($version, $reptype, $format = 'html') { |
$query = "SELECT rtype FROM ".$this->prefix."rtype WHERE rtype_id='".$this->secure->checkInt($reptype)."'"; |
$rq =& $this->db->query($query); |
$rq->fetchInto($types); |
// $query = "SELECT rtype FROM ".$this->prefix."rtype WHERE rtype_id='".$this->secure->checkInt($reptype)."'"; |
// $rq =& $this->db->query($query); |
// $rq->fetchInto($types); |
$query = "SELECT * FROM ".$this->prefix."repository WHERE version='".$this->secure->checkInt($version)."' AND rtype_id='".$this->secure->checkInt($reptype)."'"; |
$rq =& $this->db->query($query); |
switch ($format) { |