<html> <head> <title> </title> <script type="text/javascript" src="../../_js/jquery.js"></script> <script type="text/javascript" src="../../_js/jquery.cookie.js"></script> <script type="text/javascript" src="../_js/uti.js"></script> <!-- Users --> </head> <body bgcolor="<?php echo '#eeeeee'; ?> "> <?php require_once "../tpl/atpl.php"; atpl::printent("../tpl/mmdiv.php"); require_once "../uti/Ureaddir.php"; require_once "../uti/JiaguwenStatistic.php"; $jia = new JiaguwenStatistic(); $jia->show(); //$jia->display(); //$jia->view("Books/j/g"); ?> </body> </html>
foreach ($this->jgw as $row) { printf("%d,<img src='../../odb/tbi/jgif/%s.gif'/>%s.gif, &#%s;[%s],%05d<br>", $row[0], $row[1], $row[1], $row[2], $row[2], $row["freq"]); //print_r($row); //echo "<br>"; $totword += $row["freq"]; } return $this; } public function show() { $this->load(); $this->load2freq("--"); arsort($this->WordFreqArr); //,SORT_NUMERIC); $this->rank(); $this->display(); return; $totword = 0; foreach ($this->jgw as $row) { printf("%d,<img src='../../odb/tbi/jgif/%s.gif'/>%s.gif, &#%s;[%s],%05d<br>", $row[0], $row[1], $row[1], $row[2], $row[2], $row[3]); //print_r($row); //echo "<br>"; $totword += $row["freq"]; } } } if (0) { $rv = new JiaguwenStatistic(array("")); $rv->run(); $rv->display(); }