Просмотр поста

.
wapskill

Вот так будет правильнее
<?php
define('_IN_JOHNCMS', 1);
require_once ("../incfiles/core.php");
require_once ("../incfiles/head.php");
header ("Content-type: text/html; charset=utf-8");
if (empty($_SESSION['uid']))
{
echo '<div class="menu">Для получения доступа к загрузкам пройдите регистрацию на сайте !!! </div>';
}else{
echo '<div class="men">Тут пиши код который будет виден зареганым!!! </div>';
require_once ("../incfiles/end.php");
exit ; }

require_once ("../incfiles/end.php");
?>