Пример #1
0
                for ($x = 0; $x < count($shops_join); $x++) {
                    unset($shop_exp);
                    $shop_exp = explode(':', $shops_join[$x]);
                    $shops[] = $shop_exp[1];
                    $shops_count[] = $shop_exp[0];
                }
            }
            #==== End: Rebuild shops arrays if ordered by total items
            #==== Start: Build the page with the above info
            for ($x = 0; $x < count($row); $x++) {
                for ($y = $start; $y < $shops_per_page + $start; $y++) {
                    if ($shops[$y] == $row[$x]['shop_id']) {
                        //  						$logo_url_check = ($row[$x]['shop_logo'] != '') ? (@fopen($row[$x]['shop_logo'], "r")) : '';
                        //  						if ((!$logo_url_check) && ($row[$x]['shop_logo'] != ''))
                        //  							adr_store_img_delete($row[$x]['character_id']);
                        $template->assign_block_vars('shop_list.shops', array("ROW_CLASS" => !($y % 2) ? $theme['td_class1'] : $theme['td_class2'], "SHOP_NAME" => $row[$x]['shop_name'], "SHOP_LAST_UPDATED" => $row[$x]['shop_last_updated'] != '0' ? adr_make_time(time() - $row[$x]['shop_last_updated']) : $lang['Adr_shops_update_never'], "SHOP_LOGO" => !empty($row[$x]['shop_logo']) && $logo_url_check ? '<img style="border:0" src="' . $row['shop_logo'] . '">' : '', "SHOP_DESC" => $row[$x]['shop_desc'], "SHOP_TOTAL" => '<b><font color="red">' . $shops_count[$y] . '</font></b>', "OWNER_NAME" => $row[$x]['character_name'], "U_SHOP_NAME" => append_sid("adr_shops.{$phpEx}?mode=see_shop&amp;shop_id=" . $row[$x]['shop_id']), "U_OWNER_NAME" => append_sid("adr_character.{$phpEx}?" . POST_USERS_URL . "=" . $row[$x]['user_id'])));
                    }
                    #==== If ($shops[$y] == $row[$x]['shop_id'])
                }
                #==== for $y array
            }
            #==== for $x array
            $pagination = generate_pagination("adr_shops.{$phpEx}?&amp;mode=shop_list&amp;mode2={$mode2}&amp;order={$sort_order}&amp;cat={$cat}", $total_shops, $shops_per_page, $start) . '&nbsp;';
            #==== End: Build the page with the above info
            $template->assign_vars(array("L_OWNER_NAME" => $lang['Adr_shop_owner_name'], "L_SHOP_NAME" => $lang['Adr_shop_name'], "L_SHOP_DESC" => $lang['Adr_shop_desc'], "L_SHOP_LAST_UPDATED" => $lang['Adr_shops_update_date'], "L_SHOP_TOTAL" => $lang['Adr_shop_total_items'], "L_OWNER" => $lang['Adr_users_shops_owner'], 'L_SELECT_SORT_METHOD' => $lang['Select_sort_method'], 'L_ORDER' => $lang['Order'], 'L_SORT' => $lang['Sort'], 'L_SUBMIT' => $lang['Sort'], 'S_MODE_SELECT' => $select_sort_mode, 'S_ORDER_SELECT' => $select_sort_order, 'PAGINATION' => $pagination, 'PAGE_NUMBER' => sprintf($lang['Page_of'], floor($start / $board_config['topics_per_page']) + 1, ceil($total_shops / $board_config['topics_per_page'])), 'L_GOTO_PAGE' => $lang['Goto_page'], 'S_MODE_ACTION' => append_sid("adr_shops.{$phpEx}?mode=shop_list")));
            break;
    }
} else {
    $template->assign_block_vars('main', array());
    $sql = "SELECT shop_id FROM " . ADR_SHOPS_TABLE . "\n\t\tWHERE shop_owner_id = {$user_id} ";
    $result = $db->sql_query($sql);
Пример #2
0
    if (!$db->sql_query($sql)) {
        message_die(GENERAL_ERROR, 'Could not obtain accounts information', "", __LINE__, __FILE__, $sql);
    }
    adr_previous(Adr_vault_loan_pay_off_ok, adr_vault, '');
}
$sql = "SELECT * FROM " . ADR_VAULT_USERS_TABLE;
if (!($result = $db->sql_query($sql))) {
    message_die(CRITICAL_ERROR, 'Error Getting Vault Users!');
}
$vault_stats = $db->sql_fetchrowset($result);
$opened_accounts = 0;
$total_deposit = 0;
for ($i = 0; $i < count($vault_stats); $i++) {
    $opened_accounts = $opened_accounts + 1;
    $total_deposit = $total_deposit + $vault_stats[$i]['account_sum'];
}
$sql = "SELECT * FROM " . ADR_VAULT_USERS_TABLE . "\n\tWHERE owner_id = {$user_id} ";
if (!($result = $db->sql_query($sql))) {
    message_die(CRITICAL_ERROR, 'Error Getting Vault Users!');
}
$vault = $db->sql_fetchrow($result);
$remaining_time = $vault_general['loan_interests_time'] - (time() - $vault['loan_time']);
$remaining_date = $vault['loan_time'] + $vault_general['loan_interests_time'];
$loan = $vault['loan_sum'] * (1 + $vault_general['loan_interests'] / 100);
$template->assign_vars(array('POINTS' => number_format($userdata['user_points']), 'ACCOUNTS' => number_format($opened_accounts), 'TOTAL_DEPOSIT' => number_format($total_deposit), 'ACCOUNT_SUM' => number_format($vault['account_sum']), 'INTEREST_TIME' => adr_make_time($vault_general['interests_time']), 'INTEREST_RATE' => $vault_general['interests_rate'], 'POSTS_REQ' => number_format($vault_general['loan_requirements']), 'LOAN_RATE' => $vault_general['loan_interests'], 'LOAN_TIME' => adr_make_time($vault_general['loan_interests_time']), 'LOAN_MAX_SUM' => number_format($vault_general['loan_max_sum']), 'LOAN_SUM' => number_format($vault['loan_sum']), 'LOAN_REMAINING_TIME' => adr_make_time($remaining_time), 'LOAN_REMAINING_DATE' => create_date($board_config['default_dateformat'], $remaining_date, $board_config['board_timezone']), 'LOAN_LOAN' => number_format($loan), 'DUE' => $due, 'L_OTHERS' => $lang['Adr_vault_others'], 'L_VAULT_LIST' => $lang['Adr_vault_list'], 'L_STOCK_EXCHANGE' => $lang['Adr_vault_stock_exchange'], 'L_LOAN_SUM' => $lang['Adr_vault_loan_sum'], 'L_LOAN_REMAINING_TIME' => $lang['Adr_vault_loan_remaining_time'], 'L_LOAN_REMAINING_DATE' => $lang['Adr_vault_loan_remaining_date'], 'L_LOAN_LOAN' => $lang['Adr_vault_loan_loan'], 'L_LOAN_BACK' => $lang['Adr_vault_loan_back'], 'L_LOAN_ACTIVE' => $lang['Adr_vault_loan_active'], 'L_LOAN_RATE' => $lang['Adr_vault_loan_rate'], 'L_LOAN_TIME' => $lang['Adr_vault_loan_time'], 'L_LOAN_MAX_SUM' => $lang['Adr_vault_loan_max_sum'], 'L_ACCOUNT_LOAN' => $lang['Adr_vault_loan_make'], 'L_LOAN' => $lang['Adr_vault_loan_action'], 'L_POSTS_REQ' => $lang['Posts'], 'L_NO_LOAN_EXPLAIN' => $lang['Adr_vault_loan_no_explain'], 'L_INTEREST_TIME' => $lang['Adr_vault_interests_time'], 'L_LOAN_INFORMATIONS' => $lang['Adr_vault_loan_informations'], 'L_INTEREST_RATE' => $lang['Adr_vault_interests_rate'], 'L_ACCOUNT_DEPOSIT' => $lang['Adr_vault_account_deposit'], 'L_DEPOSIT' => $lang['Adr_vault_deposit'], 'L_ACCOUNT_WITHDRAW' => $lang['Adr_vault_account_withdraw'], 'L_WITHDRAW' => $lang['Adr_vault_withdraw'], 'L_PERSONAL_INFORMATIONS' => $lang['Adr_vault_user_informations'], 'L_ACCOUNT_INFORMATIONS' => $lang['Adr_vault_account_informations'], 'L_OPENED_ACCOUNTS' => $lang['Adr_vault_opened_accounts'], 'L_TOTAL_DEPOSIT' => $lang['Adr_vault_accounts_sum'], 'L_OWNER_POINTS' => $lang['Adr_vault_user_points'], 'L_POINTS' => get_reward_name(), 'L_PUBLIC_TITLE' => $lang['Adr_vault__page_name'], 'L_NO_ACCOUNT' => $lang['Adr_vault_no_account'], 'L_ACCOUNT' => $lang['Adr_vault_account'], 'L_OPEN_ACCOUNT' => $lang['Adr_vault_open_account'], 'L_CLOSE_ACCOUNT' => $lang['Adr_vault_close_account'], 'L_BLACK_LISTED' => $lang['Adr_vault_blacklist'], 'L_BLACK_LISTED_EXPLAIN' => $lang['Adr_vault_blacklist_explain'], 'L_BLACK_LISTED_DUE' => $lang['Adr_vault_blacklist_due'], 'L_DUE_PAYOFF' => $lang['Adr_vault_blacklist_due_payoff'], 'S_VAULT_ACTION' => append_sid("adr_vault.{$phpEx}")));
include $phpbb_root_path . 'adr/includes/adr_header.' . $phpEx;
$template->pparse('body');
include $phpbb_root_path . 'includes/page_tail.' . $phpEx;
?>
 
