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

Размер файла: 796B
  1. <?php
  2. include_once '../sys/inc/start.php';
  3. include_once '../sys/inc/compress.php';
  4. include_once '../sys/inc/sess.php';
  5. include_once '../sys/inc/home.php';
  6. include_once '../sys/inc/settings.php';
  7. include_once '../sys/inc/db_connect.php';
  8. include_once '../sys/inc/ipua.php';
  9. include_once '../sys/inc/fnc.php';
  10. include_once '../sys/inc/user.php';
  11. $set['title']='GlobalChat';
  12. include_once '../sys/inc/thead.php';
  13. title();aut ();
  14.  
  15. define ('DIV_SECTION_1', 'post');
  16. define ('DIV_SECTION_2', 'post');
  17. define ('DIV_MSG', 'msg');
  18. define ('DIV_ERROR', 'err');
  19. define ('DIV_PAGINATION', 'str');
  20. if (isset ($user))
  21. {
  22. define ('USER_ID', $user['id']);
  23. define ('USER_NICK', $user['nick']);
  24. define ('USER_SEX', $user['pol']);
  25. if ($user['group_access'] == 15)
  26. define ('USER_ADMIN', 1);
  27. }