Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
Посоветуйте облако тегов
лучший - это WP - Cumulus plug in от Roy Tanck (Для просмотра ссылки Войдиили Зарегистрируйся)
$act_count = (array_count_values($actarray));
//update count for could mode
if ($visual_actformat==3) {
$RC_min_font = $this->_params->get( 'cloud_font_min',50 );
$RC_max_font = $this->_params->get( 'cloud_font_max',100 );
$minCount = -1;
$maxCount = 0;
reset($act_count);
while (list($key, $val) = each($act_count)) {
if ($minCount>$val || $minCount == -1) $minCount = $val;
if ($maxCount<$val) $maxCount = $val;
}
if($RC_min_font<=0) $RC_min_font=1;
if($RC_max_font<$RC_min_font) $RC_max_font=$RC_min_font;
$diff=$maxCount-$minCount;
$fontDiff=$RC_max_font-$RC_min_font;
reset($act_count);
while (list($key, $val) = each($act_count)) {
if ($diff>0){
$odn=$val-$minCount;
$fontSize=$RC_min_font+intval($odn*$fontDiff/$diff);
} else $fontSize=$RC_min_font;
$act_count[$key] = $fontSize;
}
}