View file modile/moduls/act/act_add.php
<?php $act['data'] = date("d.m.Y"); $act['time'] = date("H:i"); $mess1 = $activ; include($cms.'flud/anti_x.php'); $act['activ'] = $mess1; if (is_file($cms.'moduls/act/'.$_SESSION['user_login'].'.txt') and is_file($cms.'user/'.$_SESSION['user_login'].'/profile.php')) { $fp = fopen ($cms.'moduls/act/'.$_SESSION['user_login'].'.txt', "a+"); fwrite ($fp, $act['data'].'|'.$act['time'].'|'.stripslashes($act['activ'])."\r\n"); fclose ($fp); } ?>