Пример #3
0
$user_id = $userdata['user_id'];
$caution = $userdata['user_cell_caution'];
$pay = isset($HTTP_POST_VARS['submit']);
// Update the time sentence
adr_cell_update_users();
if ($pay) {
    $sql = "UPDATE " . ADR_JAIL_USERS_TABLE . " \r\n\t\tSET user_freed_by = {$user_id}\r\n\t\tWHERE user_id = {$user_id} ";
    if (!($result = $db->sql_query($sql))) {
        message_die(GENERAL_ERROR, "", __LINE__, __FILE__, $sql);
    }
    $sql = "DELETE FROM " . ADR_JAIL_VOTES_TABLE . " \r\n\t\tWHERE vote_id = {$user_id} ";
    if (!($result = $db->sql_query($sql))) {
        message_die(GENERAL_ERROR, "", __LINE__, __FILE__, $sql);
    }
    $sql = "UPDATE " . USERS_TABLE . " \r\n\t\tSET user_points = user_points - {$caution} ,\r\n\t\tuser_cell_time = 0 ,\r\n\t\tuser_cell_time_judgement = 0 ,\r\n\t\tuser_cell_enable_caution = 0,\r\n\t\tuser_cell_enable_free = 0,\r\n\t\tuser_cell_sentence = '',\r\n\t\tuser_cell_caution = 0\r\n\t\tWHERE user_id = {$user_id} ";
    if (!($result = $db->sql_query($sql))) {
        message_die(GENERAL_ERROR, "", __LINE__, __FILE__, $sql);
    }
    message_die(GENERAL_MESSAGE, $lang['Adr_cell_free']);
}
if ($userdata['user_points'] >= $caution && $caution != 0) {
    $template->assign_block_vars('is_rich', array());
}
$punishment[1] = $lang['Adr_cell_time_explain'];
$punishment[2] = $lang['Adr_cell_time_explain_posts'];
$punishment[3] = $lang['Adr_cell_time_explain_read'];
$template->assign_vars(array('DAY' => $days, 'HOUR' => $hours, 'MINUTE' => $minutes, 'CAUTION' => $caution . '&nbsp;' . get_reward_name(), 'L_CELL' => $lang['Adr_cell_title'], 'L_CELL_EXPLAIN' => $lang['Adr_cell_explain'], 'L_CELL_TIME' => $lang['Adr_cell_time'], 'L_CELL_TIME_EXPLAIN' => $punishment[$userdata['user_cell_punishment']], 'L_CELLED_TIME' => adr_make_time($userdata['user_cell_time']), 'L_CAUTION' => $lang['Adr_cell_caution'], 'L_SENTENCE' => $userdata['user_cell_sentence'], 'L_CAUTION_PAY' => $lang['Adr_cell_caution_pay'], 'S_CELL_ACTION' => append_sid("adr_cell.{$phpEx}")));
$template->pparse('body');
include $phpbb_root_path . 'includes/page_tail.' . $phpEx;
?>
 
Пример #4
0
                if ($stock_name == '' || $stock_desc == '' || $stock_price == '') {
                    message_die(MESSAGE, $lang['Fields_empty']);
                }
                $sql = "INSERT INTO " . ADR_VAULT_EXCHANGE_TABLE . " (stock_id, stock_name, stock_desc, stock_price,stock_previous_price,stock_worst_price,stock_best_price)\r\n\t\t\t\tVALUES ( {$stock_id}, '" . str_replace("\\'", "''", $stock_name) . "' , '" . str_replace("\\'", "''", $stock_desc) . "' , {$stock_price}, {$stock_price}, {$stock_price}, {$stock_price})";
                $result = $db->sql_query($sql);
                if (!$result) {
                    message_die(GENERAL_ERROR, "Couldn't insert new stock", "", __LINE__, __FILE__, $sql);
                }
                message_die(GENERAL_MESSAGE, sprintf($lang['Adr_vault_exchange_added_return_settings'], '<a href="' . append_sid(basename(__FILE__)) . '">', '</a>'), $lang['Adr_vault_settings']);
                break;
        }
    } else {
        $sql = "SELECT *\tFROM " . ADR_VAULT_EXCHANGE_TABLE . "\r\n\t\tORDER BY stock_id ";
        $result = $db->sql_query($sql);
        if (!$result) {
            message_die(GENERAL_ERROR, "Couldn't obtain stock exchange from database", "", __LINE__, __FILE__, $sql);
        }
        $exchange = $db->sql_fetchrowset($result);
        for ($i = 0; $i < count($exchange); $i++) {
            $row_color = !($i % 2) ? $theme['td_color1'] : $theme['td_color2'];
            $row_class = !($i % 2) ? $theme['td_class1'] : $theme['td_class2'];
            $stock_name = adr_get_lang($exchange[$i]['stock_name']);
            $stock_desc = adr_get_lang($exchange[$i]['stock_desc']);
            $template->assign_block_vars("exchange", array("ROW_COLOR" => "#" . $row_color, "ROW_CLASS" => $row_class, "STOCK_NAME" => $stock_name, "STOCK_DESC" => $stock_desc, "STOCK_AMOUNT" => $exchange[$i]['stock_price'], "U_STOCK_EDIT" => append_sid("admin_adr_vault_exchange.{$phpEx}?mode=edit&amp;id=" . $exchange[$i]['stock_id']), "U_STOCK_DELETE" => append_sid("admin_adr_vault_exchange.{$phpEx}?mode=delete&amp;id=" . $exchange[$i]['stock_id'])));
        }
        $template->assign_vars(array('L_STOCK_EXCHANGE_ACTIONS' => $lang['Adr_vault_exchange_actions'], 'L_STOCK_NAME' => $lang['Adr_vault_exchange_actions_name'], 'L_STOCK_DESC' => $lang['Adr_vault_exchange_actions_desc'], 'L_STOCK_AMOUNT' => $lang['Adr_vault_exchange_actions_amount'], 'L_ACTION' => $lang['Adr_vault_exchange_action'], 'L_EDIT' => $lang['Adr_vault_exchange_edit'], 'L_DELETE' => $lang['Adr_vault_exchange_delete'], 'L_STOCK_ADD' => $lang['Adr_vault_exchange_actions_add']));
    }
}
$template->assign_vars(array('VAULT_EXCHANGE_USE_CHECKED' => $board_config['stock_use'] ? 'CHECKED' : '', 'VAULT_EXCHANGE_TIME' => $board_config['stock_time'], 'VAULT_EXCHANGE_TIME_EXPLAIN' => $lang['Adr_vault_time_explain'] . adr_make_time($board_config['stock_time']), 'VAULT_EXCHANGE_MAX' => $vault['stock_max_change'], 'VAULT_EXCHANGE_MIN' => $vault['stock_min_change'], 'L_VAULT_EXCHANGE_SETTINGS' => $lang['Adr_vault_exchange_settings'], 'L_VAULT_EXCHANGE_SETTINGS_EXPLAIN' => $lang['Adr_vault_exchange_settings_explain'], 'L_VAULT_EXCHANGE_USE' => $lang['Adr_vault_exchange_use'], 'L_VAULT_EXCHANGE_MIN' => $lang['Adr_vault_exchange_min'], 'L_VAULT_EXCHANGE_MIN_EXPLAIN' => $lang['Adr_vault_exchange_min_explain'], 'L_VAULT_EXCHANGE_MAX' => $lang['Adr_vault_exchange_max'], 'L_VAULT_EXCHANGE_MAX_EXPLAIN' => $lang['Adr_vault_exchange_max_explain'], 'L_VAULT_EXCHANGE_TIME' => $lang['Adr_vault_exchange_time'], 'L_VAULT_EXCHANGE_TIME_EXPLAIN' => $lang['Adr_vault_exchange_time_explain'], 'L_SUBMIT' => $lang['Submit'], 'S_VAULT_ACTION' => append_sid(basename(__FILE__)), "S_HIDDEN_FIELDS" => $s_hidden_fields));
$template->pparse('body');
include './page_footer_admin.' . $phpEx;
Пример #5
0
                $sql = array();
                while (list(, $celled) = @each($celleds)) {
                    if (isset($_POST[$celled['user_id']])) {
                        adr_cell_free_user($celled['user_id'], 2);
                    }
                }
                adr_previous(Adr_cell_admin_uncelled_ok, admin_adr_cell_users, '');
            } else {
                if ($manual_update) {
                    $free = '';
                    $free = adr_cell_update_users();
                    $free = $free == '' ? $lang['None'] : $free;
                    message_die(GENERAL_MESSAGE, $lang['Adr_cell_admin_celled_manual_update_ok'] . '<br />' . $free);
                } else {
                    $sql = "SELECT * FROM " . USERS_TABLE . "\n\t\tWHERE user_cell_time > 0\n\t\tAND user_id > 1\n\t\tORDER by username";
                    if (!($result = $db->sql_query($sql))) {
                        message_die(GENERAL_ERROR, 'Could not obtain celled list', '', __LINE__, __FILE__, $sql);
                    }
                    $celled = $db->sql_fetchrowset($result);
                    for ($i = 0; $i < count($celled); $i++) {
                        $user_id = $celled[$i]['user_id'];
                        $template->assign_block_vars('celled', array('CELLED_ID' => $celled[$i]['user_id'], 'CELLED_NAME' => $celled[$i]['username'], 'CELLED_SENTENCE' => $celled[$i]['user_cell_sentence'], 'CELLED_TIME' => adr_make_time($celled[$i]['user_cell_time']), 'CELLED_CAUTION' => $celled[$i]['user_cell_caution'], 'U_EDIT' => append_sid("admin_adr_cell_users.{$phpEx}?from=list&amp;id=" . $user_id . "")));
                    }
                }
            }
        }
    }
}
$template->assign_vars(array("L_CELL_TITLE" => $lang['Adr_cell_admin_title'], "L_CELL_TEXT" => $lang['Adr_cell_admin_title_explain'], "L_SUBMIT" => $lang['Submit'], "L_SELECT" => $lang['Adr_cell_admin_select'], "L_SELECT_CELLED" => $lang['Adr_cell_admin_select_user'], "L_DAY" => $lang['Adr_cell_days'], "L_HOUR" => $lang['Adr_cell_hours'], "L_MINUTE" => $lang['Adr_cell_minutes'], "L_CELL_TIME" => $lang['Adr_cell_admin_time'], "L_CELL_TIME_EXPLAIN" => $lang['Adr_cell_admin_time_explain'], "L_CELL_CAUTION" => $lang['Adr_cell_admin_caution'], "L_CELL_CAUTION_EXPLAIN" => $lang['Adr_cell_admin_caution_explain'], "L_SENTENCE" => $lang['Adr_cell_sentence_example'], "L_CELLED_SENTENCE" => $lang['Adr_cell_sentence'], "L_CELLED_SENTENCE_EXPLAIN" => $lang['Adr_cell_sentence_explain'], "L_CELLED_FREEABLE" => $lang['Adr_cell_freeable'], "L_CELLED_FREEABLE_EXPLAIN" => $lang['Adr_cell_freeable_explain'], "L_CELLED_CAUTIONNABLE" => $lang['Adr_cell_cautionnable'], "L_CELLED_CAUTIONNABLE_EXPLAIN" => $lang['Adr_cell_cautionnable_explain'], "L_CELLED_USERS" => $lang['Adr_cell_admin_celled_users'], "L_CELLED_USERS_EXPLAIN" => $lang['Adr_cell_admin_celled_users_explain'], "L_CELLED_NAME" => $lang['Adr_cell_admin_celled_name'], "L_CELLED_CAUTION" => $lang['Adr_cell_admin_celled_caution'], "L_CELLED_TIME" => $lang['Adr_cell_admin_celled_time'], "L_CELLED_FREE" => $lang['Adr_cell_admin_celled_free'], "L_MANUAL_UPDATE" => $lang['Adr_cell_admin_manual_update'], "L_MANUAL_UPDATE_EXPLAIN" => $lang['Adr_cell_admin_manual_update_explain'], "L_SELECTED_CELLED" => $lang['Adr_cell_selected_celled'], "L_CELLED_BLANK" => $lang['Adr_cell_admin_celled_blank'], "L_CELLED_BLANK_EXPLAIN" => $lang['Adr_cell_admin_celled_blank_explain'], "L_PUNISHMENT" => $lang['Adr_cell_admin_punishment'], "L_PUNISHMENT_GLOBAL" => $lang['Adr_cell_admin_punishment_global'], "L_PUNISHMENT_POSTS" => $lang['Adr_cell_admin_punishment_posts'], "L_PUNISHMENT_READ" => $lang['Adr_cell_admin_punishment_read'], "S_SELECT_CELLED" => $select_list, "S_SUBMIT_ACTION" => append_sid("admin_adr_cell_users.{$phpEx}")));
$template->pparse("body");
include './page_footer_admin.' . $phpEx;
Пример #6
0
function adr_character_replenish_timer($user_id)
{
    global $db, $adr_general, $lang;
    $user_id = intval($user_id);
    $adr_user = adr_get_user_infos($user_id);
    // Show time until next replenish
    $replenish_timer = 24 - floor(((time() - $adr_user['character_birth']) / 86400 - ($adr_user['character_limit_update'] + ($adr_general['Adr_limit_regen_duration'] - 1))) * 24);
    $replenish_timer = adr_make_time($replenish_timer);
    $replenish_timer = $replenish_timer < '5' ? $lang['Adr_update_quota_timer'] : intval($replenish_timer);
    return $replenish_timer;
}
Пример #7
0
if ($mode == "items") {
    // Get and display all the items type
    $sql = "SELECT * FROM  " . ADR_SHOPS_ITEMS_TYPE_TABLE . "\r\t\tWHERE item_type_id <> 0\r\t\tORDER BY item_type_id ";
    if (!($result = $db->sql_query($sql))) {
        message_die(GENERAL_MESSAGE, 'Unable to query shop item types');
    }
    $items_type = $db->sql_fetchrowset($result);
    for ($t = 0; $t < count($items_type); $t++) {
        $template->assign_block_vars('items.type_items', array('L_ITEMS_MODIFIER_PRICE_TYPE' => $lang[$items_type[$t]['item_type_lang']] . ' (' . $items_type[$t]['item_type_id'] . ')', 'ITEMS_TYPE_ID' => $items_type[$t]['item_type_id'], 'ADR_ITEMS_MODIFIER_PRICE_TYPE' => $items_type[$t]['item_type_base_price']));
    }
    // Get and display all the items quality
    $ssql = "SELECT * FROM  " . ADR_SHOPS_ITEMS_QUALITY_TABLE . "\r\t\tWHERE item_quality_id <> 0\r\t\tORDER BY item_quality_id ";
    if (!($sresult = $db->sql_query($ssql))) {
        message_die(GENERAL_MESSAGE, 'Unable to query shop item qualities');
    }
    $items_quality = $db->sql_fetchrowset($sresult);
    for ($q = 0; $q < count($items_quality); $q++) {
        $template->assign_block_vars('items.quality_items', array('L_ITEMS_MODIFIER_PRICE_QUALITY' => $lang[$items_quality[$q]['item_quality_lang']], 'ITEMS_QUALITY_ID' => $items_quality[$q]['item_quality_id'], 'ADR_ITEMS_MODIFIER_PRICE_QUALITY' => $items_quality[$q]['item_quality_modifier_price']));
    }
}
$topic_config = explode('-', $board_config['Adr_topics_display']);
$template->assign_vars(array('WEAPON_PROF' => $adr_general['weapon_prof'], 'SHIELD_BONUS' => $adr_general['shield_bonus'], 'SHOP_DURA' => $board_config['Adr_shop_duration'], 'SHOP_TAX' => $board_config['Adr_shop_tax'], 'WH_DURA' => $board_config['Adr_warehouse_duration'], 'WH_TAX' => $board_config['Adr_warehouse_tax'], 'THIEF_ENABLE' => $board_config['Adr_thief_enable'] ? 'CHECKED' : '', 'NO_THIEF_ENABLE' => !$board_config['Adr_thief_enable'] ? 'CHECKED' : '', 'THIEF_POINTS' => $board_config['Adr_thief_points'], 'SP_SKILLS_CHECKED' => $board_config['Adr_skill_sp_enable'] ? 'CHECKED' : '', 'NO_SP_SKILLS_CHECKED' => !$board_config['Adr_skill_sp_enable'] ? 'CHECKED' : '', 'SP_CHARACTER_CHECKED' => $board_config['Adr_character_sp_enable'] ? 'CHECKED' : '', 'NO_SP_CHARACTER_CHECKED' => !$board_config['Adr_character_sp_enable'] ? 'CHECKED' : '', 'ENABLE_RPG_CHECKED' => $adr_general['Adr_disable_rpg'] ? 'CHECKED' : '', 'NO_ENABLE_RPG_CHECKED' => !$adr_general['Adr_disable_rpg'] ? 'CHECKED' : '', 'POSTS_CHECKED' => $adr_general['posts_enable'] ? 'CHECKED' : '', 'NO_POSTS_CHECKED' => !$adr_general['posts_enable'] ? 'CHECKED' : '', 'POSTS_MIN' => $adr_general['posts_min'], 'LIMIT_ENABLE_CHECKED' => $adr_general['Adr_character_limit_enable'] ? 'CHECKED' : '', 'NO_LIMIT_ENABLE_CHECKED' => !$adr_general['Adr_character_limit_enable'] ? 'CHECKED' : '', 'REGEN_PERIOD' => $adr_general['Adr_limit_regen_duration'], 'BATTLE_LIMIT' => $adr_general['Adr_character_battle_limit'], 'SKILL_LIMIT' => $adr_general['Adr_character_skill_limit'], 'TRADING_LIMIT' => $adr_general['Adr_character_trading_limit'], 'THIEF_LIMIT' => $adr_general['Adr_character_thief_limit'], 'EXPERIENCE_NEW' => $board_config['Adr_experience_for_new'], 'WEIGHT_ENABLE_CHECKED' => $adr_general['weight_enable'] ? 'CHECKED' : '', 'NO_WEIGHT_ENABLE_CHECKED' => !$adr_general['weight_enable'] ? 'CHECKED' : '', 'CHARACTER_AGE' => $board_config['Adr_character_age'], 'EXPERIENCE_REPLY' => $board_config['Adr_experience_for_reply'], 'EXPERIENCE_EDIT' => $board_config['Adr_experience_for_edit'], 'CHARACTER_STATS_MAX' => $adr_general['max_characteristic'], 'CHARACTER_STATS_MIN' => $adr_general['min_characteristic'], 'CHARACTER_REROLL_CHECKED' => $adr_general['allow_reroll'] ? 'CHECKED' : '', 'NO_CHARACTER_REROLL_CHECKED' => !$adr_general['allow_reroll'] ? 'CHECKED' : '', 'CHARACTER_DELETE_CHECKED' => $adr_general['allow_character_delete'] ? 'CHECKED' : '', 'NO_CHARACTER_DELETE_CHECKED' => !$adr_general['allow_character_delete'] ? 'CHECKED' : '', 'BATTLE_USE_CHECKED' => $adr_general['battle_enable'] ? 'CHECKED' : '', 'NO_BATTLE_USE_CHECKED' => !$adr_general['battle_enable'] ? 'CHECKED' : '', 'BATTLE_PVP_USE_CHECKED' => $adr_general['battle_pvp_enable'] ? 'CHECKED' : '', 'NO_BATTLE_PVP_USE_CHECKED' => !$adr_general['battle_pvp_enable'] ? 'CHECKED' : '', 'SHOP_STEAL_CHECKED' => $adr_general['allow_shop_steal'] ? 'CHECKED' : '', 'NO_SHOP_STEAL_CHECKED' => !$adr_general['allow_shop_steal'] ? 'CHECKED' : '', 'SHOP_STEAL' => $adr_general['allow_shop_steal'], 'NO_STEAL_SELL_CHECKED' => !$adr_general['Adr_shop_steal_sell'] ? 'CHECKED' : '', 'STEAL_SELL_CHECKED' => $adr_general['Adr_shop_steal_sell'] ? 'CHECKED' : '', 'SHOP_STEAL_MIN_LVL' => $adr_general['Adr_shop_steal_min_lvl'], 'NO_SHOP_STEAL_SHOW_CHECKED' => !$adr_general['Adr_shop_steal_show'] ? 'CHECKED' : '', 'SHOP_STEAL_SHOW_CHECKED' => $adr_general['Adr_shop_steal_show'] ? 'CHECKED' : '', 'CACHE_INT' => intval($adr_general['Adr_cache_interval']), 'NEW_SHOP_PRICE' => $adr_general['new_shop_price'], 'ITEMS_MODIFIER_POWER' => $adr_general['item_modifier_power'], 'SKILL_TRADING_POWER' => $adr_general['skill_trading_power'], 'FAIL_STEAL_AMEND' => $adr_general['skill_thief_failure_damage'], 'VAULT_USE_CHECKED' => $adr_general['vault_enable'] ? 'CHECKED' : '', 'NO_VAULT_USE_CHECKED' => !$adr_general['vault_enable'] ? 'CHECKED' : '', 'VAULT_USE_LOAN_CHECKED' => $adr_general['vault_loan_enable'] ? 'CHECKED' : '', 'NO_VAULT_USE_LOAN_CHECKED' => !$adr_general['vault_loan_enable'] ? 'CHECKED' : '', 'VAULT_INTERESTS_RATE' => $adr_general['interests_rate'], 'VAULT_INTERESTS_TIME' => $adr_general['interests_time'], 'VAULT_INTERESTS_TIME_EXPLAIN' => $lang['Adr_vault_time_explain'] . adr_make_time($adr_general['interests_time']), 'VAULT_LOAN_INTERESTS' => $adr_general['loan_interests'], 'VAULT_LOAN_INTERESTS_TIME' => $adr_general['loan_interests_time'], 'VAULT_LOAN_INTERESTS_TIME_EXPLAIN' => $lang['Adr_vault_time_explain'] . adr_make_time($adr_general['loan_interests_time']), 'VAULT_LOAN_MAX_SUM' => $adr_general['loan_max_sum'], 'VAULT_LOAN_REQUIREMENTS' => $adr_general['loan_requirements'], 'MONSTERS_STATS_MODIFIER' => $adr_general['battle_monster_stats_modifier'], 'MONSTERS_MODIFIER_TYPE_1' => !$adr_general['battle_calc_type'] ? 'CHECKED' : '', 'MONSTERS_MODIFIER_TYPE_2' => $adr_general['battle_calc_type'] ? 'CHECKED' : '', 'MONSTERS_BASE_EXP_MIN' => $adr_general['battle_base_exp_min'], 'MONSTERS_BASE_EXP_MAX' => $adr_general['battle_base_exp_max'], 'MONSTERS_EXP_MODIFIER' => $adr_general['battle_base_exp_modifier'], 'MONSTERS_SP_MODIFIER' => $adr_general['battle_base_sp_modifier'], 'MONSTERS_BASE_REWARD_MIN' => $adr_general['battle_base_reward_min'], 'MONSTERS_BASE_REWARD_MAX' => $adr_general['battle_base_reward_max'], 'MONSTERS_REWARD_MODIFIER' => $adr_general['battle_base_reward_modifier'], 'PLAYERS_BASE_EXP_MIN' => $adr_general['pvp_base_exp_min'], 'PLAYERS_BASE_EXP_MAX' => $adr_general['pvp_base_exp_max'], 'PLAYERS_EXP_MODIFIER' => $adr_general['pvp_base_exp_modifier'], 'PLAYERS_BASE_REWARD_MIN' => $adr_general['pvp_base_reward_min'], 'PLAYERS_BASE_REWARD_MAX' => $adr_general['pvp_base_reward_max'], 'PLAYERS_REWARD_MODIFIER' => $adr_general['pvp_base_reward_modifier'], 'TEMPLE_HEAL' => $adr_general['temple_heal_cost'], 'TEMPLE_RESURRECT' => $adr_general['temple_resurrect_cost'], 'CELL_CAUTION_CHECKED' => $adr_general['cell_allow_user_caution'] ? 'CHECKED' : '', 'CELL_JUDGE_CHECKED' => $adr_general['cell_allow_user_judge'] ? 'CHECKED' : '', 'CELL_BLANK_CHECKED' => $adr_general['cell_allow_user_blank'] ? 'CHECKED' : '', 'NO_CELL_CAUTION_CHECKED' => !$adr_general['cell_allow_user_caution'] ? 'CHECKED' : '', 'NO_CELL_JUDGE_CHECKED' => !$adr_general['cell_allow_user_judge'] ? 'CHECKED' : '', 'NO_CELL_BLANK_CHECKED' => !$adr_general['cell_allow_user_blank'] ? 'CHECKED' : '', 'CELL_BLANK' => $adr_general['cell_amount_user_blank'], 'CELL_VOTERS' => $adr_general['cell_user_judge_voters'], 'CELL_POSTS' => $adr_general['cell_user_judge_posts'], 'FAIL_STEAL_PUNISHMENT0' => !$adr_general['skill_thief_failure_punishment'] ? 'CHECKED' : '', 'FAIL_STEAL_PUNISHMENT1' => $adr_general['skill_thief_failure_punishment'] == 1 ? 'CHECKED' : '', 'FAIL_STEAL_PUNISHMENT2' => $adr_general['skill_thief_failure_punishment'] == 2 ? 'CHECKED' : '', 'FAIL_STEAL_TYPE0' => $adr_general['skill_thief_failure_type'] == 1 ? 'CHECKED' : '', 'FAIL_STEAL_TYPE1' => $adr_general['skill_thief_failure_type'] == 2 ? 'CHECKED' : '', 'FAIL_STEAL_TYPE2' => $adr_general['skill_thief_failure_type'] == 3 ? 'CHECKED' : '', 'FAIL_STEAL_TIME' => $adr_general['skill_thief_failure_time'], 'ITEM_POWER_LEVEL' => $adr_general['item_power_level'] ? 'CHECKED' : '', 'NO_ITEM_POWER_LEVEL' => !$adr_general['item_power_level'] ? 'CHECKED' : '', 'TRAINING_ALLOW_CHANGE_CHECKED' => $adr_general['training_allow_change'] ? 'CHECKED' : '', 'NO_TRAINING_ALLOW_CHANGE_CHECKED' => !$adr_general['training_allow_change'] ? 'CHECKED' : '', 'TRAINING_CHANGE_COST' => $adr_general['training_change_cost'], 'TRAINING_SKILL_COST' => $adr_general['training_skill_cost'], 'TRAINING_CHARAC_COST' => $adr_general['training_charac_cost'], 'TRAINING_UPGRADE_COST' => $adr_general['training_upgrade_cost'], 'LEVEL_UP_PENALTY' => $adr_general['next_level_penalty'], 'DISPLAY_PROFILE_ALLOW_CHECKED' => $board_config['Adr_profile_display'] ? 'CHECKED' : '', 'NO_DISPLAY_PROFILE_ALLOW_CHECKED' => !$board_config['Adr_profile_display'] ? 'CHECKED' : '', 'NO_DISPLAY_TOPICS_LEVEL_CHECKED' => !$topic_config[0] ? 'CHECKED' : '', 'DISPLAY_TOPICS_LEVEL_CHECKED' => $topic_config[0] ? 'CHECKED' : '', 'NO_DISPLAY_TOPICS_CLASS_CHECKED' => !$topic_config[1] ? 'CHECKED' : '', 'TEXT_DISPLAY_TOPICS_CLASS_CHECKED' => $topic_config[1] == '1' ? 'CHECKED' : '', 'PIC_DISPLAY_TOPICS_CLASS_CHECKED' => $topic_config[1] == '2' ? 'CHECKED' : '', 'NO_DISPLAY_TOPICS_RACE_CHECKED' => !$topic_config[2] ? 'CHECKED' : '', 'TEXT_DISPLAY_TOPICS_RACE_CHECKED' => $topic_config[2] == '1' ? 'CHECKED' : '', 'PIC_DISPLAY_TOPICS_RACE_CHECKED' => $topic_config[2] == '2' ? 'CHECKED' : '', 'NO_DISPLAY_TOPICS_ELEMENT_CHECKED' => !$topic_config[3] ? 'CHECKED' : '', 'TEXT_DISPLAY_TOPICS_ELEMENT_CHECKED' => $topic_config[3] == '1' ? 'CHECKED' : '', 'PIC_DISPLAY_TOPICS_ELEMENT_CHECKED' => $topic_config[3] == '2' ? 'CHECKED' : '', 'NO_DISPLAY_TOPICS_ALIGNMENT_CHECKED' => !$topic_config[4] ? 'CHECKED' : '', 'TEXT_DISPLAY_TOPICS_ALIGNMENT_CHECKED' => $topic_config[4] == '1' ? 'CHECKED' : '', 'PIC_DISPLAY_TOPICS_ALIGNMENT_CHECKED' => $topic_config[4] == '2' ? 'CHECKED' : '', 'NO_DISPLAY_TOPICS_LINK_CHECKED' => !$topic_config[5] ? 'CHECKED' : '', 'DISPLAY_TOPICS_LINK_CHECKED' => $topic_config[5] ? 'CHECKED' : '', 'PVP_DEFIES' => $adr_general['battle_pvp_defies_max'], 'NO_DISPLAY_TOPICS_PVP_CHECKED' => !$topic_config[6] ? 'CHECKED' : '', 'DISPLAY_TOPICS_PVP_CHECKED' => $topic_config[6] ? 'CHECKED' : '', 'NO_DISPLAY_TOPICS_RANK_CHECKED' => !$topic_config[7] ? 'CHECKED' : '', 'DISPLAY_TOPICS_RANK_CHECKED' => $topic_config[7] ? 'CHECKED' : '', 'NO_DISPLAY_TOPICS_BATTLE_STATS_CHECKED' => !$topic_config[8] ? 'CHECKED' : '', 'DISPLAY_TOPICS_BATTLE_STATS_CHECKED' => $topic_config[8] ? 'CHECKED' : '', 'TEMPLE_MIN_AMOUNT' => $adr_general['temple_min_donation'], 'TEMPLE_WIN_CHANCE' => $adr_general['temple_win_chance'], 'TEMPLE_CHANCE_INCREASE' => $adr_general['temple_chance_increase'], 'TEMPLE_SUPER_RARE' => $adr_general['temple_super_rare_amount'], 'BEGGAR_MIN_AMOUNT' => $adr_general['beggar_min_donation'], 'BEGGAR_WIN_CHANCE' => $adr_general['beggar_win_chance'], 'BEGGAR_CHANCE_INCREASE' => $adr_general['beggar_chance_increase'], 'BEGGAR_SUPER_RARE' => $adr_general['beggar_super_rare_amount'], 'LAKE_MIN_AMOUNT' => $adr_general['lake_min_donation'], 'LAKE_WIN_CHANCE' => $adr_general['lake_win_chance'], 'LAKE_CHANCE_INCREASE' => $adr_general['lake_chance_increase'], 'LAKE_SUPER_RARE' => $adr_general['lake_super_rare_amount'], 'JOB_CRON_TIME' => $adr_general['job_salary_cron_time'], 'JOB_ENABLE' => $adr_general['job_salary_enable'] ? 'CHECKED' : '', 'NO_JOB_ENABLE' => !$adr_general['job_salary_enable'] ? 'CHECKED' : ''));
if ($submit) {
    if ($mode == "display") {
        $display_profile = intval($HTTP_POST_VARS['Adr_profile_display']);
        $display_topics = intval($HTTP_POST_VARS['display0']) . '-';
        $display_topics .= intval($HTTP_POST_VARS['display1']) . '-';
        $display_topics .= intval($HTTP_POST_VARS['display2']) . '-';
        $display_topics .= intval($HTTP_POST_VARS['display3']) . '-';
        $display_topics .= intval($HTTP_POST_VARS['display4']) . '-';
        $display_topics .= intval($HTTP_POST_VARS['display5']) . '-';
Пример #8
0
 switch ($mode) {
     case 'username':
         $order_by = "username {$sort_order} LIMIT {$start}, " . $board_config['topics_per_page'];
         break;
     case 'cell_time':
         $order_by = "user_cell_time {$sort_order} LIMIT {$start}, " . $board_config['topics_per_page'];
         break;
     case 'caution':
         $order_by = "user_cell_caution {$sort_order} LIMIT {$start}, " . $board_config['topics_per_page'];
         break;
     default:
         $order_by = "username {$sort_order} LIMIT {$start}, " . $board_config['topics_per_page'];
         break;
 }
 $sql = "SELECT * FROM " . USERS_TABLE . "\r\t\t\tWHERE user_cell_time > 0\r\t\t\tORDER BY {$order_by}";
 if (!($result = $db->sql_query($sql))) {
     message_die(GENERAL_ERROR, 'Could not query users', '', __LINE__, __FILE__, $sql);
 }
 if ($row = $db->sql_fetchrow($result)) {
     $i = 0;
     do {
         if ($i == '0') {
             $template->assign_block_vars('cell_user', array());
         }
         $username = $row['username'];
         $cuser_id = $row['user_id'];
         $profile_img = '<img src="' . $images['icon_profile'] . '" alt="' . $lang['Read_profile'] . '" title="' . $lang['Read_profile'] . '" border="0" />';
         $judgement_img = '<img src="adr/images/misc/icon_justice.gif" alt="' . $lang['Adr_cell_judge_user'] . '" title="' . $lang['Adr_cell_judge_user'] . '" border="0" />';
         $row_color = !($i % 2) ? $theme['td_color1'] : $theme['td_color2'];
         $row_class = !($i % 2) ? $theme['td_class1'] : $theme['td_class2'];
         $template->assign_block_vars('cell_user.cell_users', array('ROW_CLASS' => $row_class, 'CELLED_ID' => $cuser_id, 'USERNAME' => $username, 'TIME' => adr_make_time($row['user_cell_time']), 'SLEDGE' => $row['user_cell_caution'], 'PROFILE_IMG' => $profile_img, 'JUDGEMENT_IMG' => $judgement_img, 'PUNISHMENT' => $punishment[$row['user_cell_punishment']], 'U_JUDGEMENT' => append_sid("adr_courthouse.{$phpEx}?celled_user_id={$cuser_id}"), 'U_VIEWPROFILE' => append_sid("profile.{$phpEx}?mode=viewprofile&amp;" . POST_USERS_URL . "={$cuser_id}")));
Пример #9
0
}
$sql = "SELECT * FROM " . ADR_VAULT_USERS_TABLE;
if (!($result = $db->sql_query($sql))) {
    message_die(CRITICAL_ERROR, 'Error Getting Vault Users!');
}
$vault_stats = $db->sql_fetchrowset($result);
$opened_accounts = 0;
$total_deposit = 0;
for ($i = 0; $i < count($vault_stats); $i++) {
    $opened_accounts = $opened_accounts + 1;
    $total_deposit = $total_deposit + $vault_stats[$i]['account_sum'];
}
$sql = "SELECT * FROM " . ADR_VAULT_USERS_TABLE . "\r\n\tWHERE owner_id = {$user_id} ";
if (!($result = $db->sql_query($sql))) {
    message_die(CRITICAL_ERROR, 'Error Getting Vault Users!');
}
$vault = $db->sql_fetchrow($result);
$remaining_time = $vault_general['loan_interests_time'] - (time() - $vault['loan_time']);
$remaining_date = $vault['loan_time'] + $vault_general['loan_interests_time'];
$loan = $vault['loan_sum'] * (1 + $vault_general['loan_interests'] / 100);
// Fix the values
$InfoMaison = $HTTP_POST_VARS['InfoMaison'];
if ($InfoBanque) {
    adr_previous(Adr_TownMap_Banque_Infos, adr_TownMap_Banque, '');
} else {
    $template->assign_vars(array('SAISON' => $saison, 'POINTS' => $userdata['user_points'], 'ACCOUNTS' => $opened_accounts, 'TOTAL_DEPOSIT' => $total_deposit, 'ACCOUNT_SUM' => $vault['account_sum'], 'INTEREST_TIME' => adr_make_time($vault_general['interests_time']), 'INTEREST_RATE' => $vault_general['interests_rate'], 'POSTS_REQ' => $vault_general['loan_requirements'], 'LOAN_RATE' => $vault_general['loan_interests'], 'LOAN_TIME' => adr_make_time($vault_general['loan_interests_time']), 'LOAN_MAX_SUM' => $vault_general['loan_max_sum'], 'LOAN_SUM' => $vault['loan_sum'], 'LOAN_REMAINING_TIME' => adr_make_time($remaining_time), 'LOAN_REMAINING_DATE' => create_date($board_config['default_dateformat'], $remaining_date, $board_config['board_timezone']), 'LOAN_LOAN' => $loan, 'DUE' => $due, 'L_OTHERS' => $lang['Adr_vault_others'], 'L_VAULT_LIST' => $lang['Adr_vault_list'], 'L_STOCK_EXCHANGE' => $lang['Adr_vault_stock_exchange'], 'L_LOAN_SUM' => $lang['Adr_vault_loan_sum'], 'L_LOAN_REMAINING_TIME' => $lang['Adr_vault_loan_remaining_time'], 'L_LOAN_REMAINING_DATE' => $lang['Adr_vault_loan_remaining_date'], 'L_LOAN_LOAN' => $lang['Adr_vault_loan_loan'], 'L_LOAN_BACK' => $lang['Adr_vault_loan_back'], 'L_LOAN_ACTIVE' => $lang['Adr_vault_loan_active'], 'L_LOAN_RATE' => $lang['Adr_vault_loan_rate'], 'L_LOAN_TIME' => $lang['Adr_vault_loan_time'], 'L_LOAN_MAX_SUM' => $lang['Adr_vault_loan_max_sum'], 'L_ACCOUNT_LOAN' => $lang['Adr_vault_loan_make'], 'L_LOAN' => $lang['Adr_vault_loan_action'], 'L_POSTS_REQ' => $lang['Posts'], 'L_NO_LOAN_EXPLAIN' => $lang['Adr_vault_loan_no_explain'], 'L_INTEREST_TIME' => $lang['Adr_vault_interests_time'], 'L_LOAN_INFORMATIONS' => $lang['Adr_vault_loan_informations'], 'L_INTEREST_RATE' => $lang['Adr_vault_interests_rate'], 'L_ACCOUNT_DEPOSIT' => $lang['Adr_vault_account_deposit'], 'L_DEPOSIT' => $lang['Adr_vault_deposit'], 'L_ACCOUNT_WITHDRAW' => $lang['Adr_vault_account_withdraw'], 'L_WITHDRAW' => $lang['Adr_vault_withdraw'], 'L_PERSONAL_INFORMATIONS' => $lang['Adr_vault_user_informations'], 'L_ACCOUNT_INFORMATIONS' => $lang['Adr_vault_account_informations'], 'L_OPENED_ACCOUNTS' => $lang['Adr_vault_opened_accounts'], 'L_TOTAL_DEPOSIT' => $lang['Adr_vault_accounts_sum'], 'L_OWNER_POINTS' => $lang['Adr_vault_user_points'], 'L_POINTS' => $board_config['points_name'], 'L_PUBLIC_TITLE' => $lang['Adr_vault__page_name'], 'L_NO_ACCOUNT' => $lang['Adr_vault_no_account'], 'L_ACCOUNT' => $lang['Adr_vault_account'], 'L_OPEN_ACCOUNT' => $lang['Adr_vault_open_account'], 'L_CLOSE_ACCOUNT' => $lang['Adr_vault_close_account'], 'L_BLACK_LISTED' => $lang['Adr_vault_blacklist'], 'L_BLACK_LISTED_EXPLAIN' => $lang['Adr_vault_blacklist_explain'], 'L_BLACK_LISTED_DUE' => $lang['Adr_vault_blacklist_due'], 'L_DUE_PAYOFF' => $lang['Adr_vault_blacklist_due_payoff'], 'L_TOWNBOUTONRETOUR' => $lang['Adr_TownMap_Bouton_Retour'], 'U_TOWNBOUTONRETOUR' => append_sid("adr_zones.{$phpEx}"), 'L_TOWNMAP_BANQUE' => $lang['TownMap_Banque'], 'L_TOWNBOUTONINFO' => $lang['Adr_TownMap_Bouton_Infos'], 'L_TOWNBOUTONRETOUR' => $lang['Adr_TownMap_Bouton_Retour'], 'L_BANQUEPRESENTATION' => $lang['Adr_TownMap_Banque_Presentation'], 'L_BANQUEENTREE' => $lang['TownMap_Banque_Entree'], 'L_BANQUEGENERALE' => $lang['TownMap_Banque_Banque'], 'L_BANQUEBOURSE' => $lang['TownMap_Banque_Bourse'], 'L_BANQUELISTE' => $lang['TownMap_Banque_Liste'], 'L_TOWNMAPCOPYRIGHT' => $lang['TownMap_Copyright'], 'L_COPYRIGHT' => $lang['Adr_copyright'], 'L_TOWNMAPCOPYRIGHT' => $lang['TownMap_Copyright'], 'U_TOWNBOUTONRETOUR' => append_sid("adr_TownMap.{$phpEx}"), 'U_TOWNMAP_BANQUE' => append_sid("adr_vault.{$phpEx}"), 'U_TOWNMAP_BANQUEGENERALE' => append_sid("adr_vault.{$phpEx}"), 'U_COPYRIGHT' => append_sid("adr_copyright.{$phpEx}"), 'U_TOWNMAPCOPYRIGHT' => append_sid("TownMap_Copyright.{$phpEx}"), 'S_CHARACTER_ACTION' => append_sid("adr_TownMap_Banque.{$phpEx}"), 'S_VAULT_ACTION' => append_sid("adr_vault.{$phpEx}")));
}
$template->pparse('body');
include $phpbb_root_path . 'includes/page_tail.' . $phpEx;
?>