View file love/counter.php
<? $co_n_ss='0'; if (file_exists("../local/datalove/kont/$log.kont")) { $counter_n_s=file("../local/datalove/kont/$log.kont"); $counter_n_s_k=count($counter_n_s); for ($i=0;$i<$counter_n_s_k;$i++) { $co_n=explode(":||:",$counter_n_s[$i]); if ($co_n[2]!='' && $co_n[2]>'0') { $co_n_ss=$co_n_ss+$co_n[2]; } } } ?>