'includes/profile', 'ban' => 'includes/profile', 'edit' => 'includes/profile', 'images' => 'includes/profile', 'info' => 'includes/profile', 'ip' => 'includes/profile', 'guestbook' => 'includes/profile', 'karma' => 'includes/profile', 'office' => 'includes/profile', 'password' => 'includes/profile', 'reset' => 'includes/profile', 'settings' => 'includes/profile', 'stat' => 'includes/profile', 'friends' => 'includes/profile' ); $path = !empty($array[$act]) ? $array[$act] . '/' : ''; if (array_key_exists($act, $array) && file_exists($path . $act . '.php')) { require_once($path . $act . '.php'); } else { /* ----------------------------------------------------------------- Анкета пользователя ----------------------------------------------------------------- */ $headmod = 'profile,' . $user['id']; $textl = $lng['profile'] . ': ' . htmlspecialchars($user['name']); require('../incfiles/head.php'); //Уведомление о дне рожденья if ($user['dayb'] == date('j', time()) && $user['monthb'] == date('n', time())) { echo '
'; } // Информация о юзере $arg = array( 'lastvisit' => 1, 'iphist' => 1, 'header' => '' ); if ($user['id'] != core::$user_id) { $arg['footer'] = '' . core::$lng['where'] . ': ' . functions::display_place($user['id'], $user['place']); } core::$user_set['avatar'] = 0; echo '' . 'Анкета ID:' . $user['id'] . '' . ' | ' . '' . '' . $lng['statistics'] . '' . ' | ' . '' . '' . $lng_profile['activity'] . '' . ' | ' . '