""){ $deze=explode(".",$n3); $deze[0]=str_replace("_"," ",$deze[0]); echo "

".$deze[0]."

"; ?>
?>
index       ?>       mnemonics ?>



"; //include "tg2.txt"; ?> $vorige){ if ($j>5){ $l[$m]=(str_replace("_"," ",$vorige)).",".$j.",http://wawewi.com/coloringbook/free/index.php?n=".(str_replace("&","%26",$vorige)); $plaatjes=$plaatjes." "; $m=$m+1; } $vorige=$deze[0]; $j=1; } else { $j=$j+1; }} $i=$i+1; } if ($j>5){ $l[$m]=(str_replace("_"," ",$vorige)).",".$j.",http://wawewi.com/coloringbook/free/index.php?n=".(str_replace("&","%26",$vorige)); $plaatjes=$plaatjes." "; $m=$m+1; } //*************************************************************************** $titel="Coloring Pages"; function get_tag_data() { global $l; $arr=$l; $aantal=count($arr); $i=0; while ($i<$aantal){ $arr[$i]=explode(",",$arr[$i]); $i=$i+1; } return $arr; } function get_tag_cloud() { global $k, $f; // Default font sizes $min_font_size = 26; $max_font_size = 50; $tags = get_tag_data(); $minimum_count = -1; $maximum_count = 0; $aantal=count($tags); $i=0; while ($i<$aantal) { if(($minimum_count>$tags[$i][1]) or ($minimum_count==-1)){$minimum_count = $tags[$i][1];} if($maximum_count<$tags[$i][1]){$maximum_count = $tags[$i][1];} $i=$i+1; } $spread = $maximum_count - $minimum_count; if($spread == 0) { $spread = 1; } $cloud_html = ''; $cloud_tags = array(); // create an array to hold tag code $i=0; $bewaar=""; while ($i<$aantal) { if ($k==$tags[$i][0]){ $k=$tags[$i][2]; $tags[$i][1]=$tags[$i][1]+1; } $size = $min_font_size + ($tags[$i][1] - $minimum_count) * ($max_font_size - $min_font_size) / $spread; $cloud_tags[] = '' . htmlspecialchars(stripslashes($tags[$i][0])) . ''; $bewaar=$bewaar.(implode(",",$tags[$i])); $i=$i+1; } $cloud_html = join("\n", $cloud_tags) . "\n"; return $cloud_html; } ?>