Index: ahstats.php =================================================================== --- ahstats.php (revision 490) +++ ahstats.php (working copy) @@ -233,7 +233,7 @@ $value = ($value >= 0)? (floor($value / 86400).$lang_auctionhouse['dayshortcut']." ". floor(($value % 86400)/3600).$lang_auctionhouse['hourshortcut']." ".floor((($value % 86400)%3600)/60).$lang_auctionhouse['mnshortcut']) : $lang_auctionhouse['auction_over']; break; case 5: - $value = "".((!empty($rows[10])) ? "".htmlentities($value)."" : "N/A").""; + $value = "".((!empty($rows[10])) ? "".$value."" : "N/A").""; break; case 7: case 6: @@ -249,7 +249,7 @@ $value = "\"$value\"
$value".(($rows[8]>1) ? " (x$rows[8])" : "")."
"; break; case 0: - $value = "".((!empty($rows[9])) ? "".htmlentities($value)."" : "N/A").""; + $value = "".((!empty($rows[9])) ? "".$value."" : "N/A").""; break; } if (!in_array($row,$hiddencols)) Index: arenateam.php =================================================================== --- arenateam.php (revision 490) +++ arenateam.php (working copy) @@ -120,8 +120,8 @@ $output .= " $data[0] - ".htmlentities($data[1])." - ".htmlentities($data[4])." + ".$data[1]." + ".$data[4]." {$lang_arenateam[$data[3]]} $data[5] $arenateam_online @@ -189,7 +189,7 @@ {$lang_arenateam['arenateam']} ({$arenateam_data[2]}v{$arenateam_data[2]}) - + @@ -261,7 +261,7 @@ else $ws_pct = $member[6]; $output .= " - + Index: char.php =================================================================== --- char.php (revision 490) +++ char.php (working copy) @@ -274,14 +274,14 @@ - + + - + "; if ($showcountryflag) Index: char_mail.php =================================================================== --- char_mail.php (revision 490) +++ char_mail.php (working copy) @@ -101,7 +101,7 @@
- '.htmlentities($char['name']).' - + '.$char['name'].' -
- '.htmlentities($char['name']).' - + '.$char['name'].' -
- '.htmlentities($char['name']).' - + '.$char['name'].' -
- + '; } @@ -169,7 +169,7 @@ - + '; Index: char_rep.php =================================================================== --- char_rep.php (revision 490) +++ char_rep.php (working copy) @@ -82,7 +82,7 @@
- '.htmlentities($char['name']).' - + '.$char['name'].' -
- '.htmlentities($char['name']).' - + '.$char['name'].' -
- '.htmlentities($char['name']).' - + '.$char['name'].' -
- '.htmlentities($char['name']).' - + '.$char['name'].' - '.(($user_lvl >= $action_permission['update']) ? '
' : '').' - - + + '; } unset($comm); Index: core/char/char_header.php =================================================================== --- core/char/char_header.php (revision 490) +++ core/char/char_header.php (working copy) @@ -23,7 +23,7 @@ $output .= '
- '.htmlentities($char['name']).' - + '.$char['name'].' - $creature[0]"; if ($loc_language) $output .= " -
"; + "; else $output .= " "; Index: game_object.php =================================================================== --- game_object.php (revision 490) +++ game_object.php (working copy) @@ -179,7 +179,7 @@ $output .= " - + Index: guild.php =================================================================== --- guild.php (revision 490) +++ guild.php (working copy) @@ -75,11 +75,11 @@ "; - $output .= ($user_lvl < $owner_gmlvl ) ? "" : ""; + $output .= ($user_lvl < $owner_gmlvl ) ? "" : ""; $output .= " - + "; } @@ -201,8 +201,8 @@ $output .= " "; - $output .= ($user_lvl >= $action_permission['update']) ? "" : ""; - $output .= ($user_lvl < $owner_gmlvl ) ? "" : ""; + $output .= ($user_lvl >= $action_permission['update']) ? "" : ""; + $output .= ($user_lvl < $owner_gmlvl ) ? "" : ""; $output .= " @@ -388,15 +388,15 @@ "; $output .= ($user_lvl < $owner_gmlvl ) ? " - " : " - "; + " : " + "; $output .= " - - - + + + "; Index: header.php =================================================================== --- header.php (revision 490) +++ header.php (working copy) @@ -202,7 +202,7 @@ { $set = ($realm_id === $realm['id']) ? '>' : ''; $output .= ' -
  • '.htmlentities($set.' '.$realm['name']).'
  • '; +
  • '.$set.' '.$realm['name'].'
  • '; } } unset($set); Index: honor.php =================================================================== --- honor.php (revision 490) +++ honor.php (working copy) @@ -40,7 +40,7 @@ { $guild_name = $sql->fetch_row($sql->query("SELECT `name` FROM `guild` WHERE `guildid`=".$char[8].";")); $output .= "
    - + @@ -48,7 +48,7 @@ - + "; } $output .= "
    ".htmlentities($arenateam_data[1])."".$arenateam_data[1]."
    {$lang_arenateam['tot_members']}: $total_members".htmlentities($member[1])."".$member[1]." $member[2] - '.htmlentities($char['name']).' - + '.$char['name'].' - - lvl '.char_get_level_color($char['level']).'
    '.get_map_name($char['map'], $sqlm).' - '.get_zone_name($char['zone'], $sqlm).'
    '.$lang_char['honor_points'].': '.$char['totalHonorPoints'].' / '.$char['arenaPoints'].' - '.$lang_char['honor_kills'].': '.$char['totalKills'].' -
    '.$lang_char['guild'].': '.$guild_name.' | '.$lang_char['rank'].': '.htmlentities($guild_rank).' +
    '.$lang_char['guild'].': '.$guild_name.' | '.$lang_char['rank'].': '.$guild_rank.'
    '.(($char['online']) ? 'online' : 'offline'); if ($showcountryflag) { Index: char_achieve.php =================================================================== --- char_achieve.php (revision 490) +++ char_achieve.php (working copy) @@ -219,7 +219,7 @@
    - '.htmlentities($char['name']).' - + '.$char['name'].' -
    - '.htmlentities($char['name']).' - + '.$char['name'].' -
    - '.htmlentities($char['name']).' - + '.$char['name'].' - ".htmlentities($char[1])."
    ".htmlentities($owner_acc_name)."".$char[1]."".$owner_acc_name." \"\" \"\" ".char_get_level_color($char[9])." ".get_map_name($char[6], $sqlm)." ".get_zone_name($char[5], $sqlm)." $char[7]".htmlentities($guild_name[0])."".$guild_name[0]." $lastseen ".(($char[8]) ? "\"\"" : "-")." '.$data[0].' ('.$data[1].')'.htmlentities($data[2]).''.$data[2].'
    '.$data[0].' ('.$data[1].')'.htmlentities($data[2]).''.$data[2].'
    '.$data['name'].''.htmlentities(ereg_replace("[a-zA-Z ]+:* *\.", ".", $comm[0])).''.(isset($comm[1]) ? str_replace("\r\n", "
    ", str_replace("\r\n\r\n", "
    ", htmlentities($comm[1]))): '').'
    '.ereg_replace("[a-zA-Z ]+:* *\.", ".", $comm[0]).''.(isset($comm[1]) ? str_replace("\r\n", "
    ", str_replace("\r\n\r\n", "
    ", $comm[1])): '').'
    ".htmlentities($creature[6])." ( {$creature[1]} )".$creature[6]." ( {$creature[1]} )$creature[1]
    $go[0]".htmlentities($go[3])."".$go[3]." ".get_go_type($go[1])." $go[2] $go[4]
    $data[0] $data[1]".htmlentities($data[3])."".htmlentities($data[3])."".$data[3]."".$data[3]."\"\" $data[5]/$data[6]".htmlentities($data[7])." ...".data[7]." ... ".date('o-m-d', $data[8])."
    $data[0]".htmlentities($data[1])."".htmlentities($data[1])."".htmlentities($data[3])."".htmlentities($data[3])."".$data[1]."".$data[1]."".$data[3]."".$data[3]."\"\" $data[5] ".htmlentities($member[1])."".htmlentities($member[1])."".$member[1]."".$member[1]."\"\" \"\" ".char_get_level_color($member[4])."".htmlentities($member[6])." (".$member[5].")".htmlentities($member[7])."".htmlentities($member[8])."".$member[6]." (".$member[5].")".$member[7]."".$member[8]." ".get_days_with_color($member[12])." ".(($member[10]) ? "\"\"" : "-")."
    ".htmlentities($char[1])."".$char[1]." ".char_get_level_color($char[6])."$char[4] $char[5] $char[7]".htmlentities($guild_name[0])."".$guild_name[0]."

    "; @@ -81,7 +81,7 @@ { $guild_name = $sql->fetch_row($sql->query("SELECT `name` FROM `guild` WHERE `guildid`=".$char[8].";")); $output .= " - ".htmlentities($char[1])." + ".$char[1]." ".char_get_level_color($char[6])." @@ -89,7 +89,7 @@ $char[4] $char[5] $char[7] - ".htmlentities($guild_name[0])." + ".$guild_name[0]." "; } $output .= "
    "; Index: index.php =================================================================== --- index.php (revision 490) +++ index.php (working copy) @@ -57,7 +57,7 @@ return $uptimeString; } - $staticUptime = $lang_index['realm'].' '.htmlentities(get_realm_name($realm_id)).' '.$lang_index['online'].' for '.format_uptime($uptimetime); + $staticUptime = $lang_index['realm'].' '.get_realm_name($realm_id).' '.$lang_index['online'].' for '.format_uptime($uptimetime); unset($uptimetime); $output .= '
    @@ -70,7 +70,7 @@ else { $output .= ' -

    '.$lang_index['realm'].' '.htmlentities(get_realm_name($realm_id)).' '.$lang_index['offline_or_let_high'].'

    '; +

    '.$lang_index['realm'].' '.get_realm_name($realm_id).' '.$lang_index['offline_or_let_high'].'

    '; $online = false; } @@ -250,11 +250,11 @@ if (($user_lvl >= $gm)) $output .= ' - '.htmlentities($char['name']).' + '.$char['name'].' '; else $output .=' - '.htmlentities($char['name']).''; + '.$char['name'].''; $output .= ' @@ -268,7 +268,7 @@ - '.htmlentities($guild_name).' + '.$guild_name.' '.get_map_name($char['map'], $sqlm).' '.get_zone_name($char['zone'], $sqlm).''; Index: item.php =================================================================== --- item.php (revision 490) +++ item.php (working copy) @@ -351,7 +351,7 @@ - ".htmlentities($item[2])." + ".$item[2]." $item[3] $item[4] Index: libs/db_lib/mysql.php =================================================================== --- libs/db_lib/mysql.php (revision 490) +++ libs/db_lib/mysql.php (working copy) @@ -15,6 +15,7 @@ if ($pconnect) $this->link_id = @mysql_pconnect($db_host, $db_username, $db_password); else $this->link_id = @mysql_connect($db_host, $db_username, $db_password, $newlink); + @mysql_query("SET NAMES 'utf8'"); if ($this->link_id){ if($db_name){ Index: login.php =================================================================== --- login.php (revision 490) +++ login.php (working copy) @@ -117,7 +117,7 @@ while ($realm = $sqlr->fetch_assoc($result)) if(isset($server[$realm['id']])) $output .= ' - '; + '; $output .= ' Index: scripts/forum.conf.php =================================================================== --- scripts/forum.conf.php (revision 490) +++ scripts/forum.conf.php (working copy) @@ -1,4 +1,4 @@ - "Server Category", "forums" => Array( 1 => Array( - "name" => "News", + "name" => "Проверка!", "desc" => "News and infos about the server", "level_post_topic" => 3 ), Index: themes/Sulfur/Sulfur_1024.css =================================================================== --- themes/Sulfur/Sulfur_1024.css (revision 490) +++ themes/Sulfur/Sulfur_1024.css (working copy) @@ -436,7 +436,7 @@ margin:-7px -0px 12px -0px; } div.bubble div.top h1{ - color: #1a1a1a; + color: #F0F1F2; } i.tl, i.tr, i.bl, i.br { position:absolute; Index: ticket.php =================================================================== --- ticket.php (revision 490) +++ ticket.php (working copy) @@ -80,8 +80,8 @@ {$lang_global['edit']}"; $output .=" $ticket[0] - ".htmlentities($ticket[3])." - ".htmlentities($ticket[2])." ... + ".$ticket[3]." + ".$ticket[2]." ... "; } unset($query); @@ -178,11 +178,11 @@ {$lang_ticket['submitted_by']}: - ".htmlentities($ticket[2])." + ".$ticket[2]." {$lang_ticket['ticket_text']} - + "; Index: top100.php =================================================================== --- top100.php (revision 490) +++ top100.php (working copy) @@ -138,7 +138,7 @@ @@ -236,7 +236,7 @@ $output .= ' '.(++$i+$start).' - '.htmlentities($char['name']).' + '.$char['name'].' '.char_get_race_name($char['race']).' '.char_get_class_name($char['class']).' @@ -254,7 +254,7 @@ $time .= $hours.' hours'; $output .= ' - '.htmlentities($guild_name).' + '.$guild_name.' '.substr($char['money'], 0, -4).' '.substr($char['money'], -4, 2).'