View file template/session.php
<?php // mod by Golem http://veplog.ru if(!isset($_SESSION['currs']) || $_SESSION['currs']==""){$_SESSION['currs']=$sitetime;} if(!isset($_SESSION['counton']) || $_SESSION['counton']==""){$_SESSION['counton']=0;} $_SESSION['counton']++; $_SESSION['my_time']=$sitetime; $counton=$_SESSION['counton']; $timeon=maketime(round($sitetime-$_SESSION['currs'])); ?>