View file gchat/cms/dcms_7/head.php

File size: 485B
<?php

include_once '../sys/inc/start.php';
$doc = new document();
$doc->title = __('GlobalChat');

define ('DIV_SECTION_1', 'post');
define ('DIV_SECTION_2', 'post');
define ('DIV_MSG', 'msg');
define ('DIV_ERROR', 'err');
define ('DIV_PAGINATION', 'str');
define ('DIV_NAVIGATION', 'post');

if (isset ($user))
{
define ('USER_ID', $user->id);
define ('USER_NICK', $user->login);
define ('USER_SEX', $user->sex);
if ($user->group >= 6)
define ('USER_ADMIN', 1);
}