Show
Ignore:
Timestamp:
10/24/06 15:30:08 (15 years ago)
Author:
exi
Message:

Added Comment Count to killlisttables + Option to en-/disable them

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/common/class.kill.php

    r16 r33  
    391391 
    392392        return $lslist->getCount(); 
     393    } 
     394 
     395    function countComment($kll_id) 
     396    { 
     397        $qry = new DBQuery(); 
     398        $sql ="SELECT * FROM kb3_comments WHERE kll_id = '$kll_id'"; 
     399        $count = $qry->execute($sql); 
     400        $count = $qry->recordCount(); 
     401        return $count; 
    393402    } 
    394403