File size: 513B
<?php
define('_IN_JOHNCMS', 1);
$textl = 'GlobalChat';
$rootpath = '../';
require_once ('../incfiles/core.php');
require_once ('../incfiles/head.php');
define ('DIV_SECTION_1', 'list1');
define ('DIV_SECTION_2', 'list2');
define ('DIV_MSG', 'maintxt');
define ('DIV_ERROR', 'rmenu');
define ('DIV_PAGINATION', 'topmenu');
if (isset ($user_id))
{
define ('USER_ID', $user_id);
define ('USER_NICK', $login);
define ('USER_SEX', $datauser['sex']);
if ($rights == 9)
define ('USER_ADMIN', 1);
}