Changeset 142 for minimanager/edit.php
- Timestamp:
- Nov 23, 2007, 11:29:33 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
minimanager/edit.php
r19 r142 16 16 //############################################################################################################## 17 17 function 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, 19 19 $lang_id_tab, $gm_level_arr; 20 20 … … 85 85 </tr>"; 86 86 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']); 88 88 $result = $sql->query("SELECT guid,name,race,class,SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 35), ' ', -1) FROM `character` WHERE account = $user_id"); 89 89 … … 227 227 //############################################################################################################### 228 228 function 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; 230 230 231 231 require_once("./scripts/del_lib.php");
Note:
See TracChangeset
for help on using the changeset viewer.