View file work.php
<? session_start(); //инициализирум механизм сесссий include 'include/stat.php'; if (!isset($_SESSION['id'])) { header ("location: logout.php"); exit('incorrect'); } ?> <?include 'include/head.php'; include 'include/menu.php';?> <div class="in">Отчет о действиях</div> Действие учтено и оплачено <?include 'include/foot.php';?>