558c558,562 < } --- > } > $query_count = "SELECT COUNT(*) FROM {node} n > left join {biblio} b on n.nid=b.nid > left join {biblio_types} t on b.biblio_type=t.tid > WHERE n.type='biblio' "; 560,561c564,566 < $maxresult = db_query($query, $query_args); < $num_rows = db_num_rows($maxresult); --- > $query_count .= $extquery; > $maxresult = db_query($query_count, $query_args); > $num_rows = array_pop(db_fetch_array($maxresult)); 810,811c815,816 < list($usec, $sec) = explode(" ", microtime()); < return ((int)($usec*1000) + (int)($sec)); --- > list($usec, $sec) = explode(" ", microtime()); > return floor($usec*10000) + $sec*10000;