Просмотр файла gchat/cms/rotor_3/head.php

Размер файла: 746B
<?php
require_once ('../includes/start.php');
require_once ('../includes/functions.php');
require_once ('../includes/header.php');
include_once ('../themes/header.php');
show_title('site.png', 'GlobalChat');
$config['newtitle'] = 'GlobalChat';
define ('DIV_SECTION_1', 'b');
define ('DIV_SECTION_2', 'a');
define ('DIV_MSG', 'note');
define ('DIV_ERROR', 'note');
define ('DIV_PAGINATION', 'nav');
if (is_user ())
{

$guser = DB::run() -> queryFetch("SELECT * FROM `users` WHERE `users_login`=? LIMIT 1;", array($log));
define ('USER_ID', $guser['users_id']);
define ('USER_NICK', $log);
if ($guser['users_gender'] == 2)
	define ('USER_SEX', 0);
	else
	define ('USER_SEX', 1);
if (is_admin ())
	define ('USER_ADMIN', 1);
}