4 -- OBSOLETED by according spages/ plugin --
5 this sums up all the hits from all pages, and prints the
11 $ewiki_plugins["page"]["HitCounter"] = "ewiki_page_hitcounter";
14 function ewiki_page_hitcounter($id, $data, $action) {
16 #-- loop thur all pages, and mk sum
18 $result = ewiki_db::GETALL(array("hits"));
19 while ($r = $result->get()) {
20 if ($r["flags"] & EWIKI_DB_F_TEXT) {
26 $title = ewiki_make_title($id, $id, 2);
27 $AllPages = '<a href="'. ewiki_script("", "PageIndex") .'">AllPages</a>';
30 The overall hit score of $AllPages is: