ADR RPG phpBB
! ADR RPG - Advanced Dungeons & Rabbits. .... ! WT !
, !!!


>> !!!<<
*************************
## : Easy
## : 20 minutes
##
## (11):
## common.php
## posting.php
## viewtopic.php
## admin/admin_users.php
## includes/functions.php
## includes/functions_post.php
## includes/page_header.php
## includes/usercp_viewprofile.php
## language/lang_english/lang_admin.php
## templates/subSilver/profile_view_body.tpl
## templates/subSilver/overall_header.tpl
## templates/subSilver/admin/user_edit_body.tpl
## templates/subSilver/viewtopic_body.tpl
##
## :
## adr_battle.php
## adr_battle_chatbox.php
## adr_battle_community.php
## adr_battle_pvp.php
## adr_battle_pvp_chatbox.php
## adr_cell.php
## adr_character.php
## adr_character_equipment.php
## adr_character_faq.php
## adr_character_inventory.php
## adr_character_list.php.php
## adr_character_prefs.php
## adr_character_pvp.php
## adr_character_skills.php
## adr_copyright.php
## adr_courthouse.php
## adr_db_update.php (only required for installation)
## adr_forge.php
## adr_mini_faq.php
## adr_shops.php
## adr_temple.php
## adr_town.php
## adr_vault.php
## admin/admin_adr_alignments.php
## admin/admin_adr_cell_users.php
## admin/admin_adr_classes.php
## admin/admin_adr_elements.php
## admin/admin_adr_forums_shop.php
## admin/admin_adr_general.php
## admin/admin_adr_monsters.php
## admin/admin_adr_races.php
## admin/admin_adr_skills.php
## admin/admin_adr_store_cats.php
## admin/admin_adr_users.php
## admin/admin_adr_vault_exchange.php
## admin/admin_adr_vault_users.php
## adr/cache/*.*
## adr/cache/cache_tpls/*.*
## adr/images/alignments/*.*
## adr/images/classes/*.*
## adr/images/elements/*.*
## adr/images/items/*.*
## adr/images/misc/*.*
## adr/images/monsters/*.*
## adr/images/races/*.*
## adr/images/skills/*.*
## adr/includes/*.*
## adr/language/lang_english/*.*
## adr/templates/*.*
## adr/templates/admin/*.*
***********************************************
:
#--------------[ ]-------------
#
copy adr_battle.php to adr_battle.php
copy adr_battle_pvp.php to adr_battle_pvp.php
copy adr_cell.php to adr_cell.php
copy adr_character.php to adr_character.php
copy adr_character_equipment.php to adr_character_equipment.php
copy adr_character_faq.php to adr_character_faq.php
copy adr_character_inventory.php to adr_character_inventory.php
copy adr_character_list.php to adr_character_list.php
copy adr_character_prefs.php to adr_character_prefs.php
copy adr_character_pvp.php to adr_character_pvp.php
copy adr_character_skills.php to adr_character_skills.php
copy adr_copyright.php to adr_copyright.php
copy adr_courthouse.php to adr_courthouse.php
copy adr_db_update.php to adr_db_update.php
copy adr_forge.php to adr_forge.php
copy adr_mini_faq.php to adr_mini_faq.php
copy adr_shops.php to adr_shops.php
copy adr_temple.php to adr_temple.php
copy adr_town.php to adr_town.php
copy adr_vault.php to adr_vault.php
copy admin/admin_adr_alignments.php to admin/admin_adr_alignments.php
copy admin/admin_adr_cell_users.php to admin/admin_adr_cell_users.php
copy admin/admin_adr_classes.php to admin/admin_adr_classes.php
copy admin/admin_adr_users.php to admin/admin_adr_users.php
copy admin/admin_adr_elements.php to admin/admin_adr_elements.php
copy admin/admin_adr_forums_shop.php to admin/admin_adr_forums_shop.php
copy admin/admin_adr_general.php to admin/admin_adr_general.php
copy admin/admin_adr_monsters.php to admin/admin_adr_monsters.php
copy admin/admin_adr_races.php to admin/admin_adr_races.php
copy admin/admin_adr_skills.php to admin/admin_adr_skills.php
copy admin/admin_adr_vault_exchange.php to admin/admin_adr_vault_exchange.php
copy admin/admin_adr_vault_users.php to admin/admin_adr_vault_users.php
copy adr/cache/cache_config.php to adr/cache/cache_config.php
copy adr/cache/cache_item_quality.php to adr/cache/cache_item_quality.php
copy adr/cache/cache_item_type.php to adr/cache/cache_item_type.php
copy adr/cache/cache_monsters.php to adr/cache/cache_monsters.php
copy adr/cache/cache_posters.php to adr/cache/cache_posters.php
copy adr/cache/cache_skills.php to adr/cache/cache_skills.php
copy adr/cache/cache_tpls/cache_config_def.tpls to adr/cache/cache_tpls/cache_config_def.tpls
copy adr/cache/cache_tpls/cache_item_quality_def.tpls to adr/cache/cache_tpls/cache_item_quality_def.tpls
copy adr/cache/cache_tpls/cache_item_type_def.tpls to adr/cache/cache_tpls/cache_item_type_def.tpls
copy adr/cache/cache_tpls/cache_monsters_def.tpls to adr/cache/cache_tpls/cache_monstser_def.tpls
copy adr/cache/cache_tpls/cache_posters_def.tpls to adr/cache/cache_tpls/cache_posters_def.tpls
copy adr/cache/cache_tpls/cache_skills_def.tpls to adr/cache/cache_tpls/cache_skills_def.tpls
copy adr/images/alignments/Evil.gif to adr/images/alignments/Evil.gif
copy adr/images/alignments/Good.gif to adr/images/alignments/Neutral.gif
copy adr/images/alignments/Neutral.gif to adr/images/alignments/Neutral.gif
copy adr/images/classes/Barbare.gif to adr/images/classes/Barbare.gif
copy adr/images/classes/Bard.gif to adr/images/classes/Bard.gif
copy adr/images/classes/Druid.gif to adr/images/classes/Druid.gif
copy adr/images/classes/Fighter.gif to adr/images/classes/Fighter.gif
copy adr/images/classes/Magician.gif to adr/images/classes/Magician.gif
copy adr/images/classes/Monk.gif to adr/images/classes/Monk.gif
copy adr/images/classes/Paladin.gif to adr/images/classes/Paladin.gif
copy adr/images/classes/Priest.gif to adr/images/classes/Priest.gif
copy adr/images/classes/Sorcerer.gif to adr/images/classes/Sorcerer.gif
copy adr/images/classes/Thief.gif to adr/images/classes/Thief.gif
copy adr/images/elements/Earth.gif to adr/images/elements/Earth.gif
copy adr/images/elements/Fire.gif to adr/images/elements/Fire.gif
copy adr/images/elements/Holy.gif to adr/images/elements/Holy.gif
copy adr/images/elements/Ice.gif to adr/images/elements/Ice.gif
copy adr/images/elements/Water.gif to adr/images/elements/Water.gif
copy adr/images/elements/Wind.gif to adr/images/elements/Wind.gif
copy adr/images/items/amethyst.gif to adr/images/items/amethyst.gif
copy adr/images/items/amulet1.gif to adr/images/items/amulet1.gif
copy adr/images/items/amulet2.gif to adr/images/items/amulet2.gif
copy adr/images/items/diamond.gif to adr/images/items/diamond.gif
copy adr/images/items/emerald.gif to adr/images/items/emerald.gif
copy adr/images/items/garnet.gif to adr/images/items/garnet.gif
copy adr/images/items/mana.gif to adr/images/items/mana.gif
copy adr/images/items/miner.gif to adr/images/items/miner.gif
copy adr/images/items/opal.gif to adr/images/items/opal.gif
copy adr/images/items/ore.gif to adr/images/items/ore.gif
copy adr/images/items/ring1.gif to adr/images/items/ring1.gif
copy adr/images/items/ring2.gif to adr/images/items/ring2.gif
copy adr/images/items/ruby.gif to adr/images/items/ruby.gif
copy adr/images/items/sapphire.gif to adr/images/items/sapphire.gif
copy adr/images/items/scroll1.gif to adr/images/items/scroll1.gif
copy adr/images/items/tome.gif to adr/images/items/tome.gif
copy adr/images/items/topaz.gif to adr/images/items/topaz.gif
copy adr/images/items/zircon.gif to adr/images/items/zircon.gif
copy adr/images/misc/ac.gif to adr/images/misc/ac.gif
copy adr/images/misc/au.gif to adr/images/misc/au.gif
copy adr/images/misc/bar_blue_begin.gif to adr/images/misc/bar_blue_begin.gif
copy adr/images/misc/bar_blue_end.gif to adr/images/misc/bar_blue_end.gif
copy adr/images/misc/bar_blue_middle.gif to adr/images/misc/bar_blue_middle.gif
copy adr/images/misc/bar_green_begin.gif to adr/images/misc/bar_green_begin.gif
copy adr/images/misc/bar_green_end.gif to adr/images/misc/bar_green_end.gif
copy adr/images/misc/bar_green_middle.gif to adr/images/misc/bar_green_middle.gif
copy adr/images/misc/bar_orange_begin.gif to adr/images/misc/bar_orange_begin.gif
copy adr/images/misc/bar_orange_end.gif to adr/images/misc/bar_orange_end.gif
copy adr/images/misc/bar_orange_middle.gif to adr/images/misc/bar_orange_middle.gif
copy adr/images/misc/bar_red_begin.gif to adr/images/misc/bar_red_begin.gif
copy adr/images/misc/bar_red_end.gif to adr/images/misc/bar_red_end.gif
copy adr/images/misc/bar_red_middle.gif to adr/images/misc/bar_red_middle.gif
copy adr/images/misc/cha.gif to adr/images/misc/cha.gif
copy adr/images/misc/const.gif to adr/images/misc/const.gif
copy adr/images/misc/dex.gif to adr/images/misc/dex.gif
copy adr/images/misc/icon_justice.gif to adr/images/misc/icon_justice.gif
copy adr/images/misc/int.gif to adr/images/misc/int.gif
copy adr/images/misc/look.gif to adr/images/misc/look.gif
copy adr/images/misc/sp.gif to adr/images/misc/sp.gif
copy adr/images/misc/str.gif to adr/images/misc/str.gif
copy adr/images/misc/vs.gif to adr/images/misc/vs.gif
copy adr/images/misc/wis.gif to adr/images/misc/wis.gif
copy adr/images/monsters/Monster1.gif to adr/images/monsters/Monster1.gif
copy adr/images/monsters/Monster2.gif to adr/images/monsters/Monster2.gif
copy adr/images/monsters/Monster3.gif to adr/images/monsters/Monster3.gif
copy adr/images/monsters/Monster4.gif to adr/images/monsters/Monster4.gif
copy adr/images/monsters/Monster5.gif to adr/images/monsters/Monster5.gif
copy adr/images/monsters/Monster6.gif to adr/images/monsters/Monster6.gif
copy adr/images/monsters/Monster7.gif to adr/images/monsters/Monster7.gif
copy adr/images/monsters/Monster8.gif to adr/images/monsters/Monster8.gif
copy adr/images/races/Dwarf.gif to adr/images/races/Dwarf.gif
copy adr/images/races/Elf.gif to adr/images/races/Elf.gif
copy adr/images/races/Gnome.gif to adr/images/races/Gnome.gif
copy adr/images/races/Half-elf.gif to adr/images/races/Half-elf.gif
copy adr/images/races/Halfeling.gif to adr/images/races/Halfeling.gif
copy adr/images/races/Half-orc.gif to adr/images/races/Half-orc.gif
copy adr/images/races/Human.gif to adr/images/races/Human.gif
copy adr/images/skills/skill_enchantment.gif to adr/images/skills/skill_enchantment.gif
copy adr/images/skills/skill_forge.gif to adr/images/skills/skill_forge.gif
copy adr/images/skills/skill_mining.gif to adr/images/skills/skill_mining.gif
copy adr/images/skills/skill_stone.gif to adr/images/skills/skill_stone.gif
copy adr/images/skills/skill_thief.gif to adr/images/skills/skill_thief.gif
copy adr/images/skills/skill_trading.gif to adr/images/skills/skill_trading.gif
copy adr/images/arrow.gif to adr/images/arrow.gif
copy adr/includes/adr_constants.php to adr/includes/adr_constants.php
copy adr/includes/adr_copy.php to adr/includes/adr_copy.php
copy adr/includes/adr_functions_admin.php to adr/includes/adr_functions_admin.php
copy adr/includes/adr_functions_alone.php to adr/includes/adr_functions_alone.php
copy adr/includes/adr_functions_battle.php to adr/includes/adr_functions_battle.php
copy adr/includes/adr_functions_cache.php to adr/includes/adr_functions_cache.php
copy adr/includes/adr_functions_battle_setup.php to adr/includes/adr_functions_battle_setup.php
copy adr/includes/adr_functions_communicate.php to adr/includes/adr_functions_communicate.php
copy adr/includes/adr_functions_exploits.php to adr/includes/adr_functions_exploits.php
copy adr/includes/adr_functions_jail.php to adr/includes/adr_functions_jail.php
copy adr/includes/adr_functions_rewards.php to adr/includes/adr_functions_rewards.php
copy adr/includes/adr_functions_shops.php to adr/includes/adr_functions_shops.php
copy adr/includes/adr_functions_skills.php to adr/includes/adr_functions_skills.php
copy adr/includes/adr_functions_stats.php to adr/includes/adr_functions_stats.php
copy adr/includes/adr_functions_vault.php to adr/includes/adr_functions_vault.php
copy adr/includes/adr_global.php to adr/includes/adr_global.php
copy adr/includes/adr_header.php to adr/includes/adr_header.php
copy adr/includes/page_header_light.php to adr/includes/page_header_light.php
copy adr/language/lang_english/lang_adr.php to adr/language/lang_english/lang_adr.php
copy adr/language/lang_english/lang_adr_admin.php to adr/language/lang_english/lang_adr_admin.php
copy adr/language/lang_english/lang_adr_common_admin.php to adr/language/lang_english/lang_adr_common_admin.php
copy adr/language/lang_english/lang_adr_common_main.php to adr/language/lang_english/lang_adr_common_main.php
copy adr/language/lang_english/lang_adr_faq.php to adr/language/lang_english/lang_adr_faq.php
copy adr/templates/adr_battle_body.tpl to adr/templates/adr_battle_body.tpl
copy adr/templates/adr_battle_equip_body.tpl to adr/templates/adr_battle_equip_body.tpl
copy adr/templates/adr_battle_pvp_body.tpl to adr/templates/adr_battle_pvp_body.tpl
copy adr/templates/adr_battle_pvp_list_body.tpl to adr/templates/adr_battle_pvp_list_body.tpl
copy adr/templates/adr_cell_body.tpl to adr/templates/adr_cell_body.tpl
copy adr/templates/adr_cell_courthouse_body.tpl to adr/templates/adr_cell_courthouse_body.tpl
copy adr/templates/adr_cell_courthouse_judge_body.tpl to adr/templates/adr_cell_courthouse_judge_body.tpl
copy adr/templates/adr_cell_courthouse_list_body.tpl to adr/templates/adr_cell_courthouse_list_body.tpl
copy adr/templates/adr_character_battle_body.tpl to adr/templates/adr_character_battle_body.tpl
copy adr/templates/adr_character_body.tpl to adr/templates/adr_character_body.tpl
copy adr/templates/adr_character_edit_body.tpl to adr/templates/adr_character_edit_body.tpl
copy adr/templates/adr_character_faq_body.tpl to adr/templates/adr_character_faq_body.tpl
copy adr/templates/adr_character_list_body.tpl to adr/templates/adr_character_list_body.tpl
copy adr/templates/adr_character_prefs_body.tpl to adr/templates/adr_character_prefs_body.tpl
copy adr/templates/adr_character_skills_body.tpl to adr/templates/adr_character_skills_body.tpl
copy adr/templates/adr_confirm_body.tpl to adr/templates/adr_confirm_body.tpl
copy adr/templates/adr_copyright_body.tpl to adr/templates/adr_copyright_body.tpl
copy adr/templates/adr_courthouse_body.tpl to adr/templates/adr_courthouse_body.tpl
copy adr/templates/adr_equipment_body.tpl to adr/templates/adr_equipment_body.tpl
copy adr/templates/adr_forge_body.tpl to adr/templates/adr_forge_body.tpl
copy adr/templates/adr_header_body.tpl to adr/templates/adr_header_body.tpl
copy adr/templates/adr_inventory_body.tpl to adr/templates/adr_inventory_body.tpl
copy adr/templates/adr_inventory_edit_body.tpl to adr/templates/adr_inventory_edit_body.tpl
copy adr/templates/adr_inventory_give_body.tpl to adr/templates/adr_inventory_give_body.tpl
copy adr/templates/adr_mini_faq_body.tpl to adr/templates/adr_mini_faq_body.tpl
copy adr/templates/adr_shops_body.tpl to adr/templates/adr_shops_body.tpl
copy adr/templates/adr_temple_body.tpl to adr/templates/adr_temple_body.tpl
copy adr/templates/adr_topic_box.tpl to adr/templates/adr_topic_box.tpl
copy adr/templates/adr_town_body.tpl to adr/templates/adr_town_body.tpl
copy adr/templates/adr_vault_body.tpl to adr/templates/adr_vault_body.tpl
copy adr/templates/adr_vault_exchange_body.tpl to adr/templates/adr_vault_exchange_body.tpl
copy adr/templates/adr_vault_list_body.tpl to adr/templates/adr_vault_list_body.tpl
copy adr/templates/collapsible_faq.js to adr/templates/collapsible_faq.js
copy adr/templates/admin/config_adr_alignments_edit_body.tpl to adr/templates/admin/config_adr_alignments_edit_body.tpl
copy adr/templates/admin/config_adr_alignments_list_body.tpl to adr/templates/admin/config_adr_alignments_list_body.tpl
copy adr/templates/admin/config_adr_cell_body.tpl to adr/templates/admin/config_adr_cell_body.tpl
copy adr/templates/admin/config_adr_cell_general_body.tpl to adr/templates/admin/config_adr_cell_general_body.tpl
copy adr/templates/admin/config_adr_cell_users_body.tpl to adr/templates/admin/config_adr_cell_users_body.tpl
copy adr/templates/admin/config_adr_character_body.tpl to adr/templates/admin/config_adr_character_body.tpl
copy adr/templates/admin/config_adr_character_inventory_body.tpl to adr/templates/admin/config_adr_character_inventory_body.tpl
copy adr/templates/admin/config_adr_classes_edit_body.tpl to adr/templates/admin/config_adr_classes_edit_body.tpl
copy adr/templates/admin/config_adr_classes_list_body.tpl to adr/templates/admin/config_adr_classes_list_body.tpl
copy adr/templates/admin/config_adr_elements_edit_body.tpl to adr/templates/admin/config_adr_elements_edit_body.tpl
copy adr/templates/admin/config_adr_elements_list_body.tpl to adr/templates/admin/config_adr_elements_list_body.tpl
copy adr/templates/admin/config_adr_general_body.tpl to adr/templates/admin/config_adr_general_body.tpl
copy adr/templates/admin/config_adr_monsters_edit_body.tpl to adr/templates/admin/config_adr_monsters_edit_body.tpl
copy adr/templates/admin/config_adr_monsters_list_body.tpl to adr/templates/admin/config_adr_monsters_list_body.tpl
copy adr/templates/admin/config_adr_races_edit_body.tpl to adr/templates/admin/config_adr_races_edit_body.tpl
copy adr/templates/admin/config_adr_races_list_body.tpl to adr/templates/admin/config_adr_races_list_body.tpl
copy adr/templates/admin/config_adr_shops_items_edit_body.tpl to adr/templates/admin/config_adr_shops_items_edit_body.tpl
copy adr/templates/admin/config_adr_shops_items_list_body.tpl to adr/templates/admin/config_adr_shops_items_list_body.tpl
copy adr/templates/admin/config_adr_skills_edit_body.tpl to adr/templates/admin/config_adr_skills_edit_body.tpl
copy adr/templates/admin/config_adr_skills_list_body.tpl to adr/templates/admin/config_adr_skills_list_body.tpl
copy adr/templates/admin/config_adr_store_cats_edit_body.tpl to adr/templates/admin/config_adr_store_cats_edit_body.tpl
copy adr/templates/admin/config_adr_store_cats_list_body.tpl to adr/templates/admin/config_adr_store_cats_list_body.tpl
copy adr/templates/admin/config_adr_tools_body.tpl to adr/templates/admin/config_adr_tools_body.tpl
copy adr/templates/admin/config_adr_user_select_body.tpl to adr/templates/admin/config_adr_user_select_body.tpl
copy adr/templates/admin/config_adr_vault_exchange_add_body.tpl to adr/templates/admin/config_adr_vault_exchange_add_body.tpl
copy adr/templates/admin/config_adr_vault_exchange_body.tpl to adr/templates/admin/config_adr_vault_exchange_body.tpl
copy adr/templates/admin/config_adr_vault_users_body.tpl to adr/templates/admin/config_adr_vault_users_body.tpl


#
#-----[ ]------------------------------------------
#
common.php

#
#-----[ ]------------------------------------------
#

?>


#
#-----[ ]------------------------------------------
#

##=== ADR START: includes ADR function file for general phpBB pages ===#
include_once($phpbb_root_path . 'adr/includes/adr_functions_alone.'.$phpEx);
##=== ADR END ===#


#
#-----[ ]------------------------------------------
#
posting.php

#
#-----[ ]------------------------------------------
#

init_userprefs($userdata);
//
// End session management
//


#
#-----[ ]------------------------------------------
#

##=== ADR START: check user if in cell or not ===#
if(($userdata['user_cell_time'] > '0') && (!defined('CELL')) && ($userdata['session_logged_in']) && ($userdata['user_level'] != ADMIN) && (($userdata['user_cell_punishment'] == '2') || ($userdata['user_cell_punishment'] == '3'))){
redirect(append_sid("adr_cell.$phpEx", true));
}
##=== ADR END ===#


#
#-----[ ]------------------------------------------
#
viewtopic.php


#
#--------------[ ]-------------
#

//
// Go ahead and pull all data for this topic
//
$sql = "SELECT u.username, u.user_id


#
#--------------[ ]-------------
#

$sql = "SELECT u.username, u.user_id


#
#--------------[ ]-------------
#

, u.user_cell_time


#
#--------------[ ]-------------
#

//
// Okay, let's do the loop, yeah come on baby let's do the loop


#
#--------------[ ]-------------
#

#==== Get all adr info OUTSIDE the looping array, so it doesn't keep adding up SQL's. We can use the
#==== info from the array later in the loop below. I'm gonna add my name for faster finding later.
$adr_topic_info_char = adr_get_posters_char_info();
$adr_topic_info_race = adr_get_posters_races_info();
$adr_topic_info_elem = adr_get_posters_elements_info();
$adr_topic_info_clas = adr_get_posters_class_info();
$adr_topic_info_alig = adr_get_posters_alignment_info();
$adr_topic_info_pvp = adr_get_posters_pvp_info();
$adr_topic_info_adr = adr_get_posters_adr_info();
#==== Added By aUsTiN


#
#-----[ ]------------------------------------------
#

init_userprefs($userdata);
//
// End session management
//


#
#-----[ ]------------------------------------------
#

##=== ADR START: check user if in cell or not ===#
if(($userdata['user_cell_time'] > '0') && (!defined('CELL')) && ($userdata['session_logged_in']) && ($userdata['user_level'] != ADMIN) && ($userdata['user_cell_punishment'] == '3')){
redirect(append_sid("adr_cell.$phpEx", true));
}
##=== ADR END ===#


#
#-----[ ]------------------------------------------
#

$user_sig_bbcode_uid = $postrow[$i]['user_sig_bbcode_uid'];

#
#-----[ ]------------------------------------------
#

#==== Removed By aUsTiN
#$adr_topic_box = adr_display_poster_infos($postrow[$i]['user_id'], $userdata['user_id']);
if(($postrow[$i]['user_id'] != ANONYMOUS) && ($postrow[$i]['user_adr_ban'] != '1'))
$adr_topic_box = adr_display_poster_infos($postrow[$i]['user_id'], $adr_topic_info_char, $adr_topic_info_race, $adr_topic_info_elem, $adr_topic_info_clas, $adr_topic_info_alig, $adr_topic_info_pvp, $adr_topic_info_adr, $adr_topic_info_jobs, $postrow[$i]['user_cell_time']);
#==== Added By aUsTiN


#
#--------------[ ]-------------
#

$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];


#
#--------------[ ]-------------
#

$adr_topic_box = ($postrow[$i]['user_id'] != '-1') ? $adr_topic_box : '';

#
#-----[ ]------------------------------------------
#

'ROW_CLASS' => $row_class,

#
#-----[ ]------------------------------------------
#

'ADR_TOPIC_BOX' => $adr_topic_box,

#
#-----[ ]------------------------------------------
#
admin/admin_users.php

#
#-----[ ]------------------------------------------
#

$sql = "SELECT privmsgs_id


#
#-----[ ]------------------------------------------
#

##=== ADR START: include ADR character deletion function ===##
adr_delete_character($user_id);
##=== ADR END ===#


#
#--------------[ ]-------------
#

$user_allowavatar = ( !empty($HTTP_POST_VARS['user_allowavatar']) ) ? intval( $HTTP_POST_VARS['user_allowavatar'] ) : 0;


#
#--------------[ ]-------------
#

##=== ADR START ===#
$user_adr_ban = (!empty($HTTP_POST_VARS['user_adr_ban'])) ? intval($HTTP_POST_VARS['user_adr_ban']) : 0;
##=== ADR END ===#


#
#--------------[ ]-------------
#

$sql = "UPDATE " . USERS_TABLE . "
SET " . $username_sql . $passwd_sql . "user_email = '" . str_replace("\'", "''", $email) . "', user_icq = '" . str_replace("\'", "''", $icq) . "', user_website = '" . str_replace("\'", "''", $website) . "', user_occ = '" . str_replace("\'", "''", $occupation) . "', user_from = '" . str_replace("\'", "''", $location) . "', user_interests = '" . str_replace("\'", "''", $interests) . "', user_sig = '" . str_replace("\'", "''", $signature) . "', user_viewemail = $viewemail, user_aim = '" . str_replace("\'", "''", $aim) . "', user_yim = '" . str_replace("\'", "''", $yim) . "', user_msnm = '" . str_replace("\'", "''", $msn) . "', user_attachsig = $attachsig, user_sig_bbcode_uid = '$signature_bbcode_uid', user_allowsmile = $allowsmilies, user_allowhtml = $allowhtml, user_allowavatar = $user_allowavatar, user_allowbbcode = $allowbbcode, user_allow_viewonline = $allowviewonline, user_notify = $notifyreply, user_allow_pm = $user_allowpm, user_notify_pm = $notifypm, user_popup_pm = $popuppm, user_lang = '" . str_replace("\'", "''", $user_lang) . "', user_style = $user_style, user_timezone = $user_timezone, user_dateformat = '" . str_replace("\'", "''", $user_dateformat) . "', user_active = $user_status, user_rank = $user_rank" . $avatar_sql . "
WHERE user_id = $user_id";


#
#--------------[ ]-------------
#

user_rank = $user_rank


#
#--------------[ ]-------------
#

, user_adr_ban = $user_adr_ban


#
#-----[ ]------------------------------------------
#

$user_allowpm = $this_userdata['user_allow_pm'];


#
#-----[ ]------------------------------------------
#

##=== ADR START ===##
$user_adr_check = $this_userdata['user_adr_ban'];
##=== ADR END ===##


#
#-----[ ]------------------------------------------
#

$s_hidden_fields .= '<input type="hidden" name="allowsmilies" value="' . $allowsmilies . '" />';

#
#-----[ ]------------------------------------------
#

##=== ADR START ===##
$s_hidden_fields .= '<input type="hidden" name="user_adr_ban" value="' . $user_adr_check. '" />';
##=== ADR END ===##

#
#--------------[ ]-------------
#

'ALLOW_AVATAR_NO' => (!$user_allowavatar) ? 'checked="checked"' : '',


#
#--------------[ ]-------------
#

##=== ADR START ===##
'ADR_BAN_YES' => ($user_adr_check) ? 'checked="checked"' : '',
'ADR_BAN_NO' => (!$user_adr_check) ? 'checked="checked"' : '',
##=== ADR END ===##

#
#--------------[ ]-------------
#

'L_SELECT_RANK' => $lang['Rank_title'],


#
#--------------[ ]-------------
#

##=== ADR START ===##
'L_USER_ADR_BAN' => $lang['User_adr_ban'],
'L_USER_ADR_BAN_EXPLAIN' => $lang['User_adr_ban_explain'],
##=== ADR END ===##


#
#-----[ ]------------------------------------------
#
includes/functions.php


#
#-----[ ]------------------------------------------
#

include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx);


#
#----[ ]------------------------------------------
#

##=== ADR START: include ADR admin lang file ===##
include_once($phpbb_root_path . 'adr/language/lang_' . $board_config['default_lang'] . '/lang_adr_common_main.' . $phpEx);
##=== ADR END ===##


#
#-----[ ]------------------------------------------
#

include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx);

#
#----[ ]------------------------------------------
#

##=== ADR START: include ADR general lang file ===##
include_once($phpbb_root_path . 'adr/language/lang_' . $board_config['default_lang'] . '/lang_adr_common_admin.' . $phpEx);
##=== ADR END ===##


#
#-----[ ]------------------------------------------
#
includes/functions_post.php

#
#-----[ ]------------------------------------------
#

if ($mode == 'newtopic' || $mode == 'reply' || $mode == 'editpost')
{


#
#----[ ]------------------------------------------
#

##=== ADR START: add experience points to poster ===##
adr_add_experience_points($userdata['user_id'], $mode);
##=== ADR END ===##


#
#-----[ ]------------------------------------------
#
includes/page_header.php


#
#-----[ ]------------------------------------------
#

'U_MEMBERLIST' => append_sid('memberlist.'.$phpEx),


#
#-----[ ]------------------------------------------
#

##=== ADR START ===##
'U_ADR' => append_sid('adr_character.'.$phpEx),
'L_ADR' => $lang['Adr_character_page_name'],
##=== ADR END ===##


#
#-----[ ]------------------------------------------
#

$template->pparse('overall_header');


#
#-----[ ]------------------------------------------
#

##=== ADR START ===##
if(($userdata['user_cell_time'] > '0') && (!defined('CELL')) && ($userdata['session_logged_in']) && ($userdata['user_level'] != ADMIN) && ($userdata['user_cell_punishment'] == '1')){
redirect(append_sid("adr_cell.$phpEx", true));
}
##=== ADR END ===##


#
#-----[ ]------------------------------------------
#
includes/usercp_viewprofile.php


#
#-----[ ]------------------------------------------
#

$search = '<a href="' . $temp_url . '">' . sprintf($lang['Search_user_posts'], $profiledata['username']) . '</a>';


#
#----[ ]------------------------------------------
#

##=== ADR START: show viewprofile info ===###
if($board_config['Adr_profile_display']){
define ('IN_ADR_CHARACTER', true);
define ('IN_ADR_SHOPS', true);
define ('IN_ADR_SKILLS', true);
define ('IN_ADR_BATTLE', true);
include_once($phpbb_root_path . 'adr/includes/adr_global.'.$phpEx);

// Get the general config
$adr_general = adr_get_general_config();
$searchid = $profiledata['user_id'];

// Who is looking at this page?
if((!(isset($HTTP_POST_VARS[POST_USERS_URL]) || isset($HTTP_GET_VARS[POST_USERS_URL]))) || ( empty($HTTP_POST_VARS[POST_USERS_URL]) && empty($HTTP_GET_VARS[POST_USERS_URL]))){
$view_userdata = $userdata;}
else{
$view_userdata = get_userdata(intval($HTTP_GET_VARS[POST_USERS_URL]));}

$sql = "SELECT c.*, r.race_name, r.race_img, r.race_weight, r.race_weight_per_level, e.element_name, e.element_img, a.alignment_name, a.alignment_img, cl.class_name, cl.class_img, cl.class_update_xp_req
FROM " . ADR_CHARACTERS_TABLE . " c, " . ADR_RACES_TABLE . " r, " . ADR_ELEMENTS_TABLE . " e, " . ADR_ALIGNMENTS_TABLE . " a, " . ADR_CLASSES_TABLE . " cl
WHERE c.character_id = '$searchid'
AND cl.class_id = c.character_class
AND r.race_id = c.character_race
AND e.element_id = c.character_element
AND a.alignment_id = c.character_alignment";
if(!($result = $db->sql_query($sql))){
message_die(CRITICAL_ERROR, 'Error Getting Adr Users!');}
$row = $db->sql_fetchrow($result);

if(!(is_numeric($row['character_class']))){
$template->assign_block_vars('adr_profile_none', array());
}
else{
$template->assign_block_vars('adr_profile', array());

$class = adr_get_lang($row['class_name']);
$race = adr_get_lang($row['race_name']);
$element = adr_get_lang($row['element_name']);
$alignment = adr_get_lang($row['alignment_name']);

// Work out weight stats
$max_weight = adr_weight_stats($row['character_level'], $row['race_weight'], $row['race_weight_per_level'], $row['character_might']);

// Count up characters current weight
$sql = "SELECT SUM(item_weight) AS total FROM " . ADR_SHOPS_ITEMS_TABLE . "
WHERE item_owner_id = '$searchid'
AND item_in_warehouse = '0'
AND item_duration > '0'
AND item_in_shop = '0'";
if(!($result = $db->sql_query($sql))){
message_die(CRITICAL_ERROR, 'Error Getting Adr Users!');}
$weight = $db->sql_fetchrow($result);
$current_weight = (!empty($weight[total])) ? $weight[total] : 0;

//changed from max_hp to max_xp
$max_xp = $row['class_update_xp_req'];
for($p = 1; $p < $row['character_level']; $p++){
$max_xp = floor($max_xp *(($adr_general['next_level_penalty'] + 100) /100));}

// Create bar widths
list($hp_percent_width, $hp_percent_empty) = adr_make_bars($row['character_hp'], $row['character_hp_max'], '200');
list($mp_percent_width, $mp_percent_empty) = adr_make_bars($row['character_mp'], $row['character_mp_max'], '200');
list($exp_percent_width, $exp_percent_empty) = adr_make_bars($row['character_xp'], $max_xp, '200');
list($weight_percent_width, $weight_percent_empty) = adr_make_bars($current_weight, $max_weight, '200');

// Get skill infos
$skills = adr_get_skill_data('');

$sql = "SELECT item_in_shop, item_in_warehouse FROM " . ADR_SHOPS_ITEMS_TABLE . "
WHERE item_owner_id = '$searchid'
AND item_duration > '0'
AND item_monster_thief = '0'";
if(!($result = $db->sql_query($sql))){
message_die(CRITICAL_ERROR, 'Error Getting Adr Users!');}
$items = $db->sql_fetchrowset($result);

$items_owned = count($items);
$items_in_inventory = 0;
$items_in_shop = 0;
$items_in_warehouse = 0;

if($items_owned){
for($p = 0; $p < $items_owned; $p++){
if(($items[$p]['item_in_shop'] == '0') && ($items[$p]['item_in_warehouse'] == '0')) $items_in_inventory++;
elseif($items[$p]['item_in_warehouse'] == '1') $items_in_warehouse++;
else $items_in_shop++;
}
}

$inventory_link = append_sid("adr_character_inventory.$phpEx?" . POST_USERS_URL . "=" . $searchid . "");

$sql = " SELECT shop_id FROM " . ADR_SHOPS_TABLE . "
WHERE shop_owner_id = '$searchid'";
if(!($result = $db->sql_query($sql))){
message_die(CRITICAL_ERROR, 'Error Getting Adr Users!');}
$shop = $db->sql_fetchrow($result);
$shop_link = append_sid("adr_shops.$phpEx?mode=see_shop&shop_id=" . $shop['shop_id'] . "");
if(is_numeric($shop['shop_id'])){
$template->assign_block_vars('adr_profile.shop', array());}
}

$template->assign_vars(array(
'ITEMS_OWNED' => $items_owned,
'ITEMS_INVENTORY' => $items_in_inventory,
'ITEMS_SHOP' => $items_in_shop,
'ITEMS_WAREHOUSE' => $items_in_warehouse,
'SHOP_LINK' => $shop_link,
'INVENTORY_LINK' => $inventory_link,
'MINING' => $row['character_skill_mining'],
'MINING_IMG' => $skills[1]['skill_img'],
'STONE' => $row['character_skill_stone'],
'STONE_IMG' => $skills[2]['skill_img'],
'FORGE' => $row['character_skill_forge'],
'FORGE_IMG' => $skills[3]['skill_img'],
'ENCHANTMENT' => $row['character_skill_enchantment'],
'ENCHANTMENT_IMG' => $skills[4]['skill_img'],
'TRADING' => $row['character_skill_trading'],
'TRADING_IMG' => $skills[5]['skill_img'],
'THIEF' => $row['character_skill_thief'],
'THIEF_IMG' => $skills[6]['skill_img'],
'CAULDRON' => $row['character_skill_cauldron'],
'CAULDRON_IMG' => $skills[10]['skill_img'],
'CRAFT' => $row['character_skill_craft'],
'CRAFT_IMG' => $skills[11]['skill_img'],
'LEVEL' => $row['character_level'],
'POWER' => $row['character_might'],
'AGILITY' => $row['character_dexterity'],
'CONSTIT' => $row['character_constitution'],
'INT' => $row['character_intelligence'],
'WIS' => $row['character_wisdom'],
'CHA' => $row['character_charisma'],
'POINTS' => number_format($view_userdata['user_points']),
'SP' => number_format($row['character_sp']),
'FP' => number_format($row['character_fp']),
'HP' => number_format($row['character_hp']),
'MP' => number_format($row['character_mp']),
'EXP' => number_format($row['character_xp']),
'HP_MAX' => number_format($row['character_hp_max']),
'MP_MAX' => number_format($row['character_mp_max']),
'EXP_MAX' => number_format($max_xp),
'WEIGHT' => number_format($current_weight),
'WEIGHT_MAX' => number_format($max_weight),
'HP_PERCENT_WIDTH' => $hp_percent_width,
'MP_PERCENT_WIDTH' => $mp_percent_width,
'EXP_PERCENT_WIDTH' => $exp_percent_width,
'WEIGHT_PERCENT_WIDTH' => $weight_percent_width,
'WEIGHT_PERCENT_EMPTY' => $weight_percent_empty,
'HP_PERCENT_EMPTY' => $hp_percent_empty,
'MP_PERCENT_EMPTY' => $mp_percent_empty,
'EXP_PERCENT_EMPTY' => $exp_percent_empty,
'BATTLE_VICTORIES' => ($row['character_victories'] + $row['character_victories_pvp']),
'BATTLE_DEFEATS' => ($row['character_defeats'] + $row['character_defeats_pvp']),
'BATTLE_FLEES' => ($row['character_flees'] + $row['character_flees_pvp']),
'BATTLE_PVP_VICTORIES' => $row['character_pvp_victories'],
'BATTLE_PVP_DEFEATS' => $row['character_pvp_defeats'],
'BATTLE_PVP_FLEES' => $row['character_pvp_flees'],
'AC' => $row['character_ac'],
'NAME' => $row['character_name'],
'BIO' => str_replace("\n", "\n<br />\n", $row['character_desc']),
'AVATAR_IMG' => $avatar_img,
'CLASS' => $class,
'RACE' => $race,
'ELEMENT' => $element,
'ALIGNMENT' => $alignment,
'CLASS_IMG' => $row['class_img'],
'RACE_IMG' => $row['race_img'],
'ELEMENT_IMG' => $row['element_img'],
'ALIGNMENT_IMG' => $row['alignment_img'],
'HP_PERCENT_WIDTH' => $hp_percent_width,
'MP_PERCENT_WIDTH' => $mp_percent_width,
'EXP_PERCENT_WIDTH' => $exp_percent_width,
'L_CHAR_INFOS' => $lang['Adr_character_chars_infos'],
'L_PERSONAL_STATS' => $lang['Adr_job_personal_stats'],
'L_VITAL_STATS' => $lang['Adr_vital_stats'],
'L_BATTLE_STATS_TITLE' => $lang['Adr_character_battle_stats_title'],
'L_BATTLE_STATISTICS' => $lang['Adr_character_battle_statistics'],
'L_BATTLE_VICTORIES' => $lang['Adr_character_victories'],
'L_BATTLE_DEFEATS' => $lang['Adr_character_defeats'],
'L_BIO' => $lang['Adr_character_new_bio'],
'L_POINTS_INFOS_TITLE'=> $lang['Adr_character_chars_points'],
'L_CLASS' => $lang['Adr_character_class'],
'L_RACE' => $lang['Adr_character_race'],
'L_ELEMENT' => $lang['Adr_character_element'],
'L_ALIGNMENT' => $lang['Adr_character_alignment'],
'L_HEALTH'=> $lang['Adr_character_health'],
'L_MAGIC' => $lang['Adr_character_magic'],
'L_EXPERIENCE' => $lang['Adr_character_experience'],
'L_WEIGHT' => $lang['Adr_character_weight'],
'L_AC' => $lang['Adr_character_ac'],
'L_POWER' => $lang['Adr_character_power'],
'L_AGILITY' => $lang['Adr_character_agility'],
'L_CONSTIT' => $lang['Adr_character_endurance'],
'L_INT' => $lang['Adr_character_intelligence'],
'L_WIS' => $lang['Adr_character_willpower'],
'L_CHA' => $lang['Adr_character_charm'],
'L_POINTS' => $board_config['points_name'],
'L_BATTLE_STATISTICS' => $lang['Adr_character_battle_statistics'],
'L_BATTLE_VICTORIES' => $lang['Adr_character_victories'],
'L_BATTLE_DEFEATS' => $lang['Adr_character_defeats'],
'L_BATTLE_FLEES' => $lang['Adr_character_flees'],
'L_BATTLE_SEE' => $lang['Adr_character_battle_history'],
'L_NAME' => $lang['Adr_races_name'],
'L_DESC' => $lang['Adr_races_desc'],
'L_IMG' => $lang['Adr_races_image'],
'L_LEVEL' => $lang['Adr_character_level'],
'L_PROGRESS' => $lang['Adr_character_progress'],
'L_SKILLS' => $lang['Adr_character_skills'],
'L_CHARACTER_OF' => sprintf($lang['Adr_character_of'], $profiledata['username']),
'L_MINING' => $lang['Adr_mining'],
'L_MINING_DESC' => adr_get_lang($skills[1]['skill_desc']),
'L_STONE' => $lang['Adr_stone'],
'L_STONE_DESC' => adr_get_lang($skills[2]['skill_desc']),
'L_FORGE' => $lang['Adr_forge'],
'L_FORGE_DESC' => adr_get_lang($skills[3]['skill_desc']),
'L_ENCHANTMENT' => $lang['Adr_enchantment'],
'L_ENCHANTMENT_DESC' => adr_get_lang($skills[4]['skill_desc']),
'L_TRADING' => $lang['Adr_trading'],
'L_TRADING_DESC' => adr_get_lang($skills[5]['skill_desc']),
'L_THIEF' => $lang['Adr_thief'],
'L_THIEF_DESC' => adr_get_lang($skills[6]['skill_desc']),
'L_NO_CHARACTER' => $lang['Adr_character_lack'],
'L_ITEMS' => $lang['Adr_items_prefs'],
'L_COUNT_ITEMS' => $lang['Adr_count_items'],
'L_COUNT_ITEMS_INVENTORY' => $lang['Adr_count_items_inventory'],
'L_COUNT_ITEMS_SHOPS' => $lang['Adr_count_items_shop'],
'L_COUNT_ITEMS_WAREHOUSE' => $lang['Adr_count_items_warehouse'],
'L_SEE_INVENTORY' => $lang['Adr_see_inventory'],
'L_SEE_SHOP' => $lang['Adr_see_shop'],
'L_NO_SHOP' => $lang['Adr_no_shop'],
'U_NAME' => append_sid("adr_character.$phpEx?" . POST_USERS_URL . "=" . $profiledata['user_id']),
));
}
##=== ADR END ===##


#
#-----[ ]------------------------------------------
#
templates/subSilver/profile_view_body.tpl

#
#-----[ ]------------------------------------------
#
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td align="right"><span class="nav"><br />{JUMPBOX}</span></td>

#
#-----[ ]------------------------------------------
#

<!-- BEGIN adr_profile_none -->
<br class="gensmall" />
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<th class="thHead" colspan="2" height="15" nowrap="nowrap">{L_NO_CHARACTER}</th>
</tr>
</table>
<!-- END adr_profile_none -->
<!-- BEGIN adr_profile -->
<br class="gensmall" />
<table cellspacing="0" cellpadding="1" border="1" align="center" class="forumline" width="100%">
<tr>
<th align="center" width="100%" colspan="3" >{L_CHARACTER_OF}</th>
</tr>
<tr>
<td class="row1" align="center" valign="top" width="20%">
<br>
<table cellspacing="2" cellpadding="0" border="2" align="center" width="100%">
<tr>
<th class="row1" align="center" width="60%" colspan="2"><b>{NAME}</b>
<br><span class="gensmall"><b>{L_LEVEL}: {LEVEL}</b></span></th>
</tr>
<tr>
<td class="row1" align="left"><span class="gen"> {L_CLASS}:</td>
<td class="row2" align="center"><span class="gensmall"><img src="adr/images/classes/{CLASS_IMG}" alt="{CLASS}"><br />{CLASS}</span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="gen"> {L_RACE}:</td>
<td class="row2" align="center"><span class="gensmall"><img src="adr/images/races/{RACE_IMG}" alt="{RACE}"><br />{RACE}</span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="gen"> {L_ELEMENT}:</td>
<td class="row2" align="center"><span class="gensmall"><img src="adr/images/elements/{ELEMENT_IMG}" alt="{ELEMENT}"><br />{ELEMENT}</span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="gen"> {L_ALIGNMENT}:</td>
<td class="row2" align="center"><span class="gensmall"><img src="adr/images/alignments/{ALIGNMENT_IMG}" alt="{ALIGNMENT}"><br />{ALIGNMENT}</span></td>
</tr>
</table>
<br>
<table cellspacing="2" cellpadding="1" border="1" align="center" width="100%">
<tr>
<th align="center" class="row2" width="5%" colspan="3">{L_POINTS_INFOS_TITLE}</td>
</tr>
<tr>
<td align="center" class="row1" width="5%"><img src="adr/images/misc/au.gif" alt="{L_POINTS}"></td>
<td align="center" class="row1" width="65%"><span class="gensmall">{L_POINTS}</span></td>
<td align="center" class="row1" width="30%" colspan="2"><span class="gensmall">{POINTS}</span></td>
</tr>
</table>
<br>
<table cellspacing="2" cellpadding="1" border="1" align="center" width="100%">
<tr>
<th align="center" colspan="2">{L_ITEMS}</th>
</tr>
<tr>
<td class="row1" align="center" colspan="2" ><span class="gensmall"><a href="{INVENTORY_LINK}" alt="{L_SEE_INVENTORY}" target="_blank">{L_COUNT_ITEMS_INVENTORY}</a>: {ITEMS_INVENTORY}</span></td>
</tr>
<tr>
<td class="row1" align="center" colspan="2" ><span class="gensmall">{L_COUNT_ITEMS_WAREHOUSE}: {ITEMS_WAREHOUSE}</span></td>
</tr>
<!-- BEGIN shop -->
<tr>
<td class="row1" align="center" colspan="2" ><span class="gensmall"><a href="{SHOP_LINK}" target="_blank">{L_COUNT_ITEMS_SHOPS}</a>: {ITEMS_SHOP}</span></td>
</tr>
<!-- END shop -->
<tr>
<td class="row2" align="center" colspan="2"><span class="gensmall">{L_COUNT_ITEMS}: {ITEMS_OWNED}</span></td>
</tr>
</table>
</span></td>
<td class="row1" align="center" valign="top" width="60%">
<br>
<table cellspacing="1" cellpadding="2" border="1" align="center" class="forumline" width="100%">
<tr>
<th align="center" colspan="2" width="100%">{L_BATTLE_STATISTICS}</th>
</tr>
<tr>
<td align="center" class="row1" width="50%"><span class="gensmall">{L_BATTLE_VICTORIES}</span></td>
<td align="center" class="row2" width="25%"><span class="gensmall">{BATTLE_VICTORIES}</span></td>
</tr>
<tr>
<td align="center" class="row1" width="50%"><span class="gensmall">{L_BATTLE_DEFEATS}</span></td>
<td align="center" class="row2" width="25%"><span class="gensmall">{BATTLE_DEFEATS}</span></td>
</tr>
<tr>
<td align="center" class="row1" width="50%"><span class="gensmall">{L_BATTLE_FLEES}</span></td>
<td align="center" class="row2" width="25%"><span class="gensmall">{BATTLE_FLEES}</span></td>
</tr>
<tr>
<td align="center" class="catBottom" colspan="3"> </td>
</tr>
</table>
<br>
<table cellspacing="1" cellpadding="2" border="1" align="center" class="forumline" width="100%">
<tr>
<th align="center" colspan="3">{L_SKILLS}</th>
</tr>
<tr>
<td class="row2" align="center"><span class="gensmall"><b>{L_IMG}</b></span></td>
<td class="row2" align="center"><span class="gensmall"><b>{L_DESC}</b></span></td>
<td class="row2" align="center"><span class="gensmall"><b>{L_LEVEL}</b></span></td>
</tr>
<tr>
<td class="row1" align="center"><img src="adr/images/skills/{MINING_IMG}" alt="{L_MINING}"></td>
<td class="row1" align="center"><span class="gensmall">{L_MINING_DESC}</span></td>
<td class="row1" align="center"><span class="gensmall">{MINING}</span></td>
</tr>
<tr>
<td class="row2" align="center"><img src="adr/images/skills/{STONE_IMG}" alt="{L_STONE}"></td>
<td class="row2" align="center"><span class="gensmall">{L_STONE_DESC}</span></td>
<td class="row2" align="center"><span class="gensmall">{STONE}</span></td>
</tr>
<tr>
<td class="row1" align="center"><img src="adr/images/skills/{FORGE_IMG}" alt="{L_FORGE}"></td>
<td class="row1" align="center"><span class="gensmall">{L_FORGE_DESC}</span></td>
<td class="row1" align="center"><span class="gensmall">{FORGE}</span></td>
</tr>
<tr>
<td class="row2" align="center"><img src="adr/images/skills/{ENCHANTMENT_IMG}" alt="{L_ENCHANTMENT}"></td>
<td class="row2" align="center"><span class="gensmall">{L_ENCHANTMENT_DESC}</span></td>
<td class="row2" align="center"><span class="gensmall">{ENCHANTMENT}</span></td>
</tr>
<tr>
<td class="row1" align="center"><img src="adr/images/skills/{THIEF_IMG}" alt="{L_THIEF}"></td>
<td class="row1" align="center"><span class="gensmall">{L_THIEF_DESC}</span></td>
<td class="row1" align="center"><span class="gensmall">{THIEF}</span></td>
</tr>
<tr>
<td align="center" class="catBottom" colspan="3"> </td>
</tr>
</table>
</td>
</span>
</td>
<td class="row1" align="center" valign="top" width="20%">
<br>
<table cellspacing="2" cellpadding="1" border="1" align="center" valign="top" width="100%">
<tr>
<th align="center">{L_VITAL_STATS}</td>
</tr>
<tr>
<td align="center" class="row2">
<table cellspacing="0" cellpadding="0" border="0" align="center" width="100%">
<tr>
<td align="left"><span class="gensmall"> {L_HEALTH}: {HP}/{HP_MAX}</td>
</tr>
<tr>
<td align="left"> <img src="adr/images/misc/bar_red_begin.gif" width="6" height="13" /><img src="adr/images/misc/bar_red_middle.gif" width="{HP_PERCENT_WIDTH}" height="13" border="0" /><img src="adr/images/misc/bar_emp.gif" width="{HP_PERCENT_EMPTY}" height="13" border="0" /><img src="adr/images/misc/bar_red_end.gif" width="6" height="13" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" class="row2">
<table cellspacing="0" cellpadding="0" border="0" align="center" width="100%">
<tr>
<td align="left"><span class="gensmall"> {L_MAGIC}: {MP}/{MP_MAX}</td>
</tr>
<tr>
<td align="left"> <img src="adr/images/misc/bar_blue_begin.gif" width="6" height="13" /><img src="adr/images/misc/bar_blue_middle.gif" width="{MP_PERCENT_WIDTH}" height="13" border="0" /><img src="adr/images/misc/bar_emp.gif" width="{MP_PERCENT_EMPTY}" height="13" border="0" /><img src="adr/images/misc/bar_blue_end.gif" width="6" height="13" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" class="row2">
<table cellspacing="0" cellpadding="0" border="0" align="center" width="100%">
<tr>
<td align="left"><span class="gensmall"> {L_WEIGHT}: {WEIGHT}/{WEIGHT_MAX}</td>
</tr>
<tr>
<td align="left"> <img src="adr/images/misc/bar_orange_begin.gif" width="6" height="13" /><img src="adr/images/misc/bar_orange_middle.gif" width="{WEIGHT_PERCENT_WIDTH}" height="13" border="0" /><img src="adr/images/misc/bar_emp.gif" width="{WEIGHT_PERCENT_EMPTY}" height="13" border="0" /><img src="adr/images/misc/bar_orange_end.gif" width="6" height="13" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" class="row2">
<table cellspacing="0" cellpadding="0" border="0" align="center" width="100%">
<tr>
<td align="left"><span class="gensmall"> {L_EXPERIENCE}: {EXP}/{EXP_MAX}</td>
</tr>
<tr>
<td align="left"> <img src="adr/images/misc/bar_green_begin.gif" width="6" height="13" /><img src="adr/images/misc/bar_green_middle.gif" width="{EXP_PERCENT_WIDTH}" height="13" border="0" /><img src="adr/images/misc/bar_emp.gif" width="{EXP_PERCENT_EMPTY}" height="13" border="0" /><img src="adr/images/misc/bar_green_end.gif" width="6" height="13" /></td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table cellspacing="2" cellpadding="1" border="1" align="center" width="100%">
<tr>
<th align="center" class="row2" width="5%" colspan="3">{L_CHAR_INFOS}</td>
</tr>
<tr>
<td align="center" class="row2" width="5%"><img src="adr/images/misc/ac.gif" alt="{L_AC}"></td>
<td align="center" class="row2" width="65%"><span class="gensmall">{L_AC}</span></td>
<td align="center" class="row2" width="30%"><span class="gensmall">{AC}</span></td>
</tr>
<tr>
<td align="center" class="row2" width="5%"><img src="adr/images/misc/str.gif" alt="{L_POWER}"></td>
<td align="center" class="row2" width="65%"><span class="gensmall">{L_POWER}</span></td>
<td align="center" class="row2" width="30%"><span class="gensmall">{POWER}</span></td>
</tr>
<tr>
<td align="center" class="row2" width="5%"><img src="adr/images/misc/dex.gif" alt="{L_AGILITY}"></td>
<td align="center" class="row2" width="65%"><span class="gensmall">{L_AGILITY}</span></td>
<td align="center" class="row2" width="30%"><span class="gensmall">{AGILITY}</span></td>
</tr>
<tr>
<td align="center" class="row2" width="5%"><img src="adr/images/misc/int.gif" alt="{L_INT}"></td>
<td align="center" class="row2" width="65%"><span class="gensmall">{L_INT}</span></td>
<td align="center" class="row2" width="30%"><span class="gensmall">{INT}</span></td>
</tr>
<tr>
<td align="center" class="row2" width="5%"><img src="adr/images/misc/look.gif" alt="{L_WIS}"></td>
<td align="center" class="row2" width="65%"><span class="gensmall">{L_WIS}</span></td>
<td align="center" class="row2" width="30%"><span class="gensmall">{WIS}</span></td>
</tr>
<tr>
<td align="center" class="row2" width="5%"><img src="adr/images/misc/cha.gif" alt="{L_CHA}"></td>
<td align="center" class="row2" width="65%"><span class="gensmall">{L_CHA}</span></td>
<td align="center" class="row2" width="30%"><span class="gensmall">{CHA}</span></td>
</tr>
<tr>
<td align="center" class="row2" width="5%"><img src="adr/images/misc/const.gif" alt="{L_CONSTIT}"></td>
<td align="center" class="row2" width="65%"><span class="gensmall">{L_CONSTIT}</span></td>
<td align="center" class="row2" width="30%"><span class="gensmall">{CONSTIT}</span></td>
</tr>
</table>
</td>
</tr>
</table>
<!-- END adr_profile -->


#
#-----[ ]------------------------------------------
#
templates/subSilver/overall_header.tpl


#
#-----[ ]------------------------------------------
#

<td align="center" valign="top" nowrap="nowrap">


#
#-----[ ]------------------------------------------
#

L_USERGROUPS}</a>


#
#-----[ ]------------------------------------------
#

<a href="{U_ADR}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_members.gif" width="12" height="13" border="0" alt="{L_ADR}" hspace="3" />{L_ADR}</a>


#
#-----[ ]------------------------------------------
#
templates/subSilver/viewtopic_body.tpl


#
#-----[ ]------------------------------------------
#
# This is a partial search , full line is longer
#

<td width="150" align="left" valign="top" class="{postrow.ROW_CLASS}">


#
#-----[ ]------------------------------------------
#

{postrow.POSTER_FROM}


#
#-----[ ]------------------------------------------
#
# You can put this wherever you like...

<br /><br />{postrow.ADR_TOPIC_BOX}


#
#----------[ ]-------------
#
templates/subSilver/admin/user_edit_body.tpl


#
#--------------[ ]-------------
#

<tr>
<td class="row1"><span class="gen">{L_DELETE_USER}?</span></td>


#
#--------------[ ]-------------
#

<tr>
<td class="row1"><span class="gen">{L_USER_ADR_BAN}</span></td>
<td class="row2">
<input type="radio" name="user_adr_ban" value="1" {ADR_BAN_YES} />
<span class="gen">{L_YES}</span>
<input type="radio" name="user_adr_ban" value="0" {ADR_BAN_NO} />
<span class="gen">{L_NO}</span></td>
</tr>



#
#----------[ ]-------------
#
language/lang_english/lang_admin.php


#
#--------------[ ]-------------
#

//
// That's all Folks!
// -------------------------------------------------


#
#--------------[ ]-------------
#

##=== START ADR: admin keys ===##
$lang['User_adr_ban']='ADR Ban?';
$lang['User_adr_ban_explain']='Ban this user from using any of the Advanced Dungeons & Rabbits (ADR) features';
##=== END ADR ===##



#
#--------------[ SQL ]-------------
#
## SQL :
# 1. adr_db_update.php !!!!
# ...eg. www.blah.com/phpBB2/adr_db_update.php - !!!
# 2. SQL : "schemas/mysql/mysql.sql" PHPMYADMIN-A
#


#
#-----[ / ]------------------------------------------


... RPG !!!
: !!!
!!!!
(MODA) WEB-TOURIST!!!!
ENJOY!!!


/ /