33 include('kyberia.inc');
34 class CLASS_HYPERTEXT extends CLASS_KYBERIA {
37 function CLASS_HYPERTEXT() {
38 $this->CLASS_KYBERIA();
41 function explodeText($id) {
42 $set=$this->query("SELECT text1 from articles where id_article='$id'");
44 $text=$set->getstring("text1");
45 $text=str_replace("."," ",$text);
46 $text=str_replace(","," ",$text);
47 $text=str_replace("?"," ",$text);
48 $bomb=explode(" ",$text);
49 foreach ($bomb as $slovo) {
50 if (strlen($slovo)>4 AND !strstr($slovo,">") AND !strstr($slovo,"<"))$slova[]=$slovo;
53 foreach ($slova as $slovo) {
54 echo "<tr><Td>$id</td><Td>$slovo</td></tr>";
57 // >------------------------------koniec metod---------------<