View file public_html/template/session.php

File size: 877B
<?php 
#-----------------------------------------------------#
#          ********* WAP-MOTORS *********             #
#             Made by   :  VANTUZ                     #
#               E-mail  :  [email protected]         #
#                 Site  :  http://pizdec.ru           #
#             WAP-Site  :  http://visavi.net          #
#                  ICQ  :  36-44-66                   #
#  Вы не имеете право вносить изменения в код скрипта #
#-----------------------------------------------------#	
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']));


?>