Changeset 142 for minimanager/edit.php


Ignore:
Timestamp:
Nov 23, 2007, 11:29:33 PM (17 years ago)
Author:
george
Message:

Minimanager 0.1.5b

File:
1 edited

Legend:

Unmodified
Added
Removed
  • minimanager/edit.php

    r19 r142  
    1616//##############################################################################################################
    1717function edit_user() {
    18  global $lang_edit, $lang_global, $output, $realm_db, $mangos_db, $realm_id, $user_name, $user_id,
     18 global $lang_edit, $lang_global, $output, $realm_db, $characters_db, $realm_id, $user_name, $user_id,
    1919                $lang_id_tab, $gm_level_arr;
    2020
     
    8585      </tr>";
    8686         
    87         $sql->connect($mangos_db[$realm_id]['addr'], $mangos_db[$realm_id]['user'], $mangos_db[$realm_id]['pass'], $mangos_db[$realm_id]['name']);
     87        $sql->connect($characters_db[$realm_id]['addr'], $characters_db[$realm_id]['user'], $characters_db[$realm_id]['pass'], $characters_db[$realm_id]['name']);
    8888        $result = $sql->query("SELECT guid,name,race,class,SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 35), ' ', -1) FROM `character` WHERE account = $user_id");
    8989
     
    227227//###############################################################################################################
    228228function dodelete_user() {
    229  global $realm_db, $mangos_db, $realm_id, $user_id, $tab_del_user_mangos, $tab_del_user_realmd;
     229 global $realm_db, $characters_db, $realm_id, $user_id, $tab_del_user_characters, $tab_del_user_realmd;
    230230
    231231 require_once("./scripts/del_lib.php");
Note: See TracChangeset for help on using the changeset viewer.