Вот содержимое файла .htaccess из каталога userbar
Код:
AddDefaultCharset utf-8
# graph files
RewriteEngine On
RewriteBase /userbar/
RewriteRule ^mini/(.*)\.(png|jpg|jpeg|gif)$ ub.php?name=$1 [L,QSA]
RewriteEngine On
RewriteBase /userbar/
RewriteRule ^(.*)\.(png|jpg|jpeg|gif)$ ub.php?name=$1 [L,QSA]
текст файла промм конф
PHP код:
<?php
/*
POMM v1.3
Player Online Map for MangOs
Show online players position on map. Update without refresh.
Show tooltip with location, race, class and level of player.
Show realm status.
16.09.2006 [url]http://pomm.da.ru/[/url]
Created by mirage666 (c) (mailto:mirage666@pisem.net icq# 152263154)
2006-2009 Modified by killdozer.
*/
// realm name (also window title)
$realm_name = 'AldanOnline;
// language [en/ru]
$lang = 'ru';
// Server adress (for realm status)
$server = 'localhost';
// Server port (for realm status) 8085(world) or 3724(realm)
$port = 8085;
// database coding(do not modify it)
$database_encoding = 'utf8';
//DB connect options
$host='localhost'; // HOST for characters database
$user='root'; // USER for characters database
$password='mangos'; // PASS for characters database
$db='characters'; // NAME of characters database
$hostr='localhost'; // HOST for realm database
$userr='root'; // USER for realm database
$passwordr='mangos'; // PASS for realm database
$dbr='realmd'; // NAME of realm database
// GM online options
//
// show GM points [1/0]
$gm_show_online = 1;
// show GM point only if in '.gm off' [1/0]
$gm_show_online_only_gmoff = 0;
// show GM point only if in '.gm visible on' [1/0]
$gm_show_online_only_gmvisible = 0;
// add '{GM}' to name [1/0]
$gm_add_suffix = 1;
// include GMs into online statistics(bottom line) [1/0]
$gm_include_online = 0;
// status window options:
//
// show server status window [1/0]
$show_status = 1;
// all times set in msec (do not set time < 1500 for show), 0 to disable.
// time to show uptime string
$time_to_show_uptime = 10000;
// time to show max online
$time_to_show_maxonline = 10000;
// time to show GM online
$time_to_show_gmonline = 10000;
// include 'all GMs in game'/'who on map' [1/0]
$status_gm_include_all = 1;
// Map autoupdate time (seconds), 0 - not update.
$time = 120;
// Show autoupdate timer 1 - on, 0 - off
$show_time = 1;
// points are located on these maps(do not modify it)
$maps_for_points = "0,1,530,571,609";
// Image dir
$img_base = "img/";
// Client version dependent character's data
// See UpdateFields.h
//
// 3.1.3 :
// UNIT_FIELD_BYTES_0 = 22
// UNIT_FIELD_LEVEL = 53
// PLAYER_FLAGS = 150
$UNIT_FIELD_BYTES_0 = 22;
$UNIT_FIELD_LEVEL = 53;
$PLAYER_FLAGS = 150;
?>