View file template/love.php
<? // mod by Golem http://veplog.ru $count_love='0'; $dir_love=opendir("local/datalove/prof"); while ($file_love=readdir($dir_love)) { if (ereg(".prof$",$file_love)) { $count_love++; } } echo "$count_love"; ?>
<? // mod by Golem http://veplog.ru $count_love='0'; $dir_love=opendir("local/datalove/prof"); while ($file_love=readdir($dir_love)) { if (ereg(".prof$",$file_love)) { $count_love++; } } echo "$count_love"; ?>