Changeset 178
- Timestamp:
- Dec 23, 2007, 2:55:36 PM (17 years ago)
- Location:
- minimanager
- Files:
-
- 8 added
- 31 edited
Legend:
- Unmodified
- Added
- Removed
-
minimanager/ahstats.php
r142 r178 8 8 * License: GNU General Public License v2(GPL) 9 9 */ 10 10 11 11 require_once("header.php"); 12 12 valid_login(0); … … 44 44 } else $order_side = ""; 45 45 } else $order_side = ""; 46 46 47 47 $result = $sql->query("SELECT `character`.`name` AS `seller`, `auctionhouse`.`item_template` AS `itemid`, `item_template`.`name` AS `itemname`, `auctionhouse`.`buyoutprice` AS `buyout`, 48 48 `auctionhouse`.`time`-unix_timestamp(), `c2`.`name` AS `encherisseur`, `auctionhouse`.`lastbid`, `auctionhouse`.`startbid`, SUBSTRING_INDEX(SUBSTRING_INDEX(`item_instance`.`data`, ' ',15), ' ',-1) AS qty, `character`.`race` AS seller_race, `c2`.`race` AS buyer_race … … 58 58 <input type=\"hidden\" name=\"action\" value=\"search_auctions\" /> 59 59 <input type=\"hidden\" name=\"error\" value=\"2\" /> 60 <table class=\"hidden\"> 60 <table class=\"hidden\"> 61 61 <tr><td> 62 62 <td><input type=\"text\" size=\"25\" name=\"search_value\" /></td> … … 68 68 <option value=\"buyer_name\">{$lang_auctionhouse['buyer_name']}</option> 69 69 </select></td> 70 70 71 71 <td><select name=\"search_class\"> 72 72 <option value=\"-1\">{$lang_auctionhouse['all']}</option> … … 82 82 <option value=\"15\">{$lang_item['misc_short']}</option> 83 83 </select></td> 84 84 85 85 <td><select name=\"search_quality\"> 86 86 <option value=\"-1\">{$lang_auctionhouse['all']}</option> … … 99 99 $output .= generate_pagination("ahstats.php?action=browse_auctions&order_by=$order_by&dir=".!$dir, $all_record, $itemperpage, $start); 100 100 $output .= "</td></tr></table> 101 101 102 102 <table class=\"lined\"> 103 103 <tr> … … 121 121 $value = "<b>".((!empty($rows[10])) ? "<font color=".$sidecolor[$rows[10]].">$value</font>" : "N/A")."</b>"; 122 122 break; 123 case 7: 123 case 7: 124 124 case 6: 125 125 case 3: … … 129 129 $value -= $s*100; 130 130 $c = $value; 131 $value = $g."<img src=\"./img/gold.gif\" /> ".$s."<img src=\"./img/silver.gif\" /> ".$c."<img src=\"./img/copper.gif\" /> "; 131 $value = $g."<img src=\"./img/gold.gif\" /> ".$s."<img src=\"./img/silver.gif\" /> ".$c."<img src=\"./img/copper.gif\" /> "; 132 132 break; 133 133 case 2: 134 $value = "<a href=\"$item_datasite$rows[1]\" target=\"_blank\" onmouseover=\"toolTip('".addslashes(get_item_tooltip($rows[1]))."','item_tooltip')\" onmouseout=\"toolTip()\"><img src=\"".get_icon($rows[1])."\" class=\"icon_border \" alt=\"$value\"><br/>$value".(($rows[8]>1) ? " (x$rows[8])" : "")."</img></a>";134 $value = "<a href=\"$item_datasite$rows[1]\" target=\"_blank\" onmouseover=\"toolTip('".addslashes(get_item_tooltip($rows[1]))."','item_tooltip')\" onmouseout=\"toolTip()\"><img src=\"".get_icon($rows[1])."\" class=\"icon_border_0\" alt=\"$value\"><br/>$value".(($rows[8]>1) ? " (x$rows[8])" : "")."</img></a>"; 135 135 break; 136 136 case 0: … … 143 143 } 144 144 $sql->close(); 145 145 146 146 $output .= "<tr><td colspan=\"7\" class=\"hidden\" align=\"right\">{$lang_auctionhouse['total_auctions']} : $all_record</td></tr> 147 147 </table></center>"; … … 153 153 //######################################################################################################################## 154 154 function search_auctions() { 155 global $lang_auctionhouse, $lang_global, $lang_item, $output, $characters_db, $realm_id, $mangos_db, 155 global $lang_auctionhouse, $lang_global, $lang_item, $output, $characters_db, $realm_id, $mangos_db, 156 156 157 157 $itemperpage, $item_datasite, $server, $user_lvl, $user_id, $sql_search_limit; … … 186 186 } else $order_side = ""; 187 187 } else $order_side = ""; 188 188 189 189 switch ($search_by) { 190 190 case "item_name": 191 191 192 192 if(( ($search_class >= 0) || ($search_quality >= 0))&&(!isset($search_value))){ 193 193 if ($search_class >= 0) $search_filter = " AND item_template.class = '$search_class'"; … … 199 199 if ($search_class >= 0) $item_prefix .= "AND class = '$search_class' "; 200 200 if ($search_quality >= 0) $item_prefix .= "AND Quality = '$search_quality' "; 201 201 202 202 $result = $sql->query("SELECT entry FROM `mangos`.`item_template` WHERE name LIKE '%$search_value%' $item_prefix"); 203 203 $search_filter = "AND auctionhouse.item_template IN(0"; … … 206 206 } 207 207 break; 208 208 209 209 case "item_id": 210 210 $search_filter = "AND auctionhouse.item_template = '$search_value'"; … … 241 241 <tr><td> 242 242 <input type=\"text\" size=\"30\" name=\"search_value\" /> 243 243 244 244 <select name=\"search_by\"> 245 245 <option value=\"item_name\">{$lang_auctionhouse['item_name']}</option> … … 248 248 <option value=\"buyer_name\">{$lang_auctionhouse['buyer_name']}</option> 249 249 </select></form> 250 250 251 251 <select name=\"search_class\"> 252 252 <option value=\"-1\">{$lang_auctionhouse['all']}</option> … … 262 262 <option value=\"15\">{$lang_item['misc_short']}</option> 263 263 </select> 264 264 265 265 <select name=\"search_quality\"> 266 266 <option value=\"-1\">{$lang_auctionhouse['all']}</option> … … 278 278 $output .= "</td> 279 279 </tr></table></form> 280 280 281 281 <table class=\"lined\"> 282 282 <tr> … … 300 300 $value = "<b>".((!empty($rows[10])) ? "<font color=".$sidecolor[$rows[10]].">$value</font>" : "N/A")."</b>"; 301 301 break; 302 case 7: 302 case 7: 303 303 case 6: 304 304 case 3: … … 308 308 $value -= $s*100; 309 309 $c = $value; 310 $value = $g."<img src=\"./img/gold.gif\" /> ".$s."<img src=\"./img/silver.gif\" /> ".$c."<img src=\"./img/copper.gif\" /> "; 310 $value = $g."<img src=\"./img/gold.gif\" /> ".$s."<img src=\"./img/silver.gif\" /> ".$c."<img src=\"./img/copper.gif\" /> "; 311 311 break; 312 312 case 2: 313 $value = "<a href=\"$item_datasite$rows[1]\" target=\"_blank\" onmouseover=\"toolTip('".addslashes(get_item_tooltip($rows[1]))."','item_tooltip')\" onmouseout=\"toolTip()\"><img src=\"".get_icon($rows[1])."\" class=\"icon_border \" alt=\"$value\"><br/>$value".(($rows[8]>1) ? " (x$rows[8])" : "")."</img></a>";313 $value = "<a href=\"$item_datasite$rows[1]\" target=\"_blank\" onmouseover=\"toolTip('".addslashes(get_item_tooltip($rows[1]))."','item_tooltip')\" onmouseout=\"toolTip()\"><img src=\"".get_icon($rows[1])."\" class=\"icon_border_0\" alt=\"$value\"><br/>$value".(($rows[8]>1) ? " (x$rows[8])" : "")."</img></a>"; 314 314 break; 315 315 case 0: … … 322 322 } 323 323 $sql->close(); 324 324 325 325 $output .= "<tr><td colspan=\"7\" class=\"hidden\" align=\"right\">{$lang_auctionhouse['tot_found']} : $tot_found {$lang_global['limit']} : $sql_search_limit</td></tr> 326 326 </table></center>"; … … 332 332 //######################################################################################################################## 333 333 $err = (isset($_GET['error'])) ? $_GET['error'] : NULL; 334 334 335 335 $output .= "<div class=\"top\">"; 336 336 switch ($err) { … … 349 349 350 350 switch ($action) { 351 case "browse_auctions": 351 case "browse_auctions": 352 352 browse_auctions(); 353 353 break; 354 case "search_auctions": 354 case "search_auctions": 355 355 search_auctions(); 356 356 break; -
minimanager/arenateam.php
r142 r178 10 10 11 11 require_once("header.php"); 12 valid_login( 1);12 valid_login(0); 13 13 require_once("scripts/id_tab.php"); 14 14 //######################################################################################################################## -
minimanager/banned.php
r142 r178 8 8 * License: GNU General Public License v2(GPL) 9 9 */ 10 10 11 11 require_once("header.php"); 12 12 valid_login(1); … … 29 29 $order_dir = ($dir) ? "ASC" : "DESC"; 30 30 $dir = ($dir) ? 0 : 1; 31 31 32 32 $query_1 = $sql->query("SELECT count(*) FROM $ban_type"); 33 33 $all_record = $sql->result($query_1,0); … … 53 53 </script> 54 54 <table class=\"lined\"> 55 <tr> 55 <tr> 56 56 <th width=\"5%\">{$lang_global['delete_short']}</td> 57 57 <th width=\"19%\"><a href=\"banned.php?order_by=$key_field&ban_type=$ban_type&dir=$dir\"".($order_by==$key_field ? " class=\"$order_dir\"" : "").">{$lang_banned['ip_acc']}</a></th> … … 72 72 $owner_acc_name = $ban[0]; 73 73 } 74 74 75 75 $output .= "<tr> 76 76 <td><img src=\"img/aff_cross.png\" alt=\"\" onclick=\"answerBox('{$lang_global['delete']}: <font color=white>$owner_acc_name</font><br />{$lang_global['are_you_sure']}', del_banned + '$ban[0]');\" style=\"cursor:pointer;\" /></td> … … 98 98 $sql = new SQL; 99 99 $sql->connect($realm_db['addr'], $realm_db['user'], $realm_db['pass'], $realm_db['name']); 100 100 101 101 if(isset($_GET['ban_type'])) $ban_type = $sql->quote_smart($_GET['ban_type']); 102 102 else redirect("banned.php?error=1"); … … 166 166 //######################################################################################################################## 167 167 function do_add_entry() { 168 global $lang_global, $realm_db, $user_name ;168 global $lang_global, $realm_db, $user_name, $lang_banned, $output; 169 169 170 170 if((empty($_GET['ban_type']))||(empty($_GET['entry'])) ||(empty($_GET['bantime']))) … … 173 173 $sql = new SQL; 174 174 $sql->connect($realm_db['addr'], $realm_db['user'], $realm_db['pass'], $realm_db['name']); 175 175 176 176 $ban_type = $sql->quote_smart($_GET['ban_type']); 177 177 … … 182 182 else $entry = $sql->result($result1, 0, 'id'); 183 183 } 184 184 185 185 $bantime = time() + (3600 * $sql->quote_smart($_GET['bantime'])); 186 187 $banreason = (isset($_GET['banreason']) && ($_ POST['banreason'] != '')) ? $sql->quote_smart($_GET['banreason']) : "none";186 187 $banreason = (isset($_GET['banreason']) && ($_GET['banreason'] != '')) ? $sql->quote_smart($_GET['banreason']) : "none"; 188 188 189 189 if ($ban_type === "account_banned"){ 190 190 $result = $sql->query("SELECT count(*) FROM account_banned WHERE id = '$entry'"); 191 191 if(!$sql->result($result, 0)) 192 $sql->query("INSERT INTO account_banned (id, bandate, unbandate, bannedby, banreason, active) 192 $sql->query("INSERT INTO account_banned (id, bandate, unbandate, bannedby, banreason, active) 193 193 VALUES ('$entry',".time().",$bantime,'$user_name','$banreason', 1)"); 194 194 … … 197 197 VALUES ('$entry',".time().",$bantime,'$user_name','$banreason')"); 198 198 } 199 199 200 200 if ($sql->affected_rows()) { 201 201 $sql->close(); … … 213 213 //######################################################################################################################## 214 214 $err = (isset($_GET['error'])) ? $_GET['error'] : NULL; 215 215 216 216 $output .= "<div class=\"top\">"; 217 217 switch ($err) { -
minimanager/char.php
r142 r178 85 85 86 86 $equiped_items = array( 87 1 => array(($char_data[CHAR_DATA_OFFSET_EQU_HEAD]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_HEAD]):0),($char_data[CHAR_DATA_OFFSET_EQU_HEAD]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_HEAD]):0)), 88 2 => array(($char_data[CHAR_DATA_OFFSET_EQU_NECK]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_NECK]):0),($char_data[CHAR_DATA_OFFSET_EQU_NECK]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_NECK]):0)), 89 3 => array(($char_data[CHAR_DATA_OFFSET_EQU_SHOULDER]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_SHOULDER]):0),($char_data[CHAR_DATA_OFFSET_EQU_SHOULDER]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_SHOULDER]):0)), 90 4 => array(($char_data[CHAR_DATA_OFFSET_EQU_SHIRT]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_SHIRT]):0),($char_data[CHAR_DATA_OFFSET_EQU_SHIRT]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_SHIRT]):0)), 91 5 => array(($char_data[CHAR_DATA_OFFSET_EQU_CHEST]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_CHEST]):0),($char_data[CHAR_DATA_OFFSET_EQU_CHEST]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_CHEST]):0)), 92 6 => array(($char_data[CHAR_DATA_OFFSET_EQU_BELT]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_BELT]):0),($char_data[CHAR_DATA_OFFSET_EQU_BELT]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_BELT]):0)), 93 7 => array(($char_data[CHAR_DATA_OFFSET_EQU_LEGS]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_LEGS]):0),($char_data[CHAR_DATA_OFFSET_EQU_LEGS]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_LEGS]):0)), 94 8 => array(($char_data[CHAR_DATA_OFFSET_EQU_FEET]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_FEET]):0),($char_data[CHAR_DATA_OFFSET_EQU_FEET]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_FEET]):0)), 95 9 => array(($char_data[CHAR_DATA_OFFSET_EQU_WRIST]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_WRIST]):0),($char_data[CHAR_DATA_OFFSET_EQU_WRIST]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_WRIST]):0)), 96 10 => array(($char_data[CHAR_DATA_OFFSET_EQU_GLOVES]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_GLOVES]):0),($char_data[CHAR_DATA_OFFSET_EQU_GLOVES]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_GLOVES]):0)), 97 11 => array(($char_data[CHAR_DATA_OFFSET_EQU_FINGER1]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_FINGER1]):0),($char_data[CHAR_DATA_OFFSET_EQU_FINGER1]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_FINGER1]):0)), 98 12 => array(($char_data[CHAR_DATA_OFFSET_EQU_FINGER2]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_FINGER2]):0),($char_data[CHAR_DATA_OFFSET_EQU_FINGER2]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_FINGER2]):0)), 99 13 => array(($char_data[CHAR_DATA_OFFSET_EQU_TRINKET1]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_TRINKET1]):0),($char_data[CHAR_DATA_OFFSET_EQU_TRINKET1]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_TRINKET1]):0)), 100 14 => array(($char_data[CHAR_DATA_OFFSET_EQU_TRINKET2]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_TRINKET2]):0),($char_data[CHAR_DATA_OFFSET_EQU_TRINKET2]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_TRINKET2]):0)), 101 15 => array(($char_data[CHAR_DATA_OFFSET_EQU_BACK]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_BACK]):0),($char_data[CHAR_DATA_OFFSET_EQU_BACK]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_BACK]):0)), 102 16 => array(($char_data[CHAR_DATA_OFFSET_EQU_MAIN_HAND]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_MAIN_HAND]):0),($char_data[CHAR_DATA_OFFSET_EQU_MAIN_HAND]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_MAIN_HAND]):0)), 103 17 => array(($char_data[CHAR_DATA_OFFSET_EQU_OFF_HAND]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_OFF_HAND]):0),($char_data[CHAR_DATA_OFFSET_EQU_OFF_HAND]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_OFF_HAND]):0)), 104 18 => array(($char_data[CHAR_DATA_OFFSET_EQU_RANGED]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_RANGED]):0),($char_data[CHAR_DATA_OFFSET_EQU_RANGED]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_RANGED]):0)), 105 19 => array(($char_data[CHAR_DATA_OFFSET_EQU_TABARD]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_TABARD]):0),($char_data[CHAR_DATA_OFFSET_EQU_TABARD]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_TABARD]):0)) 106 ); 87 1 => array(($char_data[CHAR_DATA_OFFSET_EQU_HEAD]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_HEAD]):0),($char_data[CHAR_DATA_OFFSET_EQU_HEAD]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_HEAD]):0),($char_data[CHAR_DATA_OFFSET_EQU_HEAD]?get_item_border($char_data[CHAR_DATA_OFFSET_EQU_HEAD]):0)), 88 2 => array(($char_data[CHAR_DATA_OFFSET_EQU_NECK]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_NECK]):0),($char_data[CHAR_DATA_OFFSET_EQU_NECK]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_NECK]):0),($char_data[CHAR_DATA_OFFSET_EQU_NECK]?get_item_border($char_data[CHAR_DATA_OFFSET_EQU_NECK]):0)), 89 3 => array(($char_data[CHAR_DATA_OFFSET_EQU_SHOULDER]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_SHOULDER]):0),($char_data[CHAR_DATA_OFFSET_EQU_SHOULDER]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_SHOULDER]):0),($char_data[CHAR_DATA_OFFSET_EQU_SHOULDER]?get_item_border($char_data[CHAR_DATA_OFFSET_EQU_SHOULDER]):0)), 90 4 => array(($char_data[CHAR_DATA_OFFSET_EQU_SHIRT]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_SHIRT]):0),($char_data[CHAR_DATA_OFFSET_EQU_SHIRT]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_SHIRT]):0),($char_data[CHAR_DATA_OFFSET_EQU_SHIRT]?get_item_border($char_data[CHAR_DATA_OFFSET_EQU_SHIRT]):0)), 91 5 => array(($char_data[CHAR_DATA_OFFSET_EQU_CHEST]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_CHEST]):0),($char_data[CHAR_DATA_OFFSET_EQU_CHEST]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_CHEST]):0),($char_data[CHAR_DATA_OFFSET_EQU_CHEST]?get_item_border($char_data[CHAR_DATA_OFFSET_EQU_CHEST]):0)), 92 6 => array(($char_data[CHAR_DATA_OFFSET_EQU_BELT]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_BELT]):0),($char_data[CHAR_DATA_OFFSET_EQU_BELT]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_BELT]):0),($char_data[CHAR_DATA_OFFSET_EQU_BELT]?get_item_border($char_data[CHAR_DATA_OFFSET_EQU_BELT]):0)), 93 7 => array(($char_data[CHAR_DATA_OFFSET_EQU_LEGS]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_LEGS]):0),($char_data[CHAR_DATA_OFFSET_EQU_LEGS]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_LEGS]):0),($char_data[CHAR_DATA_OFFSET_EQU_LEGS]?get_item_border($char_data[CHAR_DATA_OFFSET_EQU_LEGS]):0)), 94 8 => array(($char_data[CHAR_DATA_OFFSET_EQU_FEET]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_FEET]):0),($char_data[CHAR_DATA_OFFSET_EQU_FEET]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_FEET]):0),($char_data[CHAR_DATA_OFFSET_EQU_FEET]?get_item_border($char_data[CHAR_DATA_OFFSET_EQU_FEET]):0)), 95 9 => array(($char_data[CHAR_DATA_OFFSET_EQU_WRIST]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_WRIST]):0),($char_data[CHAR_DATA_OFFSET_EQU_WRIST]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_WRIST]):0),($char_data[CHAR_DATA_OFFSET_EQU_WRIST]?get_item_border($char_data[CHAR_DATA_OFFSET_EQU_WRIST]):0)), 96 10 => array(($char_data[CHAR_DATA_OFFSET_EQU_GLOVES]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_GLOVES]):0),($char_data[CHAR_DATA_OFFSET_EQU_GLOVES]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_GLOVES]):0),($char_data[CHAR_DATA_OFFSET_EQU_GLOVES]?get_item_border($char_data[CHAR_DATA_OFFSET_EQU_GLOVES]):0)), 97 11 => array(($char_data[CHAR_DATA_OFFSET_EQU_FINGER1]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_FINGER1]):0),($char_data[CHAR_DATA_OFFSET_EQU_FINGER1]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_FINGER1]):0),($char_data[CHAR_DATA_OFFSET_EQU_FINGER1]?get_item_border($char_data[CHAR_DATA_OFFSET_EQU_FINGER1]):0)), 98 12 => array(($char_data[CHAR_DATA_OFFSET_EQU_FINGER2]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_FINGER2]):0),($char_data[CHAR_DATA_OFFSET_EQU_FINGER2]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_FINGER2]):0),($char_data[CHAR_DATA_OFFSET_EQU_FINGER2]?get_item_border($char_data[CHAR_DATA_OFFSET_EQU_FINGER2]):0)), 99 13 => array(($char_data[CHAR_DATA_OFFSET_EQU_TRINKET1]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_TRINKET1]):0),($char_data[CHAR_DATA_OFFSET_EQU_TRINKET1]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_TRINKET1]):0),($char_data[CHAR_DATA_OFFSET_EQU_TRINKET1]?get_item_border($char_data[CHAR_DATA_OFFSET_EQU_TRINKET1]):0)), 100 14 => array(($char_data[CHAR_DATA_OFFSET_EQU_TRINKET2]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_TRINKET2]):0),($char_data[CHAR_DATA_OFFSET_EQU_TRINKET2]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_TRINKET2]):0),($char_data[CHAR_DATA_OFFSET_EQU_TRINKET2]?get_item_border($char_data[CHAR_DATA_OFFSET_EQU_TRINKET2]):0)), 101 15 => array(($char_data[CHAR_DATA_OFFSET_EQU_BACK]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_BACK]):0),($char_data[CHAR_DATA_OFFSET_EQU_BACK]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_BACK]):0),($char_data[CHAR_DATA_OFFSET_EQU_BACK]?get_item_border($char_data[CHAR_DATA_OFFSET_EQU_BACK]):0)), 102 16 => array(($char_data[CHAR_DATA_OFFSET_EQU_MAIN_HAND]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_MAIN_HAND]):0),($char_data[CHAR_DATA_OFFSET_EQU_MAIN_HAND]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_MAIN_HAND]):0),($char_data[CHAR_DATA_OFFSET_EQU_MAIN_HAND]?get_item_border($char_data[CHAR_DATA_OFFSET_EQU_MAIN_HAND]):0)), 103 17 => array(($char_data[CHAR_DATA_OFFSET_EQU_OFF_HAND]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_OFF_HAND]):0),($char_data[CHAR_DATA_OFFSET_EQU_OFF_HAND]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_OFF_HAND]):0),($char_data[CHAR_DATA_OFFSET_EQU_OFF_HAND]?get_item_border($char_data[CHAR_DATA_OFFSET_EQU_OFF_HAND]):0)), 104 18 => array(($char_data[CHAR_DATA_OFFSET_EQU_RANGED]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_RANGED]):0),($char_data[CHAR_DATA_OFFSET_EQU_RANGED]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_RANGED]):0),($char_data[CHAR_DATA_OFFSET_EQU_RANGED]?get_item_border($char_data[CHAR_DATA_OFFSET_EQU_RANGED]):0)), 105 19 => array(($char_data[CHAR_DATA_OFFSET_EQU_TABARD]?get_item_tooltip($char_data[CHAR_DATA_OFFSET_EQU_TABARD]):0),($char_data[CHAR_DATA_OFFSET_EQU_TABARD]?get_icon($char_data[CHAR_DATA_OFFSET_EQU_TABARD]):0),($char_data[CHAR_DATA_OFFSET_EQU_TABARD]?get_item_border($char_data[CHAR_DATA_OFFSET_EQU_TABARD]):0)) 106 ); 107 107 108 108 109 $output .= "<center> … … 120 121 <div id=\"tab_content\"> 121 122 122 <table class=\"lined\" style=\"width: 5 50px;\">123 <table class=\"lined\" style=\"width: 580px;\"> 123 124 <tr><td colspan=\"6\"><font class=\"bold\">$char[1] - ".get_player_race($char[2])." ".get_player_class($char[3])." (lvl {$char_data[CHAR_DATA_OFFSET_LEVEL]})</font><br /> 124 125 {$lang_char['guild']}: $guild_name | {$lang_char['rank']}: $guild_rank<br />$online</td></tr> 125 126 <tr> 126 127 <td width=\"6%\">"; 127 if (!empty($equiped_items[1][1])) $output .= maketooltip("<img src=\"{$equiped_items[1][1]}\" class=\"icon_border\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_HEAD]}", $equiped_items[1][0], "item_tooltip", "target=\"_blank\"");128 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border\" alt=\"\" />";128 if (!empty($equiped_items[1][1])) $output .= maketooltip("<img src=\"{$equiped_items[1][1]}\" class=\"{$equiped_items[1][2]}\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_HEAD]}", $equiped_items[1][0], "item_tooltip", "target=\"_blank\""); 129 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border_0\" alt=\"\" />"; 129 130 $output .= "</td> 130 131 <td class=\"half_line\" colspan=\"4\">".get_map_name($char[5])." - ".get_zone_name($char[4])."</td> 131 132 <td width=\"6%\">"; 132 if (!empty($equiped_items[10][1])) $output .= maketooltip("<img src=\"{$equiped_items[10][1]}\" class=\"icon_border\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_GLOVES]}", $equiped_items[10][0], "item_tooltip", "target=\"_blank\"");133 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border\" alt=\"\" />";133 if (!empty($equiped_items[10][1])) $output .= maketooltip("<img src=\"{$equiped_items[10][1]}\" class=\"{$equiped_items[10][2]}\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_GLOVES]}", $equiped_items[10][0], "item_tooltip", "target=\"_blank\""); 134 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border_0\" alt=\"\" />"; 134 135 $output .= "</td> 135 136 </tr> 136 137 <tr> 137 138 <td>"; 138 if (!empty($equiped_items[2][1])) $output .= maketooltip("<img src=\"{$equiped_items[2][1]}\" class=\"icon_border\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_NECK]}", $equiped_items[2][0], "item_tooltip", "target=\"_blank\"");139 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border\" alt=\"\" />";139 if (!empty($equiped_items[2][1])) $output .= maketooltip("<img src=\"{$equiped_items[2][1]}\" class=\"{$equiped_items[2][2]}\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_NECK]}", $equiped_items[2][0], "item_tooltip", "target=\"_blank\""); 140 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border_0\" alt=\"\" />"; 140 141 $output .= "</td> 141 142 <td class=\"half_line\" colspan=\"4\"> 142 143 <td>"; 144 if (!empty($equiped_items[6][1])) $output .= maketooltip("<img src=\"{$equiped_items[6][1]}\" class=\"icon_border\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_BELT]}", $equiped_items[6][0], "item_tooltip", "target=\"_blank\"");145 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border\" alt=\"\" />";143 {$lang_char['honor_points']}: {$char_data[CHAR_DATA_OFFSET_HONOR_POINTS]}/{$char_data[CHAR_DATA_OFFSET_ARENA_POINTS]} - {$lang_char['honor_kills']}: {$char_data[CHAR_DATA_OFFSET_HONOR_KILL]}</td> 144 <td>"; 145 if (!empty($equiped_items[6][1])) $output .= maketooltip("<img src=\"{$equiped_items[6][1]}\" class=\"{$equiped_items[6][2]}\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_BELT]}", $equiped_items[6][0], "item_tooltip", "target=\"_blank\""); 146 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border_0\" alt=\"\" />"; 146 147 $output .= "</td> 147 148 </tr> 148 149 <tr> 149 150 <td>"; 150 if (!empty($equiped_items[3][1])) $output .= maketooltip("<img src=\"{$equiped_items[3][1]}\" class=\"icon_border\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_SHOULDER]}", $equiped_items[3][0], "item_tooltip", "target=\"_blank\"");151 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border\" alt=\"\" />";152 $output .= "</td> 153 154 155 156 157 158 159 160 161 <td>"; 162 if (!empty($equiped_items[7][1])) $output .= maketooltip("<img src=\"{$equiped_items[7][1]}\" class=\"icon_border\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_LEGS]}", $equiped_items[7][0], "item_tooltip", "target=\"_blank\"");163 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border\" alt=\"\" />";151 if (!empty($equiped_items[3][1])) $output .= maketooltip("<img src=\"{$equiped_items[3][1]}\" class=\"{$equiped_items[3][2]}\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_SHOULDER]}", $equiped_items[3][0], "item_tooltip", "target=\"_blank\""); 152 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border_0\" alt=\"\" />"; 153 $output .= "</td> 154 <td class=\"half_line\" colspan=\"2\"> 155 <div class=\"gradient_p\">{$lang_item['health']}:</div> 156 <div class=\"gradient_pp\">{$char_data[CHAR_DATA_OFFSET_HEALTH]}</div> 157 </td> 158 <td class=\"half_line\" colspan=\"2\" align=\"center\" width=\"50%\"> 159 <div class=\"gradient_p\">{$lang_item['mana']}:</div> 160 <div class=\"gradient_pp\">{$char_data[CHAR_DATA_OFFSET_MANA]}</div> 161 </td> 162 <td>"; 163 if (!empty($equiped_items[7][1])) $output .= maketooltip("<img src=\"{$equiped_items[7][1]}\" class=\"{$equiped_items[7][2]}\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_LEGS]}", $equiped_items[7][0], "item_tooltip", "target=\"_blank\""); 164 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border_0\" alt=\"\" />"; 164 165 $output .= "</td> 165 166 </tr> 166 167 <tr> 167 168 <td>"; 168 if (!empty($equiped_items[15][1])) $output .= maketooltip("<img src=\"{$equiped_items[15][1]}\" class=\"icon_border\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_BACK]}", $equiped_items[15][0], "item_tooltip", "target=\"_blank\"");169 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border\" alt=\"\" />";170 $output .= "</td>171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 <td>"; 208 if (!empty($equiped_items[8][1])) $output .= maketooltip("<img src=\"{$equiped_items[8][1]}\" class=\"icon_border\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_FEET]}", $equiped_items[8][0], "item_tooltip", "target=\"_blank\"");209 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border\" alt=\"\" />";169 if (!empty($equiped_items[15][1])) $output .= maketooltip("<img src=\"{$equiped_items[15][1]}\" class=\"{$equiped_items[15][2]}\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_BACK]}", $equiped_items[15][0], "item_tooltip", "target=\"_blank\""); 170 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border_0\" alt=\"\" />"; 171 $output .= "</td> 172 <td class=\"half_line\" colspan=\"2\" rowspan=\"3\" align=\"center\"> 173 <div class=\"gradient_p\"> 174 {$lang_item['strength']}:<br /> 175 {$lang_item['agility']}:<br /> 176 {$lang_item['stamina']}:<br /> 177 {$lang_item['intellect']}:<br /> 178 {$lang_item['spirit']}:<br /> 179 {$lang_item['armor']}: 180 </div> 181 <div class=\"gradient_pp\"> 182 {$char_data[CHAR_DATA_OFFSET_STR]}<br /> 183 {$char_data[CHAR_DATA_OFFSET_AGI]}<br /> 184 {$char_data[CHAR_DATA_OFFSET_STA]}<br /> 185 {$char_data[CHAR_DATA_OFFSET_INT]}<br /> 186 {$char_data[CHAR_DATA_OFFSET_SPI]}<br /> 187 {$char_data[CHAR_DATA_OFFSET_ARMOR]} 188 </div> 189 </td> 190 <td class=\"half_line\" colspan=\"2\" rowspan=\"3\" align=\"center\"> 191 <div class=\"gradient_p\"> 192 {$lang_item['res_holy']}:<br /> 193 {$lang_item['res_arcane']}:<br /> 194 {$lang_item['res_fire']}:<br /> 195 {$lang_item['res_nature']}:<br /> 196 {$lang_item['res_frost']}:<br /> 197 {$lang_item['res_shadow']}: 198 </div> 199 <div class=\"gradient_pp\"> 200 {$char_data[CHAR_DATA_OFFSET_RES_HOLY]}<br /> 201 {$char_data[CHAR_DATA_OFFSET_RES_ARCANE]}<br /> 202 {$char_data[CHAR_DATA_OFFSET_RES_FIRE]}<br /> 203 {$char_data[CHAR_DATA_OFFSET_RES_NATURE]}<br /> 204 {$char_data[CHAR_DATA_OFFSET_RES_FROST]}<br /> 205 {$char_data[CHAR_DATA_OFFSET_RES_SHADOW]} 206 </div> 207 </td> 208 <td>"; 209 if (!empty($equiped_items[8][1])) $output .= maketooltip("<img src=\"{$equiped_items[8][1]}\" class=\"{$equiped_items[8][2]}\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_FEET]}", $equiped_items[8][0], "item_tooltip", "target=\"_blank\""); 210 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border_0\" alt=\"\" />"; 210 211 $output .= "</td> 211 212 </tr> 212 213 <tr> 213 214 <td>"; 214 if (!empty($equiped_items[5][1])) $output .= maketooltip("<img src=\"{$equiped_items[5][1]}\" class=\"icon_border\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_CHEST]}", $equiped_items[5][0], "item_tooltip", "target=\"_blank\"");215 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border\" alt=\"\" />";216 $output .= "</td> 217 <td>"; 218 if (!empty($equiped_items[11][1])) $output .= maketooltip("<img src=\"{$equiped_items[11][1]}\" class=\"icon_border\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_FINGER1]}", $equiped_items[11][0], "item_tooltip", "target=\"_blank\"");219 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border\" alt=\"\" />";215 if (!empty($equiped_items[5][1])) $output .= maketooltip("<img src=\"{$equiped_items[5][1]}\" class=\"{$equiped_items[5][2]}\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_CHEST]}", $equiped_items[5][0], "item_tooltip", "target=\"_blank\""); 216 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border_0\" alt=\"\" />"; 217 $output .= "</td> 218 <td>"; 219 if (!empty($equiped_items[11][1])) $output .= maketooltip("<img src=\"{$equiped_items[11][1]}\" class=\"{$equiped_items[11][2]}\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_FINGER1]}", $equiped_items[11][0], "item_tooltip", "target=\"_blank\""); 220 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border_0\" alt=\"\" />"; 220 221 $output .= "</td> 221 222 </tr> 222 223 <tr> 223 224 <td>"; 224 if (!empty($equiped_items[4][1])) $output .= maketooltip("<img src=\"{$equiped_items[4][1]}\" class=\"icon_border\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_SHIRT]}", $equiped_items[4][0], "item_tooltip", "target=\"_blank\"");225 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border\" alt=\"\" />";226 $output .= "</td> 227 <td>"; 228 if (!empty($equiped_items[12][1])) $output .= maketooltip("<img src=\"{$equiped_items[12][1]}\" class=\"icon_border\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_FINGER2]}", $equiped_items[12][0], "item_tooltip", "target=\"_blank\"");229 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border\" alt=\"\" />";225 if (!empty($equiped_items[4][1])) $output .= maketooltip("<img src=\"{$equiped_items[4][1]}\" class=\"{$equiped_items[4][2]}\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_SHIRT]}", $equiped_items[4][0], "item_tooltip", "target=\"_blank\""); 226 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border_0\" alt=\"\" />"; 227 $output .= "</td> 228 <td>"; 229 if (!empty($equiped_items[12][1])) $output .= maketooltip("<img src=\"{$equiped_items[12][1]}\" class=\"{$equiped_items[12][2]}\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_FINGER2]}", $equiped_items[12][0], "item_tooltip", "target=\"_blank\""); 230 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border_0\" alt=\"\" />"; 230 231 $output .= "</td> 231 232 </tr> 232 233 <tr> 233 234 <td>"; 234 if (!empty($equiped_items[19][1])) $output .= maketooltip("<img src=\"{$equiped_items[19][1]}\" class=\"icon_border\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_TABARD]}", $equiped_items[19][0], "item_tooltip", "target=\"_blank\"");235 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border\" alt=\"\" />";235 if (!empty($equiped_items[19][1])) $output .= maketooltip("<img src=\"{$equiped_items[19][1]}\" class=\"{$equiped_items[19][2]}\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_TABARD]}", $equiped_items[19][0], "item_tooltip", "target=\"_blank\""); 236 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border_0\" alt=\"\" />"; 236 237 $output .= "</td> 237 238 <td class=\"half_line\" colspan=\"2\" rowspan=\"2\" align=\"center\"> 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 <td>"; 266 if (!empty($equiped_items[13][1])) $output .= maketooltip("<img src=\"{$equiped_items[13][1]}\" class=\"icon_border\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_TRINKET1]}", $equiped_items[13][0], "item_tooltip", "target=\"_blank\"");267 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border\" alt=\"\" />";239 <div class=\"gradient_p\"> 240 {$lang_char['exp']}:<br /> 241 {$lang_char['block']}:<br /> 242 {$lang_char['dodge']}:<br /> 243 {$lang_char['parry']}: 244 </div> 245 <div class=\"gradient_pp\"> 246 {$char_data[CHAR_DATA_OFFSET_EXP]}<br /> 247 $block%<br /> 248 $dodge%<br /> 249 $parry% 250 </div> 251 </td> 252 <td class=\"half_line\" colspan=\"2\" rowspan=\"2\" align=\"center\"> 253 <div class=\"gradient_p\"> 254 {$lang_char['melee_ap']}:<br /> 255 {$lang_char['ranged_ap']}:<br /> 256 {$lang_char['crit']}:<br /> 257 {$lang_char['range_crit']}: 258 </div> 259 <div class=\"gradient_pp\"> 260 {$char_data[CHAR_DATA_OFFSET_AP]}<br /> 261 {$char_data[CHAR_DATA_OFFSET_RANGED_AP]}<br /> 262 $crit%<br /> 263 $range_crit% 264 </div> 265 </td> 266 <td>"; 267 if (!empty($equiped_items[13][1])) $output .= maketooltip("<img src=\"{$equiped_items[13][1]}\" class=\"{$equiped_items[13][2]}\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_TRINKET1]}", $equiped_items[13][0], "item_tooltip", "target=\"_blank\""); 268 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border_0\" alt=\"\" />"; 268 269 $output .= "</td> 269 270 </tr> 270 271 <tr> 271 272 <td>"; 272 if (!empty($equiped_items[9][1])) $output .= maketooltip("<img src=\"{$equiped_items[9][1]}\" class=\"icon_border\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_WRIST]}", $equiped_items[9][0], "item_tooltip", "target=\"_blank\"");273 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border\" alt=\"\" />";274 $output .= "</td> 275 276 277 if (!empty($equiped_items[14][1])) $output .= maketooltip("<img src=\"{$equiped_items[14][1]}\" class=\"icon_border\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_TRINKET2]}", $equiped_items[14][0], "item_tooltip", "target=\"_blank\"");278 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border\" alt=\"\" />";279 $output .= "</td>273 if (!empty($equiped_items[9][1])) $output .= maketooltip("<img src=\"{$equiped_items[9][1]}\" class=\"{$equiped_items[9][2]}\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_WRIST]}", $equiped_items[9][0], "item_tooltip", "target=\"_blank\""); 274 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border_0\" alt=\"\" />"; 275 $output .= "</td> 276 277 <td>"; 278 if (!empty($equiped_items[14][1])) $output .= maketooltip("<img src=\"{$equiped_items[14][1]}\" class=\"{$equiped_items[14][2]}\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_TRINKET2]}", $equiped_items[14][0], "item_tooltip", "target=\"_blank\""); 279 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border_0\" alt=\"\" />"; 280 $output .= "</td> 280 281 </tr> 281 282 <tr> 282 283 <td></td> 283 284 <td width=\"15%\">"; 284 if (!empty($equiped_items[16][1])) $output .= maketooltip("<img src=\"{$equiped_items[16][1]}\" class=\"icon_border\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_MAIN_HAND]}", $equiped_items[16][0], "item_tooltip", "target=\"_blank\"");285 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border\" alt=\"\" />";286 $output .= "</td>285 if (!empty($equiped_items[16][1])) $output .= maketooltip("<img src=\"{$equiped_items[16][1]}\" class=\"{$equiped_items[16][2]}\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_MAIN_HAND]}", $equiped_items[16][0], "item_tooltip", "target=\"_blank\""); 286 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border_0\" alt=\"\" />"; 287 $output .= "</td> 287 288 <td width=\"15%\">"; 288 if (!empty($equiped_items[17][1])) $output .= maketooltip("<img src=\"{$equiped_items[17][1]}\" class=\"icon_border\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_OFF_HAND]}", $equiped_items[17][0], "item_tooltip", "target=\"_blank\"");289 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border\" alt=\"\" />";289 if (!empty($equiped_items[17][1])) $output .= maketooltip("<img src=\"{$equiped_items[17][1]}\" class=\"{$equiped_items[17][2]}\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_OFF_HAND]}", $equiped_items[17][0], "item_tooltip", "target=\"_blank\""); 290 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border_0\" alt=\"\" />"; 290 291 $output .= "</td> 291 292 <td width=\"15%\">"; 292 if (!empty($equiped_items[18][1])) $output .= maketooltip("<img src=\"{$equiped_items[18][1]}\" class=\"icon_border\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_RANGED]}", $equiped_items[18][0], "item_tooltip", "target=\"_blank\"");293 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border\" alt=\"\" />";294 $output .= "</td> 295 293 if (!empty($equiped_items[18][1])) $output .= maketooltip("<img src=\"{$equiped_items[18][1]}\" class=\"{$equiped_items[18][2]}\" alt=\"\" />", "$item_datasite{$char_data[CHAR_DATA_OFFSET_EQU_RANGED]}", $equiped_items[18][0], "item_tooltip", "target=\"_blank\""); 294 else $output .= "<img src=\"img/INV/INV_empty_32.gif\" class=\"icon_border_0\" alt=\"\" />"; 295 $output .= "</td> 296 <td width=\"15%\"></td> 296 297 <td></td></tr> 297 298 </table><br />"; … … 306 307 $total_min = (int)($tot_time/60); 307 308 308 $output .= "<table class=\"lined\" style=\"width: 5 50px;\">309 $output .= "<table class=\"lined\" style=\"width: 580px;\"> 309 310 <tr><td colspan=\"10\">{$lang_char['tot_paly_time']}: $tot_days {$lang_char['days']} $total_hours {$lang_char['hours']} $total_min {$lang_char['min']}</td></tr> 310 311 </table></div><br />"; -
minimanager/command.php
r142 r178 24 24 3 => array ('level3','') 25 25 ); 26 26 27 27 $sql = new SQL; 28 28 $sql->connect($mangos_db[$realm_id]['addr'], $mangos_db[$realm_id]['user'], $mangos_db[$realm_id]['pass'], $mangos_db[$realm_id]['name']); … … 45 45 $levels[$data[2]][1] .= $tmp_output; 46 46 } 47 47 48 48 $output .= "<center> 49 49 <form method=\"get\" action=\"command.php\" name=\"form\"> … … 51 51 52 52 for ($i=0; $i<=$user_lvl; $i++){ 53 if ($i <= 3) { 53 54 $output .= "<fieldset class=\"full_frame\"> 54 55 <legend>". … … 61 62 <th width=\"2%\"></th> 62 63 <th width=\"13%\">{$lang_command['command']}</th> 63 <th width=\"20%\">{$lang_command['syntax']}</th> 64 <th width=\"20%\">{$lang_command['syntax']}</th> 64 65 <th width=\"65%\">{$lang_command['description']}</th> 65 66 </tr>" . $levels[$i][1]; 67 66 68 if ($user_lvl > 2) { 67 69 $output .= "</table><br /><table class=\"hidden\" style=\"width: 720px;\"><td>"; … … 69 71 } 70 72 $output .= "</table></div></fieldset>"; 73 } 71 74 } 72 75 $output .= "</form><br /></center>"; … … 98 101 </tr>"; 99 102 100 $commands = array_keys($check); 103 $commands = array_keys($check); 101 104 for ($i=0; $i<count($check); $i++){ 102 105 $output .= "<tr> … … 137 140 138 141 $commands = array_keys($change); 139 142 140 143 // Quick sanity check 141 144 for ($i=0; $i<count($change); $i++) { … … 143 146 redirect("command.php?error=1"); 144 147 } 145 148 146 149 for ($i=0; $i<count($change); $i++) { 147 150 $query = $sql->query("UPDATE command SET `security` = '".$change[$commands[$i]]."' WHERE name= '$commands[$i]'"); … … 170 173 171 174 switch ($action) { 172 case "update": 175 case "update": 173 176 update_commands(); 174 177 break; 175 case "doupdate": 178 case "doupdate": 176 179 doupdate_commands(); 177 180 break; -
minimanager/creature.php
r142 r178 73 73 <tr> 74 74 <td>{$lang_creature['level']}:</td> 75 <td ><input type=\"text\" size=\"10\" maxlength=\"3\" name=\"level\" /></td>75 <td colspan=\"2\"><input type=\"text\" size=\"10\" maxlength=\"3\" name=\"level\" /></td> 76 76 <td>{$lang_creature['health']}:</td> 77 <td><input type=\"text\" size=\"10\" maxlength=\"5\" name=\"health\" /></td> 77 <td colspan=\"2\"><input type=\"text\" size=\"10\" maxlength=\"5\" name=\"health\" /></td> 78 </tr> 79 <tr> 78 80 <td>{$lang_creature['faction_A']}:</td> 79 <td><input type=\"text\" size=\"10\" maxlength=\"4\" name=\"faction_A\" /></td> 81 <td colspan=\"2\"><input type=\"text\" size=\"10\" maxlength=\"4\" name=\"faction_A\" /></td> 82 <td>{$lang_creature['faction_H']}:</td> 83 <td colspan=\"2\"><input type=\"text\" size=\"10\" maxlength=\"4\" name=\"faction_H\" /></td> 80 84 </tr> 81 85 <tr> … … 191 195 ($_POST['npcflag'] === '')&&($_POST['type'] === '')&&($_POST['rank'] === '')&&($_POST['family'] === '') 192 196 &&(!isset($_POST['entry'])||$_POST['entry'] === '')&&(!isset($_POST['name'])||$_POST['name'] === '')&&(!isset($_POST['level'])||$_POST['level'] === '')&&(!isset($_POST['health'])||$_POST['health'] === '') 193 &&(!isset($_POST['faction_A'])||$_POST['faction_A'] === '')&&(!isset($_POST[' spell'])||$_POST['spell'] === '')&&(!isset($_POST['lootid'])||$_POST['lootid'] === '')&&(!isset($_POST['ScriptName'])||$_POST['ScriptName'] === '')197 &&(!isset($_POST['faction_A'])||$_POST['faction_A'] === '')&&(!isset($_POST['faction_H'])||$_POST['faction_H'] === '')&&(!isset($_POST['spell'])||$_POST['spell'] === '')&&(!isset($_POST['lootid'])||$_POST['lootid'] === '')&&(!isset($_POST['ScriptName'])||$_POST['ScriptName'] === '') 194 198 &&(!isset($_POST['custom_search'])||$_POST['custom_search'] === '')) { 195 199 redirect("creature.php?error=1"); … … 207 211 if ($_POST['level'] != '') $level = $sql->quote_smart($_POST['level']); 208 212 if ($_POST['health'] != '') $health = $sql->quote_smart($_POST['health']); 209 if ($_POST['faction_A'] != '') $faction = $sql->quote_smart($_POST['faction_A']); 213 if ($_POST['faction_A'] != '') $faction_A = $sql->quote_smart($_POST['faction_A']); 214 if ($_POST['faction_H'] != '') $faction_H = $sql->quote_smart($_POST['faction_H']); 210 215 if ($_POST['spell'] != '') $spell = $sql->quote_smart($_POST['spell']); 211 216 if ($_POST['lootid'] != '') $lootid = $sql->quote_smart($_POST['lootid']); … … 220 225 if(isset($level)) $where .= "AND minlevel <= $level AND maxlevel >= $level "; 221 226 if(isset($health)) $where .= "AND minhealth <= $health AND maxhealth >= $health "; 222 if(isset($faction_A)) $where .= "AND faction = '$faction_A' "; 227 if(isset($faction_A)) $where .= "AND faction_A = '$faction_A' "; 228 if(isset($faction_H)) $where .= "AND faction_B = '$faction_A' "; 223 229 if(isset($lootid)) $where .= "AND lootid = '$lootid' "; 224 if(isset($ScriptName)) $where .= "AND ScriptName LIKE '%$ScriptName%' "; 230 if(isset($ScriptName)) $where .= "AND ScriptName LIKE '%$ScriptName%' "; 225 231 if(isset($npcflag)) $where .= "AND npcflag = '$npcflag' "; 226 232 if(isset($type)) $where .= "AND type = '$type' "; … … 283 289 <input type=\"hidden\" name=\"backup_op\" value=\"0\"/> 284 290 <input type=\"hidden\" name=\"opp_type\" value=\"add_new\"/> 285 291 286 292 <div class=\"jtab-container\" id=\"container\"> 287 293 <ul class=\"jtabs\"> … … 299 305 <td>".makeinfocell($lang_creature['entry'],$lang_creature['entry_desc'])."</td> 300 306 <td><input type=\"text\" name=\"entry\" size=\"8\" maxlength=\"11\" value=\"0\" /></td> 301 307 302 308 <td>".makeinfocell($lang_creature['name'],$lang_creature['name_desc'])."</td> 303 309 <td colspan=\"3\"><input type=\"text\" name=\"name\" size=\"50\" maxlength=\"100\" value=\"mob\" /></td> … … 306 312 <td>".makeinfocell($lang_creature['sub_name'],$lang_creature['sub_name_desc'])."</td> 307 313 <td colspan=\"2\"><input type=\"text\" name=\"subname\" size=\"25\" maxlength=\"100\" value=\"\" /></td> 308 314 309 315 <td>".makeinfocell($lang_creature['script_name'],$lang_creature['script_name_desc'])."</td> 310 316 <td colspan=\"2\"><input type=\"text\" name=\"ScriptName\" size=\"25\" maxlength=\"128\" value=\"\" /></td> … … 315 321 <td>".makeinfocell($lang_creature['min_level'],$lang_creature['min_level_desc'])."</td> 316 322 <td><input type=\"text\" name=\"minlevel\" size=\"8\" maxlength=\"3\" value=\"1\" /></td> 317 323 318 324 <td>".makeinfocell($lang_creature['max_level'],$lang_creature['max_level_desc'])."</td> 319 325 <td><input type=\"text\" name=\"maxlevel\" size=\"8\" maxlength=\"3\" value=\"1\" /></td> 320 326 321 327 <td>".makeinfocell($lang_creature['rank'],$lang_creature['rank_desc'])."</td> 322 328 <td><select name=\"rank\"> … … 327 333 <option value=\"4\">4 - {$lang_creature['rare']}</option> 328 334 </select></td> 329 </tr> 335 </tr> 330 336 <tr> 331 337 <td>".makeinfocell($lang_creature['min_health'],$lang_creature['min_health_desc'])."</td> 332 338 <td colspan=\"2\"><input type=\"text\" name=\"minhealth\" size=\"14\" maxlength=\"10\" value=\"1\" /></td> 333 339 334 340 <td>".makeinfocell($lang_creature['max_health'],$lang_creature['max_health_desc'])."</td> 335 341 <td colspan=\"2\"><input type=\"text\" name=\"maxhealth\" size=\"14\" maxlength=\"10\" value=\"1\" /></td> 336 342 </tr> 337 <tr> 343 <tr> 338 344 <td>".makeinfocell($lang_creature['min_mana'],$lang_creature['min_mana_desc'])."</td> 339 345 <td colspan=\"2\"><input type=\"text\" name=\"minmana\" size=\"14\" maxlength=\"10\" value=\"0\" /></td> 340 346 341 347 <td>".makeinfocell($lang_creature['max_mana'],$lang_creature['max_mana_desc'])."</td> 342 348 <td colspan=\"2\"><input type=\"text\" name=\"maxmana\" size=\"14\" maxlength=\"10\" value=\"0\" /></td> 343 </tr> 349 </tr> 344 350 <tr> 345 351 <td>".makeinfocell($lang_creature['faction_A'],$lang_creature['faction_A_desc'])."</td> 346 352 <td colspan=\"2\"><input type=\"text\" name=\"faction_A\" size=\"14\" maxlength=\"10\" value=\"0\" /></td> 353 354 <td>".makeinfocell($lang_creature['faction_A'],$lang_creature['faction_A_desc'])."</td> 355 <td colspan=\"2\"><input type=\"text\" name=\"faction_A\" size=\"14\" maxlength=\"10\" value=\"0\" /></td> 356 </tr> 357 <tr> 358 <td></td> 359 <td colspan=\"2\"></td> 347 360 348 361 <td>".makeinfocell($lang_creature['type'],$lang_creature['type_desc'])."</td> … … 421 434 <option value=\"27\">27 - {$lang_creature['wind_serpent']}</option> 422 435 </select></td> 423 436 424 437 </tr> 425 438 … … 428 441 <td>".makeinfocell($lang_creature['loot_id'],$lang_creature['loot_id_desc'])."</td> 429 442 <td><input type=\"text\" name=\"lootid\" size=\"10\" maxlength=\"10\" value=\"0\" /></td> 430 443 431 444 <td>".makeinfocell($lang_creature['skin_loot'],$lang_creature['skin_loot_desc'])."</td> 432 445 <td><input type=\"text\" name=\"skinloot\" size=\"10\" maxlength=\"10\" value=\"0\" /></td> 433 446 434 447 <td>".makeinfocell($lang_creature['pickpocket_loot'],$lang_creature['pickpocket_loot_desc'])."</td> 435 448 <td><input type=\"text\" name=\"pickpocketloot\" size=\"10\" maxlength=\"10\" value=\"0\" /></td> … … 438 451 <td>".makeinfocell($lang_creature['min_gold'],$lang_creature['min_gold_desc'])."</td> 439 452 <td colspan=\"2\"><input type=\"text\" name=\"mingold\" size=\"14\" maxlength=\"30\" value=\"0\" /></td> 440 453 441 454 <td>".makeinfocell($lang_creature['max_gold'],$lang_creature['max_gold_desc'])."</td> 442 455 <td colspan=\"2\"><input type=\"text\" name=\"maxgold\" size=\"14\" maxlength=\"30\" value=\"0\" /></td> … … 454 467 <td>".makeinfocell($lang_creature['armor'],$lang_creature['armor_desc'])."</td> 455 468 <td colspan=\"2\"><input type=\"text\" name=\"armor\" size=\"8\" maxlength=\"10\" value=\"0\" /></td> 456 469 457 470 <td>".makeinfocell($lang_creature['speed'],$lang_creature['speed_desc'])."</td> 458 471 <td colspan=\"2\"><input type=\"text\" name=\"speed\" size=\"8\" maxlength=\"45\" value=\"1\" /></td> 459 472 </tr> 460 473 461 474 <tr class=\"large_bold\"><td colspan=\"6\" class=\"hidden\" align=\"left\">{$lang_creature['damage']}:</td></tr> 462 475 <tr> 463 476 <td>".makeinfocell($lang_creature['min_damage'],$lang_creature['min_damage_desc'])."</td> 464 477 <td><input type=\"text\" name=\"mindmg\" size=\"8\" maxlength=\"45\" value=\"1\" /></td> 465 478 466 479 <td>".makeinfocell($lang_creature['max_damage'],$lang_creature['max_damage_desc'])."</td> 467 480 <td><input type=\"text\" name=\"maxdmg\" size=\"8\" maxlength=\"45\" value=\"1\" /></td> 468 481 469 482 <td>".makeinfocell($lang_creature['attack_power'],$lang_creature['attack_power_desc'])."</td> 470 483 <td><input type=\"text\" name=\"attackpower\" size=\"8\" maxlength=\"10\" value=\"1\" /></td> … … 473 486 <td>".makeinfocell($lang_creature['min_range_dmg'],$lang_creature['min_range_dmg_desc'])."</td> 474 487 <td><input type=\"text\" name=\"minrangedmg\" size=\"8\" maxlength=\"45\" value=\"1\" /></td> 475 488 476 489 <td>".makeinfocell($lang_creature['max_range_dmg'],$lang_creature['max_range_dmg_desc'])."</td> 477 490 <td><input type=\"text\" name=\"maxrangedmg\" size=\"8\" maxlength=\"45\" value=\"1\" /></td> 478 491 479 492 <td>".makeinfocell($lang_creature['ranged_attack_power'],$lang_creature['ranged_attack_power_desc'])."</td> 480 493 <td><input type=\"text\" name=\"rangedattackpower\" size=\"8\" maxlength=\"10\" value=\"1\" /></td> … … 483 496 <td>".makeinfocell($lang_creature['attack_time'],$lang_creature['attack_time_desc'])."</td> 484 497 <td><input type=\"text\" name=\"baseattacktime\" size=\"8\" maxlength=\"4\" value=\"1000\" /></td> 485 498 486 499 <td>".makeinfocell($lang_creature['range_attack_time'],$lang_creature['range_attack_time_desc'])."</td> 487 500 <td><input type=\"text\" name=\"rangeattacktime\" size=\"8\" maxlength=\"4\" value=\"1000\" /></td> 488 501 489 502 <td>".makeinfocell($lang_creature['combat_reach'],$lang_creature['combat_reach_desc'])."</td> 490 503 <td><input type=\"text\" name=\"combat_reach\" size=\"8\" maxlength=\"10\" value=\"1\" /></td> … … 493 506 <td>".makeinfocell($lang_creature['bounding_radius'],$lang_creature['bounding_radius_desc'])."</td> 494 507 <td colspan=\"2\"><input type=\"text\" name=\"bounding_radius\" size=\"14\" maxlength=\"45\" value=\"2\" /></td> 495 508 496 509 <td>".makeinfocell($lang_creature['dmgschool'],$lang_creature['dmgschool_desc'])."</td> 497 510 <td colspan=\"2\"><select name=\"dmgschool\"> … … 505 518 </select></td> 506 519 </tr> 507 520 508 521 <tr class=\"large_bold\"><td colspan=\"6\" class=\"hidden\" align=\"left\">{$lang_creature['spells']}:</td></tr> 509 522 … … 511 524 <td>".makeinfocell($lang_creature['spell']." 1",$lang_creature['spell_desc'])."</td> 512 525 <td colspan=\"2\"><input type=\"text\" name=\"spell1\" size=\"14\" maxlength=\"11\" value=\"0\" /></td> 513 526 514 527 <td>".makeinfocell($lang_creature['spell']." 2",$lang_creature['spell_desc'])."</td> 515 528 <td colspan=\"2\"><input type=\"text\" name=\"spell2\" size=\"14\" maxlength=\"11\" value=\"0\" /></td> … … 518 531 <td>".makeinfocell($lang_creature['spell']." 3",$lang_creature['spell_desc'])."</td> 519 532 <td colspan=\"2\"><input type=\"text\" name=\"spell3\" size=\"14\" maxlength=\"11\" value=\"0\" /></td> 520 533 521 534 <td>".makeinfocell($lang_creature['spell']." 4",$lang_creature['spell_desc'])."</td> 522 535 <td colspan=\"2\"><input type=\"text\" name=\"spell4\" size=\"14\" maxlength=\"11\" value=\"0\" /></td> … … 527 540 <td>".makeinfocell($lang_creature['resis_holy'],$lang_creature['resis_holy_desc'])."</td> 528 541 <td><input type=\"text\" name=\"resistance1\" size=\"8\" maxlength=\"10\" value=\"0\" /></td> 529 542 530 543 <td>".makeinfocell($lang_creature['resis_fire'],$lang_creature['resis_fire_desc'])."</td> 531 544 <td><input type=\"text\" name=\"resistance2\" size=\"8\" maxlength=\"10\" value=\"0\" /></td> 532 545 533 546 <td>".makeinfocell($lang_creature['resis_nature'],$lang_creature['resis_nature_desc'])."</td> 534 547 <td><input type=\"text\" name=\"resistance3\" size=\"8\" maxlength=\"10\" value=\"0\" /></td> … … 537 550 <td>".makeinfocell($lang_creature['resis_frost'],$lang_creature['resis_frost_desc'])."</td> 538 551 <td><input type=\"text\" name=\"resistance4\" size=\"8\" maxlength=\"10\" value=\"0\" /></td> 539 552 540 553 <td>".makeinfocell($lang_creature['resis_shadow'],$lang_creature['resis_shadow_desc'])."</td> 541 554 <td><input type=\"text\" name=\"resistance5\" size=\"8\" maxlength=\"10\" value=\"0\" /></td> 542 555 543 556 <td>".makeinfocell($lang_creature['resis_arcane'],$lang_creature['resis_arcane_desc'])."</td> 544 557 <td><input type=\"text\" name=\"resistance6\" size=\"8\" maxlength=\"10\" value=\"0\" /></td> 545 558 </tr> 546 559 547 560 </table><br /><br /> 548 561 </div>"; 549 562 550 563 551 564 $output .= "<div id=\"pane4\"> … … 553 566 <tr class=\"large_bold\"><td colspan=\"6\" class=\"hidden\" align=\"left\">{$lang_creature['models']}:</td></tr> 554 567 <tr> 555 <td colspan=\"2\">".makeinfocell($lang_creature['modelid_A ale'],$lang_creature['modelid_Aale_desc'])."</td>568 <td colspan=\"2\">".makeinfocell($lang_creature['modelid_A'],$lang_creature['modelid_A_desc'])."</td> 556 569 <td><input type=\"text\" name=\"modelid_A\" size=\"8\" maxlength=\"11\" value=\"0\" /></td> 557 558 <td colspan=\"2\">".makeinfocell($lang_creature['modelid_Hemale'],$lang_creature['modelid_Hemale_desc'])."</td> 570 571 <td colspan=\"2\">".makeinfocell($lang_creature['modelid_A2'],$lang_creature['modelid_A2_desc'])."</td> 572 <td><input type=\"text\" name=\"modelid_A2\" size=\"8\" maxlength=\"11\" value=\"0\" /></td> 573 </tr> 574 <tr> 575 <td colspan=\"2\">".makeinfocell($lang_creature['modelid_H'],$lang_creature['modelid_H_desc'])."</td> 559 576 <td><input type=\"text\" name=\"modelid_H\" size=\"8\" maxlength=\"11\" value=\"0\" /></td> 560 </tr> 561 <tr> 562 <td>".makeinfocell($lang_creature['equip_slot']." 1",$lang_creature['equip_slot_desc'])."</td> 563 <td><input type=\"text\" name=\"equipslot1\" size=\"8\" maxlength=\"10\" value=\"0\" /></td> 564 565 <td>".makeinfocell($lang_creature['equip_model']." 1",$lang_creature['equip_model_desc'])."</td> 566 <td><input type=\"text\" name=\"equipmodel1\" size=\"8\" maxlength=\"10\" value=\"0\" /></td> 567 568 <td>".makeinfocell($lang_creature['equip_info']." 1",$lang_creature['equip_info_desc'])."</td> 569 <td><input type=\"text\" name=\"equipinfo1\" size=\"8\" maxlength=\"10\" value=\"0\" /></td> 570 </tr> 571 <tr> 572 <td>".makeinfocell($lang_creature['equip_slot']." 2",$lang_creature['equip_slot_desc'])."</td> 573 <td><input type=\"text\" name=\"equipslot2\" size=\"8\" maxlength=\"10\" value=\"0\" /></td> 574 575 <td>".makeinfocell($lang_creature['equip_model']." 2",$lang_creature['equip_model_desc'])."</td> 576 <td><input type=\"text\" name=\"equipmodel2\" size=\"8\" maxlength=\"10\" value=\"0\" /></td> 577 578 <td>".makeinfocell($lang_creature['equip_info']." 2",$lang_creature['equip_info_desc'])."</td> 579 <td><input type=\"text\" name=\"equipinfo2\" size=\"8\" maxlength=\"10\" value=\"0\" /></td> 580 </tr> 581 <tr> 582 <td>".makeinfocell($lang_creature['equip_slot']." 3",$lang_creature['equip_slot_desc'])."</td> 583 <td><input type=\"text\" name=\"equipslot3\" size=\"8\" maxlength=\"10\" value=\"0\" /></td> 584 585 <td>".makeinfocell($lang_creature['equip_model']." 3",$lang_creature['equip_model_desc'])."</td> 586 <td><input type=\"text\" name=\"equipmodel3\" size=\"8\" maxlength=\"10\" value=\"0\" /></td> 587 588 <td>".makeinfocell($lang_creature['equip_info']." 3",$lang_creature['equip_info_desc'])."</td> 589 <td><input type=\"text\" name=\"equipinfo3\" size=\"8\" maxlength=\"10\" value=\"0\" /></td> 590 </tr> 591 577 578 <td colspan=\"2\">".makeinfocell($lang_creature['modelid_H2'],$lang_creature['modelid_H2_desc'])."</td> 579 <td><input type=\"text\" name=\"modelid_H2\" size=\"8\" maxlength=\"11\" value=\"0\" /></td> 580 </tr> 592 581 </table><br /><br /> 593 582 </div>"; 594 583 595 584 $output .= "<div id=\"pane2\"> 596 585 <br /><br /><table class=\"lined\" style=\"width: 720px;\"> … … 599 588 <td>".makeinfocell($lang_creature['ai_name'],$lang_creature['ai_name_desc'])."</td> 600 589 <td colspan=\"2\"><input type=\"text\" name=\"AIName\" size=\"14\" maxlength=\"128\" value=\"\" /></td> 601 590 602 591 <td>".makeinfocell($lang_creature['movement_type'],$lang_creature['movement_type_desc'])."</td> 603 592 <td colspan=\"2\"><input type=\"text\" name=\"MovementType\" size=\"14\" maxlength=\"24\" value=\"0\" /></td> 604 593 </tr> 605 594 606 <tr class=\"large_bold\"><td colspan=\"6\" class=\"hidden\" align=\"left\">{$lang_creature['other']}:</td></tr> 607 595 <tr class=\"large_bold\"><td colspan=\"6\" class=\"hidden\" align=\"left\">{$lang_creature['other']}:</td></tr> 596 608 597 <td>".makeinfocell($lang_creature['class'],$lang_creature['class_desc'])."</td> 609 598 <td><select name=\"class\"> … … 618 607 <option value=\"9\">9 - {$lang_id_tab['warlock']}</option> 619 608 <option value=\"11\">11 - {$lang_id_tab['druid']}</option> 620 </select></td> 609 </select></td> 621 610 622 611 <td>".makeinfocell($lang_creature['race'],$lang_creature['race_desc'])."</td> … … 634 623 <option value=\"11\">11 - {$lang_id_tab['draenei']}</option> 635 624 </select></td> 636 625 637 626 <td>".makeinfocell($lang_creature['RacialLeader'],$lang_creature['RacialLeader_desc'])."</td> 638 627 <td><input type=\"checkbox\" name=\"RacialLeader\" value=\"1\" /></td> … … 641 630 <td>".makeinfocell($lang_creature['trainer_spell'],$lang_creature['trainer_spell_desc'])."</td> 642 631 <td><input type=\"text\" name=\"trainer_spell\" size=\"14\" maxlength=\"11\" value=\"0\" /></td> 643 632 644 633 <td>".makeinfocell($lang_creature['inhabit_type'],$lang_creature['inhabit_type_desc'])."</td> 645 634 <td><select name=\"InhabitType\"> … … 649 638 <option value=\"3\">3 - {$lang_creature['both']}</option> 650 639 </select></td> 651 640 652 641 <td>".makeinfocell($lang_creature['civilian'],$lang_creature['civilian_desc'])."</td> 653 642 <td><input type=\"checkbox\" name=\"civilian\" value=\"1\" /></td> 654 </tr> 643 </tr> 655 644 <tr> 656 645 <td>".makeinfocell($lang_creature['flags'],$lang_creature['flags_desc'])."</td> 657 646 <td><input type=\"text\" name=\"flags\" size=\"8\" maxlength=\"11\" value=\"0\" /></td> 658 647 659 648 <td>".makeinfocell($lang_creature['dynamic_flags'],$lang_creature['dynamic_flags_desc'])."</td> 660 649 <td><input type=\"text\" name=\"dynamicflags\" size=\"8\" maxlength=\"11\" value=\"0\" /></td> 661 650 662 651 <td>".makeinfocell($lang_creature['flag_1'],$lang_creature['flag_1_desc'])."</td> 663 652 <td><input type=\"text\" name=\"flag1\" size=\"8\" maxlength=\"11\" value=\"0\" /></td> … … 666 655 </table><br /><br /> 667 656 </div> 668 657 669 658 </div> 670 659 </div> … … 693 682 694 683 if (!isset($_GET['entry'])) redirect("creature.php?error=1"); 695 684 696 685 $sql = new SQL; 697 686 $sql->connect($mangos_db[$realm_id]['addr'], $mangos_db[$realm_id]['user'], $mangos_db[$realm_id]['pass'], $mangos_db[$realm_id]['name']); 698 687 699 688 $entry = $sql->quote_smart($_GET['entry']); 700 689 $result = $sql->query("SELECT * FROM creature_template WHERE entry = '$entry'"); … … 709 698 <input type=\"hidden\" name=\"opp_type\" value=\"edit\"/> 710 699 <input type=\"hidden\" name=\"entry\" value=\"$entry\"/> 711 700 712 701 <div class=\"jtab-container\" id=\"container\"> 713 702 <ul class=\"jtabs\"> … … 756 745 <td>".makeinfocell($lang_creature['entry'],$lang_creature['entry_desc'])."</td> 757 746 <td><a href=\"$creature_datasite$entry\" target=\"_blank\">$entry</a></td> 758 747 759 748 <td>".makeinfocell($lang_creature['name'],$lang_creature['name_desc'])."</td> 760 749 <td colspan=\"3\"><input type=\"text\" name=\"name\" size=\"50\" maxlength=\"100\" value=\"{$mob['name']}\" /></td> 761 750 </tr> 762 751 763 752 <tr> 764 753 <td>".makeinfocell($lang_creature['sub_name'],$lang_creature['sub_name_desc'])."</td> 765 754 <td colspan=\"2\"><input type=\"text\" name=\"subname\" size=\"25\" maxlength=\"100\" value=\"{$mob['subname']}\" /></td> 766 755 767 756 <td>".makeinfocell($lang_creature['script_name'],$lang_creature['script_name_desc'])."</td> 768 757 <td colspan=\"2\"><input type=\"text\" name=\"ScriptName\" size=\"25\" maxlength=\"128\" value=\"{$mob['ScriptName']}\" /></td> … … 774 763 775 764 <td>".makeinfocell($lang_creature['min_level'],$lang_creature['min_level_desc'])."</td> 776 <td ><input type=\"text\" name=\"minlevel\" size=\"8\" maxlength=\"3\" value=\"{$mob['minlevel']}\" /></td>777 765 <td colspan=\"2\"><input type=\"text\" name=\"minlevel\" size=\"8\" maxlength=\"3\" value=\"{$mob['minlevel']}\" /></td> 766 778 767 <td>".makeinfocell($lang_creature['max_level'],$lang_creature['max_level_desc'])."</td> 779 <td><input type=\"text\" name=\"maxlevel\" size=\"8\" maxlength=\"3\" value=\"{$mob['maxlevel']}\" /></td>"; 780 781 $rank = array(0 => "", 1 => "", 3 => "", 2 => "", 4 => ""); 782 $rank[$mob['rank']] = " selected=\"selected\" "; 783 784 $output .= "<td>".makeinfocell($lang_creature['rank'],$lang_creature['rank_desc'])."</td> 785 <td><select name=\"rank\"> 786 <option value=\"0\" {$rank[0]}>0 - {$lang_creature['normal']}</option> 787 <option value=\"1\" {$rank[1]}>1 - {$lang_creature['elite']}</option> 788 <option value=\"2\" {$rank[2]}>2 - {$lang_creature['rare_elite']}</option> 789 <option value=\"3\" {$rank[3]}>3 - {$lang_creature['world_boss']}</option> 790 <option value=\"4\" {$rank[4]}>4 - {$lang_creature['rare']}</option> 791 </select></td> 792 </tr> 793 768 <td colspan=\"2\"><input type=\"text\" name=\"maxlevel\" size=\"8\" maxlength=\"3\" value=\"{$mob['maxlevel']}\" /></td> 769 </tr> 770 794 771 <tr> 795 772 <td>".makeinfocell($lang_creature['min_health'],$lang_creature['min_health_desc'])."</td> 796 <td colspan=\"2\"><input type=\"text\" name=\"minhealth\" size=\"14\" maxlength=\"10\" value=\"{$mob['minhealth']}\" /></td>797 773 <td><input type=\"text\" name=\"minhealth\" size=\"14\" maxlength=\"10\" value=\"{$mob['minhealth']}\" /></td> 774 798 775 <td>".makeinfocell($lang_creature['max_health'],$lang_creature['max_health_desc'])."</td> 799 <td colspan=\"2\"><input type=\"text\" name=\"maxhealth\" size=\"14\" maxlength=\"10\" value=\"{$mob['maxhealth']}\" /></td> 800 </tr> 801 <tr> 776 <td><input type=\"text\" name=\"maxhealth\" size=\"14\" maxlength=\"10\" value=\"{$mob['maxhealth']}\" /></td> 777 778 "; 779 if ($mob['RegenHealth']) $RegenHealth = "checked"; 780 else $RegenHealth = ""; 781 782 $output .= "<td>".makeinfocell($lang_creature['RegenHealth'],$lang_creature['RegenHealth'])."</td> 783 <td><input type=\"checkbox\" name=\"RegenHealth\" value=\"1\" $RegenHealth /></td> 784 </tr> 785 <tr> 802 786 <td>".makeinfocell($lang_creature['min_mana'],$lang_creature['min_mana_desc'])."</td> 803 787 <td colspan=\"2\"><input type=\"text\" name=\"minmana\" size=\"14\" maxlength=\"10\" value=\"{$mob['minmana']}\" /></td> 804 788 805 789 <td>".makeinfocell($lang_creature['max_mana'],$lang_creature['max_mana_desc'])."</td> 806 790 <td colspan=\"2\"><input type=\"text\" name=\"maxmana\" size=\"14\" maxlength=\"10\" value=\"{$mob['maxmana']}\" /></td> 807 </tr> 808 791 </tr> 809 792 <tr> 810 793 <td>".makeinfocell($lang_creature['faction_A'],$lang_creature['faction_A_desc'])."</td> 811 <td colspan=\"2\"><input type=\"text\" name=\"faction_A\" size=\"14\" maxlength=\"5\" value=\"{$mob['faction_A']}\" /></td>"; 794 <td colspan=\"2\"><input type=\"text\" name=\"faction_A\" size=\"14\" maxlength=\"10\" value=\"{$mob['faction_A']}\" /></td> 795 796 <td>".makeinfocell($lang_creature['faction_H'],$lang_creature['faction_H_desc'])."</td> 797 <td colspan=\"2\"><input type=\"text\" name=\"faction_H\" size=\"14\" maxlength=\"10\" value=\"{$mob['faction_H']}\" /></td> 798 </tr> 799 <tr>"; 800 $rank = array(0 => "", 1 => "", 3 => "", 2 => "", 4 => ""); 801 $rank[$mob['rank']] = " selected=\"selected\" "; 802 803 $output .= "<td >".makeinfocell($lang_creature['rank'],$lang_creature['rank_desc'])."</td> 804 <td><select name=\"rank\"> 805 <option value=\"0\" {$rank[0]}>0 - {$lang_creature['normal']}</option> 806 <option value=\"1\" {$rank[1]}>1 - {$lang_creature['elite']}</option> 807 <option value=\"2\" {$rank[2]}>2 - {$lang_creature['rare_elite']}</option> 808 <option value=\"3\" {$rank[3]}>3 - {$lang_creature['world_boss']}</option> 809 <option value=\"4\" {$rank[4]}>4 - {$lang_creature['rare']}</option> 810 </select></td>"; 812 811 unset($rank); 813 812 814 813 $type = array(0 => "", 1 => "", 2 => "", 3 => "", 4 => "", 5 => "", 6 => "", 7 => "", 8 => "", 9 => "", 10 => ""); 815 814 $type[$mob['type']] = " selected=\"selected\" "; 816 817 $output .= "<td >".makeinfocell($lang_creature['type'],$lang_creature['type_desc'])."</td>815 816 $output .= "<td colspan=\"2\">".makeinfocell($lang_creature['type'],$lang_creature['type_desc'])."</td> 818 817 <td colspan=\"2\"><select name=\"type\"> 819 818 <option value=\"0\" {$type[0]}>0 - {$lang_creature['other']}</option> … … 832 831 <tr>"; 833 832 unset($type); 834 833 835 834 $npcflag = array(0 => "", 1 => "", 2 => "", 4 => "", 8 => "", 16 => "", 32 => "", 64 => "", 128 => "", 836 835 256 => "", 512 => "", 1024 => "", 2048 => "", 4096 => "", 8192 => "", 16384 => ""); … … 875 874 </select></td>"; 876 875 unset($npcflag); 877 876 878 877 $trainer_type = array(0 => "", 1 => "", 2 => "", 3 => ""); 879 878 $trainer_type[$mob['trainer_type']] = " selected=\"selected\" "; 880 879 881 880 $output .= "<td>".makeinfocell($lang_creature['trainer_type'],$lang_creature['trainer_type_desc'])."</td> 882 881 <td colspan=\"2\"><select name=\"trainer_type\"> … … 889 888 <tr>"; 890 889 unset($trainer_type); 891 890 892 891 $family = array(0 => "", 1 => "", 2 => "", 3 => "", 4 => "", 5 => "", 6 => "", 7 => "", 8 => "", 9 => "", 893 892 11 => "", 12 => "", 13 => "", 14 => "", 15 => "", 16 => "", 17 => "", 18 => "", 19 => "", 20 => "", 21 => "", … … 931 930 <td>".makeinfocell($lang_creature['loot_id'],$lang_creature['loot_id_desc'])."</td> 932 931 <td><input type=\"text\" name=\"lootid\" size=\"10\" maxlength=\"10\" value=\"{$mob['lootid']}\" /></td> 933 932 934 933 <td>".makeinfocell($lang_creature['skin_loot'],$lang_creature['skin_loot_desc'])."</td> 935 934 <td><input type=\"text\" name=\"skinloot\" size=\"10\" maxlength=\"10\" value=\"{$mob['skinloot']}\" /></td> 936 935 937 936 <td>".makeinfocell($lang_creature['pickpocket_loot'],$lang_creature['pickpocket_loot_desc'])."</td> 938 937 <td><input type=\"text\" name=\"pickpocketloot\" size=\"10\" maxlength=\"10\" value=\"{$mob['pickpocketloot']}\" /></td> … … 942 941 <td>".makeinfocell($lang_creature['min_gold'],$lang_creature['min_gold_desc'])."</td> 943 942 <td colspan=\"2\"><input type=\"text\" name=\"mingold\" size=\"14\" maxlength=\"30\" value=\"{$mob['mingold']}\" /></td> 944 943 945 944 <td>".makeinfocell($lang_creature['max_gold'],$lang_creature['max_gold_desc'])."</td> 946 945 <td colspan=\"2\"><input type=\"text\" name=\"maxgold\" size=\"14\" maxlength=\"30\" value=\"{$mob['maxgold']}\" /></td> 947 946 </tr>"; 948 947 unset($family); 949 948 950 949 $result1 = $sql->query("SELECT COUNT(*) FROM creature WHERE id = '{$mob['entry']}'"); 951 950 $output .= "<tr><td colspan=\"6\">{$lang_creature['creature_swapned']} : ".$sql->result($result1, 0)." {$lang_creature['times']}.</td></tr> … … 961 960 <td>".makeinfocell($lang_creature['armor'],$lang_creature['armor_desc'])."</td> 962 961 <td colspan=\"2\"><input type=\"text\" name=\"armor\" size=\"8\" maxlength=\"10\" value=\"{$mob['armor']}\" /></td> 963 962 964 963 <td>".makeinfocell($lang_creature['speed'],$lang_creature['speed_desc'])."</td> 965 964 <td colspan=\"2\"><input type=\"text\" name=\"speed\" size=\"8\" maxlength=\"45\" value=\"{$mob['speed']}\" /></td> 966 965 </tr> 967 966 968 967 <tr class=\"large_bold\"><td colspan=\"6\" class=\"hidden\" align=\"left\">{$lang_creature['damage']}:</td></tr> 969 968 <tr> 970 969 <td>".makeinfocell($lang_creature['min_damage'],$lang_creature['min_damage_desc'])."</td> 971 970 <td><input type=\"text\" name=\"mindmg\" size=\"8\" maxlength=\"45\" value=\"{$mob['mindmg']}\" /></td> 972 971 973 972 <td>".makeinfocell($lang_creature['max_damage'],$lang_creature['max_damage_desc'])."</td> 974 973 <td><input type=\"text\" name=\"maxdmg\" size=\"8\" maxlength=\"45\" value=\"{$mob['maxdmg']}\" /></td> 975 974 976 975 <td>".makeinfocell($lang_creature['attack_power'],$lang_creature['attack_power_desc'])."</td> 977 976 <td><input type=\"text\" name=\"attackpower\" size=\"8\" maxlength=\"10\" value=\"{$mob['attackpower']}\" /></td> … … 980 979 <td>".makeinfocell($lang_creature['min_range_dmg'],$lang_creature['min_range_dmg_desc'])."</td> 981 980 <td><input type=\"text\" name=\"minrangedmg\" size=\"8\" maxlength=\"45\" value=\"{$mob['minrangedmg']}\" /></td> 982 981 983 982 <td>".makeinfocell($lang_creature['max_range_dmg'],$lang_creature['max_range_dmg_desc'])."</td> 984 983 <td><input type=\"text\" name=\"maxrangedmg\" size=\"8\" maxlength=\"45\" value=\"{$mob['maxrangedmg']}\" /></td> 985 984 986 985 <td>".makeinfocell($lang_creature['ranged_attack_power'],$lang_creature['ranged_attack_power_desc'])."</td> 987 986 <td><input type=\"text\" name=\"rangedattackpower\" size=\"8\" maxlength=\"10\" value=\"{$mob['rangedattackpower']}\" /></td> … … 990 989 <td>".makeinfocell($lang_creature['attack_time'],$lang_creature['attack_time_desc'])."</td> 991 990 <td><input type=\"text\" name=\"baseattacktime\" size=\"8\" maxlength=\"4\" value=\"{$mob['baseattacktime']}\" /></td> 992 991 993 992 <td>".makeinfocell($lang_creature['range_attack_time'],$lang_creature['range_attack_time_desc'])."</td> 994 993 <td><input type=\"text\" name=\"rangeattacktime\" size=\"8\" maxlength=\"4\" value=\"{$mob['rangeattacktime']}\" /></td> 995 996 <td> ".makeinfocell($lang_creature['combat_reach'],$lang_creature['combat_reach_desc'])."</td>997 <td>< input type=\"text\" name=\"combat_reach\" size=\"8\" maxlength=\"10\" value=\"{$mob['combat_reach']}\" /></td>994 995 <td></td> 996 <td></td> 998 997 </tr> 999 998 <tr> 1000 <td> ".makeinfocell($lang_creature['bounding_radius'],$lang_creature['bounding_radius_desc'])."</td>1001 <td colspan=\"2\">< input type=\"text\" name=\"bounding_radius\" size=\"14\" maxlength=\"45\" value=\"{$mob['bounding_radius']}\" /></td>";1002 1003 999 <td></td> 1000 <td colspan=\"2\"></td>"; 1001 1002 1004 1003 $dmgschool = array(0 => "", 1 => "", 2 => "", 3 => "", 4 => "", 5 => "", 6 => ""); 1005 1004 $dmgschool[$mob['dmgschool']] = " selected=\"selected\" "; 1006 1005 1007 1006 $output .= "<td>".makeinfocell($lang_creature['dmgschool'],$lang_creature['dmgschool_desc'])."</td> 1008 1007 <td colspan=\"2\"><select name=\"dmgschool\"> … … 1016 1015 </select></td>"; 1017 1016 unset($dmgschool); 1018 1017 1019 1018 $output .= "</tr> 1020 1019 <tr class=\"large_bold\"><td colspan=\"6\" class=\"hidden\" align=\"left\">{$lang_creature['spells']}:</td></tr> … … 1023 1022 <td>".makeinfocell($lang_creature['spell']." 1",$lang_creature['spell_desc'])."</td> 1024 1023 <td colspan=\"2\"><input type=\"text\" name=\"spell1\" size=\"14\" maxlength=\"11\" value=\"{$mob['spell1']}\" /></td> 1025 1024 1026 1025 <td>".makeinfocell($lang_creature['spell']." 2",$lang_creature['spell_desc'])."</td> 1027 1026 <td colspan=\"2\"><input type=\"text\" name=\"spell2\" size=\"14\" maxlength=\"11\" value=\"{$mob['spell2']}\" /></td> … … 1030 1029 <td>".makeinfocell($lang_creature['spell']." 3",$lang_creature['spell_desc'])."</td> 1031 1030 <td colspan=\"2\"><input type=\"text\" name=\"spell3\" size=\"14\" maxlength=\"11\" value=\"{$mob['spell3']}\" /></td> 1032 1031 1033 1032 <td>".makeinfocell($lang_creature['spell']." 4",$lang_creature['spell_desc'])."</td> 1034 1033 <td colspan=\"2\"><input type=\"text\" name=\"spell4\" size=\"14\" maxlength=\"11\" value=\"{$mob['spell4']}\" /></td> … … 1039 1038 <td>".makeinfocell($lang_creature['resis_holy'],$lang_creature['resis_holy_desc'])."</td> 1040 1039 <td><input type=\"text\" name=\"resistance1\" size=\"8\" maxlength=\"10\" value=\"{$mob['resistance1']}\" /></td> 1041 1040 1042 1041 <td>".makeinfocell($lang_creature['resis_fire'],$lang_creature['resis_fire_desc'])."</td> 1043 1042 <td><input type=\"text\" name=\"resistance2\" size=\"8\" maxlength=\"10\" value=\"{$mob['resistance2']}\" /></td> 1044 1043 1045 1044 <td>".makeinfocell($lang_creature['resis_nature'],$lang_creature['resis_nature_desc'])."</td> 1046 1045 <td><input type=\"text\" name=\"resistance3\" size=\"8\" maxlength=\"10\" value=\"{$mob['resistance3']}\" /></td> … … 1049 1048 <td>".makeinfocell($lang_creature['resis_frost'],$lang_creature['resis_frost_desc'])."</td> 1050 1049 <td><input type=\"text\" name=\"resistance4\" size=\"8\" maxlength=\"10\" value=\"{$mob['resistance4']}\" /></td> 1051 1050 1052 1051 <td>".makeinfocell($lang_creature['resis_shadow'],$lang_creature['resis_shadow_desc'])."</td> 1053 1052 <td><input type=\"text\" name=\"resistance5\" size=\"8\" maxlength=\"10\" value=\"{$mob['resistance5']}\" /></td> 1054 1053 1055 1054 <td>".makeinfocell($lang_creature['resis_arcane'],$lang_creature['resis_arcane_desc'])."</td> 1056 1055 <td><input type=\"text\" name=\"resistance6\" size=\"8\" maxlength=\"10\" value=\"{$mob['resistance6']}\" /></td> 1057 1056 </tr> 1058 1057 1059 1058 </table><br /><br /> 1060 1059 </div>"; … … 1064 1063 <tr class=\"large_bold\"><td colspan=\"6\" class=\"hidden\" align=\"left\">{$lang_creature['models']}:</td></tr> 1065 1064 <tr> 1066 <td colspan=\"2\">".makeinfocell($lang_creature['modelid_A ale'],$lang_creature['modelid_Aale_desc'])."</td>1065 <td colspan=\"2\">".makeinfocell($lang_creature['modelid_A'],$lang_creature['modelid_A_desc'])."</td> 1067 1066 <td><input type=\"text\" name=\"modelid_A\" size=\"8\" maxlength=\"11\" value=\"{$mob['modelid_A']}\" /></td> 1068 1069 <td colspan=\"2\">".makeinfocell($lang_creature['modelid_Hemale'],$lang_creature['modelid_Hemale_desc'])."</td> 1067 1068 <td colspan=\"2\">".makeinfocell($lang_creature['modelid_A2'],$lang_creature['modelid_A2_desc'])."</td> 1069 <td><input type=\"text\" name=\"modelid_A2\" size=\"8\" maxlength=\"11\" value=\"{$mob['modelid_A2']}\" /></td> 1070 </tr> 1071 <tr> 1072 <td colspan=\"2\">".makeinfocell($lang_creature['modelid_H'],$lang_creature['modelid_H_desc'])."</td> 1070 1073 <td><input type=\"text\" name=\"modelid_H\" size=\"8\" maxlength=\"11\" value=\"{$mob['modelid_H']}\" /></td> 1071 </tr> 1072 <tr> 1073 <td>".makeinfocell($lang_creature['equip_slot']." 1",$lang_creature['equip_slot_desc'])."</td> 1074 <td><input type=\"text\" name=\"equipslot1\" size=\"8\" maxlength=\"10\" value=\"{$mob['equipslot1']}\" /></td> 1075 1076 <td>".makeinfocell($lang_creature['equip_model']." 1",$lang_creature['equip_model_desc'])."</td> 1077 <td><input type=\"text\" name=\"equipmodel1\" size=\"8\" maxlength=\"10\" value=\"{$mob['equipmodel1']}\" /></td> 1078 1079 <td>".makeinfocell($lang_creature['equip_info']." 1",$lang_creature['equip_info_desc'])."</td> 1080 <td><input type=\"text\" name=\"equipinfo1\" size=\"8\" maxlength=\"10\" value=\"{$mob['equipinfo1']}\" /></td> 1081 </tr> 1082 <tr> 1083 <td>".makeinfocell($lang_creature['equip_slot']." 2",$lang_creature['equip_slot_desc'])."</td> 1084 <td><input type=\"text\" name=\"equipslot2\" size=\"8\" maxlength=\"10\" value=\"{$mob['equipslot2']}\" /></td> 1085 1086 <td>".makeinfocell($lang_creature['equip_model']." 2",$lang_creature['equip_model_desc'])."</td> 1087 <td><input type=\"text\" name=\"equipmodel2\" size=\"8\" maxlength=\"10\" value=\"{$mob['equipmodel2']}\" /></td> 1088 1089 <td>".makeinfocell($lang_creature['equip_info']." 2",$lang_creature['equip_info_desc'])."</td> 1090 <td><input type=\"text\" name=\"equipinfo2\" size=\"8\" maxlength=\"10\" value=\"{$mob['equipinfo2']}\" /></td> 1091 </tr> 1092 <tr> 1093 <td>".makeinfocell($lang_creature['equip_slot']." 3",$lang_creature['equip_slot_desc'])."</td> 1094 <td><input type=\"text\" name=\"equipslot3\" size=\"8\" maxlength=\"10\" value=\"{$mob['equipslot3']}\" /></td> 1095 1096 <td>".makeinfocell($lang_creature['equip_model']." 3",$lang_creature['equip_model_desc'])."</td> 1097 <td><input type=\"text\" name=\"equipmodel3\" size=\"8\" maxlength=\"10\" value=\"{$mob['equipmodel3']}\" /></td> 1098 1099 <td>".makeinfocell($lang_creature['equip_info']." 3",$lang_creature['equip_info_desc'])."</td> 1100 <td><input type=\"text\" name=\"equipinfo3\" size=\"8\" maxlength=\"10\" value=\"{$mob['equipinfo3']}\" /></td> 1101 </tr> 1102 1074 1075 <td colspan=\"2\">".makeinfocell($lang_creature['modelid_H2'],$lang_creature['modelid_H2_desc'])."</td> 1076 <td><input type=\"text\" name=\"modelid_H2\" size=\"8\" maxlength=\"11\" value=\"{$mob['modelid_H2']}\" /></td> 1077 </tr> 1078 </table><br /><br /> 1079 "; 1080 1081 1082 $result1 = $sql->query("SELECT * FROM creature_equip_template WHERE entry = '{$mob['equipment_id']}'"); 1083 if ($mobequip = $sql->fetch_assoc($result1)){ 1084 1085 $output .= "<br /><br /><table class=\"lined\" style=\"width: 720px;\"> 1086 <tr class=\"large_bold\"><td colspan=\"6\" class=\"hidden\" align=\"left\">{$lang_creature['equipment']}:</td></tr> 1087 <tr> 1088 <td>".makeinfocell($lang_creature['equip_slot']." 1",$lang_creature['equip_slot1_desc'])."</td> 1089 <td><input type=\"text\" name=\"equipslot1\" size=\"8\" maxlength=\"10\" value=\"{$mobequip['equipslot1']}\" /></td> 1090 1091 <td>".makeinfocell($lang_creature['equip_model']." 1",$lang_creature['equip_model1_desc'])."</td> 1092 <td><input type=\"text\" name=\"equipmodel1\" size=\"8\" maxlength=\"10\" value=\"{$mobequip['equipmodel1']}\" /></td> 1093 1094 <td>".makeinfocell($lang_creature['equip_info']." 1",$lang_creature['equip_info1_desc'])."</td> 1095 <td><input type=\"text\" name=\"equipinfo1\" size=\"8\" maxlength=\"10\" value=\"{$mobequip['equipinfo1']}\" /></td> 1096 </tr> 1097 <tr> 1098 <td>".makeinfocell($lang_creature['equip_slot']." 2",$lang_creature['equip_slot2_desc'])."</td> 1099 <td><input type=\"text\" name=\"equipslot2\" size=\"8\" maxlength=\"10\" value=\"{$mobequip['equipslot2']}\" /></td> 1100 1101 <td>".makeinfocell($lang_creature['equip_model']." 2",$lang_creature['equip_model2_desc'])."</td> 1102 <td><input type=\"text\" name=\"equipmodel2\" size=\"8\" maxlength=\"10\" value=\"{$mobequip['equipmodel2']}\" /></td> 1103 1104 <td>".makeinfocell($lang_creature['equip_info']." 2",$lang_creature['equip_info2_desc'])."</td> 1105 <td><input type=\"text\" name=\"equipinfo2\" size=\"8\" maxlength=\"10\" value=\"{$mobequip['equipinfo2']}\" /></td> 1106 </tr> 1107 <tr> 1108 <td>".makeinfocell($lang_creature['equip_slot']." 3",$lang_creature['equip_slot3_desc'])."</td> 1109 <td><input type=\"text\" name=\"equipslot3\" size=\"8\" maxlength=\"10\" value=\"{$mobequip['equipslot3']}\" /></td> 1110 1111 <td>".makeinfocell($lang_creature['equip_model']." 3",$lang_creature['equip_model3_desc'])."</td> 1112 <td><input type=\"text\" name=\"equipmodel3\" size=\"8\" maxlength=\"10\" value=\"{$mobequip['equipmodel3']}\" /></td> 1113 1114 <td>".makeinfocell($lang_creature['equip_info']." 3",$lang_creature['equip_info3_desc'])."</td> 1115 <td><input type=\"text\" name=\"equipinfo3\" size=\"8\" maxlength=\"10\" value=\"{$mobequip['equipinfo3']}\" /></td> 1116 </tr> 1103 1117 </table><br /><br /> 1104 1118 </div>"; 1105 1119 } 1120 else 1121 { 1122 $output .= "<br /><br /><table class=\"lined\" style=\"width: 720px;\"> 1123 <tr class=\"large_bold\"><td colspan=\"6\" class=\"hidden\" align=\"left\">{$lang_creature['equipment']}:</td></tr> 1124 </table><br /><br /> 1125 </div>"; 1126 } 1127 1106 1128 $output .= "<div id=\"pane2\"> 1107 1129 <br /><br /><table class=\"lined\" style=\"width: 720px;\"> … … 1110 1132 <td>".makeinfocell($lang_creature['ai_name'],$lang_creature['ai_name_desc'])."</td> 1111 1133 <td colspan=\"2\"><input type=\"text\" name=\"AIName\" size=\"14\" maxlength=\"128\" value=\"{$mob['AIName']}\" /></td> 1112 1134 1113 1135 <td>".makeinfocell($lang_creature['movement_type'],$lang_creature['movement_type_desc'])."</td> 1114 1136 <td colspan=\"2\"><input type=\"text\" name=\"MovementType\" size=\"14\" maxlength=\"24\" value=\"{$mob['MovementType']}\" /></td> … … 1119 1141 $class = array(0 => "", 1 => "", 2 => "", 3 => "", 4 => "",5 => "",7 => "",8 => "",9 => "",11 => ""); 1120 1142 $class[$mob['class']] = " selected=\"selected\" "; 1121 1143 1122 1144 $output .= "<td>".makeinfocell($lang_creature['class'],$lang_creature['class_desc'])."</td> 1123 1145 <td><select name=\"class\"> … … 1132 1154 <option value=\"9\" {$class[9]}>9 - {$lang_id_tab['warlock']}</option> 1133 1155 <option value=\"11\" {$class[11]}>11 - {$lang_id_tab['druid']}</option> 1134 </select></td>"; 1156 </select></td>"; 1135 1157 unset($class); 1136 1158 1137 1159 $race = array(0 => "", 1 => "", 2 => "", 3 => "", 4 => "",5 => "",6 => "", 7 => "",8 => "",10 => "",11 => ""); 1138 1160 $race[$mob['race']] = " selected=\"selected\" "; 1139 1161 1140 1162 $output .= "<td>".makeinfocell($lang_creature['race'],$lang_creature['race_desc'])."</td> 1141 1163 <td><select name=\"race\"> … … 1155 1177 if ($mob['RacialLeader']) $RacialLeader = "checked"; 1156 1178 else $RacialLeader = ""; 1157 1179 1158 1180 $output .= "<td>".makeinfocell($lang_creature['RacialLeader'],$lang_creature['RacialLeader_desc'])."</td> 1159 1181 <td><input type=\"checkbox\" name=\"RacialLeader\" value=\"1\" $RacialLeader /></td> … … 1166 1188 $InhabitType = array(0 => "", 1 => "", 2 => "", 3 => ""); 1167 1189 $InhabitType[$mob['InhabitType']] = " selected=\"selected\" "; 1168 1190 1169 1191 $output .= "<td>".makeinfocell($lang_creature['inhabit_type'],$lang_creature['inhabit_type_desc'])."</td> 1170 1192 <td><select name=\"InhabitType\"> … … 1175 1197 </select></td>"; 1176 1198 unset($InhabitType); 1177 1199 1178 1200 if ($mob['civilian']) $civilian = "checked"; 1179 1201 else $civilian = ""; 1180 1202 1181 1203 $output .= "<td>".makeinfocell($lang_creature['civilian'],$lang_creature['civilian_desc'])."</td> 1182 1204 <td><input type=\"checkbox\" name=\"civilian\" value=\"1\" $civilian /></td> 1183 </tr> 1205 </tr> 1184 1206 <tr> 1185 1207 <td>".makeinfocell($lang_creature['flags'],$lang_creature['flags_desc'])."</td> 1186 1208 <td><input type=\"text\" name=\"flags\" size=\"8\" maxlength=\"11\" value=\"{$mob['flags']}\" /></td> 1187 1209 1188 1210 <td>".makeinfocell($lang_creature['dynamic_flags'],$lang_creature['dynamic_flags_desc'])."</td> 1189 1211 <td><input type=\"text\" name=\"dynamicflags\" size=\"8\" maxlength=\"11\" value=\"{$mob['dynamicflags']}\" /></td> 1190 1212 1191 1213 <td>".makeinfocell($lang_creature['flag_1'],$lang_creature['flag_1_desc'])."</td> 1192 1214 <td><input type=\"text\" name=\"flag1\" size=\"8\" maxlength=\"11\" value=\"{$mob['flag1']}\" /></td> … … 1215 1237 $output .= maketooltip("<img src=\"".get_icon($item[0])."\" class=\"icon_border\" alt=\"\" />", "$item_datasite$item[0]", $tooltip, "item_tooltip"); 1216 1238 $output .= "<br /><input type=\"checkbox\" name=\"del_loot_items[]\" value=\"$item[0]\" /></td>"; 1217 1239 1218 1240 if ($cel_counter >= 16) { 1219 1241 $cel_counter = 0; … … 1264 1286 $query1 = $sql->query("SELECT QuestLevel,Title FROM quest_template WHERE entry ='$quest[0]'"); 1265 1287 $quest_templ = $sql->fetch_row($query1); 1266 1288 1267 1289 $output .= "<tr><td width=\"5%\"><input type=\"checkbox\" name=\"del_questrelation[]\" value=\"$quest[0]\" /></td> 1268 1290 <td width=\"95%\" align=\"left\"><a class=\"tooltip\" href=\"$quest_datasite$quest[0]\" target=\"_blank\">({$quest_templ[0]}) $quest_templ[1]</a></td></tr>"; … … 1279 1301 $query1 = $sql->query("SELECT QuestLevel,Title FROM quest_template WHERE entry ='$quest[0]'"); 1280 1302 $quest_templ = $sql->fetch_row($query1); 1281 1303 1282 1304 $output .= "<tr><td width=\"5%\"><input type=\"checkbox\" name=\"del_involvedrelation[]\" value=\"$quest[0]\" /></td> 1283 1305 <td width=\"95%\" align=\"left\"><a class=\"tooltip\" href=\"$quest_datasite$quest[0]\" target=\"_blank\">({$quest_templ[0]}) $quest_templ[1]</a></td></tr>"; … … 1285 1307 1286 1308 $output .= "<tr class=\"large_bold\" align=\"left\"><td colspan=\"2\" class=\"hidden\">{$lang_creature['add_ends_quests']}:</td></tr> 1287 <tr><td colspan=\"2\" align=\"left\">".makeinfocell($lang_creature['quest_id'],$lang_creature['quest_id_desc'])." : 1309 <tr><td colspan=\"2\" align=\"left\">".makeinfocell($lang_creature['quest_id'],$lang_creature['quest_id_desc'])." : 1288 1310 <input type=\"text\" name=\"involvedrelation\" size=\"8\" maxlength=\"8\" value=\"\" /></td></tr> 1289 1311 … … 1310 1332 $output .= maketooltip("<img src=\"".get_icon($item[0])."\" class=\"icon_border\" alt=\"\" />", "$item_datasite$item[0]", $tooltip, "item_tooltip"); 1311 1333 $output .= "<br /><input type=\"checkbox\" name=\"del_vendor_item[]\" value=\"$item[0]\" /></td>"; 1312 1334 1313 1335 if ($cel_counter >= 16) { 1314 1336 $cel_counter = 0; … … 1339 1361 <tr class=\"large_bold\"><td colspan=\"6\" class=\"hidden\" align=\"left\">{$lang_creature['trains']}:</td></tr> 1340 1362 <tr><td colspan=\"6\">"; 1341 1363 1342 1364 $cel_counter = 0; 1343 1365 $row_flag = 0; … … 1350 1372 $output .= maketooltip($spell[0], "$spell_datasite$spell[0]", $tooltip, "info_tooltip"); 1351 1373 $output .= "<br /><input type=\"checkbox\" name=\"del_trainer_spell[]\" value=\"$spell[0]\" /></td>"; 1352 1374 1353 1375 if ($cel_counter >= 16) { 1354 1376 $cel_counter = 0; … … 1397 1419 $output .= maketooltip("<img src=\"".get_icon($item[0])."\" class=\"icon_border\" alt=\"\" />", "$item_datasite$item[0]", $tooltip, "item_tooltip"); 1398 1420 $output .= "<br /><input type=\"checkbox\" name=\"del_skin_items[]\" value=\"$item[0]\" /></td>"; 1399 1421 1400 1422 if ($cel_counter >= 16) { 1401 1423 $cel_counter = 0; … … 1516 1538 error($lang_creature['item_not_found']); 1517 1539 exit(); 1518 } 1540 } 1519 1541 } 1520 1542 … … 1523 1545 //DO UPDATE CREATURE TEMPLATE 1524 1546 //######################################################################################################################## 1525 //Now We are going to clone the faction variable to the H faction for newer revision support. (MeleFire) 1526 $faction_A = faction_H; 1527 //Now we are done. Yay! 1547 1528 1548 function do_update() { 1529 1549 global $mangos_db, $realm_id; … … 1531 1551 if (!isset($_POST['opp_type']) || $_POST['opp_type'] === '') redirect("creature.php?error=1"); 1532 1552 if (!isset($_POST['entry']) || $_POST['entry'] === '') redirect("creature.php?error=1"); 1533 1553 1534 1554 $sql = new SQL; 1535 1555 $sql->connect($mangos_db[$realm_id]['addr'], $mangos_db[$realm_id]['user'], $mangos_db[$realm_id]['pass'], $mangos_db[$realm_id]['name']); … … 1629 1649 else $equipslot3 = 0; 1630 1650 if (isset($_POST['lootid']) && $_POST['lootid'] != '') $lootid = $sql->quote_smart($_POST['lootid']); 1631 else $lootid = 0; 1651 else $lootid = 0; 1632 1652 if (isset($_POST['pickpocketloot']) && $_POST['pickpocketloot'] != '') $pickpocketloot = $sql->quote_smart($_POST['pickpocketloot']); 1633 1653 else $pickpocketloot = 0; … … 1690 1710 if (isset($_POST['del_loot_items']) && $_POST['del_loot_items'] != '') $del_loot_items = $sql->quote_smart($_POST['del_loot_items']); 1691 1711 else $del_loot_items = NULL; 1692 1712 1693 1713 if (isset($_POST['involvedrelation']) && $_POST['involvedrelation'] != '') $involvedrelation = $sql->quote_smart($_POST['involvedrelation']); 1694 1714 else $involvedrelation = 0; … … 1785 1805 if ($npcflag[$t] & 16384) $tmp = $tmp + 16384; 1786 1806 } 1787 $npcflag = ($tmp) ? $tmp : 0; 1807 $npcflag = ($tmp) ? $tmp : 0; 1788 1808 1789 1809 if ($_POST['opp_type'] == "add_new"){ … … 1806 1826 1807 1827 $sql_query = "UPDATE creature_template SET "; 1808 1828 1809 1829 $result = $sql->query("SELECT * FROM creature_template WHERE entry = '$entry'"); 1810 1830 if ($mob_templ = $sql->fetch_assoc($result)){ … … 1877 1897 $sql->free_result($result); 1878 1898 unset($mob_templ); 1879 1899 1880 1900 if (($sql_query == "UPDATE creature_template SET ")&&(!$item)&&(!$del_loot_items) 1881 1901 &&(!$del_questrelation)&&(!$questrelation)&&(!$del_involvedrelation)&&(!$involvedrelation) … … 1890 1910 } else $sql_query = ""; 1891 1911 } 1892 1912 1893 1913 if ($trainer_spell){ 1894 1914 $sql_query .= "INSERT INTO npc_trainer (entry, spell, spellcost, reqskill, reqskillvalue, reqlevel) 1895 1915 VALUES ($entry,$trainer_spell,$spellcost,$reqskill ,$reqskillvalue ,$reqlevel);\n"; 1896 1916 } 1897 1917 1898 1918 if ($del_trainer_spell){ 1899 1919 foreach($del_trainer_spell as $spell_id) … … 1905 1925 VALUES ($lootid,$item,'$ChanceOrRef', '$QuestChanceOrGroup' ,$mincount ,$maxcount ,$freeforall ,$lootcondition ,$condition_value1 ,$condition_value2);\n"; 1906 1926 } 1907 1927 1908 1928 if ($del_loot_items){ 1909 1929 foreach($del_loot_items as $item_id) … … 1915 1935 VALUES ($skinloot,$skin_item,'$skin_ChanceOrRef', '$skin_QuestChanceOrGroup' ,$skin_mincount ,$skin_maxcount ,$skin_freeforall,$skin_lootcondition ,$skin_condition_value1 ,$skin_condition_value2);\n"; 1916 1936 } 1917 1937 1918 1938 if ($del_skin_items){ 1919 1939 foreach($del_skin_items as $item_id) 1920 1940 $sql_query .= "DELETE FROM skinning_loot_template WHERE entry = $skinloot AND item = $item_id;\n"; 1921 1941 } 1922 1942 1923 1943 if ($pp_item){ 1924 1944 $sql_query .= "INSERT INTO pickpocketing_loot_template (entry, item, ChanceOrRef, QuestChanceOrGroup, mincount, maxcount, freeforall, lootcondition, condition_value1, condition_value2) … … 1934 1954 $sql_query .= "INSERT INTO creature_questrelation (id, quest) VALUES ($entry,$questrelation);\n"; 1935 1955 } 1936 1956 1937 1957 if ($involvedrelation){ 1938 1958 $sql_query .= "INSERT INTO creature_involvedrelation (id, quest) VALUES ($entry,$involvedrelation);\n"; … … 1948 1968 $sql_query .= "DELETE FROM creature_involvedrelation WHERE id = $entry AND quest = $quest_id;\n"; 1949 1969 } 1950 1970 1951 1971 if ($del_vendor_item){ 1952 1972 foreach($del_vendor_item as $item_id) 1953 1973 $sql_query .= "DELETE FROM npc_vendor WHERE entry = $entry AND item = $item_id;\n"; 1954 1974 } 1955 1975 1956 1976 if ($vendor_item){ 1957 1977 $sql_query .= "INSERT INTO npc_vendor (entry, item, maxcount, incrtime) … … 1983 2003 if ($result) redirect("creature.php?action=edit&entry=$entry&error=4"); 1984 2004 else redirect("creature.php"); 1985 2005 1986 2006 } 1987 2007 … … 2033 2053 $sql->query("DELETE FROM npc_trainer WHERE entry = '$entry'"); 2034 2054 $sql->query("DELETE FROM npc_gossip WHERE npc_guid = '$entry'"); 2035 2055 2036 2056 $sql->close(); 2037 2057 redirect("creature.php"); 2038 2058 } 2039 2059 2040 2060 2041 2061 //######################################################################################################################## 2042 2062 // DELETE ALL CREATURE SPAWNS … … 2060 2080 redirect("creature.php?action=edit&entry=$entry&error=4"); 2061 2081 } 2062 2082 2063 2083 2064 2084 //######################################################################################################################## -
minimanager/forum.html
r142 r178 2 2 <head> 3 3 <title>A web page that points a browser to a different page after 2 seconds</title> 4 <meta http-equiv="refresh" content="2; URL=http:// www.rebirthofdeceived.com">4 <meta http-equiv="refresh" content="2; URL=http://127.0.0.1"> 5 5 <meta name="keywords" content="automatic redirection"> 6 6 </head> 7 7 <body> 8 If your browser doesn't automatically go there within a few seconds, 9 you may want to go to 10 <a href="http:// www.rebirthofdeceived.com">the destination</a>8 If your browser doesn't automatically go there within a few seconds, 9 you may want to go to 10 <a href="http://127.0.0.1">the destination</a> 11 11 manually. 12 12 </body> -
minimanager/game_object.php
r142 r178 211 211 <ul class=\"jtabs\"> 212 212 <li><a href=\"#\" onclick=\"return showPane('pane1', this)\" id=\"tab1\">{$lang_game_object['general']}</a></li> 213 <li><a href=\"#\" onclick=\"return showPane('pane2', this)\">{$lang_game_object[' sounds']}</a></li>213 <li><a href=\"#\" onclick=\"return showPane('pane2', this)\">{$lang_game_object['datas']}</a></li> 214 214 </ul> 215 215 <div class=\"jtab-panes\">"; … … 248 248 </tr> 249 249 250 <tr class=\"large_bold\"><td colspan=\"6\" class=\"hidden\" align=\"left\">{$lang_game_object[' sound']}:</td></tr>251 <tr> 252 <td>".makeinfocell($lang_game_object[' sound']." 0",$lang_game_object['sound_desc'])."</td>253 <td><input type=\"text\" name=\" sound0\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>254 255 <td>".makeinfocell($lang_game_object[' sound']." 1",$lang_game_object['sound_desc'])."</td>256 <td><input type=\"text\" name=\" sound1\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>257 258 <td>".makeinfocell($lang_game_object[' sound']." 2",$lang_game_object['sound_desc'])."</td>259 <td><input type=\"text\" name=\" sound2\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>250 <tr class=\"large_bold\"><td colspan=\"6\" class=\"hidden\" align=\"left\">{$lang_game_object['data']}:</td></tr> 251 <tr> 252 <td>".makeinfocell($lang_game_object['data']." 0",$lang_game_object['data_desc'])."</td> 253 <td><input type=\"text\" name=\"data0\" size=\"10\" maxlength=\"11\" value=\"0\" /></td> 254 255 <td>".makeinfocell($lang_game_object['data']." 1",$lang_game_object['data_desc'])."</td> 256 <td><input type=\"text\" name=\"data1\" size=\"10\" maxlength=\"11\" value=\"0\" /></td> 257 258 <td>".makeinfocell($lang_game_object['data']." 2",$lang_game_object['data_desc'])."</td> 259 <td><input type=\"text\" name=\"data2\" size=\"10\" maxlength=\"11\" value=\"0\" /></td> 260 260 </tr> 261 261 <tr> 262 <td>".makeinfocell($lang_game_object[' sound']." 3",$lang_game_object['sound_desc'])."</td>263 <td><input type=\"text\" name=\" sound3\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>264 265 <td>".makeinfocell($lang_game_object[' sound']." 4",$lang_game_object['sound_desc'])."</td>266 <td><input type=\"text\" name=\" sound4\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>267 268 <td>".makeinfocell($lang_game_object[' sound']." 5",$lang_game_object['sound_desc'])."</td>269 <td><input type=\"text\" name=\" sound5\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>262 <td>".makeinfocell($lang_game_object['data']." 3",$lang_game_object['data_desc'])."</td> 263 <td><input type=\"text\" name=\"data3\" size=\"10\" maxlength=\"11\" value=\"0\" /></td> 264 265 <td>".makeinfocell($lang_game_object['data']." 4",$lang_game_object['data_desc'])."</td> 266 <td><input type=\"text\" name=\"data4\" size=\"10\" maxlength=\"11\" value=\"0\" /></td> 267 268 <td>".makeinfocell($lang_game_object['data']." 5",$lang_game_object['data_desc'])."</td> 269 <td><input type=\"text\" name=\"data5\" size=\"10\" maxlength=\"11\" value=\"0\" /></td> 270 270 </tr> 271 271 </table> … … 276 276 <br /><br /><table class=\"lined\" style=\"width: 720px;\"> 277 277 278 <tr class=\"large_bold\"><td colspan=\"6\" class=\"hidden\" align=\"left\">{$lang_game_object[' sound']}:</td></tr>279 <tr> 280 <td>".makeinfocell($lang_game_object[' sound']." 6",$lang_game_object['sound_desc'])."</td>281 <td><input type=\"text\" name=\" sound6\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>282 283 <td>".makeinfocell($lang_game_object[' sound']." 7",$lang_game_object['sound_desc'])."</td>284 <td><input type=\"text\" name=\" sound7\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>285 286 <td>".makeinfocell($lang_game_object[' sound']." 8",$lang_game_object['sound_desc'])."</td>287 <td><input type=\"text\" name=\" sound8\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>278 <tr class=\"large_bold\"><td colspan=\"6\" class=\"hidden\" align=\"left\">{$lang_game_object['data']}:</td></tr> 279 <tr> 280 <td>".makeinfocell($lang_game_object['data']." 6",$lang_game_object['data_desc'])."</td> 281 <td><input type=\"text\" name=\"data6\" size=\"10\" maxlength=\"11\" value=\"0\" /></td> 282 283 <td>".makeinfocell($lang_game_object['data']." 7",$lang_game_object['data_desc'])."</td> 284 <td><input type=\"text\" name=\"data7\" size=\"10\" maxlength=\"11\" value=\"0\" /></td> 285 286 <td>".makeinfocell($lang_game_object['data']." 8",$lang_game_object['data_desc'])."</td> 287 <td><input type=\"text\" name=\"data8\" size=\"10\" maxlength=\"11\" value=\"0\" /></td> 288 288 </tr> 289 289 <tr> 290 <td>".makeinfocell($lang_game_object[' sound']." 9",$lang_game_object['sound_desc'])."</td>291 <td><input type=\"text\" name=\" sound9\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>292 293 <td>".makeinfocell($lang_game_object[' sound']." 10",$lang_game_object['sound_desc'])."</td>294 <td><input type=\"text\" name=\" sound10\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>295 296 <td>".makeinfocell($lang_game_object[' sound']." 11",$lang_game_object['sound_desc'])."</td>297 <td><input type=\"text\" name=\" sound11\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>290 <td>".makeinfocell($lang_game_object['data']." 9",$lang_game_object['data_desc'])."</td> 291 <td><input type=\"text\" name=\"data9\" size=\"10\" maxlength=\"11\" value=\"0\" /></td> 292 293 <td>".makeinfocell($lang_game_object['data']." 10",$lang_game_object['data_desc'])."</td> 294 <td><input type=\"text\" name=\"data10\" size=\"10\" maxlength=\"11\" value=\"0\" /></td> 295 296 <td>".makeinfocell($lang_game_object['data']." 11",$lang_game_object['data_desc'])."</td> 297 <td><input type=\"text\" name=\"data11\" size=\"10\" maxlength=\"11\" value=\"0\" /></td> 298 298 </tr> 299 299 <tr> 300 <td>".makeinfocell($lang_game_object[' sound']." 12",$lang_game_object['sound_desc'])."</td>301 <td><input type=\"text\" name=\" sound12\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>302 303 <td>".makeinfocell($lang_game_object[' sound']." 13",$lang_game_object['sound_desc'])."</td>304 <td><input type=\"text\" name=\" sound13\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>305 306 <td>".makeinfocell($lang_game_object[' sound']." 14",$lang_game_object['sound_desc'])."</td>307 <td><input type=\"text\" name=\" sound14\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>308 </tr> 309 <tr> 310 <td>".makeinfocell($lang_game_object[' sound']." 15",$lang_game_object['sound_desc'])."</td>311 <td><input type=\"text\" name=\" sound15\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>312 313 <td>".makeinfocell($lang_game_object[' sound']." 16",$lang_game_object['sound_desc'])."</td>314 <td><input type=\"text\" name=\" sound16\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>315 316 <td>".makeinfocell($lang_game_object[' sound']." 17",$lang_game_object['sound_desc'])."</td>317 <td><input type=\"text\" name=\" sound17\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>318 </tr> 319 <tr> 320 <td>".makeinfocell($lang_game_object[' sound']." 18",$lang_game_object['sound_desc'])."</td>321 <td><input type=\"text\" name=\" sound18\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>322 323 <td>".makeinfocell($lang_game_object[' sound']." 19",$lang_game_object['sound_desc'])."</td>324 <td><input type=\"text\" name=\" sound19\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>325 326 <td>".makeinfocell($lang_game_object[' sound']." 20",$lang_game_object['sound_desc'])."</td>327 <td><input type=\"text\" name=\" sound20\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>328 </tr> 329 <tr> 330 <td>".makeinfocell($lang_game_object[' sound']." 21",$lang_game_object['sound_desc'])."</td>331 <td><input type=\"text\" name=\" sound21\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>332 333 <td>".makeinfocell($lang_game_object[' sound']." 22",$lang_game_object['sound_desc'])."</td>334 <td><input type=\"text\" name=\" sound22\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>335 336 <td>".makeinfocell($lang_game_object[' sound']." 23",$lang_game_object['sound_desc'])."</td>337 <td><input type=\"text\" name=\" sound23\" size=\"10\" maxlength=\"11\" value=\"0\" /></td>300 <td>".makeinfocell($lang_game_object['data']." 12",$lang_game_object['data_desc'])."</td> 301 <td><input type=\"text\" name=\"data12\" size=\"10\" maxlength=\"11\" value=\"0\" /></td> 302 303 <td>".makeinfocell($lang_game_object['data']." 13",$lang_game_object['data_desc'])."</td> 304 <td><input type=\"text\" name=\"data13\" size=\"10\" maxlength=\"11\" value=\"0\" /></td> 305 306 <td>".makeinfocell($lang_game_object['data']." 14",$lang_game_object['data_desc'])."</td> 307 <td><input type=\"text\" name=\"data14\" size=\"10\" maxlength=\"11\" value=\"0\" /></td> 308 </tr> 309 <tr> 310 <td>".makeinfocell($lang_game_object['data']." 15",$lang_game_object['data_desc'])."</td> 311 <td><input type=\"text\" name=\"data15\" size=\"10\" maxlength=\"11\" value=\"0\" /></td> 312 313 <td>".makeinfocell($lang_game_object['data']." 16",$lang_game_object['data_desc'])."</td> 314 <td><input type=\"text\" name=\"data16\" size=\"10\" maxlength=\"11\" value=\"0\" /></td> 315 316 <td>".makeinfocell($lang_game_object['data']." 17",$lang_game_object['data_desc'])."</td> 317 <td><input type=\"text\" name=\"data17\" size=\"10\" maxlength=\"11\" value=\"0\" /></td> 318 </tr> 319 <tr> 320 <td>".makeinfocell($lang_game_object['data']." 18",$lang_game_object['data_desc'])."</td> 321 <td><input type=\"text\" name=\"data18\" size=\"10\" maxlength=\"11\" value=\"0\" /></td> 322 323 <td>".makeinfocell($lang_game_object['data']." 19",$lang_game_object['data_desc'])."</td> 324 <td><input type=\"text\" name=\"data19\" size=\"10\" maxlength=\"11\" value=\"0\" /></td> 325 326 <td>".makeinfocell($lang_game_object['data']." 20",$lang_game_object['data_desc'])."</td> 327 <td><input type=\"text\" name=\"data20\" size=\"10\" maxlength=\"11\" value=\"0\" /></td> 328 </tr> 329 <tr> 330 <td>".makeinfocell($lang_game_object['data']." 21",$lang_game_object['data_desc'])."</td> 331 <td><input type=\"text\" name=\"data21\" size=\"10\" maxlength=\"11\" value=\"0\" /></td> 332 333 <td>".makeinfocell($lang_game_object['data']." 22",$lang_game_object['data_desc'])."</td> 334 <td><input type=\"text\" name=\"data22\" size=\"10\" maxlength=\"11\" value=\"0\" /></td> 335 336 <td>".makeinfocell($lang_game_object['data']." 23",$lang_game_object['data_desc'])."</td> 337 <td><input type=\"text\" name=\"data23\" size=\"10\" maxlength=\"11\" value=\"0\" /></td> 338 338 </tr> 339 339 </table><br /><br /> … … 383 383 <ul class=\"jtabs\"> 384 384 <li><a href=\"#\" onclick=\"return showPane('pane1', this)\" id=\"tab1\">{$lang_game_object['general']}</a></li> 385 <li><a href=\"#\" onclick=\"return showPane('pane2', this)\">{$lang_game_object[' sounds']}</a></li>";385 <li><a href=\"#\" onclick=\"return showPane('pane2', this)\">{$lang_game_object['datas']}</a></li>"; 386 386 if ($go['type'] == 3) $output .= "<li><a href=\"#\" onclick=\"return showPane('pane3', this)\">{$lang_game_object['loot']}</a></li>"; 387 387 $output .= "<li><a href=\"#\" onclick=\"return showPane('pane4', this)\">{$lang_game_object['quests']}</a></li> … … 426 426 </tr> 427 427 428 <tr class=\"large_bold\"><td colspan=\"6\" class=\"hidden\" align=\"left\">{$lang_game_object[' sound']}:</td></tr>429 <tr> 430 <td>".makeinfocell($lang_game_object[' sound']." 0",$lang_game_object['sound_desc'])."</td>431 <td><input type=\"text\" name=\" sound0\" size=\"10\" maxlength=\"11\" value=\"{$go['sound0']}\" /></td>432 433 <td>".makeinfocell($lang_game_object[' sound']." 1",$lang_game_object['sound_desc'])."</td>434 <td><input type=\"text\" name=\" sound1\" size=\"10\" maxlength=\"11\" value=\"{$go['sound1']}\" /></td>435 436 <td>".makeinfocell($lang_game_object[' sound']." 2",$lang_game_object['sound_desc'])."</td>437 <td><input type=\"text\" name=\" sound2\" size=\"10\" maxlength=\"11\" value=\"{$go['sound2']}\" /></td>428 <tr class=\"large_bold\"><td colspan=\"6\" class=\"hidden\" align=\"left\">{$lang_game_object['data']}:</td></tr> 429 <tr> 430 <td>".makeinfocell($lang_game_object['data']." 0",$lang_game_object['data_desc'])."</td> 431 <td><input type=\"text\" name=\"data0\" size=\"10\" maxlength=\"11\" value=\"{$go['data0']}\" /></td> 432 433 <td>".makeinfocell($lang_game_object['data']." 1",$lang_game_object['data_desc'])."</td> 434 <td><input type=\"text\" name=\"data1\" size=\"10\" maxlength=\"11\" value=\"{$go['data1']}\" /></td> 435 436 <td>".makeinfocell($lang_game_object['data']." 2",$lang_game_object['data_desc'])."</td> 437 <td><input type=\"text\" name=\"data2\" size=\"10\" maxlength=\"11\" value=\"{$go['data2']}\" /></td> 438 438 </tr> 439 439 <tr> 440 <td>".makeinfocell($lang_game_object[' sound']." 3",$lang_game_object['sound_desc'])."</td>441 <td><input type=\"text\" name=\" sound3\" size=\"10\" maxlength=\"11\" value=\"{$go['sound3']}\" /></td>442 443 <td>".makeinfocell($lang_game_object[' sound']." 4",$lang_game_object['sound_desc'])."</td>444 <td><input type=\"text\" name=\" sound4\" size=\"10\" maxlength=\"11\" value=\"{$go['sound4']}\" /></td>445 446 <td>".makeinfocell($lang_game_object[' sound']." 5",$lang_game_object['sound_desc'])."</td>447 <td><input type=\"text\" name=\" sound5\" size=\"10\" maxlength=\"11\" value=\"{$go['sound5']}\" /></td>440 <td>".makeinfocell($lang_game_object['data']." 3",$lang_game_object['data_desc'])."</td> 441 <td><input type=\"text\" name=\"data3\" size=\"10\" maxlength=\"11\" value=\"{$go['data3']}\" /></td> 442 443 <td>".makeinfocell($lang_game_object['data']." 4",$lang_game_object['data_desc'])."</td> 444 <td><input type=\"text\" name=\"data4\" size=\"10\" maxlength=\"11\" value=\"{$go['data4']}\" /></td> 445 446 <td>".makeinfocell($lang_game_object['data']." 5",$lang_game_object['data_desc'])."</td> 447 <td><input type=\"text\" name=\"data5\" size=\"10\" maxlength=\"11\" value=\"{$go['data5']}\" /></td> 448 448 </tr> 449 449 </table><br />"; … … 458 458 <br /><br /><table class=\"lined\" style=\"width: 720px;\"> 459 459 460 <tr class=\"large_bold\"><td colspan=\"6\" class=\"hidden\" align=\"left\">{$lang_game_object[' sound']}:</td></tr>461 <tr> 462 <td>".makeinfocell($lang_game_object[' sound']." 6",$lang_game_object['sound_desc'])."</td>463 <td><input type=\"text\" name=\" sound6\" size=\"10\" maxlength=\"11\" value=\"{$go['sound6']}\" /></td>464 465 <td>".makeinfocell($lang_game_object[' sound']." 7",$lang_game_object['sound_desc'])."</td>466 <td><input type=\"text\" name=\" sound7\" size=\"10\" maxlength=\"11\" value=\"{$go['sound7']}\" /></td>467 468 <td>".makeinfocell($lang_game_object[' sound']." 8",$lang_game_object['sound_desc'])."</td>469 <td><input type=\"text\" name=\" sound8\" size=\"10\" maxlength=\"11\" value=\"{$go['sound8']}\" /></td>460 <tr class=\"large_bold\"><td colspan=\"6\" class=\"hidden\" align=\"left\">{$lang_game_object['data']}:</td></tr> 461 <tr> 462 <td>".makeinfocell($lang_game_object['data']." 6",$lang_game_object['data_desc'])."</td> 463 <td><input type=\"text\" name=\"data6\" size=\"10\" maxlength=\"11\" value=\"{$go['data6']}\" /></td> 464 465 <td>".makeinfocell($lang_game_object['data']." 7",$lang_game_object['data_desc'])."</td> 466 <td><input type=\"text\" name=\"data7\" size=\"10\" maxlength=\"11\" value=\"{$go['data7']}\" /></td> 467 468 <td>".makeinfocell($lang_game_object['data']." 8",$lang_game_object['data_desc'])."</td> 469 <td><input type=\"text\" name=\"data8\" size=\"10\" maxlength=\"11\" value=\"{$go['data8']}\" /></td> 470 470 </tr> 471 471 <tr> 472 <td>".makeinfocell($lang_game_object[' sound']." 9",$lang_game_object['sound_desc'])."</td>473 <td><input type=\"text\" name=\" sound9\" size=\"10\" maxlength=\"11\" value=\"{$go['sound9']}\" /></td>474 475 <td>".makeinfocell($lang_game_object[' sound']." 10",$lang_game_object['sound_desc'])."</td>476 <td><input type=\"text\" name=\" sound10\" size=\"10\" maxlength=\"11\" value=\"{$go['sound10']}\" /></td>477 478 <td>".makeinfocell($lang_game_object[' sound']." 11",$lang_game_object['sound_desc'])."</td>479 <td><input type=\"text\" name=\" sound11\" size=\"10\" maxlength=\"11\" value=\"{$go['sound11']}\" /></td>472 <td>".makeinfocell($lang_game_object['data']." 9",$lang_game_object['data_desc'])."</td> 473 <td><input type=\"text\" name=\"data9\" size=\"10\" maxlength=\"11\" value=\"{$go['data9']}\" /></td> 474 475 <td>".makeinfocell($lang_game_object['data']." 10",$lang_game_object['data_desc'])."</td> 476 <td><input type=\"text\" name=\"data10\" size=\"10\" maxlength=\"11\" value=\"{$go['data10']}\" /></td> 477 478 <td>".makeinfocell($lang_game_object['data']." 11",$lang_game_object['data_desc'])."</td> 479 <td><input type=\"text\" name=\"data11\" size=\"10\" maxlength=\"11\" value=\"{$go['data11']}\" /></td> 480 480 </tr> 481 481 <tr> 482 <td>".makeinfocell($lang_game_object[' sound']." 12",$lang_game_object['sound_desc'])."</td>483 <td><input type=\"text\" name=\" sound12\" size=\"10\" maxlength=\"11\" value=\"{$go['sound12']}\" /></td>484 485 <td>".makeinfocell($lang_game_object[' sound']." 13",$lang_game_object['sound_desc'])."</td>486 <td><input type=\"text\" name=\" sound13\" size=\"10\" maxlength=\"11\" value=\"{$go['sound13']}\" /></td>487 488 <td>".makeinfocell($lang_game_object[' sound']." 14",$lang_game_object['sound_desc'])."</td>489 <td><input type=\"text\" name=\" sound14\" size=\"10\" maxlength=\"11\" value=\"{$go['sound14']}\" /></td>490 </tr> 491 <tr> 492 <td>".makeinfocell($lang_game_object[' sound']." 15",$lang_game_object['sound_desc'])."</td>493 <td><input type=\"text\" name=\" sound15\" size=\"10\" maxlength=\"11\" value=\"{$go['sound15']}\" /></td>494 495 <td>".makeinfocell($lang_game_object[' sound']." 16",$lang_game_object['sound_desc'])."</td>496 <td><input type=\"text\" name=\" sound16\" size=\"10\" maxlength=\"11\" value=\"{$go['sound16']}\" /></td>497 498 <td>".makeinfocell($lang_game_object[' sound']." 17",$lang_game_object['sound_desc'])."</td>499 <td><input type=\"text\" name=\" sound17\" size=\"10\" maxlength=\"11\" value=\"{$go['sound17']}\" /></td>500 </tr> 501 <tr> 502 <td>".makeinfocell($lang_game_object[' sound']." 18",$lang_game_object['sound_desc'])."</td>503 <td><input type=\"text\" name=\" sound18\" size=\"10\" maxlength=\"11\" value=\"{$go['sound18']}\" /></td>504 505 <td>".makeinfocell($lang_game_object[' sound']." 19",$lang_game_object['sound_desc'])."</td>506 <td><input type=\"text\" name=\" sound19\" size=\"10\" maxlength=\"11\" value=\"{$go['sound19']}\" /></td>507 508 <td>".makeinfocell($lang_game_object[' sound']." 20",$lang_game_object['sound_desc'])."</td>509 <td><input type=\"text\" name=\" sound20\" size=\"10\" maxlength=\"11\" value=\"{$go['sound20']}\" /></td>510 </tr> 511 <tr> 512 <td>".makeinfocell($lang_game_object[' sound']." 21",$lang_game_object['sound_desc'])."</td>513 <td><input type=\"text\" name=\" sound21\" size=\"10\" maxlength=\"11\" value=\"{$go['sound21']}\" /></td>514 515 <td>".makeinfocell($lang_game_object[' sound']." 22",$lang_game_object['sound_desc'])."</td>516 <td><input type=\"text\" name=\" sound22\" size=\"10\" maxlength=\"11\" value=\"{$go['sound22']}\" /></td>517 518 <td>".makeinfocell($lang_game_object[' sound']." 23",$lang_game_object['sound_desc'])."</td>519 <td><input type=\"text\" name=\" sound23\" size=\"10\" maxlength=\"11\" value=\"{$go['sound23']}\" /></td>482 <td>".makeinfocell($lang_game_object['data']." 12",$lang_game_object['data_desc'])."</td> 483 <td><input type=\"text\" name=\"data12\" size=\"10\" maxlength=\"11\" value=\"{$go['data12']}\" /></td> 484 485 <td>".makeinfocell($lang_game_object['data']." 13",$lang_game_object['data_desc'])."</td> 486 <td><input type=\"text\" name=\"data13\" size=\"10\" maxlength=\"11\" value=\"{$go['data13']}\" /></td> 487 488 <td>".makeinfocell($lang_game_object['data']." 14",$lang_game_object['data_desc'])."</td> 489 <td><input type=\"text\" name=\"data14\" size=\"10\" maxlength=\"11\" value=\"{$go['data14']}\" /></td> 490 </tr> 491 <tr> 492 <td>".makeinfocell($lang_game_object['data']." 15",$lang_game_object['data_desc'])."</td> 493 <td><input type=\"text\" name=\"data15\" size=\"10\" maxlength=\"11\" value=\"{$go['data15']}\" /></td> 494 495 <td>".makeinfocell($lang_game_object['data']." 16",$lang_game_object['data_desc'])."</td> 496 <td><input type=\"text\" name=\"data16\" size=\"10\" maxlength=\"11\" value=\"{$go['data16']}\" /></td> 497 498 <td>".makeinfocell($lang_game_object['data']." 17",$lang_game_object['data_desc'])."</td> 499 <td><input type=\"text\" name=\"data17\" size=\"10\" maxlength=\"11\" value=\"{$go['data17']}\" /></td> 500 </tr> 501 <tr> 502 <td>".makeinfocell($lang_game_object['data']." 18",$lang_game_object['data_desc'])."</td> 503 <td><input type=\"text\" name=\"data18\" size=\"10\" maxlength=\"11\" value=\"{$go['data18']}\" /></td> 504 505 <td>".makeinfocell($lang_game_object['data']." 19",$lang_game_object['data_desc'])."</td> 506 <td><input type=\"text\" name=\"data19\" size=\"10\" maxlength=\"11\" value=\"{$go['data19']}\" /></td> 507 508 <td>".makeinfocell($lang_game_object['data']." 20",$lang_game_object['data_desc'])."</td> 509 <td><input type=\"text\" name=\"data20\" size=\"10\" maxlength=\"11\" value=\"{$go['data20']}\" /></td> 510 </tr> 511 <tr> 512 <td>".makeinfocell($lang_game_object['data']." 21",$lang_game_object['data_desc'])."</td> 513 <td><input type=\"text\" name=\"data21\" size=\"10\" maxlength=\"11\" value=\"{$go['data21']}\" /></td> 514 515 <td>".makeinfocell($lang_game_object['data']." 22",$lang_game_object['data_desc'])."</td> 516 <td><input type=\"text\" name=\"data22\" size=\"10\" maxlength=\"11\" value=\"{$go['data22']}\" /></td> 517 518 <td>".makeinfocell($lang_game_object['data']." 23",$lang_game_object['data_desc'])."</td> 519 <td><input type=\"text\" name=\"data23\" size=\"10\" maxlength=\"11\" value=\"{$go['data23']}\" /></td> 520 520 </tr> 521 521 </table> … … 670 670 if (isset($_POST['ScriptName']) && $_POST['ScriptName'] != '') $ScriptName = $sql->quote_smart($_POST['ScriptName']); 671 671 else $ScriptName = ""; 672 if (isset($_POST[' sound0']) && $_POST['sound0'] != '') $sound0 = $sql->quote_smart($_POST['sound0']);673 else $ sound0 = 0;674 if (isset($_POST[' sound1']) && $_POST['sound1'] != '') $sound1 = $sql->quote_smart($_POST['sound1']);675 else $ sound1 = 0;676 if (isset($_POST[' sound2']) && $_POST['sound2'] != '') $sound2 = $sql->quote_smart($_POST['sound2']);677 else $ sound2 = 0;678 if (isset($_POST[' sound3']) && $_POST['sound3'] != '') $sound3 = $sql->quote_smart($_POST['sound3']);679 else $ sound3 = 0;680 if (isset($_POST[' sound4']) && $_POST['sound4'] != '') $sound4 = $sql->quote_smart($_POST['sound4']);681 else $ sound4 = 0;682 if (isset($_POST[' sound5']) && $_POST['sound5'] != '') $sound5 = $sql->quote_smart($_POST['sound5']);683 else $ sound5 = 0;684 if (isset($_POST[' sound6']) && $_POST['sound6'] != '') $sound6 = $sql->quote_smart($_POST['sound6']);685 else $ sound6 = 0;686 if (isset($_POST[' sound7']) && $_POST['sound7'] != '') $sound7 = $sql->quote_smart($_POST['sound7']);687 else $ sound7 = 0;688 if (isset($_POST[' sound8']) && $_POST['sound8'] != '') $sound8 = $sql->quote_smart($_POST['sound8']);689 else $ sound8 = 0;690 if (isset($_POST[' sound9']) && $_POST['sound9'] != '') $sound9 = $sql->quote_smart($_POST['sound9']);691 else $ sound9 = 0;692 if (isset($_POST[' sound10']) && $_POST['sound10'] != '') $sound10 = $sql->quote_smart($_POST['sound10']);693 else $ sound10 = 0;694 if (isset($_POST[' sound11']) && $_POST['sound11'] != '') $sound11 = $sql->quote_smart($_POST['sound11']);695 else $ sound11 = 0;696 if (isset($_POST[' sound12']) && $_POST['sound12'] != '') $sound12 = $sql->quote_smart($_POST['sound12']);697 else $ sound12 = 0;698 if (isset($_POST[' sound13']) && $_POST['sound13'] != '') $sound13 = $sql->quote_smart($_POST['sound13']);699 else $ sound13 = 0;700 if (isset($_POST[' sound14']) && $_POST['sound14'] != '') $sound14 = $sql->quote_smart($_POST['sound14']);701 else $ sound14 = 0;702 if (isset($_POST[' sound15']) && $_POST['sound15'] != '') $sound15 = $sql->quote_smart($_POST['sound15']);703 else $ sound15 = 0;704 if (isset($_POST[' sound16']) && $_POST['sound16'] != '') $sound16 = $sql->quote_smart($_POST['sound16']);705 else $ sound16 = 0;706 if (isset($_POST[' sound17']) && $_POST['sound17'] != '') $sound17 = $sql->quote_smart($_POST['sound17']);707 else $ sound17 = 0;708 if (isset($_POST[' sound18']) && $_POST['sound18'] != '') $sound18 = $sql->quote_smart($_POST['sound18']);709 else $ sound18 = 0;710 if (isset($_POST[' sound19']) && $_POST['sound19'] != '') $sound19 = $sql->quote_smart($_POST['sound19']);711 else $ sound19 = 0;712 if (isset($_POST[' sound20']) && $_POST['sound20'] != '') $sound20 = $sql->quote_smart($_POST['sound20']);713 else $ sound20 = 0;714 if (isset($_POST[' sound21']) && $_POST['sound21'] != '') $sound21 = $sql->quote_smart($_POST['sound21']);715 else $ sound21 = 0;716 if (isset($_POST[' sound22']) && $_POST['sound22'] != '') $sound22 = $sql->quote_smart($_POST['sound22']);717 else $ sound22 = 0;718 if (isset($_POST[' sound23']) && $_POST['sound23'] != '') $sound23 = $sql->quote_smart($_POST['sound23']);719 else $ sound23 = 0;672 if (isset($_POST['data0']) && $_POST['data0'] != '') $data0 = $sql->quote_smart($_POST['data0']); 673 else $data0 = 0; 674 if (isset($_POST['data1']) && $_POST['data1'] != '') $data1 = $sql->quote_smart($_POST['data1']); 675 else $data1 = 0; 676 if (isset($_POST['data2']) && $_POST['data2'] != '') $data2 = $sql->quote_smart($_POST['data2']); 677 else $data2 = 0; 678 if (isset($_POST['data3']) && $_POST['data3'] != '') $data3 = $sql->quote_smart($_POST['data3']); 679 else $data3 = 0; 680 if (isset($_POST['data4']) && $_POST['data4'] != '') $data4 = $sql->quote_smart($_POST['data4']); 681 else $data4 = 0; 682 if (isset($_POST['data5']) && $_POST['data5'] != '') $data5 = $sql->quote_smart($_POST['data5']); 683 else $data5 = 0; 684 if (isset($_POST['data6']) && $_POST['data6'] != '') $data6 = $sql->quote_smart($_POST['data6']); 685 else $data6 = 0; 686 if (isset($_POST['data7']) && $_POST['data7'] != '') $data7 = $sql->quote_smart($_POST['data7']); 687 else $data7 = 0; 688 if (isset($_POST['data8']) && $_POST['data8'] != '') $data8 = $sql->quote_smart($_POST['data8']); 689 else $data8 = 0; 690 if (isset($_POST['data9']) && $_POST['data9'] != '') $data9 = $sql->quote_smart($_POST['data9']); 691 else $data9 = 0; 692 if (isset($_POST['data10']) && $_POST['data10'] != '') $data10 = $sql->quote_smart($_POST['data10']); 693 else $data10 = 0; 694 if (isset($_POST['data11']) && $_POST['data11'] != '') $data11 = $sql->quote_smart($_POST['data11']); 695 else $data11 = 0; 696 if (isset($_POST['data12']) && $_POST['data12'] != '') $data12 = $sql->quote_smart($_POST['data12']); 697 else $data12 = 0; 698 if (isset($_POST['data13']) && $_POST['data13'] != '') $data13 = $sql->quote_smart($_POST['data13']); 699 else $data13 = 0; 700 if (isset($_POST['data14']) && $_POST['data14'] != '') $data14 = $sql->quote_smart($_POST['data14']); 701 else $data14 = 0; 702 if (isset($_POST['data15']) && $_POST['data15'] != '') $data15 = $sql->quote_smart($_POST['data15']); 703 else $data15 = 0; 704 if (isset($_POST['data16']) && $_POST['data16'] != '') $data16 = $sql->quote_smart($_POST['data16']); 705 else $data16 = 0; 706 if (isset($_POST['data17']) && $_POST['data17'] != '') $data17 = $sql->quote_smart($_POST['data17']); 707 else $data17 = 0; 708 if (isset($_POST['data18']) && $_POST['data18'] != '') $data18 = $sql->quote_smart($_POST['data18']); 709 else $data18 = 0; 710 if (isset($_POST['data19']) && $_POST['data19'] != '') $data19 = $sql->quote_smart($_POST['data19']); 711 else $data19 = 0; 712 if (isset($_POST['data20']) && $_POST['data20'] != '') $data20 = $sql->quote_smart($_POST['data20']); 713 else $data20 = 0; 714 if (isset($_POST['data21']) && $_POST['data21'] != '') $data21 = $sql->quote_smart($_POST['data21']); 715 else $data21 = 0; 716 if (isset($_POST['data22']) && $_POST['data22'] != '') $data22 = $sql->quote_smart($_POST['data22']); 717 else $data22 = 0; 718 if (isset($_POST['data23']) && $_POST['data23'] != '') $data23 = $sql->quote_smart($_POST['data23']); 719 else $data23 = 0; 720 720 721 721 if (isset($_POST['ChanceOrRef']) && $_POST['ChanceOrRef'] != '') $ChanceOrRef = $sql->quote_smart($_POST['ChanceOrRef']); … … 750 750 751 751 if ($_POST['opp_type'] == "add_new"){ 752 $sql_query = "INSERT INTO gameobject_template ( entry, type, displayId, name, faction, flags, size, sound0, sound1,753 sound2, sound3, sound4, sound5, sound6, sound7, sound8, sound9, sound10, sound11, sound12, sound13,754 sound14, sound15, sound16, sound17, sound18, sound19, sound20, sound21, sound22, sound23, ScriptName )755 VALUES ( '$entry', '$type', '$displayId', '$name', '$faction', '$flags', '$size', '$ sound0', '$sound1',756 '$ sound2', '$sound3', '$sound4', '$sound5', '$sound6', '$sound7', '$sound8', '$sound9', '$sound10', '$sound11',757 '$ sound12', '$sound13', '$sound14', '$sound15', '$sound16', '$sound17', '$sound18', '$sound19', '$sound20',758 '$ sound21', '$sound22', '$sound23', '$ScriptName' )";752 $sql_query = "INSERT INTO gameobject_template ( entry, type, displayId, name, faction, flags, size, data0, data1, 753 data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, 754 data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, ScriptName ) 755 VALUES ( '$entry', '$type', '$displayId', '$name', '$faction', '$flags', '$size', '$data0', '$data1', 756 '$data2', '$data3', '$data4', '$data5', '$data6', '$data7', '$data8', '$data9', '$data10', '$data11', 757 '$data12', '$data13', '$data14', '$data15', '$data16', '$data17', '$data18', '$data19', '$data20', 758 '$data21', '$data22', '$data23', '$ScriptName' )"; 759 759 760 760 } elseif ($_POST['opp_type'] == "edit"){ … … 770 770 if ($go_templ['flags'] != $flags) $sql_query .= "flags='$flags',"; 771 771 if ($go_templ['size'] != $size) $sql_query .= "size='$size',"; 772 if ($go_templ[' sound0'] != $sound0) $sql_query .= "sound0='$sound0',";773 if ($go_templ[' sound1'] != $sound1) $sql_query .= "sound1='$sound1',";774 if ($go_templ[' sound2'] != $sound2) $sql_query .= "sound2='$sound2',";775 if ($go_templ[' sound3'] != $sound3) $sql_query .= "sound3='$sound3',";776 if ($go_templ[' sound4'] != $sound4) $sql_query .= "sound4='$sound4',";777 if ($go_templ[' sound5'] != $sound5) $sql_query .= "sound5='$sound5',";778 if ($go_templ[' sound6'] != $sound6) $sql_query .= "sound6='$sound6',";779 if ($go_templ[' sound7'] != $sound7) $sql_query .= "sound7='$sound7',";780 if ($go_templ[' sound8'] != $sound8) $sql_query .= "sound8='$sound8',";781 if ($go_templ[' sound9'] != $sound9) $sql_query .= "sound9='$sound9',";782 if ($go_templ[' sound10'] != $sound10) $sql_query .= "sound10='$sound10',";783 if ($go_templ[' sound11'] != $sound11) $sql_query .= "sound11='$sound11',";784 if ($go_templ[' sound12'] != $sound12) $sql_query .= "sound12='$sound12',";785 if ($go_templ[' sound13'] != $sound13) $sql_query .= "sound13='$sound13',";786 if ($go_templ[' sound14'] != $sound14) $sql_query .= "sound14='$sound14',";787 if ($go_templ[' sound15'] != $sound15) $sql_query .= "sound15='$sound15',";788 if ($go_templ[' sound16'] != $sound16) $sql_query .= "sound16='$sound16',";789 if ($go_templ[' sound17'] != $sound17) $sql_query .= "sound17='$sound17',";790 if ($go_templ[' sound18'] != $sound18) $sql_query .= "sound18='$sound18',";791 if ($go_templ[' sound19'] != $sound19) $sql_query .= "sound19='$sound19',";792 if ($go_templ[' sound20'] != $sound20) $sql_query .= "sound20='$sound20',";793 if ($go_templ[' sound21'] != $sound21) $sql_query .= "sound21='$sound21',";794 if ($go_templ[' sound22'] != $sound22) $sql_query .= "sound22='$sound22',";795 if ($go_templ[' sound23'] != $sound23) $sql_query .= "sound23='$sound23',";772 if ($go_templ['data0'] != $data0) $sql_query .= "data0='$data0',"; 773 if ($go_templ['data1'] != $data1) $sql_query .= "data1='$data1',"; 774 if ($go_templ['data2'] != $data2) $sql_query .= "data2='$data2',"; 775 if ($go_templ['data3'] != $data3) $sql_query .= "data3='$data3',"; 776 if ($go_templ['data4'] != $data4) $sql_query .= "data4='$data4',"; 777 if ($go_templ['data5'] != $data5) $sql_query .= "data5='$data5',"; 778 if ($go_templ['data6'] != $data6) $sql_query .= "data6='$data6',"; 779 if ($go_templ['data7'] != $data7) $sql_query .= "data7='$data7',"; 780 if ($go_templ['data8'] != $data8) $sql_query .= "data8='$data8',"; 781 if ($go_templ['data9'] != $data9) $sql_query .= "data9='$data9',"; 782 if ($go_templ['data10'] != $data10) $sql_query .= "data10='$data10',"; 783 if ($go_templ['data11'] != $data11) $sql_query .= "data11='$data11',"; 784 if ($go_templ['data12'] != $data12) $sql_query .= "data12='$data12',"; 785 if ($go_templ['data13'] != $data13) $sql_query .= "data13='$data13',"; 786 if ($go_templ['data14'] != $data14) $sql_query .= "data14='$data14',"; 787 if ($go_templ['data15'] != $data15) $sql_query .= "data15='$data15',"; 788 if ($go_templ['data16'] != $data16) $sql_query .= "data16='$data16',"; 789 if ($go_templ['data17'] != $data17) $sql_query .= "data17='$data17',"; 790 if ($go_templ['data18'] != $data18) $sql_query .= "data18='$data18',"; 791 if ($go_templ['data19'] != $data19) $sql_query .= "data19='$data19',"; 792 if ($go_templ['data20'] != $data20) $sql_query .= "data20='$data20',"; 793 if ($go_templ['data21'] != $data21) $sql_query .= "data21='$data21',"; 794 if ($go_templ['data22'] != $data22) $sql_query .= "data22='$data22',"; 795 if ($go_templ['data23'] != $data23) $sql_query .= "data23='$data23',"; 796 796 if ($go_templ['ScriptName'] != $ScriptName) $sql_query .= "ScriptName='$ScriptName',"; 797 797 -
minimanager/honor.php
r143 r178 9 9 */ 10 10 11 require_once("scripts/defines.php"); 12 require_once("header.php"); 13 valid_login(1); 14 require_once("scripts/id_tab.php"); 15 //######################################################################################################################## 16 // BROWSE ARENA TEAMS 17 //######################################################################################################################## 18 function browse_teams() { 11 require_once("header.php"); 12 valid_login(0); 13 require_once("scripts/get_lib.php"); 14 require_once("scripts/defines.php"); 15 require_once("scripts/id_tab.php"); 16 19 17 global $lang_honor, $lang_global, $output, $characters_db, $realm_id, $itemperpage, $realm_db; 20 18 … … 29 27 $dir = ($dir) ? 0 : 1; 30 28 31 $query_1 = $sql->query("SELECT count(*) FROM arena_team");32 $all_record = $sql->result($query_1,0);33 34 29 $query = $sql->query("SELECT 35 36 37 CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(`character`.`data`, ' ', 35), ' ', -1)AS UNSIGNED) AS level,38 CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`character`.`data`, ' ', ".(229+1)."), ' ', -1) AS UNSIGNED) as GNAME39 40 41 42 30 guid,name,race,class, 31 CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`character`.`data`, ' ', ".(CHAR_DATA_OFFSET_HONOR_POINTS+1)."), ' ', -1) AS UNSIGNED) AS honor , 32 CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(`character`.`data`, ' ', ".(CHAR_DATA_OFFSET_LEVEL+1)."), ' ', -1)AS UNSIGNED) AS level, 33 CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`character`.`data`, ' ', ".(CHAR_DATA_OFFSET_GUILD_ID+1)."), ' ', -1) AS UNSIGNED) as GNAME 34 FROM `character` 35 where race in (1,3,4,7,11) 36 order by CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', ".(CHAR_DATA_OFFSET_HONOR_POINTS+1)."), ' ', -1) AS UNSIGNED) desc 37 LIMIT 25;"); 43 38 44 39 $this_page = $sql->num_rows($query); … … 51 46 <fieldset style=\"width: 950px;\"> 52 47 <legend><img src='img/alliance.gif' /></legend> 48 53 49 <table class=\"lined\" style=\"width: 910px;\"> 50 54 51 <tr class=\"bold\"> 55 52 <td colspan=\"11\">{$lang_honor['allied']} {$lang_honor ['browse_honor']}</td> … … 67 64 68 65 69 while ($data = $sql->fetch_row($query)) { 70 71 $guild_name = $sql->fetch_row($sql->query("SELECT `name` FROM `guild` WHERE `guildid`=".$data[6].";")); 72 73 $level = $data[5]; 74 66 while ($char = $sql->fetch_row($query)) { 67 68 $guild_name = $sql->fetch_row($sql->query("SELECT `name` FROM `guild` WHERE `guildid`=".$char[6].";")); 69 70 $level = $char[5]; 71 72 $lev = '' ; 75 73 if($level > 0) 76 74 { … … 111 109 112 110 111 113 112 $output .= " <tr> 114 <td><a href=\"char.php?id=$ data[0]\">$data[1]</a></td>115 <td><img src='img/c_icons/{$ data[2]}-0.gif' onmousemove='toolTip(\"".get_player_race($data[2])."\",\"item_tooltip\")' onmouseout='toolTip()' /></td>116 <td><img src='img/c_icons/{$ data[3]}.gif' onmousemove='toolTip(\"".get_player_class($data[3])."\",\"item_tooltip\")' onmouseout='toolTip()' /></td>113 <td><a href=\"char.php?id=$char[0]\">$char[1]</a></td> 114 <td><img src='img/c_icons/{$char[2]}-0.gif' onmousemove='toolTip(\"".get_player_race($char[2])."\",\"item_tooltip\")' onmouseout='toolTip()' /></td> 115 <td><img src='img/c_icons/{$char[3]}.gif' onmousemove='toolTip(\"".get_player_class($char[3])."\",\"item_tooltip\")' onmouseout='toolTip()' /></td> 117 116 <td>$lev</td> 118 <td>$ data[4]</td>119 <td><span onmouseover='toolTip(\"".$CHAR_RANK[$CHAR_RACE[$data[2]][1]][pvp_ranks($data[4])]."\",\"item_tooltip\")' onmouseout='toolTip()' style='color: white;'><img src='img/ranks/rank".pvp_ranks($data[4],$CHAR_RACE[$data[2]][1]).".gif'></span></td>120 <td><a href=\"guild.php?id=$ data[6]\">$guild_name[0]</a></td>117 <td>$char[4]</td> 118 <td><span onmouseover='toolTip(\"".$CHAR_RANK[$CHAR_RACE[$char[2]][1]][pvp_ranks($char[4])]."\",\"item_tooltip\")' onmouseout='toolTip()' style='color: white;'><img src='img/ranks/rank".pvp_ranks($char[4],$CHAR_RACE[$char[2]][1]).".gif'></span></td> 119 <td><a href=\"guild.php?id=$char[6]\">$guild_name[0]</a></td> 121 120 </tr>"; 122 121 } 123 122 124 $output .= "</table><br /> ";123 $output .= "</table><br /></fieldset>"; 125 124 126 125 $query = $sql->query("SELECT 127 guid,name,race,class, 128 CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`character`.`data`, ' ', ".(CHAR_DATA_OFFSET_HONOR_POINTS+1)."), ' ', -1) AS UNSIGNED) AS honor , 129 CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(`character`.`data`, ' ', 35), ' ', -1)AS UNSIGNED) AS level, 130 CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`character`.`data`, ' ', ".(229+1)."), ' ', -1) AS UNSIGNED) as GNAME 131 FROM `character` 132 where race not in (1,3,4,7,11) 133 order by CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', ".(CHAR_DATA_OFFSET_HONOR_POINTS+1)."), ' ', -1) AS UNSIGNED) desc 134 LIMIT 25;"); 126 guid,name,race,class, 127 CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`character`.`data`, ' ', ".(CHAR_DATA_OFFSET_HONOR_POINTS+1)."), ' ', -1) AS UNSIGNED) AS highest_rank , 128 CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(`character`.`data`, ' ', ".(CHAR_DATA_OFFSET_LEVEL+1)."), ' ', -1)AS UNSIGNED) AS level, 129 CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`character`.`data`, ' ', ".(CHAR_DATA_OFFSET_GUILD_ID+1)."), ' ', -1) AS UNSIGNED) as GNAME 130 FROM `character` 131 where race not in (1,3,4,7,11) 132 order by CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', ".(CHAR_DATA_OFFSET_HONOR_POINTS+1)."), ' ', -1) AS UNSIGNED) desc 133 LIMIT 25;"); 134 135 135 136 136 $this_page = $sql->num_rows($query); … … 159 159 160 160 161 while ($data = $sql->fetch_row($query)) { 162 163 $guild_name = $sql->fetch_row($sql->query("SELECT `name` FROM `guild` WHERE `guildid`=".$data[6].";")); 164 165 $level = $data[5]; 166 167 switch(true) { 168 case (0 >= $level AND $level < 10): 169 $lev = '<font color="#FFFFFF">'.$level.'</font>'; 170 break; 171 case (10 >= $level AND $level < 20): 172 $lev = '<font color="#858585">'.$level.'</font>'; 173 break; 174 case (20 >= $level AND $level < 30): 175 $lev = '<font color="#339900">'.$level.'</font>'; 176 break; 177 case (30 >= $level AND $level < 40): 178 $lev = '<font color="#3300CC">'.$level.'</font>'; 179 break; 180 case (40 >= $level AND $level < 50): 181 $lev = '<font color="#5552FF">'.$level.'</font>'; 182 break; 183 case (50 >= $level AND $level < 60): 184 $lev = '<font color="#FF8000">'.$level.'</font>'; 185 break; 186 case (60 >= $level AND $level < 70): 187 $lev = '<font color="#FF0000">'.$level.'</font>'; 188 break; 189 case ($level = 70): 190 $lev = '<font color="#FF00CC">'.$level.'</font>'; 191 break; 192 case ($level > 70): 193 $lev = '<font color="#FFF000">'.$level.'</font>'; 194 break; 195 }; 196 161 while ($char = $sql->fetch_row($query)) { 162 163 $guild_name = $sql->fetch_row($sql->query("SELECT `name` FROM `guild` WHERE `guildid`=".$char[6].";")); 164 165 $level = $char[5]; 166 167 if($level > 0) 168 { 169 $lev = '<font color="#FFFFFF">'.$level.'</font>'; 170 } 171 if($level > 9) 172 { 173 $lev = '<font color="#858585">'.$level.'</font>'; 174 } 175 if($level > 19) 176 { 177 $lev = '<font color="#339900">'.$level.'</font>'; 178 } 179 if($level > 29) 180 { 181 $lev = '<font color="#3300CC">'.$level.'</font>'; 182 } 183 if($level > 39) 184 { 185 $lev = '<font color="#5552FF">'.$level.'</font>'; 186 } 187 if($level > 49) 188 { 189 $lev = '<font color="#FF8000">'.$level.'</font>'; 190 } 191 if($level > 59) 192 { 193 $lev = '<font color="#FF0000">'.$level.'</font>'; 194 } 195 if($level > 69) 196 { 197 $lev = '<font color="#FF00CC">'.$level.'</font>'; 198 } 199 if($level > 70) 200 { 201 $lev = '<font color="#FFF000">'.$level.'</font>'; 202 } 197 203 198 204 $output .= " <tr> 199 <td><a href=\"char.php?id=$ data[0]\">$data[1]</a></td>200 <td><img src='img/c_icons/{$ data[2]}-0.gif' onmousemove='toolTip(\"".get_player_race($data[2])."\",\"item_tooltip\")' onmouseout='toolTip()' /></td>201 <td><img src='img/c_icons/{$ data[3]}.gif' onmousemove='toolTip(\"".get_player_class($data[3])."\",\"item_tooltip\")' onmouseout='toolTip()' /></td>205 <td><a href=\"char.php?id=$char[0]\">$char[1]</a></td> 206 <td><img src='img/c_icons/{$char[2]}-0.gif' onmousemove='toolTip(\"".get_player_race($char[2])."\",\"item_tooltip\")' onmouseout='toolTip()' /></td> 207 <td><img src='img/c_icons/{$char[3]}.gif' onmousemove='toolTip(\"".get_player_class($char[3])."\",\"item_tooltip\")' onmouseout='toolTip()' /></td> 202 208 <td>$lev</td> 203 <td>$ data[4]</td>204 <td><span onmouseover='toolTip(\"".$CHAR_RANK[$CHAR_RACE[$data[2]][1]][pvp_ranks($data[4])]."\",\"item_tooltip\")' onmouseout='toolTip()' style='color: white;'><img src='img/ranks/rank".pvp_ranks($data[4],$CHAR_RACE[$data[2]][1]).".gif'></span></td>205 <td><a href=\"guild.php?id=$ data[6]\">$guild_name[0]</a></td>209 <td>$char[4]</td> 210 <td><span onmouseover='toolTip(\"".$CHAR_RANK[$CHAR_RACE[$char[2]][1]][pvp_ranks($char[4])]."\",\"item_tooltip\")' onmouseout='toolTip()' style='color: white;'><img src='img/ranks/rank".pvp_ranks($char[4],$CHAR_RACE[$char[2]][1]).".gif'></span></td> 211 <td><a href=\"guild.php?id=$char[6]\">$guild_name[0]</a></td> 206 212 </tr>"; 207 213 } 208 214 209 $output .= "</table><br /> ";215 $output .= "</table><br /></fieldset>"; 210 216 $sql->close(); 211 } 212 213 //######################################################################################################################## 214 // MAIN 215 //######################################################################################################################## 216 $err = (isset($_GET['error'])) ? $_GET['error'] : NULL; 217 218 $output .= "<div class=\"top\">"; 219 switch ($err) { 220 case 1: 221 $output .= "<h1><font class=\"error\">{$lang_global['empty_fields']}</font></h1>"; 222 break; 223 case 2: 224 $output .= "<h1><font class=\"error\">{$lang_global['err_no_search_passed']}</font></h1>"; 225 break; 226 case 3: //keep blank 227 break; 228 case 4: 229 $output .= "<h1>{$lang_honor ['team_search_result']}:</h1>"; 230 break; 231 default: //no error 232 $output .= "<h1>{$lang_honor ['browse_honor']}</h1>"; 233 } 234 $output .= "</div>"; 235 236 $action = (isset($_GET['action'])) ? $_GET['action'] : NULL; 237 238 switch ($action) { 239 case "browse_teams": 240 browse_teams(); 241 break; 242 case "search": 243 search(); 244 break; 245 case "view_team": 246 view_team(); 247 break; 248 case "del_team": 249 del_team(); 250 break; 251 case "rem_char_from_team": 252 rem_char_from_team(); 253 break; 254 default: 255 browse_teams(); 256 } 217 257 218 258 219 require_once("footer.php"); -
minimanager/index.php
r142 r178 16 16 17 17 $sql = new SQL; 18 18 19 $sql->connect($mangos_db[$realm_id]['addr'], $mangos_db[$realm_id]['user'], $mangos_db[$realm_id]['pass'], $mangos_db[$realm_id]['name']); 19 20 … … 26 27 $online = true; 27 28 } else { 28 $output .= "<h1><font class=\"error\">{$lang_index['realm']} ".get_realm_name($realm_id)." {$lang_index['offline_or_let_h eight']}</font></h1>";29 $output .= "<h1><font class=\"error\">{$lang_index['realm']} ".get_realm_name($realm_id)." {$lang_index['offline_or_let_high']}</font></h1>"; 29 30 $online = false; 30 31 } … … 64 65 } 65 66 $output .= "</table><br />"; 67 66 68 67 69 //print online chars … … 110 112 while($char = $sql->fetch_row($result)){ 111 113 112 $guild_name = $sql->fetch_row($sql->query("SELECT `name` FROM `guild` WHERE `guildid`=".$char[9].";")); 113 114 //$guild_name = 'dummy'; 114 115 $accid = $char[8]; 115 116 116 $sql->db("realmd"); 117 $sql->connect($realm_db['addr'], $realm_db['user'], $realm_db['pass'], $realm_db['name']); 118 //$sql->db($realm_db['name']); 117 119 $gmlvl = $sql->query("SELECT `gmlevel` FROM `account`WHERE `id`='$accid';"); 118 120 $gml = $sql->fetch_row($gmlvl); 119 121 $gm = $gml[0]; 120 122 121 $sql->db($characters_db[$realm_id]['name']); 123 $sql->connect($characters_db[$realm_id]['addr'], $characters_db[$realm_id]['user'], $characters_db[$realm_id]['pass'], $characters_db[$realm_id]['name']); 124 //$sql->db($characters_db[$realm_id]['name']); 125 $guild_name = $sql->fetch_row($sql->query("SELECT `name` FROM `guild` WHERE `guildid`=".$char[9].";")); 126 122 127 123 128 $level = $char[7]; -
minimanager/lang/csCZ.php
r158 r178 2 2 /* 3 3 * Project Name: MiniManager for Mangos Server 4 * Date: 2 7.11.2007 (0.1.5b)5 * Progress: 9 0% complete4 * Date: 23.12.2007 (0.1.6b) 5 * Progress: 95% complete 6 6 * Discussion forum: http://wow.zdechov.net/forum/viewtopic.php?p=5533 7 7 * Author: Chronos … … 92 92 'terms' => 'Podminky sluzby', // Tady to musí být bez diakritiky kvùli javascriptu 93 93 'error_terms' => 'Podmínky slu¾by nebyly odsouhlaseny', 94 'i_agree' => 'Sou lasím',94 'i_agree' => 'Souhlasím', 95 95 'i_dont_agree' => 'Nesouhlasím' 96 96 ); … … 148 148 'honor' => '®ebøíèek bodù cti', 149 149 'auctionhouse' => 'Aukèní dùm', 150 'events' => 'Události', 150 151 ); 151 152 … … 827 828 'avg_uptime' => 'Prùmìr doby bìhu serveru', 828 829 'max_uptime' => 'Maximlání doba bìhu serveru', 829 'uptime_prec' => 'Procenta doby bìhu od prvního spu¹tìní' 830 'uptime_prec' => 'Procenta doby bìhu od prvního spu¹tìní', 831 'unique_ip' => 'Unikátní IP adresy za posledních 24 hodin' 830 832 ); 831 833 … … 1211 1213 'max_mana' => 'Max. mana', 1212 1214 'max_mana_desc' => 'Maximální mana bytosti pro min. úroveò. Umístìné bytosti mají manu lineárnì rozlo¾enou mezi min. a max. úrovní.', 1213 'faction_A' => 'Frakce',1214 'faction_A_desc' => 'Frakce bytosti.',1215 1215 'family' => 'Rodina', 1216 1216 'family_desc' => 'Typ rodiny bytosti.', … … 1277 1277 'resis_arcane_desc' => 'Tajemná odolnost.', 1278 1278 'models' => 'Modely', 1279 'modelid_male' => 'Mu¾ský model',1280 'modelid_male_desc' => 'Grafický model, který musí klient pou¾ít pro mu¾skou bytost.',1281 'modelid_female' => '®enský model',1282 'modelid_female_desc' => 'Grafický model, který musí klient pou¾ít pro ¾enskou bytost.',1283 'equip_slot' => 'Pozice výstroje',1284 'equip_slot_desc' => 'TODO:',1285 'equip_model' => 'Model výstroje',1286 'equip_model_desc' => 'Model výstroje první vìci obleèené bytostí.',1287 'equip_info' => 'Informace výstroje',1288 'equip_info_desc' => 'TODO:',1289 1279 'scripts' => 'Skripty', 1290 1280 'ai_name' => 'UI Jméno', … … 1393 1383 'condition_value1_desc' => 'Vlajka hodnoty podmínky 1', 1394 1384 'condition_value2' => 'Hodnota podmínky 2', 1395 'condition_value2_desc' => 'Vlajka hodnoty podmínky 2' 1385 'condition_value2_desc' => 'Vlajka hodnoty podmínky 2', 1386 'modelid_A' => 'ID alianèního modelu', 1387 'modelid_A_desc' => 'ID alianèního modelu', 1388 'modelid_A2' => 'ID alianèního modelu 2', 1389 'modelid_A2_desc' => 'ID alianèního modelu 2', 1390 'modelid_H' => 'ID hordovského modelu', 1391 'modelid_H_desc' => 'ID hordovského modelu', 1392 'modelid_H2' => 'ID hordovského modelu 2', 1393 'modelid_H2_desc' => 'ID hordovského modelu 2', 1394 'faction_A' => 'Frakce (Aliance)', 1395 'faction_A_desc' => 'Frakce, pokud je bytost na stranì aliance.', 1396 'faction_H' => 'Frakce (Horda)', 1397 'faction_H_desc' => 'Frakce, pokud je bytost na staranì hordy.', 1398 'RegenHealth' => 'Obnova zdraví', 1399 'equipment' => 'Výbava', 1400 'equip_slot' => 'Pozice pro výbavu', 1401 'equip_slot1_desc' => 'Posunutí oproti skuteènì pou¾ité pozici', 1402 'equip_slot2_desc' => 'Posunutí oproti skuteènì pou¾ité pozici', 1403 'equip_slot3_desc' => 'Posunutí oproti skuteènì pou¾ité pozici', 1404 'equip_model' => 'Model výbavy', 1405 'equip_model1_desc' => 'Toto je model výbavy dr¾ené v pravé ruce.', 1406 'equip_model2_desc' => 'Toto je model výbavy dr¾ené v pravé ruce.', 1407 'equip_model3_desc' => 'Toto je model výbavy dr¾ené v pozici pro dálku.', 1408 'equip_info' => 'Informace výbavy', 1409 'equip_info1_desc' => 'Tato polo¾ka ovládá jak animaci tak zpùsob jakým zbraò dává údery a jaké zvuky dìlá.', 1410 'equip_info2_desc' => 'Tato polo¾ka ovládá jak animaci tak zpùsob jakým zbraò dává údery a jaké zvuky dìlá.', 1411 'equip_info3_desc' => 'Tato polo¾ka ovládá jak animaci tak zpùsob jakým zbraò dává údery a jaké zvuky dìlá.' 1396 1412 ); 1397 1413 … … 1413 1429 'search_go' => 'Hedat herní objekty', 1414 1430 'general' => 'Obecné', 1415 'sounds' => 'Doplòující zvuky',1416 1431 'save_to_db' => 'Ulo¾it do DB', 1417 1432 'save_to_script' => 'Ulo¾it do skriptu', … … 1466 1481 'size' => 'Velikost', 1467 1482 'size_desc' => 'Velikost objektu musí být nastavena, proto¾e grafické modely mohou být znovunaèítány.', 1468 'sound' => 'Zvuk',1469 'sound_desc' => 'Datové políèka charakteristické pro rùzné typy hodnot políèek. Ka¾dý typ má unikátní políèka.<br />Pro více informací nav¹tivte https://svn.mangosproject.org/trac /MaNGOS/wiki/Database /gameobject_template',1470 1483 'tmpl_not_found' => '©ablona nenalezena', 1471 1484 'del_go' => 'Smazat GO', … … 1505 1518 'condition_value1_desc' => 'Vlajka hodnoty úpdmínky 1', 1506 1519 'condition_value2' => 'Hodnota podmínky 2', 1507 'condition_value2_desc' => 'Vlajka hodnoty podmínky 2' 1520 'condition_value2_desc' => 'Vlajka hodnoty podmínky 2', 1521 'datas' => 'Pøídavná data', 1522 'data' => 'Data', 1523 'data_desc' => 'Datové polo¾ky s rùzným významem pro rùzný typ políèek. Ka¾dý typ má jedineèné polo¾ky.<br />Pro více informací nav¹tivte https://msvn.mangosproject.org/trac/MaNGOS/wiki/Database/gameobject_template' 1508 1524 ); 1509 1525 … … 1619 1635 'orc' => 'Ork', 1620 1636 'dwarf' => 'Trpaslík', 1621 'night Elf' => 'Temný elf',1637 'nightelf' => 'Temný elf', 1622 1638 'undead' => 'Nemrtvý', 1623 1639 'tauren' => 'Tauren', … … 1625 1641 'troll' => 'Troll', 1626 1642 'goblin' => 'Goblin', 1627 'blood Elf' => 'Krvavý elf',1643 'bloodelf' => 'Krvavý elf', 1628 1644 'draenei' => 'Draenei', 1629 1645 //---zone--- … … 2098 2114 'Set1' => 'The Gladiator', 2099 2115 //------user levels------ 2100 'Player' => ' Player',2101 'Moderator' => 'Moder ator',2116 'Player' => 'Hráè', 2117 'Moderator' => 'Moderátor', 2102 2118 'Game_Master' => 'Game Master', 2119 'BugTracker' => 'Hledaè chyb', 2103 2120 'Administrator' => 'Administrator', 2121 'SysOP' => 'Systémový operátor', 2104 2122 //------factions------ 2105 2123 'Alliance' => 'Alliance', … … 2197 2215 ); 2198 2216 2217 $lang_events = array( 2218 'total' => 'Celkem', 2219 'descr' => 'Jméno eventu', 2220 'start' => 'Èas prvního startu', 2221 'occur' => 'Èetnost<br><small>dny/hodiny', 2222 'length' => 'Délka<br><small>dny/hodiny', 2223 'events' => 'Události' 2224 ); 2199 2225 ?> -
minimanager/lang/deDE.php
r142 r178 148 148 'honor' => 'Honor Rankings', //TODO 149 149 'auctionhouse' => 'Auktionshaus', 150 'events' => 'Events' 150 151 ); 151 152 … … 827 828 'avg_uptime' => 'Average Server Uptime', 828 829 'max_uptime' => 'Maximum Server Uptime', 829 'uptime_prec' => ' Uptime percentage since first run' 830 'uptime_prec' => ' Uptime percentage since first run', 831 'unique_ip' => 'Unique IPs last 24 Hour' //TODO 830 832 ); 831 833 … … 1212 1214 'max_mana' => 'Max Mana', 1213 1215 'max_mana_desc' => 'Maximum creature\'s mana points for creature level equal minlevel. Spawned creature have mana in linear proportion to level position in range minlevel - maxlevel.', 1214 'faction_A' => 'Faction',1215 'faction_A_desc' => 'Creature\'s faction.',1216 1216 'family' => 'Family', 1217 1217 'family_desc' => 'Creature\'s family type.', … … 1278 1278 'resis_arcane_desc' => 'Arcane Resitance.', 1279 1279 'models' => 'Models', 1280 'modelid_male' => 'Modelid Male',1281 'modelid_male_desc' => 'Graphical model that client must apply on this male creature.',1282 'modelid_female' => 'Modelid Female',1283 'modelid_female_desc' => 'Graphical model that client must apply on this Female creature.',1284 'equip_slot' => 'Equip Slot',1285 'equip_slot_desc' => 'TODO:',1286 'equip_model' => 'Equip Model',1287 'equip_model_desc' => 'Equipement\'s model of the first item weared by the creature.',1288 'equip_info' => 'Equip Info',1289 'equip_info_desc' => 'TODO:',1290 1280 'scripts' => 'Scripts', 1291 1281 'ai_name' => 'AIName', … … 1394 1384 'condition_value1_desc' => 'Condition Value 1 flag', 1395 1385 'condition_value2' => 'Condition Value 2', 1396 'condition_value2_desc' => 'Condition Value 2 flag' 1386 'condition_value2_desc' => 'Condition Value 2 flag', 1387 'modelid_A' => 'Model ID Allied', 1388 'modelid_A_desc' => 'Model ID Allied', 1389 'modelid_A2' => 'Model ID Allied 2', 1390 'modelid_A2_desc' => 'Model ID Allied 2', 1391 'modelid_H' => 'Model ID Horde', 1392 'modelid_H_desc' => 'Model ID Horde', 1393 'modelid_H2' => 'Model ID Horde 2', 1394 'modelid_H2_desc' => 'Model ID Horde 2', 1395 'faction_A' => 'Faction (Alliance)', 1396 'faction_A_desc' => 'The faction if the creature is on the alliance side.', 1397 'faction_H' => 'Faction (Horde)', 1398 'faction_H_desc' => 'The faction if the creature is on the horde side.', 1399 'RegenHealth' => 'Regenerate Health', 1400 'equipment' => 'Equipment', 1401 'equip_slot' => 'Equip Slot', 1402 'equip_slot1_desc' => 'Offset to the real slot used', 1403 'equip_slot2_desc' => 'Offset to the real slot used', 1404 'equip_slot3_desc' => 'Offset to the real slot used', 1405 'equip_model' => 'Equip Model', 1406 'equip_model1_desc' => 'This is the model of the equipment used in right hand.', 1407 'equip_model2_desc' => 'This is the model of the equipment used in right hand.', 1408 'equip_model3_desc' => 'This is the model of the equipment used in distance slot.', 1409 'equip_info' => 'Equip Info', 1410 'equip_info1_desc' => 'This field controls both the animation, the way the equiped item hits and the sound it makes.', 1411 'equip_info2_desc' => 'This field controls both the animation, the way the equiped item hits and the sound it makes', 1412 'equip_info3_desc' => 'This field controls both the animation, the way the equiped item hits and the sound it makes' 1397 1413 ); 1398 1414 … … 1414 1430 'search_go' => 'Search Game Objects', 1415 1431 'general' => 'General', 1416 'sounds' => 'Additional Sounds', 1417 'save_to_db' => 'Save to DB', 1432 'save_to_db' => 'Save to DB', 1418 1433 'save_to_script' => 'Save to Script', 1419 1434 'lookup_go' => 'Lookup GO', … … 1467 1482 'size' => 'Size', 1468 1483 'size_desc' => 'Object\'s size must be set because graphic models can be resample.', 1469 'sound' => 'Sound',1470 'sound_desc' => 'Data fields specific for different type field values. Each type has unique fields.<br />For more informaton visit https://svn.mangosproject.org/trac /MaNGOS/wiki/Database /gameobject_template',1471 1484 'tmpl_not_found' => 'Template not Found', 1472 1485 'del_go' => 'Delete GO', … … 1506 1519 'condition_value1_desc' => 'Condition Value 1 flag', 1507 1520 'condition_value2' => 'Condition Value 2', 1508 'condition_value2_desc' => 'Condition Value 2 flag' 1521 'condition_value2_desc' => 'Condition Value 2 flag', 1522 'datas' => 'Additional Datas', 1523 'data' => 'Data', 1524 'data_desc' => 'Data fields specific for different type field values. Each type has unique fields.<br />For more informaton visit https://svn.mangosproject.org/trac /MaNGOS/wiki/Database /gameobject_template' 1525 1509 1526 ); 1510 1527 … … 2102 2119 'Moderator' => 'Moderator', 2103 2120 'Game_Master' => 'Game Master', 2121 'BugTracker' => 'Bug Tracker', 2104 2122 'Administrator' => 'Administrator', 2123 'SysOP' => 'Sys OP', 2105 2124 //------factions------ 2106 2125 'Alliance' => 'Alliance', … … 2198 2217 2199 2218 ); 2219 2220 $lang_events = array( 2221 'total' => 'Total', 2222 'descr' => 'Event name', 2223 'start' => 'First Starting Time', 2224 'occur' => 'Occurance<br><small>days/hours', 2225 'length' => 'Length<br><small>days/hours', 2226 'events' => 'Events' 2227 ); 2200 2228 ?> -
minimanager/lang/enUS.php
r142 r178 148 148 'honor' => 'Honor Rankings', 149 149 'auctionhouse' => 'Auction House', 150 'events' => 'Events' 150 151 ); 151 152 … … 827 828 'avg_uptime' => 'Average Server Uptime', 828 829 'max_uptime' => 'Maximum Server Uptime', 829 'uptime_prec' => ' Uptime percentage since first run' 830 'uptime_prec' => ' Uptime percentage since first run', 831 'unique_ip' => 'Unique IPs last 24 Hour' 830 832 ); 831 833 … … 1110 1112 'condition_value1_desc' => 'Condition Value 1 flag', 1111 1113 'condition_value2' => 'Condition Value 2', 1112 'condition_value2_desc' => 'Condition Value 2 flag' 1114 'condition_value2_desc' => 'Condition Value 2 flag', 1113 1115 ); 1114 1116 … … 1212 1214 'max_mana' => 'Max Mana', 1213 1215 'max_mana_desc' => 'Maximum creature\'s mana points for creature level equal minlevel. Spawned creature have mana in linear proportion to level position in range minlevel - maxlevel.', 1214 'faction_A' => 'Faction',1215 'faction_A_desc' => 'Creature\'s faction.',1216 1216 'family' => 'Family', 1217 1217 'family_desc' => 'Creature\'s family type.', … … 1278 1278 'resis_arcane_desc' => 'Arcane Resitance.', 1279 1279 'models' => 'Models', 1280 'modelid_male' => 'Modelid Male',1281 'modelid_male_desc' => 'Graphical model that client must apply on this male creature.',1282 'modelid_female' => 'Modelid Female',1283 'modelid_female_desc' => 'Graphical model that client must apply on this Female creature.',1284 'equip_slot' => 'Equip Slot',1285 'equip_slot_desc' => 'TODO:',1286 'equip_model' => 'Equip Model',1287 'equip_model_desc' => 'Equipement\'s model of the first item weared by the creature.',1288 'equip_info' => 'Equip Info',1289 'equip_info_desc' => 'TODO:',1290 1280 'scripts' => 'Scripts', 1291 1281 'ai_name' => 'AIName', … … 1394 1384 'condition_value1_desc' => 'Condition Value 1 flag', 1395 1385 'condition_value2' => 'Condition Value 2', 1396 'condition_value2_desc' => 'Condition Value 2 flag' 1386 'condition_value2_desc' => 'Condition Value 2 flag', 1387 'modelid_A' => 'Model ID Allied', 1388 'modelid_A_desc' => 'Model ID Allied', 1389 'modelid_A2' => 'Model ID Allied 2', 1390 'modelid_A2_desc' => 'Model ID Allied 2', 1391 'modelid_H' => 'Model ID Horde', 1392 'modelid_H_desc' => 'Model ID Horde', 1393 'modelid_H2' => 'Model ID Horde 2', 1394 'modelid_H2_desc' => 'Model ID Horde 2', 1395 'faction_A' => 'Faction (Alliance)', 1396 'faction_A_desc' => 'The faction if the creature is on the alliance side.', 1397 'faction_H' => 'Faction (Horde)', 1398 'faction_H_desc' => 'The faction if the creature is on the horde side.', 1399 'RegenHealth' => 'Regenerate Health', 1400 'equipment' => 'Equipment', 1401 'equip_slot' => 'Equip Slot', 1402 'equip_slot1_desc' => 'Offset to the real slot used', 1403 'equip_slot2_desc' => 'Offset to the real slot used', 1404 'equip_slot3_desc' => 'Offset to the real slot used', 1405 'equip_model' => 'Equip Model', 1406 'equip_model1_desc' => 'This is the model of the equipment used in right hand.', 1407 'equip_model2_desc' => 'This is the model of the equipment used in right hand.', 1408 'equip_model3_desc' => 'This is the model of the equipment used in distance slot.', 1409 'equip_info' => 'Equip Info', 1410 'equip_info1_desc' => 'This field controls both the animation, the way the equiped item hits and the sound it makes.', 1411 'equip_info2_desc' => 'This field controls both the animation, the way the equiped item hits and the sound it makes', 1412 'equip_info3_desc' => 'This field controls both the animation, the way the equiped item hits and the sound it makes' 1397 1413 ); 1398 1414 … … 1414 1430 'search_go' => 'Search Game Objects', 1415 1431 'general' => 'General', 1416 'sounds' => 'Additional Sounds',1417 1432 'save_to_db' => 'Save to DB', 1418 1433 'save_to_script' => 'Save to Script', … … 1467 1482 'size' => 'Size', 1468 1483 'size_desc' => 'Object\'s size must be set because graphic models can be resample.', 1469 'sound' => 'Sound',1470 'sound_desc' => 'Data fields specific for different type field values. Each type has unique fields.<br />For more informaton visit https://svn.mangosproject.org/trac /MaNGOS/wiki/Database /gameobject_template',1471 1484 'tmpl_not_found' => 'Template not Found', 1472 1485 'del_go' => 'Delete GO', … … 1506 1519 'condition_value1_desc' => 'Condition Value 1 flag', 1507 1520 'condition_value2' => 'Condition Value 2', 1508 'condition_value2_desc' => 'Condition Value 2 flag' 1521 'condition_value2_desc' => 'Condition Value 2 flag', 1522 'datas' => 'Additional Datas', 1523 'data' => 'Data', 1524 'data_desc' => 'Data fields specific for different type field values. Each type has unique fields.<br />For more informaton visit https://svn.mangosproject.org/trac /MaNGOS/wiki/Database /gameobject_template' 1525 1509 1526 ); 1510 1527 1511 1528 $lang_auctionhouse = array( 1512 1529 // ----- AHSTATS.PHP ----- 1513 'auctionhouse' => 'Auction House',1514 'seller' => 'Seller',1515 'item' => 'Item',1516 'buyoutprice' => 'Buyout price',1517 'timeleft' => 'Time Left',1518 'buyer' => 'Buyer',1519 'lastbid' => 'Last Bid',1520 'firstbid' => 'First Bid',1521 'dayshortcut' => 'D',1522 'hourshortcut' => 'H',1523 'mnshortcut' => 'mn',1530 'auctionhouse' => 'Auction House', 1531 'seller' => 'Seller', 1532 'item' => 'Item', 1533 'buyoutprice' => 'Buyout price', 1534 'timeleft' => 'Time Left', 1535 'buyer' => 'Buyer', 1536 'lastbid' => 'Last Bid', 1537 'firstbid' => 'First Bid', 1538 'dayshortcut' => 'D', 1539 'hourshortcut' => 'H', 1540 'mnshortcut' => 'mn', 1524 1541 'total_auctions' => 'Total Auctions', 1525 1542 'search_results' => 'Search Results', … … 2102 2119 'Moderator' => 'Moderator', 2103 2120 'Game_Master' => 'Game Master', 2121 'BugTracker' => 'Bug Tracker', 2104 2122 'Administrator' => 'Administrator', 2123 'SysOP' => 'Sys OP', 2105 2124 //------factions------ 2106 2125 'Alliance' => 'Alliance', … … 2166 2185 'remove' => 'Remove', 2167 2186 'name' => 'Name', 2168 'level' => 'Level',2187 'level' => 'Level', 2169 2188 'played_week' => 'Games played this week', 2170 2189 'wons_week' => 'Games won this week', … … 2198 2217 2199 2218 ); 2219 2220 $lang_events = array( 2221 'total' => 'Total', 2222 'descr' => 'Event name', 2223 'start' => 'First Starting Time', 2224 'occur' => 'Occurance<br><small>days/hours', 2225 'length' => 'Length<br><small>days/hours', 2226 'events' => 'Events' 2227 ); 2200 2228 ?> -
minimanager/lang/frFR.php
r142 r178 151 151 'world_map' => 'Carte du monde', // ADDED BY THORAZI (NOT USED IN ORIGINAL RLZ) 152 152 'patchtrad' => 'Patch & Trad', // ADDED BY THORAZI (NOT USED IN ORIGINAL RLZ) 153 'events' => 'Events' 153 154 ); 154 155 … … 1679 1680 'stonetalon_mountains' => 'Serres Rocheuses', 1680 1681 'the_barrens' => 'Les Tarides', 1681 //tbc- zones1682 //tbc- zones 1682 1683 'shattrath_city' => 'Shattrath', 1683 1684 'silvermoon_city' => 'Lune-d\'argent', … … 2126 2127 'Field_Marshal' => 'Grand Maréchal', 2127 2128 'Grand_Marshal' => 'Connétable', 2128 'Scout' => 'Eclaireur',2129 'Scout' => 'Eclaireur', 2129 2130 'Grunt' => 'Grunt', 2130 'Sergeant' => 'Sergent',2131 2131 'Senior_Sergeant' => 'Sergeant Chef', 2132 2132 'First_Sergeant' => 'Adjudant', … … 2168 2168 'rating' => 'Rang', 2169 2169 'wins' => 'Parites gagnées', 2170 'remove' => 'Oter',2170 'remove' => 'Oter', 2171 2171 'name' => 'Nom', 2172 'level' => 'Niveau',2172 'level' => 'Niveau', 2173 2173 'played_week' => 'Parties jouées cette semaine', 2174 2174 'wons_week' => 'Parties gagnées cette semaine', … … 2199 2199 'honor points' => 'Points d\'Honneur', 2200 2200 'honor' => 'Rang', 2201 'guild' => 'Guilde' 2201 'guild' => 'Guilde' 2202 ); 2203 2204 $lang_events = array( 2205 'total' => 'Total', 2206 'descr' => 'Event name', 2207 'start' => 'First Starting Time', 2208 'occur' => 'Occurance<br><small>days/hours', 2209 'length' => 'Length<br><small>days/hours', 2210 'events' => 'Events' 2202 2211 ); 2203 2212 ?> -
minimanager/lang/ruRU.php
r142 r178 8 8 * License: GNU General Public License v2(GPL) 9 9 */ 10 10 11 11 $site_encoding = "Windows-1251"; 12 12 … … 75 75 'pass_recovery' => 'Çàáûë ïàðîëü?' 76 76 ); 77 77 78 78 $lang_register = array( 79 79 // ----- REGISTER.PHP ----- … … 115 115 'pass_too_long' => 'Ââåäåííûé ïàðîëü ñëèøêîì äëèííûé!' 116 116 ); 117 117 118 118 $lang_index = array( 119 119 // ----- INDEX.PHP ----- … … 132 132 'honor_kills' => '×åñòü' 133 133 ); 134 134 135 135 $lang_header = array( 136 136 // ----- HEADER.PHP ----- … … 147 147 'users' => 'Èãðîêè', 148 148 'auctionhouse' => 'Àóêöèîí', 149 'forum ' => 'Ôîðóì',149 'forums' => 'Ôîðóì', 150 150 'accounts' => 'Àêêàóíòû', 151 151 'characters' => 'Ïåðñîíàæè', … … 178 178 'repair' => '<nobr>Âîññòàíîâëåíèå-Îïòèìèçàöèÿ', 179 179 'game_object' => 'Ãåéì-Îáúåêòû', 180 'honor' => 'Ðàíãè ÷åñòè' 181 ); 182 180 'honor' => 'Ðàíãè ÷åñòè', 181 'events' => 'Events' 182 ); 183 183 184 $lang_footer = array( 184 185 // -----FOOTER.PHP ----- … … 232 233 'save_all_realms' => 'Ñîõðàíèòü äàííûå âñåõ ðåàëìîâ' 233 234 ); 234 235 235 236 $lang_banned = array( 236 237 // ----- BANNED.PHP ----- … … 256 257 'acc_not_found' => 'Àêêàóíò íå íàéäåí' 257 258 ); 258 259 259 260 $lang_char = array( 260 261 // ----- CHAR.PHP ----- … … 324 325 'no_tp_location' => 'Íå íàéäåíî ëîêàöèé òåëåïîðòà â äàííîå ìåñòî' 325 326 ); 326 327 327 328 $lang_item = array( 328 329 // ----- ITEM TOOLTIP ----- … … 478 479 'socket_blue' => 'Ñèíèé ñîêåò', 479 480 'rating_by' => 'Ðåéòèíã ïî', 480 'improves' => 'Óëó÷øåíèå', 481 'improves' => 'Óëó÷øåíèå', 481 482 'DEFENCE_RATING' => 'Çàùèòà', 482 483 'DODGE_RATING' => 'Óâîðîò', … … 545 546 'by_item' => 'ïî id âåùè' 546 547 ); 547 548 548 549 $lang_cleanup = array( 549 550 // ----- CLEANUP.PHP ----- … … 574 575 'clean_db' => 'Î÷èñòèòü áàçó äàíûõ' 575 576 ); 576 577 577 578 $lang_edit = array( 578 579 // ----- EDIT.PHP ----- … … 604 605 'tot_chars' => 'Âñåãî ïåðñîâ' 605 606 ); 606 607 607 608 $lang_guild = array( 608 609 // ----- GUILD.PHP ----- … … 635 636 'browse_guilds' => 'Ïðîñìîòð ãèëüäèé' 636 637 ); 637 638 638 639 $lang_mail = array( 639 640 // ----- MAIL.PHP ----- … … 690 691 'run_patch' => 'Çàïóñòèòü SQL ïàò÷' 691 692 ); 692 693 693 694 $lang_ssh = array( 694 695 // ----- SSH.PHP ----- … … 696 697 'config_server_properly' => 'Óòî÷íèòå íàñòðîéêè âàøåãî SSH/Telnet ñåðâåðà, ÷òîáû âèäåòü åãî îíëàéí.' 697 698 ); 698 699 699 700 $lang_realm = array( 700 701 // ----- REALM.PHP ----- … … 730 731 'status' => 'Ñòàòóñ' 731 732 ); 732 733 733 734 $lang_ticket = array( 734 735 // ----- TICKET.PHP ----- … … 765 766 'character' => 'Ïåðñîíàæ' 766 767 ); 767 768 768 769 $lang_user = array( 769 770 // ----- USER.PHP ----- … … 838 839 'expansion' => 'WoW-TBC' 839 840 ); 840 841 841 842 $lang_stat = array( 842 843 // ----- STAT.PHP ----- … … 921 922 'item_id' => 'Íîìåð ID âåùè', 922 923 'err_adding_item' => 'Îøèáêà äîáàâëåíèÿ âåùè', 923 'err_no_field_updated' => 'Íè îäíî ïîëå íå èçìåíèëîñü', 924 'err_no_field_updated' => 'Íè îäíî ïîëå íå èçìåíèëîñü', 924 925 'del_item' => 'Óäàëèòü', 925 926 'general_tab' => 'Îáùèå', … … 2153 2154 'Field_Marshal' => 'Field Marshal', 2154 2155 'Grand_Marshal' => 'Grand Marshal', 2155 2156 'Scout' => 'Scout', 2156 2157 'Grunt' => 'Grunt', 2157 2158 'Senior_Sergeant' => 'Senior Sergeant', … … 2228 2229 ); 2229 2230 2231 $lang_events = array( 2232 'total' => 'Total', 2233 'descr' => 'Event name', 2234 'start' => 'First Starting Time', 2235 'occur' => 'Occurance<br><small>days/hours', 2236 'length' => 'Length<br><small>days/hours', 2237 'events' => 'Events' 2238 ); 2239 2230 2240 ?> -
minimanager/lang/zhCN.php
r142 r178 21 21 * License: GNU General Public License v2(GPL) 22 22 */ 23 23 24 /* 25 * Project Name: MiniManager for Mangos Server 26 * Author: lkou (¼òÌåÖÐÎÄ·Òë) 27 * Copyright: lkou (¼òÌåÖÐÎÄ·Òë) 28 * Translated For: Svn 59 Ver.0.1.6a(December.20.2007) 29 * Email: 30 * License: GNU General Public License v2(GPL) 31 */ 32 24 33 $site_encoding = "gb2312"; 25 34 … … 41 50 'none' => 'ÎÞ', 42 51 'delete' => 'ɾ³ý', 43 'delete_short' => 'ɾ ',52 'delete_short' => 'ɾ.', 44 53 'edit' => '±à¼', 45 54 'yes' => 'È·¶¨', … … 65 74 'enter_valid_logon' => 'ÇëÊäÈëÓÐЧµÄÕʺźÍÃÜÂë½øÐеǽ:', 66 75 'select_realm' => 'Ñ¡Ôñ·ÖÇø', 67 'remember_me' => '¼ÇסÃÜÂë', 76 'remember_me' => '¼ÇסÃÜÂë', 68 77 'pass_recovery' => 'Íü¼ÇÃÜÂë?' 69 78 ); 70 79 71 80 $lang_register = array( 72 81 // ----- REGISTER.PHP ----- … … 91 100 'cannot_create_acc' => '·¶Î§Ö®ÄÚµÄÓû§²»ÄÜ´´½¨ÕʺÅ.', 92 101 'fill_all_fields' => 'ÇëÌîдËùÓбØÌîÏîÄ¿.', 93 'acc_type' => 'Õ˺ÅÀàÐÍ', 94 'acc_type_desc' => '¿Í»§¶ËÀàÐÍ', 102 'acc_type' => 'Õ˺ÅÀàÐÍ', 103 'acc_type_desc' => '¿Í»§¶ËÀàÐÍ', 95 104 'classic' => 'ÆÕͨ', 96 105 'expansion' => '×ÊÁÏƬ', 97 'recover_acc_password' => 'ÕÒ»ØÃÜÂë', 98 'user_pass_rec_desc' => 'ÊäÈëÒªÕÒ»ØÃÜÂëµÄÓû§Ãû', 99 'mail_pass_rec_desc' => 'ÇëÌîÈë¸ÃÕÊ»§×¢²áʱµÄµç×ÓÓÊÏäµØÖ·', 106 'recover_acc_password' => 'ÕÒ»ØÃÜÂë', 107 'user_pass_rec_desc' => 'ÊäÈëÒªÕÒ»ØÃÜÂëµÄÓû§Ãû', 108 'mail_pass_rec_desc' => 'ÇëÌîÈë¸ÃÕÊ»§×¢²áʱµÄµç×ÓÓÊÏäµØÖ·', 100 109 'recover_pass' => 'ÕÒ»ØÃÜÂë', 101 'user_mail_not_found' => 'ÊäÈëµÄÕÊ»§»òÓÊÏäµØÖ·´íÎó', 110 'user_mail_not_found' => 'ÊäÈëµÄÕÊ»§»òÓÊÏäµØÖ·´íÎó', 102 111 'recovery_mail_sent' => 'ÕÒ»ØÓʼþÒÑ·¢ËÍ', 103 112 'read_terms' => 'µ±ÄúÉêÇëÓû§Ê±£¬±íʾÄúÒÑÈÏÕæÔĶÁ,Àí½â²¢½ÓÊÜ·þÎñÌõ¿î(µã»÷½øÈë)', … … 105 114 'error_terms' => '·þÎñÌõ¿îδ±»½ÓÊÜ', 106 115 'i_agree' => 'ÎÒͬÒâ', 107 'i_dont_agree' => '²»Í¬Òâ' 108 ); 109 116 'i_dont_agree' => '²»Í¬Òâ', 117 'pass_too_long' => 'ÃÜÂë¹ý¶Ì' 118 ); 119 110 120 $lang_index = array( 111 121 // ----- INDEX.PHP ----- … … 124 134 'honor_kills' => 'ÈÙÓþµÈ¼¶' 125 135 ); 126 136 127 137 $lang_header = array( 128 138 // ----- HEADER.PHP ----- … … 132 142 'characters' => 'ÈËÎï½ÇÉ«', 133 143 'guilds' => 'ÓÎÏ·¹«»á', 144 'arena_teams' => '¾º¼¼³¡¶ÓÎé', 134 145 'banned_list' => '·â½ûÇåµ¥', 135 146 'cleanup' => 'ÇåÀíÊý¾Ý¿â', … … 152 163 'command' => 'ÓÎÏ·ÃüÁî', 153 164 'creatures' => 'ÉúÎïÊý¾Ý', 154 'player_map' => 'ÔÚÏßÍæ¼ÒËùÔÚλÖÃ', 165 'player_map' => 'ÔÚÏßÍæ¼ÒËùÔÚλÖÃ', 155 166 'irc' => 'IRCÁÄÌì', 156 'repair' => 'ÐÞ¸´/ÓÅ»¯', 167 'repair' => 'ÐÞ¸´/ÓÅ»¯', 157 168 'game_object' => 'ÓÎÏ·ÎïÌå/¶ÔÏó', 158 169 'forums' => 'ÂÛ̳', 170 'honor' => 'ÈÙÓþÅÅÃû', 159 171 'auctionhouse' => 'ÅÄÂôÐÐ', 160 ); 161 172 'events' => 'ʼþ' //todo 173 ); 174 162 175 $lang_footer = array( 163 176 // -----FOOTER.PHP ----- … … 181 194 'repair_error' => '´íÎó' 182 195 ); 183 196 184 197 $lang_backup = array( 185 198 // ----- BACKUP.PHP ----- … … 211 224 'save_all_realms' => '±£´æËùÓзþÎñÆ÷·ÖÇøÊý¾Ý' 212 225 ); 213 214 $lang_banned = array( //TODO226 227 $lang_banned = array( 215 228 // ----- BANNED.PHP ----- 216 229 'add_to_banned' =>'¼ÓÈëºÚÃûµ¥', … … 235 248 'acc_not_found' => 'ÕË»§²»´æÔÚ' 236 249 ); 237 250 238 251 $lang_char = array( 252 // ----- CHAR.PHP ----- 239 253 'online' =>'ÔÚÏß', 240 254 'offline' => 'ÀëÏß', … … 271 285 'quest_level' => 'ÈÎÎñµÈ¼¶', 272 286 'quest_title' => 'ÈÎÎñ±êÌâ', 273 'professions' => 'רҵ', 287 'professions' => 'רҵ', 274 288 'skills' => '¼¼ÄÜ', 275 'skill_id' => '¼¼ÄÜID', 289 'skill_id' => '¼¼ÄÜID', 276 290 'skill_name' => '¼¼ÄÜÃû³Æ', 277 'skill_value' => '¼¼ÄÜÖ±', 291 'skill_value' => '¼¼ÄÜÖ±', 278 292 // --- $skill_rank_array --- 279 'apprentice' => '³õ¼¶', 280 'journeyman' => 'Öм¶', 281 'expert' => '¸ß¼¶', 293 'apprentice' => '³õ¼¶', 294 'journeyman' => 'Öм¶', 295 'expert' => '¸ß¼¶', 282 296 'artisan' => 'ר¼Ò', 283 'master' => '´óʦ', 284 'inherent' => '×Úʦ', 285 'wise' => '±Ç×æ', 297 'master' => '´óʦ', 298 'inherent' => '×Úʦ', 299 'wise' => '±Ç×æ', 286 300 // ---- edit_char.php ---- 287 301 'update' => '¸üÐÂÈËÎïÊý¾Ý', … … 298 312 'to_char_view' => 'תµ½½ÇÉ«ä¯ÀÀ', 299 313 'inv_bank' => 'ÒøÐÐÎïÆ·ÏêϸĿ¼', 300 'location' => 'λÖÃ×ø±ê', 314 'location' => 'λÖÃ×ø±ê', 301 315 'move_to' => '´«ËÍÖÁ (.tele location name)', 302 316 'no_tp_location' => '´«ËÍλÖôíÎó' 303 317 ); 304 318 305 319 $lang_item = array( 306 320 // ----- ITEM TOOLTIP ----- … … 348 362 'wand' => 'ħÕÈ', 349 363 'fishing_pole' => 'Óã¸Ë', 350 'rod' => 'ħÕÈ', 364 'rod' => 'ħÕÈ', 351 365 'robe' => '³¤ÅÛ', 352 366 'tome' => '¸±ÊÖ', … … 372 386 'FA_manual' => '¼±¾ÈÊÖ²á', 373 387 'ench_formula' => '¸½Ä§¹«Ê½', 374 'JC_formula' => 'Ö鱦¼Ó¹¤Éè¼Æͼ', 388 'JC_formula' => 'Ö鱦¼Ó¹¤Éè¼Æͼ', 375 389 'quiver' => '¼ý´ü', 376 390 'ammo_pouch' => 'µ¯Ò©Ð¡´ü', 377 'soul_shards' => 'Áé»ê´ü', 391 'soul_shards' => 'Áé»ê´ü', 378 392 'herbs' => '²ÝÒ©°ü', 379 393 'enchanting' => '¸½Ä§´ü', 380 'engineering' => '¹¤³Ì²ÄÁÏ´ü', 381 'gems' => '±¦Ê¯´ü', 394 'engineering' => '¹¤³Ì²ÄÁÏ´ü', 395 'gems' => '±¦Ê¯´ü', 382 396 'keys' => 'Ô¿³×Á´', 383 397 'mining' => '¿óÎï´ü', … … 404 418 'plate' => '°å¼×', 405 419 'shield' => '¶ÜÅÆ', 406 'buckler' => 'СԲ¶Ü wowÖв»´æÔÚ', 407 'block' => '¸ñµ²', 408 'none' => 'ÎÞ', 409 'other' => 'ÆäËü', 420 'buckler' => 'СԲ¶Ü wowÖв»´æÔÚ', 421 'block' => '¸ñµ²', 422 'none' => 'ÎÞ', 423 'other' => 'ÆäËü', 410 424 'damage' => 'É˺¦', 411 425 'speed' => 'ËÙ¶È', … … 433 447 'intellect' => 'ÖÇÁ¦', 434 448 'spirit' => '¾«Éñ', 435 'spell_use' => 'ʹÓÃ', 436 'spell_equip' => '×°±¸', 449 'spell_use' => 'ʹÓÃ', 450 'spell_equip' => '×°±¸', 437 451 'spell_coh' => '»÷ÖÐʱÓм¸ÂÊ´¥·¢', 438 'class' => 'Ö°Òµ', 452 'class' => 'Ö°Òµ', 439 453 'slots' => '²Û', 440 'charges' => '´Î', 454 'charges' => '´Î', 441 455 'socket_bonus' => 'Ïâ¿×½±Àø', 442 456 'potion' => 'Ò©¼Á', … … 456 470 'socket_blue' => 'À¶É«²å²Û', 457 471 'rating_by' => 'µÈ¼¶', 458 'improves' => 'Ìá¸ß', 472 'improves' => 'Ìá¸ß', 459 473 'DEFENCE_RATING' => '·ÀÓù', 460 474 'DODGE_RATING' => '¶ãÉÁ', … … 520 534 'search_results' => 'ËÑÑ°½á¹û', 521 535 'browse_chars' => 'ä¯ÀÀ½ÇÉ«', 522 'chars_gold' => '°´:½ðÇ® >',536 'chars_gold' => '°´:½ðÇ®', 523 537 'by_item' => '°´:ÎïÆ·ID' 524 538 ); 525 539 526 540 $lang_cleanup = array( 527 541 // ----- CLEANUP.PHP ----- … … 552 566 'clean_db' => 'ÇåÀíÊý¾Ý¿â' 553 567 ); 554 568 555 569 $lang_edit = array( 556 570 // ----- EDIT.PHP ----- … … 571 585 'del_error' => 'δ֪µÄɾ³ý´íÎó.', 572 586 'edit_your_acc' => '±à¼ÄúµÄÕʺÅ', 573 'cms_options' => 'CMSÑ¡Ïî', 587 'cms_options' => 'CMSÑ¡Ïî', 574 588 'select_cms_template' => 'Ñ¡ÔñCMSÄ£°å', 575 'template' => 'Ä£°å', 589 'template' => 'Ä£°å', 576 590 'select_cms_layout_lang' => 'Ñ¡ÔñÍøÕ¾Ò³ÃæÏÔʾÓïÑÔ', 577 591 'language' => 'ÓïÑÔ', … … 582 596 'tot_chars' => 'ÈËÎï×ÜÊý' 583 597 ); 584 598 585 599 $lang_guild = array( 586 600 // ----- GUILD.PHP ----- … … 603 617 'motd' => '¹«¸æ', 604 618 'level' => 'µÇ¼Ç', 605 'name' => 'Ãû×Ö', 606 'remove' => 'ɾ³ý', 607 'rank' => '¼¶±ð', 619 'name' => 'Ãû×Ö', 620 'remove' => 'ɾ³ý', 621 'rank' => '¼¶±ð', 608 622 'tot_members' => '³ÉÔ±×ÜÊý', 609 623 'err_no_members_found' => 'δÕÒµ½ÈκγÉÔ±!', … … 613 627 'browse_guilds' => 'ä¯ÀÀ¹«»á' 614 628 ); 615 629 616 630 $lang_mail = array( 617 // ----- MAIL.PHP ----- 631 // ----- MAIL.PHP ----- 618 632 'mail_type' => 'ÓʼþÀàÐÍ', 619 633 'mail_options' => 'ÓʼþÑ¡Ïî', … … 631 645 'online' => 'ÔÚÏß', 632 646 'attachments' => '¸½¼þ(Ö»ÔÊÐíͼƬ)', 633 'money' => 'Ç®', 647 'money' => 'Ç®', 634 648 'item' => 'ÎïÆ· (id)', 635 'stack' => 'ÊýÁ¿', 649 'stack' => 'ÊýÁ¿', 636 650 'mail_body' => 'Óʼþ', 637 651 'dont_use_both_groupsend_and_to' => '* ×¢Òâ: ÄãÊÇ·ñÕýÔÚʹÓÃ\'Ⱥ·¢Ñ¡Ïî\'£¿£¬Èç¹ûÊÇÇ뽫\'ÊÕ¼þÈË\'À¸Ä¿Îª¿Õ.', … … 644 658 'send_mail' => '·¢ËÍÓʼþ' 645 659 ); 646 660 647 661 $lang_motd = array( 648 662 // ----- MOTD.PHP ----- … … 668 682 'run_patch' => 'ÔËÐÐ SQL ²¹¶¡' 669 683 ); 670 684 671 685 $lang_ssh = array( 672 686 // ----- SSH.PHP ----- … … 674 688 'config_server_properly' => 'È·±£ÄãÕýÈ·ÅäÖÃSSH/Ô¶³Ì·þÎñÆ÷,²¢ÇÒÏÖÔÚÔÚÏß.' 675 689 ); 676 690 677 691 $lang_realm = array( 678 692 // ----- REALM.PHP ----- … … 708 722 'status' => '·þÎñÆ÷״̬' 709 723 ); 710 724 711 725 $lang_ticket = array( 712 726 // ----- TICKET.PHP ----- … … 743 757 'character' => '½ÇÉ«' 744 758 ); 745 759 746 760 $lang_user = array( 747 761 // ----- USER.PHP ----- … … 750 764 'backup' => '±¸·Ý', 751 765 'by_name' => '°´Ãû³Æ', 766 'by_tbc' => '°´TBCÕË»§.', 752 767 'by_id' => '°´ID', 753 'by_tbc' => 'TBCÕË»§',754 768 'by_gm_level' => 'GMµÈ¼¶', 755 769 'greater_gm_level' => 'GMµÈ¼¶', … … 816 830 'expansion' => '×ÊÁÏƬ' 817 831 ); 818 832 819 833 $lang_stat = array( 820 834 // ----- STAT.PHP ----- … … 836 850 'avg_uptime' => 'ƽ¾ù·þÎñʱ¼ä', 837 851 'max_uptime' => '×·þÎñʱ¼ä', 838 'uptime_prec' => ' ·þÎñʱ¼ä°Ù·Ö±È' 852 'uptime_prec' => ' ·þÎñʱ¼ä°Ù·Ö±È', 853 'unique_ip' => '×î½ü 24 СʱÄڵǽµÄIP' 839 854 ); 840 855 … … 881 896 ); 882 897 883 $lang_item_edit = array( 898 $lang_item_edit = array( 884 899 // ----- ITEM.PHP ----- 885 900 'search_item' => 'ÎïÆ·²éÕÒ', … … 940 955 'start_quest' => '¿ªÊ¼ÈÎÎñ', 941 956 'start_quest_desc' => '¸ÃÎïÆ·ÄÜ´¥·¢µÄÈÎÎñIDºÅ.', 942 'short_rules_desc' => '* °ÑÄãµÄÊó±êÒƵ½Ã¿¸ö×Ö¶ÎÉÏ»á³öÏÖ¸¡¶¯Ìáʾ.<br /> 943 * È·ÈÏÄãÍêÕûµØÌîдÁËËùÓÐÐÅÏ¢£¬ÇÒÎïÆ·µÄ±àºÅûÓÐÓëÒÑÓÐÎïÆ·Öظ´.', 957 'short_rules_desc' => '* °ÑÄãµÄÊó±êÒƵ½Ã¿¸ö×Ö¶ÎÉÏ»á³öÏÖ¸¡¶¯Ìáʾ.<br />* È·ÈÏÄãÍêÕûµØÌîдÁËËùÓÐÐÅÏ¢£¬ÇÒÎïÆ·µÄ±àºÅûÓÐÓëÒÑÓÐÎïÆ·Öظ´.', 944 958 'vendor' => 'ÉÌÆ·ÊôÐÔ', 945 959 'buy_count' => 'ÂòÈëµþ¼ÓÊý', … … 996 1010 'area_desc' => 'ÎïÆ·½öÄÜÔÚ¸ÃÇøÓòIDʹÓÃ', 997 1011 'map' => 'µØͼ', 998 'map_desc' => 'ÎïÆ·½öÄÜÔڸõØͼIDʹÓÃ', 1012 'map_desc' => 'ÎïÆ·½öÄÜÔڸõØͼIDʹÓÃ', 999 1013 'stats' => '״̬ÊôÐÔ', 1000 1014 'stat_type' => 'ÀàÐÍ', … … 1079 1093 'socket_bonus_desc' => 'ÏâǶµÄ½±Àø.', 1080 1094 'gem_properties' => '±¦Ê¯ÊôÐÔ', 1081 'gem_properties_desc' => ' TODO',//TODO1095 'gem_properties_desc' => 'Áª½áµ½ GemProperties.dbc', 1082 1096 'custom_search' => '¶¨ÖƹýÂËÆ÷', 1083 1097 'info' => 'ÐÅÏ¢', … … 1102 1116 'loot_quest_drop_chance_desc' => 'ÔÚÈÎÎñÖеĵôÂä»úÂÊ', 1103 1117 'min_count' => '×îСֵ', 1104 'min_count_desc' => 'Ò»´ÎµôÂäµÄ×îСֵ.',1105 'max_count' => '×î´óÖµ',1106 1118 'max_count_desc' => 'Ò»´ÎµôÂäµÄ×î´óÖµ.', 1107 'quest_loot' => 'ÈÎÎñÊ°È¡±êÖ¾', 1108 'quest_loot_desc' => 'ÈÎÎñ×ÔÓÉÊ°È¡±êÖ¾.', 1109 'add_item_to_loot' => '½«ÎïÆ·¼ÓÈëÊ°È¡Ä£°å', 1119 'add_item_to_loot' => 'Ìí¼ÓµÀ¾ßµ½Õ½ÀûÆ·Ä£°å', 1110 1120 'drop_chance' => 'µôÂÊ', 1111 1121 'quest_drop_chance' => 'ÈÎÎñµôÂÊ', 1112 'quest_freeforall' => 'ÈÎÎñ×ÔÓÉÊ°È¡',1113 1122 'armor_dmg_mod' => '»¤¼×É˺¦ÐÞÕý', 1114 1123 'armor_dmg_mod_desc' => 'TODO:', 1115 'ppm_rate' => 'ppmRate', 1116 'ppm_rate_desc' => 'Number of proc per minute', 1117 'item_spell' => 'Item Spell' 1124 'ppm_rate' => 'ppmÂÊ', 1125 'ppm_rate_desc' => 'ÿ·ÖÖÓprocÂÊ', 1126 'item_spell' => 'µÀ¾ß·ûÖä', 1127 'freeforall' => '×ÔÓÉÊ°È¡', 1128 'freeforall_desc' => '×ÔÓÉÊ°È¡±êÖ¾.', 1129 'lootcondition' => 'Õ½ÀûÆ·×´¿ö', 1130 'lootcondition_desc' => 'Õ½ÀûÆ·×´¿ö±êÖ¾', 1131 'condition_value1' => '×´¿öÖµ 1', 1132 'condition_value1_desc' => '×´¿öÖµ 1 ±êÖ¾', 1133 'condition_value2' => '×´¿öÖµ 2', 1134 'condition_value2_desc' => '×´¿öÖµ 2 ±êÖ¾', 1135 'modelid_A' => 'ÁªÃ˵ÄÄ£ÐÍ ID', 1136 'modelid_A_desc' => 'ÁªÃ˵ÄÄ£ÐÍ ID', 1137 'modelid_A2' => 'ÁªÃ˵ÄÄ£ÐÍ ID 2', 1138 'modelid_A2_desc' => 'ÁªÃ˵ÄÄ£ÐÍ ID 2', 1139 'modelid_H' => '²¿ÂäµÄÄ£ÐÍ ID', 1140 'modelid_H_desc' => '²¿ÂäµÄÄ£ÐÍ ID', 1141 'modelid_H2' => '²¿ÂäµÄÄ£ÐÍ ID 2', 1142 'modelid_H2_desc' => '²¿ÂäµÄÄ£ÐÍ ID 2', 1143 'faction_A' => 'ÕóÓª (ÁªÃË)', 1144 'faction_A_desc' => 'ÊôÓÚÁªÃËÕóÓª.', 1145 'faction_H' => 'ÕóÓª (²¿Âä)', 1146 'faction_H_desc' => 'ÊôÓÚ²¿ÂäÕóÓª.', 1147 'RegenHealth' => 'ÔÙÉú½¡¿µ', 1148 'equipment' => '×°±¸', 1149 'equip_slot' => '×°±¸Î»ÖÃ', 1150 'equip_slot1_desc' => 'ʹÓÃÕýÈ·µÄλÖÃ', 1151 'equip_slot2_desc' => 'ʹÓÃÕýÈ·µÄλÖÃ', 1152 'equip_slot3_desc' => 'ʹÓÃÕýÈ·µÄλÖÃ', 1153 'equip_model' => '×°±¸Ä£ÐÍ', 1154 'equip_model1_desc' => 'ÕâÊDZ»ÓÃÓÚÓÒÊÖµÄ×°±¸µÄÄ£ÐÍ.', 1155 'equip_model2_desc' => 'ÕâÊDZ»ÓÃÓÚÓÒÊÖµÄ×°±¸µÄÄ£ÐÍ.', 1156 'equip_model3_desc' => 'ÕâÊDZ»ÓÃÓÚÔ¶³Ì¹¥»÷µÄ×°±¸µÄÄ£ÐÍ.', 1157 'equip_info' => '×°±¸ÐÅÏ¢', 1158 'equip_info1_desc' => 'Õâ¿ØÖÆÁ½ÕߵĶ¯», ±»×°±¸µÄµÀ¾ßµã»÷ÊýºÍÉùÒô', 1159 'equip_info2_desc' => 'Õâ¿ØÖÆÁ½ÕߵĶ¯», ±»×°±¸µÄµÀ¾ßµã»÷ÊýºÍÉùÒô', 1160 'equip_info3_desc' => 'Õâ¿ØÖÆÁ½ÕߵĶ¯», ±»×°±¸µÄµÀ¾ßµã»÷ÊýºÍÉùÒô' 1118 1161 ); 1119 1162 1120 $lang_creature = array( //TODO :Translate entire array1163 $lang_creature = array( 1121 1164 // ----- CREATURE.PHP ----- 1122 1165 'none' => 'ÎÞ', … … 1217 1260 'max_mana' => '×î¸ßħ·¨Öµ', 1218 1261 'max_mana_desc' => '¸ÃÉúÎïµÄ×î¸ßµÈ¼¶Ê±µÄħ·¨Öµ.Ë¢ÐÂÉúÎïʱ,ħ·¨Öµ»áÏßÐԵĽéÓÚ×îµÍµÈ¼¶Ä§·¨ÖµÓë×î¸ßµÈ¼¶Ä§·¨ÖµÖ®¼ä.', 1219 'faction' => 'ÕóÓª',1220 'faction_desc' => '¸ÃÉúÎïµÄÕóÓª.',1221 1262 'family' => '¼Ò×å', 1222 1263 'family_desc' => '¸ÃÉúÎïµÄ¼Ò×å·ÖÀà.', … … 1283 1324 'resis_arcane_desc' => '°ÂÊõ¿¹ÐÔ.', 1284 1325 'models' => 'Ä£ÐÍ', 1285 'modelid_male' => 'ÄÐÐÔÄ£ÐͱàºÅ',1286 'modelid_male_desc' => '¿Í»§¶ËÓ¦µ±Ó¦ÓÃÓÚ¸ÃÄÐÐÔÉúÎïµÄͼÏñÄ£ÐÍ.',1287 'modelid_female' => 'Å®ÐÔÄ£ÐͱàºÅ',1288 'modelid_female_desc' => '¿Í»§¶ËÓ¦µ±Ó¦ÓÃÓÚ¸ÃÅ®ÐÔÉúÎïµÄͼÏñÄ£ÐÍ.',1289 'equip_slot' => 'Equip Slot',//TODO1290 'equip_slot_desc' => 'TODO:',//TODO1291 'equip_model' => '×°±¸Ä£ÐÍ',1292 'equip_model_desc' => '¸ÃÉúÎï×°±¸µÄÎïÆ·µÄÄ£ÐÍ.',1293 'equip_info' => 'Equip Info',//TODO1294 'equip_info_desc' => 'TODO:',//TODO1295 1326 'scripts' => '½Å±¾', 1296 1327 'ai_name' => 'AIÃû', … … 1311 1342 'civilian' => 'ƽÃñ', 1312 1343 'civilian_desc' => '¸ÃNPCÊÇ·ñÊÇƽÃñ.', 1313 'flags' => ' Flags',//TODO1314 'flags_desc' => 'TODO:', //TODO1315 'dynamic_flags' => 'Dynamic Flags',//TODO1316 'dynamic_flags_desc' => 'TODO:', //TODO1317 'flag_1' => 'Flag 1', //TODO1318 'flag_1_desc' => ' TODO:',//TODO1344 'flags' => '±êÖ¾', 1345 'flags_desc' => 'TODO:', 1346 'dynamic_flags' => 'Dynamic ±êÖ¾', 1347 'dynamic_flags_desc' => 'TODO:', 1348 'flag_1' => 'Flag 1', 1349 'flag_1_desc' => '¹ÖÎï×é: ÄãÈç¹û¹¥»÷ijһ¸ö£¬ÄÇôÆäËû¹Ö½«Ò»Æð¹¥»÷Äã.', 1319 1350 'save_to_db' => '´æÈëÊý¾Ý¿â', 1320 1351 'save_to_script' => '´æΪSQL½Å±¾', … … 1362 1393 'max_count' => '×î´óÊý', 1363 1394 'max_count_desc' => 'µôÂäÒ»¶Ñʱ°üÀ¨µÄ×î´óÖµ.', 1364 'quest_loot' => 'ÈÎÎñµôÂä±ê־λ',1365 'quest_loot_desc' => 'ÈÎÎñ×ÔÓÉÊ°È¡±ê־λ.',1366 1395 'add_item_to_loot' => '¼ÓÈëÎïÆ·µ½µôÂäÄ£°å', 1367 1396 'drop_chance' => 'µôÂÊ', 1368 'quest_freeforall' => 'ÈÎÎñ×ÔÓÉÊ°È¡',1369 1397 'add_ends_quests' => '¼ÓÈë½áÊøÓÚ¸ÃNPCµÄÈÎÎñ', 1370 1398 'add_starts_quests' => '¼ÓÈ뿪ʼÓÚ¸ÃNPCµÄÈÎÎñ', … … 1393 1421 'RacialLeader' => 'ÖÖ×åÊ×Áì', 1394 1422 'RacialLeader_desc' => 'ÉèΪ 1 Èç¹û¸ÃÉúÎïÊÇÖÖ×åÊ×Áì', 1395 'dmgschool' => 'Damage School', //TODO 1396 'dmgschool_desc' => 'The school of damage will be used by this mob' 1397 ); 1398 1399 $lang_game_object = array( 1423 'dmgschool' => 'É˺¦Ñ§Ð££¿', 1424 'dmgschool_desc' => 'Ö¸¶¨¹ÖÎïʹÓÃ', 1425 'freeforall' => '×ÔÓÉÊ°È¡', 1426 'freeforall_desc' => '×ÔÓÉÊ°È¡±êÖ¾.', 1427 'lootcondition' => 'Õ½ÀûÆ·×´¿ö', 1428 'lootcondition_desc' => 'Õ½ÀûÆ·×´¿ö±êÖ¾', 1429 'condition_value1' => '×´¿öÖµ 1', 1430 'condition_value1_desc' => '×´¿öÖµ 1 ±êÖ¾', 1431 'condition_value2' => '×´¿öÖµ 2', 1432 'condition_value2_desc' => '×´¿öÖµ 2 ±êÖ¾', 1433 1434 ); 1435 1436 $lang_game_object = array( 1400 1437 // ----- GAME_OBJECT.PHP ----- 1401 1438 'unknown' => 'δ֪', … … 1414 1451 'search_go' => '²éÕÒ Game Objects', 1415 1452 'general' => '»ù±¾ÊôÐÔ', 1416 'sounds' => '¶îÍâ Sounds',1417 1453 'save_to_db' => '´æÈëÊý¾Ý¿â', 1418 1454 'save_to_script' => '´æΪ½Å±¾', 1419 1455 'lookup_go' => '²éÕÒ Game Object', 1420 'DOOR' => ' DOOR|ÃÅ',1421 'BUTTON' => ' BUTTON|°´Å¥',1422 'QUESTGIVER' => ' QUESTGIVER|¸øÓèÈÎÎñ',1423 'CHEST' => ' CHEST|Ïä×Ó',1424 'BINDER' => ' BINDER|°üÔú¹¤¾ß',1425 'GENERIC' => ' GENERIC|ÆÕͨµÄÒ»°ãµÄ',1426 'TRAP' => ' TRAP|ÏÝÚå',1427 'CHAIR' => ' CHAIR|ÒÎ×Ó',1428 'SPELL_FOCUS' => ' SPELL_FOCUS|·¨Êõ½¹µã',1429 'TEXT' => ' TEXT|ÎÄ×Ö',1430 'GOOBER' => ' GOOBER|ÓеôÂä',1431 'TRANSPORT' => ' TRANSPORT|´«Ë͵ã',1432 'AREADAMAGE' => ' AREADAMAGE|ÇøÓòÉ˺¦',1433 'CAMERA' => ' CAMERA|ÉãÏñ»ú',1434 'MAP_OBJECT' => ' MAP_OBJECT|µØͼ¶ÔÏó',1435 'MO_TRANSPORT' => ' MO_TRANSPORT|½»Í¨¹¤¾ß',1436 'DUEL_FLAG' => ' DUEL_FLAG|¾ö¶·ÆìÖÄ',1437 'FISHING_BOBBER' => ' FISHING_BOBBER|µöÓ㸡±ê',1438 'RITUAL' => ' RITUAL|Õл½·¨Õó',1439 'MAILBOX' => ' MAILBOX|ÓÊÏä',1440 'AUCTIONHOUSE' => ' AUCTIONHOUSE|ÅÄÂôÐÐ',1441 'GUARDPOST' => ' GUARDPOST|¸ÚÉÚ',1442 'SPELLCASTER' => ' SPELLCASTER|Ê©·¨Õß',1443 'MEETING_STONE' => ' MEETING_STONE|¼¯ºÏʯ',1444 'BG_Flag' => ' BG_Flag|Õ½³¡ÆìÖÄ',1445 'FISHING_HOLE' => ' FISHING_HOLE|ÓãȺ',1446 'FLAGDROP' => ' FLAGDROP|·ÅϵÄÆìÖÄ',1447 'CUSTOM_TELEPORTER' => ' CUSTOM_TELEPORTER|×Ô¶¨Òå´«ËÍ',1448 'LOTTERY_KIOSK' => ' LOTTERY_KIOSK|³é½±Í¤',1449 'CAPTURE_POINT' => ' CAPTURE_POINT|¶áÈ¡µã',1450 'AURA_GENERATOR' => ' AURA_GENERATOR|¹â»··¢ÉúÆ÷',1451 'DUNGEON_DIFFICULTY' => ' DUNGEON_DIFFICULTY|Ó¢ÐÛÄѶÈ',1456 'DOOR' => 'ÃÅ', 1457 'BUTTON' => '°´Å¥', 1458 'QUESTGIVER' => '¸øÓèÈÎÎñ', 1459 'CHEST' => 'Ïä×Ó', 1460 'BINDER' => '°üÔú¹¤¾ß', 1461 'GENERIC' => 'ÆÕͨµÄÒ»°ãµÄ', 1462 'TRAP' => 'ÏÝÚå', 1463 'CHAIR' => 'ÒÎ×Ó', 1464 'SPELL_FOCUS' => '·¨Êõ½¹µã', 1465 'TEXT' => 'ÎÄ×Ö', 1466 'GOOBER' => 'ÓеôÂä', 1467 'TRANSPORT' => '´«Ë͵ã', 1468 'AREADAMAGE' => 'ÇøÓòÉ˺¦', 1469 'CAMERA' => 'ÉãÏñ»ú', 1470 'MAP_OBJECT' => 'µØͼ¶ÔÏó', 1471 'MO_TRANSPORT' => '½»Í¨¹¤¾ß', 1472 'DUEL_FLAG' => '¾ö¶·ÆìÖÄ', 1473 'FISHING_BOBBER' => 'µöÓ㸡±ê', 1474 'RITUAL' => 'Õл½·¨Õó', 1475 'MAILBOX' => 'ÓÊÏä', 1476 'AUCTIONHOUSE' => 'ÅÄÂôÐÐ', 1477 'GUARDPOST' => '¸ÚÉÚ', 1478 'SPELLCASTER' => 'Ê©·¨Õß', 1479 'MEETING_STONE' => '¼¯ºÏʯ', 1480 'BG_Flag' => 'Õ½³¡ÆìÖÄ', 1481 'FISHING_HOLE' => 'ÓãȺ', 1482 'FLAGDROP' => '·ÅϵÄÆìÖÄ', 1483 'CUSTOM_TELEPORTER' => '×Ô¶¨Òå´«ËÍ', 1484 'LOTTERY_KIOSK' => '³é½±Í¤', 1485 'CAPTURE_POINT' => '¶áÈ¡µã', 1486 'AURA_GENERATOR' => '¹â»··¢ÉúÆ÷', 1487 'DUNGEON_DIFFICULTY' => 'Ó¢ÐÛÄѶÈ', 1452 1488 'general' => '»ù±¾ÉèÖÃ', 1453 1489 'name' => 'Ãû×Ö', … … 1467 1503 'size' => '´óС', 1468 1504 'size_desc' => 'ObjectµÄ´óС±ØÐëÉèÖÃ, ÒòΪͼÏñÄ£ÐÍÐèҪȡÑù.', 1469 'sound' => 'Sound±êÖ¾',1470 'sound_desc' => '¸ù¾Ý²»Í¬µÄGOÀàÐÍ£¬¸ÃÊý¾Ý¶ÎµÄ¶¨Ò岻ͬ. ÿһ¸öÀàÐͶ¼ÓÐΨһµÄÊý¾Ý¶Î¶¨Òå.<br />»ñÈ¡¸ü¶àµÄÐÅÏ¢Çë·ÃÎÊ https://svn.mangosproject.org/trac/MaNGOS/wiki/Database/gameobject_template',1471 1505 'tmpl_not_found' => 'Ä£°åûÕÒµ½', 1472 1506 'del_go' => 'ɾ³ýGO', … … 1476 1510 'loot_tmpl_id' => 'µôÂäÄ£°å', 1477 1511 'drop_chance' => 'µôÂÊ', 1478 'quest_drop_chance' => 'ÈÎÎñµôÂÊ',1479 1512 'quest_freeforall' => 'ÈÎÎñ×ÔÓÉÊ°È¡', 1480 1513 'add_items_to_templ' => '¼ÓÈëÎïÆ·µ½Ä£°å', … … 1489 1522 'max_count' => '×î´óÊý', 1490 1523 'max_count_desc' => 'µôÂäÒ»¶Ñʱ°üÀ¨µÄ×î´óÖµ.', 1491 'quest_loot' => 'ÈÎÎñµôÂä±ê־λ',1492 'quest_loot_desc' => 'ÈÎÎñ×ÔÓÉÊ°È¡±êÖ¾.',1493 1524 'check_to_delete' => '* Ñ¡Ôñ checkbox ½«´ÓÄ£°åɾ³ý.', 1494 1525 'add_starts_quests' => '¼ÓÈëÆðʼÓÚ¸ÃGOµÄÈÎÎñ', … … 1501 1532 'times' => '¸ö', 1502 1533 'go_template' => 'Game Object Ä£°å', 1503 'all_related_data' => 'ÓëÓйØÊý¾ÝÒ»Æð.' 1534 'all_related_data' => 'ÓëÓйØÊý¾ÝÒ»Æð.', 1535 'freeforall' => '×ÔÓÉÊ°È¡', 1536 'freeforall_desc' => '×ÔÓÉÊ°È¡ ±êÖ¾.', 1537 'lootcondition' => 'Õ½ÀûÆ·×´¿ö', 1538 'lootcondition_desc' => 'Õ½ÀûÆ·×´¿ö±êÖ¾', 1539 'condition_value1' => '×´¿öÖµ 1', 1540 'condition_value1_desc' => '×´¿öÖµ 1 ±êÖ¾', 1541 'condition_value2' => '×´¿öÖµ 2', 1542 'condition_value2_desc' => '×´¿öÖµ 2 ±êÖ¾', 1543 'datas' => 'ÁíÍâµÄÊý¾Ý', 1544 'data' => 'Êý¾Ý', 1545 'data_desc' => 'Êý¾ÝΪ²»Í¬ÀàÐ͵ÄÖµ. ÿ¸öÀàÐÍÓжÀÌصÄÁìÓò.<br />¸ü¶àÐÅÏ¢²Î¿¼ https://svn.mangosproject.org/trac /MaNGOS/wiki/Database /gameobject_template' 1504 1546 ); 1505 1547 1506 $lang_auctionhouse = array( 1548 $lang_auctionhouse = array( 1507 1549 // ----- AHSTATS.PHP ----- 1508 1550 'auctionhouse' => 'ÅÄÂôÐÐ', … … 1670 1712 'stonetalon_mountains' => 'ʯצɽÂö', 1671 1713 'the_barrens' => 'ƶñ¤Ö®µØ', 1672 //tbc- zones1714 //tbc- zones 1673 1715 'shattrath_city' => 'ɳËþ˹³Ç', 1674 1716 'silvermoon_city' => 'ÒøÔ³Ç', … … 1775 1817 'SKILL_FIRE' => '»ðÑæ', 1776 1818 'SKILL_FROST' => '±ù˪', 1777 //------ItemSets----- 1819 //------ItemSets----- 1778 1820 'Set696' => '¸ß½×¶½¾üµÄÕ½ÕùÖ®³±', 1779 1821 'Set695' => '´óԪ˧µÄÕ½ÕùÖ®³±', … … 2092 2134 'Set65' => 'Ö©ÖëÖ®ÎÇ', 2093 2135 'Set41' => 'À×µÂË«µ¶', 2094 'Set1' => '½Ç¶·Ê¿' 2136 'Set1' => '½Ç¶·Ê¿', 2137 //------user levels------ 2138 'Player' => 'Íæ¼Ò', 2139 'Moderator' => 'Ö÷³ÖÈË', 2140 'Game_Master' => 'ÓÎÏ·¹ÜÀíÔ±', 2141 'BugTracker' => 'Bug Tracker',//TODO 2142 'Administrator' => '¹ÜÀíÔ±', 2143 'SysOP' => 'Sys OP', //TODO 2144 //------factions------ 2145 'Alliance' => 'ÁªÃË', 2146 'Horde' => '²¿Âä', 2147 //------char rankings------ 2148 'None'=> 'ÎÞ', 2149 'Private' => '¶þµÈ±ø', 2150 'Corporal' => 'ÏÂÊ¿', 2151 'Sergeant' => 'ÖÐÊ¿', 2152 'Master_Sergeant' => 'ÉÏÊ¿', 2153 'Sergeant_Major' => '¾üÊ¿³¤', 2154 'Knight' => 'ÆïÊ¿', 2155 'Knight-Lieutenant' => 'ÆïÊ¿-ÖÐξ', 2156 'Knight-Captain' => 'ÆïÊ¿-ÉÏξ', 2157 'Knight-Champion' => 'ÆïÊ¿-Ê×Áì', 2158 'Lieutenant_Commander' => 'ÖÐξָ»Ó¹Ù', 2159 'Commander' => 'Ö¸»Ó¹Ù', 2160 'Marshal' => 'Ԫ˧', 2161 'Field_Marshal' => '½¾üԪ˧', 2162 'Grand_Marshal' => 'ΰ´óµÄԪ˧', 2163 'Scout' => '³âºò', 2164 'Grunt' => '²½±ø', 2165 'Senior_Sergeant' => '×ÊÉîÖÐÊ¿', 2166 'First_Sergeant' => 'ÓŵÈÖÐÊ¿', 2167 'Stone_Guard' => 'ʯͷÊØÎÀ', 2168 'Blood_Guard' => 'ѪÊØÎÀ', 2169 'Legionnare' => 'Legionnare', 2170 'Centurion' => '°Ù·ò³¤', 2171 'Champion' => 'Ê×Áì', 2172 'Lieutenant_General' => '½¾üÖн«', 2173 'General' => 'Öн«', 2174 'Warlord' => '¾ü·§', 2175 'High_Warlord' => '¸ß¼¶¾ü·§' 2176 ); 2177 2178 2179 $lang_arenateam = array( 2180 // ----- ARENATEAM.PHP ----- 2181 'by_name' =>'°´ÕÕÃû×Ö', 2182 'by_team_leader' => '°´ÕÕ¶Ó³¤', 2183 'by_id' => '°´ÕÕ¶ÓÃû', 2184 'id' => 'Id', 2185 'arenateam_id' => '¾º¼¼³¡¶ÓÎé Id', 2186 'arenateam_name' => '¾º¼¼³¡¶ÓÎéÃû×Ö', 2187 'captain' => '¶Ó³¤', 2188 'type' => 'ÀàÐÍ', 2189 'arenateam_online' => 'ÔÚÏß³ÉÔ±', 2190 'create_date' => '...', 2191 '2' => '2 VS 2', 2192 '3' => '3 VS 3', 2193 '5' => '5 VS 5', 2194 'err_no_members_found' => 'ûÓгÉÔ±!', 2195 'err_no_team_found' => 'ûÓоº¼¼×é¶Ó!', 2196 'del_team' => 'ɾ³ý¾º¼¼×é¶Ó', 2197 'team_search_result' => '¾º¼¼×é¶ÓËÑÑ°½á¹û', 2198 'browse_teams' => 'ä¯ÀÀ¾º¼¼×é¶Ó', 2199 'tot_teams' => '¾º¼¼×é¶Ó×ÜÊý', 2200 'members' => '³ÉÔ±', 2201 'tot_members' => '³ÉÔ±×ÜÊý', 2202 'games' => 'ÔÚÓÎÏ·ÖеÄ', 2203 'rating' => 'µÈ¼¶', 2204 'wins' => 'ÓÎÏ·»ñʤ', 2205 'remove' => 'Òƶ¯', 2206 'name' => 'Ãû×Ö', 2207 'level' => 'µÈ¼¶', 2208 'played_week' => 'ÕâÖÜÍæÓÎÏ·µÄ', 2209 'wons_week' => 'ÕâÖÜ»ñʤµÄ', 2210 'played_season' => 'Õâ¼¾ÍæÓÎÏ·µÄ', 2211 'wons_season' => 'Õâ¼¾»ñʤµÄ', 2212 'arenateams' => '¾º¼¼×é¶Ó', 2213 'del_team' => 'ɾ³ý¾º¼¼×é¶Ó', 2214 'games_played'=> 'Íæ¼Ò', 2215 'games_won'=> '»ñʤ', 2216 'games_lost'=> 'ʧ°Ü', 2217 'ratio'=> '»ñʤ°Ù·Ö±È', 2218 'this_week' => 'ÕâÖÜ', 2219 'this_season' => 'Õâ¼¾', 2220 'standings' => '³ÖÐø :', 2221 'tot_found' => '·¢ÏÖ×ÜÊý', 2222 'arenateam' => '¾º¼¼×é¶Ó' 2223 ); 2224 2225 $lang_honor = array( 2226 // ----- HONOR.PHP ----- 2227 'allied' => 'ÁªÃË', 2228 'horde' => '²¿Âä', 2229 'browse_honor' => 'ÈÙÓþ¸Å¹Û', 2230 'guid' => 'Íæ¼Ò', 2231 'race' => 'ÖÖ×å', 2232 'class' => 'Ö°Òµ', 2233 'level' => 'µÈ¼¶', 2234 'honor points' => 'ÈÙÓþµãÊý', 2235 'honor' => 'µÈ¼¶', 2236 'guild' => '¹«»á' 2237 ); 2238 2239 $lang_events = array( 2240 'total' => '×ÜÊý', 2241 'descr' => 'ʼþÃû³Æ', 2242 'start' => 'µÚÒ»´Î¿ªÊ¼Ê¼þ', 2243 'occur' => 'µÈ´ýʱ¼ä<br><small>Ìì/Сʱ', 2244 'length' => '³ÖÐøʱ¼ä<br><small>Ìì/Сʱ', 2245 'events' => 'ʼþ' 2095 2246 ); 2096 2247 ?> 2097 -
minimanager/motd.php
r142 r178 10 10 11 11 require_once("header.php"); 12 require_once("scripts \bbcode_lib.php");12 require_once("scripts/bbcode_lib.php"); 13 13 valid_login(1); 14 14 -
minimanager/register.php
r147 r178 15 15 function doregister(){ 16 16 global $lang_global, $realm_db, $disable_acc_creation, $limit_acc_per_ip, $valid_ip_mask, 17 $send_mail_on_creation, $create_acc_locked, $from_mail, $mailer_type, $smtp_cfg, $title , $MaximumAccountCount;17 $send_mail_on_creation, $create_acc_locked, $from_mail, $mailer_type, $smtp_cfg, $title; 18 18 19 19 if ( empty($_POST['pass']) || empty($_POST['email']) || empty($_POST['username']) ) { 20 20 redirect("register.php?err=1"); 21 21 } 22 23 $sql = new SQL;24 $sql->connect($realm_db['addr'], $realm_db['user'], $realm_db['pass'], $realm_db['name']);25 26 $result = $sql->query("SELECT COUNT(*) FROM account");27 $AccountCount = $sql->result($result, 0, 'COUNT(*)');28 if($AccountCount >= $MaximumAccountCount) redirect("register.php?err=4");29 22 30 23 if ($disable_acc_creation) redirect("register.php?err=4"); … … 307 300 $body = str_replace("<password>", substr(sha1(strtoupper($user_name)),0,7), $body); 308 301 $body = str_replace("<activate_link>", 309 $_SERVER['HTTP_HOST']. substr($_SERVER["SCRIPT_NAME"], 0, strrpos($_SERVER["SCRIPT_NAME"], '/'))."/register.php?action=do_pass_activate&h=".$sql->result($result, 0, 'I')."&p=".substr(sha1(strtoupper($user_name)),0,7), $body);302 $_SERVER['HTTP_HOST']."/register.php?action=do_pass_activate&h=".$sql->result($result, 0, 'I')."&p=".substr(sha1(strtoupper($user_name)),0,7), $body); 310 303 $body = str_replace("<base_url>", $_SERVER['HTTP_HOST'], $body); 311 304 -
minimanager/scripts/config.sample.php
r142 r178 1 1 <?php 2 3 include('../registrace/reg_config.php');4 2 /* 5 3 * Project Name: MiniManager for Mangos Server … … 14 12 */ 15 13 16 $version = "0.1. 5b";14 $version = "0.1.6b"; 17 15 18 16 //---- SQL Configuration ---- … … 28 26 $realm_db = Array( 29 27 'addr' => "127.0.0.1:3306", //SQL server IP:port this realmd located on 30 'user' => " mangos", //SQL server login this realmd located on31 'pass' => " mangos", //SQL server pass this realmd located on28 'user' => "root", //SQL server login this realmd located on 29 'pass' => "pass", //SQL server pass this realmd located on 32 30 'name' => "realmd", //realmd DB name 33 31 'encoding' => "utf8" //SQL connection encoding … … 37 35 'id' => 1, //Realm ID 38 36 'addr' => "127.0.0.1:3306", //SQL server IP:port this DB located on 39 'user' => " mangos", //SQL server login this DB located on40 'pass' => " mangos", //SQL server pass this DB located on37 'user' => "root", //SQL server login this DB located on 38 'pass' => "pass", //SQL server pass this DB located on 41 39 'name' => "mangos", //World Database name 42 40 'encoding' => "utf8", //SQL connection encoding 43 'db_rev' => "UDB rev.0.8. 2 rc 327" //db rev. used41 'db_rev' => "UDB rev.0.8.1" //db rev. used 44 42 ), 45 43 ); … … 49 47 'id' => 1, //Realm ID 50 48 'addr' => "127.0.0.1:3306", //SQL server IP:port this DB located on 51 'user' => " mangos", //SQL server login this DB located on52 'pass' => " mangos", //SQL server pass this DB located on49 'user' => "root", //SQL server login this DB located on 50 'pass' => "pass", //SQL server pass this DB located on 53 51 'name' => "characters", //Character Database name 54 52 'encoding' => "utf8", //SQL connection encoding … … 59 57 $server = Array( //if more than one realm used, even if they are on same system new subarray MUST be added. 60 58 1 => array( //position in array must represent realmd ID, same as in $mangos_db 61 'addr' => " wow.zdechov.net", //Game Server IP - Must be external address59 'addr' => "127.0.0.1", //Game Server IP - Must be external address 62 60 'game_port' => 8085, //Game Server port 63 61 'term_type' => "SSH", //Terminal type - ("SSH"/"Telnet") 64 62 'term_port' => 22, //Terminal port 65 'rev' => "rev.4 752 SD166", //Mangos rev. used66 'both_factions' => true //Allow to see opponent faction characters. Affects only players. 63 'rev' => "rev.4846 SD152", //Mangos rev. used 64 'both_factions' => true //Allow to see opponent faction characters. Affects only players. 67 65 ), 68 66 ); … … 70 68 71 69 //---- Mail configuration ---- 72 $admin_mail = " wow@zdechov.net"; //mail used for bug reports and other user contact70 $admin_mail = "mail@mail.com"; //mail used for bug reports and other user contact 73 71 74 72 $mailer_type = "smtp"; // type of mailer to be used("mail", "sendmail", "smtp") 75 $from_mail = " wow@zdechov.net"; //all emails will be sent from this email73 $from_mail = "mail@mail.com"; //all emails will be sent from this email 76 74 //smtp server config 77 75 $smtp_cfg = array( … … 83 81 84 82 //---- New account creation Options ---- 85 if($AllowedRegistrationCountPerDay == 0) $disable_acc_creation = true; //true = Do not allow new accounts to be created 86 else $disable_acc_creation = false; 83 $disable_acc_creation = false; //true = Do not allow new accounts to be created 87 84 $send_mail_on_creation = false; //true = send mail at account creation. 88 85 $create_acc_locked = 0; //if set to '1' newly created accounts will be made locked to 0.0.0.0 IP disallowing user to login. … … 97 94 98 95 //---- Layout configuration ---- 99 $title = " WoW server Heroes of Fantasy";96 $title = "MiniManager for MaNgOs srv."; 100 97 $itemperpage = 25; 101 98 102 99 $css_template = "Sulfur"; //file/folder name of css tamplate to use from templates directory by default 103 $language = " csCZ"; //default site language104 $site_encoding = "iso-8859- 2"; //default encoding100 $language = "enUS"; //default site language 101 $site_encoding = "iso-8859-1"; //default encoding 105 102 106 103 //---- IRC Options ------ … … 133 130 //menu content by user level 134 131 $menu_array = Array( 135 4 => array("SAdmin" ,array(132 5 => array("SysOP" ,array( 136 133 array("index.php", 'main', array()), 137 134 array("user.php", 'users', array( … … 152 149 array("ticket.php", 'tickets'), 153 150 array("ahstats.php", 'auctionhouse'), 151 array("events.php", 'events'), 154 152 array("realm.php", 'realm'), 155 153 array("motd.php", 'add_motd'), … … 171 169 ) 172 170 ), 173 3=> array("Admin" ,array(171 4 => array("Admin" ,array( 174 172 array("index.php", 'main', array()), 175 173 array("user.php", 'users', array( … … 190 188 array("ticket.php", 'tickets'), 191 189 array("ahstats.php", 'auctionhouse'), 190 array("events.php", 'events'), 192 191 array("realm.php", 'realm'), 193 192 array("motd.php", 'add_motd'), … … 209 208 ) 210 209 ), 210 3 => array("BugTracker" ,array( 211 array("index.php", 'main', array()), 212 array("user.php", 'users', array( 213 array("user.php", 'accounts'), 214 array("char_list.php", 'characters'), 215 array("guild.php", 'guilds'), 216 array("arenateam.php", 'arena_teams'), 217 array("honor.php", 'honor'), 218 array("banned.php", 'banned_list'), 219 array("cleanup.php", 'cleanup'), 220 array("stat.php", 'statistics'), 221 array("javascript:void(0);\" onclick=\"window.open('./pomm/pomm.php', 'pomm', 'Toolbar=0, Location=0, Directories=0, Status=0, Menubar=0, Scrollbar=0, Resizable=0, Copyhistory=1, Width=784, Height=525')", 'player_map'), 222 ), 223 ), 224 array("#", 'tools', array( 225 array("ssh.php", 'ssh_line'), 226 array("run_patch.php", 'run_sql_patch'), 227 array("ticket.php", 'tickets'), 228 array("ahstats.php", 'auctionhouse'), 229 array("events.php", 'events'), 230 array("realm.php", 'realm'), 231 array("motd.php", 'add_motd'), 232 array("mail.php", 'mail'), 233 array("irc.php", 'irc'), 234 array("javascript:void(0);\" onclick=\"window.open('./forum.html', 'forum')", 'forums'), 235 ), 236 ), 237 array("#", 'db', array( 238 array("item.php", 'items'), 239 array("creature.php", 'creatures'), 240 array("game_object.php", 'game_object'), 241 array("tele.php", 'teleports'), 242 array("command.php", 'command'), 243 array("backup.php", 'backup'), 244 array("repair.php", 'repair'), 245 ), 246 ), 247 ) 248 ), 211 249 2 => array("GameMaster" ,array( 212 250 array("index.php", 'main', array()), … … 225 263 array("ticket.php", 'tickets'), 226 264 array("ahstats.php", 'auctionhouse'), 265 array("events.php", 'events'), 227 266 array("motd.php", 'add_motd'), 228 267 array("mail.php", 'mail'), … … 257 296 array("ticket.php", 'tickets'), 258 297 array("ahstats.php", 'auctionhouse'), 298 array("events.php", 'events'), 259 299 array("motd.php", 'add_motd'), 260 300 // array("mail.php", 'mail'), … … 285 325 array("irc.php", 'irc'), 286 326 array("command.php", 'command'), 327 array("events.php", 'events'), 287 328 array("javascript:void(0);\" onclick=\"window.open('./forum.html', 'forum')", 'forums'), 288 329 ), … … 293 334 ); 294 335 295 $debug = false; //set to true if full php debugging requierd.336 $debug = true; //set to true if full php debugging requierd. 296 337 ?> -
minimanager/scripts/defines.php
r142 r178 14 14 define('CHAR_DATA_OFFSET_MINDAMAGE',148); //cast 15 15 define('CHAR_DATA_OFFSET_MAXDAMAGE',149); //cast 16 define('CHAR_DATA_OFFSET_STR',164); 17 define('CHAR_DATA_OFFSET_AGI',165); 18 define('CHAR_DATA_OFFSET_STA',166); 19 define('CHAR_DATA_OFFSET_INT',167); 20 define('CHAR_DATA_OFFSET_SPI',168); 21 define('CHAR_DATA_OFFSET_ARMOR',179); 22 define('CHAR_DATA_OFFSET_RES_HOLY',180); 23 define('CHAR_DATA_OFFSET_RES_FIRE',181); 24 define('CHAR_DATA_OFFSET_RES_NATURE',182); 25 define('CHAR_DATA_OFFSET_RES_FROST',183); 26 define('CHAR_DATA_OFFSET_RES_SHADOW',184); 27 define('CHAR_DATA_OFFSET_RES_ARCANE',185); 28 define('CHAR_DATA_OFFSET_AP',203); 29 define('CHAR_DATA_OFFSET_RANGED_AP',206); 30 define('CHAR_DATA_OFFSET_MINRANGEDDAMAGE',209); 31 define('CHAR_DATA_OFFSET_MAXRANGEDDAMAGE',210); 32 define('CHAR_DATA_OFFSET_GUILD_ID',229); 33 define('CHAR_DATA_OFFSET_GUILD_RANK',230); 34 define('CHAR_DATA_OFFSET_EQU_HEAD',313); 35 define('CHAR_DATA_OFFSET_EQU_NECK',329); 36 define('CHAR_DATA_OFFSET_EQU_SHOULDER',345); 37 define('CHAR_DATA_OFFSET_EQU_SHIRT',361); 38 define('CHAR_DATA_OFFSET_EQU_CHEST',377); 39 define('CHAR_DATA_OFFSET_EQU_BELT',393); 40 define('CHAR_DATA_OFFSET_EQU_LEGS',409); 41 define('CHAR_DATA_OFFSET_EQU_FEET',425); 42 define('CHAR_DATA_OFFSET_EQU_WRIST',441); 43 define('CHAR_DATA_OFFSET_EQU_GLOVES',457); 44 define('CHAR_DATA_OFFSET_EQU_FINGER1',473); 45 define('CHAR_DATA_OFFSET_EQU_FINGER2',489); 46 define('CHAR_DATA_OFFSET_EQU_TRINKET1',505); 47 define('CHAR_DATA_OFFSET_EQU_TRINKET2',521); 48 define('CHAR_DATA_OFFSET_EQU_BACK',537); 49 define('CHAR_DATA_OFFSET_EQU_MAIN_HAND',553); 50 define('CHAR_DATA_OFFSET_EQU_OFF_HAND',569); 51 define('CHAR_DATA_OFFSET_EQU_RANGED',585); 52 define('CHAR_DATA_OFFSET_EQU_TABARD',601); 53 define('CHAR_DATA_OFFSET_EXP',856); 54 define('CHAR_DATA_OFFSET_SKILL_DATA',858); 55 define('CHAR_DATA_OFFSET_BLOCK',1246); 56 define('CHAR_DATA_OFFSET_DODGE',1247); 57 define('CHAR_DATA_OFFSET_PARRY',1248); 58 define('CHAR_DATA_OFFSET_CRIT',1249); 59 define('CHAR_DATA_OFFSET_RANGE_CRIT',1250); 60 define('CHAR_DATA_OFFSET_SPELL_CRIT_PER',1252); 61 define('CHAR_DATA_OFFSET_GOLD',1324); 62 define('CHAR_DATA_OFFSET_HONOR_KILL',1376); 63 define('CHAR_DATA_OFFSET_HONOR_POINTS',1420); 64 define('CHAR_DATA_OFFSET_ARENA_POINTS',1421); 16 define('CHAR_DATA_OFFSET_STR',171); 17 define('CHAR_DATA_OFFSET_AGI',172); 18 define('CHAR_DATA_OFFSET_STA',173); 19 define('CHAR_DATA_OFFSET_INT',174); 20 define('CHAR_DATA_OFFSET_SPI',175); 21 define('CHAR_DATA_OFFSET_ARMOR',186); 22 define('CHAR_DATA_OFFSET_RES_HOLY',187); 23 define('CHAR_DATA_OFFSET_RES_FIRE',188); 24 define('CHAR_DATA_OFFSET_RES_NATURE',189); 25 define('CHAR_DATA_OFFSET_RES_FROST',190); 26 define('CHAR_DATA_OFFSET_RES_SHADOW',191); 27 define('CHAR_DATA_OFFSET_RES_ARCANE',192); 28 define('CHAR_DATA_OFFSET_AP',210); 29 define('CHAR_DATA_OFFSET_RANGED_AP',213); 30 define('CHAR_DATA_OFFSET_MINRANGEDDAMAGE',222); 31 define('CHAR_DATA_OFFSET_MAXRANGEDDAMAGE',223); 32 define('CHAR_DATA_OFFSET_GUILD_ID',235); 33 define('CHAR_DATA_OFFSET_GUILD_RANK',236); 34 define('CHAR_DATA_OFFSET_EQU_HEAD',319); 35 define('CHAR_DATA_OFFSET_EQU_NECK',335); 36 define('CHAR_DATA_OFFSET_EQU_SHOULDER',351); 37 define('CHAR_DATA_OFFSET_EQU_SHIRT',367); 38 define('CHAR_DATA_OFFSET_EQU_CHEST',383); 39 define('CHAR_DATA_OFFSET_EQU_BELT',399); 40 define('CHAR_DATA_OFFSET_EQU_LEGS',415); 41 define('CHAR_DATA_OFFSET_EQU_FEET',431); 42 define('CHAR_DATA_OFFSET_EQU_WRIST',447); 43 define('CHAR_DATA_OFFSET_EQU_GLOVES',463); 44 define('CHAR_DATA_OFFSET_EQU_FINGER1',479); 45 define('CHAR_DATA_OFFSET_EQU_FINGER2',495); 46 define('CHAR_DATA_OFFSET_EQU_TRINKET1',511); 47 define('CHAR_DATA_OFFSET_EQU_TRINKET2',527); 48 define('CHAR_DATA_OFFSET_EQU_BACK',543); 49 define('CHAR_DATA_OFFSET_EQU_MAIN_HAND',559); 50 define('CHAR_DATA_OFFSET_EQU_OFF_HAND',575); 51 define('CHAR_DATA_OFFSET_EQU_RANGED',591); 52 define('CHAR_DATA_OFFSET_EQU_TABARD',607); 53 define('CHAR_DATA_OFFSET_EXP',862); 54 define('CHAR_DATA_OFFSET_SKILL_DATA',864); 55 define('CHAR_DATA_OFFSET_BLOCK',1252); 56 define('CHAR_DATA_OFFSET_DODGE',1253); 57 define('CHAR_DATA_OFFSET_PARRY',1254); 58 define('CHAR_DATA_OFFSET_CRIT',1256); 59 define('CHAR_DATA_OFFSET_RANGE_CRIT',1257); 60 define('CHAR_DATA_OFFSET_SPELL_CRIT_PER',1259); 61 define('CHAR_DATA_OFFSET_GOLD',1332); 62 define('CHAR_DATA_OFFSET_HONOR_KILL',1384); 63 define('CHAR_DATA_OFFSET_HONOR_POINTS',1432); 64 define('CHAR_DATA_OFFSET_ARENA_POINTS',1433); 65 65 66 ?> -
minimanager/scripts/del_lib.php
r142 r178 8 8 * License: GNU General Public License v2(GPL) 9 9 */ 10 10 11 11 require_once("backup_tab.php"); 12 12 … … 24 24 $owner_gmlvl = $sql_01->result($query1, 0, 'gmlevel'); 25 25 unset($query1); 26 26 27 27 if (($user_lvl > $owner_gmlvl)||($owner_acc_id == $user_id)) { 28 28 $sql_01->connect($characters_db[$realm]['addr'], $characters_db[$realm]['user'], $characters_db[$realm]['pass'], $characters_db[$realm]['name']); … … 92 92 function del_guild($guid,$realm){ 93 93 global $characters_db, $realm_db; 94 94 95 95 require_once("scripts/defines.php"); 96 96 97 97 $sql_01 = new SQL; 98 98 $sql_01->connect($characters_db[$realm]['addr'], $characters_db[$realm]['user'], $characters_db[$realm]['pass'], $characters_db[$realm]['name']); 99 99 $query = $sql_01->query("DELETE FROM guild WHERE guildid = '$guid'"); 100 100 $query = $sql_01->query("DELETE FROM guild_rank WHERE guildid = '$guid'"); 101 101 102 102 //clean data inside character.data field 103 103 $temp = $sql_01->query("SELECT guid FROM guild_member WHERE guildid = '$guid'"); -
minimanager/scripts/gen_lib.php
r142 r178 13 13 function send_ingame_mail($to, $from, $subject, $body, $gold = 0, $item = 0, $stack = 1){ 14 14 global $lang_global, $characters_db, $realm_id; 15 15 16 16 $sql_0 = new SQL; 17 17 $sql_0->connect($characters_db[$realm_id]['addr'], $characters_db[$realm_id]['user'], $characters_db[$realm_id]['pass'], $characters_db[$realm_id]['name']); 18 18 19 19 $result = $sql_0->query("SELECT MAX(`id`) FROM item_text"); 20 20 $item_page_id = ($sql_0->result($result, 0)) + 1; … … 24 24 $mail_id = ($sql_0->result($result, 0)) + 1; 25 25 26 26 $item_guid = ($item) ? gen_item_instance($to, $item, $stack) : 0; 27 27 28 $result = $sql_0->query("INSERT INTO mail (id,messageType,sender,receiver,subject,itemTextId,item_guid,item_template,expire_time,deliver_time,money,cod,checked) 29 VALUES ($mail_id, 0, '$from', '$to', '$subject', '$item_page_id', '$item_guid', '$item', '".(time() + (30*24*3600))."','".(time()+5)."', '$gold', 0, 0)"); 30 28 if ($item == 0) { 29 $has_items = 0; 30 } else { 31 $has_items = 1; 32 } 33 34 $result = $sql_0->query("INSERT INTO mail (id,messageType,sender,receiver,subject,itemTextId,has_items,expire_time,deliver_time,money,cod,checked) 35 VALUES ($mail_id, 0, '$from', '$to', '$subject', '$item_page_id', '$has_items', '".(time() + (30*24*3600))."','".(time()+5)."', '$gold', 0, 0)"); 36 37 if ($has_items) { 38 $result = $sql_0->query("INSERT INTO mail_items (mail_id,item_guid,item_template) 39 VALUES ($mail_id, '$item_guid', '$item')"); 40 } 41 31 42 if ($result) { 32 33 43 $sql_0->close(); 44 return $mail_id; 34 45 } else { 35 46 $sql_0->close(); … … 54 65 WHERE entry = '$item_id'"); 55 66 $item_template = $sql_1->fetch_row($result); 56 67 57 68 if ($item_template[1] <= 1) $stack = 1; 58 69 59 70 $item_data = array( 60 71 'OBJECT_FIELD_GUID' => $guid, … … 82 93 'ITEM_FIELD_MAXDURABILITY' => $item_template[2].' ' 83 94 ); 84 95 85 96 $data = implode(" ",$item_data); 86 97 87 98 $result = $sql_1->query("INSERT INTO item_instance (guid, owner_guid, data) VALUES ($guid, '$owner','$data')"); 88 99 89 100 if ($result) { 90 101 $sql_1->close(); -
minimanager/scripts/get_lib.php
r142 r178 49 49 $sql_1 = new SQL; 50 50 $sql_1->connect($mangos_db[$realm_id]['addr'], $mangos_db[$realm_id]['user'], $mangos_db[$realm_id]['pass'], $mangos_db[$realm_id]['name']); 51 51 52 52 $result_1 = $sql_1->query("SELECT stat_type1,stat_value1,stat_type2,stat_value2,stat_type3,stat_value3,stat_type4, 53 53 stat_value4,stat_type5,stat_value5,stat_type6,stat_value6,stat_type7,stat_value7,stat_type8, … … 87 87 default: 88 88 } 89 89 90 90 $tooltip .= "<font color='white'>"; 91 91 92 92 switch ($item[53]) { 93 93 case 1: //Binds when Picked Up … … 107 107 108 108 if ($item[60]) $tooltip .= "{$lang_item['unique']}<br />"; 109 109 110 110 $tooltip .= "<br />"; 111 111 switch ($item[57]) { … … 172 172 default: 173 173 } 174 174 175 175 switch ($item[33]) { 176 176 case 0: //Consumable 177 $tooltip .= "{$lang_item['consumable']}<br />"; 178 break; 179 177 $tooltip .= "{$lang_item['consumable']}<br />"; 178 break; 179 180 180 case 2: //Weapon 181 181 switch ($item[34]) { … … 340 340 } 341 341 break; 342 342 343 343 case 12: //Quest 344 344 if ($item[53] != 4) $tooltip .= "{$lang_item['quest_item']}<br />"; 345 345 break; 346 346 347 347 case 13: //key 348 348 switch ($item[34]) { … … 358 358 default: 359 359 } 360 360 361 361 if ($item[20]) $tooltip .= "$item[20] {$lang_item['armor']}<br />"; 362 362 … … 365 365 $min_dmg_value = $item[$f]; 366 366 $max_dmg_value = $item[$f+1]; 367 367 368 368 if ($min_dmg_value && $max_dmg_value){ 369 369 switch ($dmg_type) { … … 389 389 $tooltip .= "$min_dmg_value - $max_dmg_value {$lang_item['arcane_dmg']}<br />"; 390 390 break; 391 391 392 392 default: 393 393 } … … 433 433 if ($item[24]) $tooltip .= "$item[24] {$lang_item['res_frost']}<br />"; 434 434 if ($item[26]) $tooltip .= "$item[26] {$lang_item['res_shadow']}<br />"; 435 435 436 436 //sockets 437 437 for($p=72;$p<=74;$p++){ … … 565 565 } 566 566 } 567 } 567 } 568 568 } 569 569 //add equip spellid to status … … 586 586 if ($item[$s1+40]) $tooltip.= abs($item[$s1+40])." {$lang_item['charges']}.<br />"; 587 587 } 588 } 588 } 589 589 } 590 590 591 591 $tooltip .= "</font>"; 592 592 593 593 if ($item[55]) { 594 594 include_once("itemset_tab.php"); 595 595 $tooltip .= "<br /><font color='orange'>{$lang_item['item_set']} : ".get_itemset_name($item[55])." ($item[55])</font>"; 596 596 } 597 if ($item[54]) $tooltip .= "<br /><font color='orange'>''".str_replace("\"", " '", $item[54])."' '</font>";597 if ($item[54]) $tooltip .= "<br /><font color='orange'>''".str_replace("\"", " '", $item[54])."'</font>"; 598 598 599 599 } else $tooltip = "Item ID: $item_id Not Found" ; … … 610 610 global $proxy_cfg, $get_icons_from_web; 611 611 if (file_exists("img/INV/$itemid.jpg")) return "img/INV/$itemid.jpg"; 612 612 613 613 if($get_icons_from_web){ 614 614 //only customitems have ids in this range. 615 615 if ($itemid > 35000) return "img/INV/INV_blank_32.gif"; 616 616 617 617 $xmlfilepath="http://www.wowhead.com/?item="; 618 618 $proxy = $proxy_cfg['addr']; … … 636 636 while ($fp && !feof($fp)) $temp .= fgets($fp, 4096); 637 637 fclose($fp); 638 638 639 639 preg_match("~(Icon.create\('(.*?)')~", $temp, $temp); 640 640 if (!isset($temp[2])) return "img/INV/INV_blank_32.gif"; 641 641 $temp[2] = strtolower($temp[2]); 642 642 643 643 //get the icon itself 644 644 $fp = @fsockopen($proxy, $port, $errno, $errstr, 0.4); … … 647 647 $out = "GET $file HTTP/1.0\r\nHost: $proxy\r\n"; 648 648 if (!empty($proxy_cfg['user'])) $out .= "Proxy-Authorization: Basic ". base64_encode ("{$proxy_cfg['user']}:{$proxy_cfg['pass']}")."\r\n"; 649 $out .="Connection: Close\r\n\r\n"; 649 $out .="Connection: Close\r\n\r\n"; 650 650 fwrite($fp, $out); 651 651 … … 660 660 fclose($fp); 661 661 fclose($img_file); 662 662 663 663 if (file_exists("img/INV/$itemid.jpg")) return "img/INV/$itemid.jpg"; 664 664 else return "img/INV/INV_blank_32.gif"; … … 666 666 } else return "img/INV/INV_blank_32.gif"; 667 667 } 668 669 //########################################################################################## 670 //generate item border from item_template.entry 671 function get_item_border($item_id){ 672 global $lang_global, $lang_id_tab, $mangos_db, $realm_id, $itemset_id; 673 if($item_id){ 674 $sql_2 = new SQL; 675 $sql_2->connect($mangos_db[$realm_id]['addr'], $mangos_db[$realm_id]['user'], $mangos_db[$realm_id]['pass'], $mangos_db[$realm_id]['name']); 676 677 $result_2 = $sql_2->query("SELECT Quality FROM item_template WHERE entry = '$item_id'"); 678 $iborder = ($sql_2->num_rows($result_2) == 1) ? $sql_2->result($result_2, 0,"Quality"): "Quality: $iborder Not Found" ; 679 680 return "icon_border_$iborder"; 681 } 682 else 683 return "icon_border_0"; 684 } 668 685 ?> -
minimanager/scripts/id_tab.php
r142 r178 13 13 1 => array(1,"Moderator","Mod"), 14 14 2 => array(2,"Gamemaster","GM"), 15 3 => array(3,"Administrator","ADM") 15 3 => array(3,"BugTracker","BT"), 16 4 => array(4,"Admin","ADM"), 17 5 => array(5,"Sys OP","SYS") 16 18 ); 17 19 … … 361 363 1 => $lang_id_tab['Moderator'], 362 364 2 => $lang_id_tab['Game_Master'], 363 3 => $lang_id_tab['Administrator'] 365 3 => $lang_id_tab['BugTracker'], 366 4 => $lang_id_tab['Administrator'], 367 5 => $lang_id_tab['SysOP'] 364 368 ); 365 369 … … 413 417 14 => $lang_id_tab['High_Warlord'] 414 418 ) 415 416 419 ); 417 420 … … 420 423 2 => array($lang_id_tab['orc'], 1), 421 424 3 => array($lang_id_tab['dwarf'], 0), 422 4 => array($lang_id_tab['night Elf'], 0),425 4 => array($lang_id_tab['nightelf'], 0), 423 426 5 => array($lang_id_tab['undead'], 1), 424 427 6 => array($lang_id_tab['tauren'], 1), 425 428 7 => array($lang_id_tab['gnome'], 0), 426 429 8 => array($lang_id_tab['troll'], 1), 427 10 => array($lang_id_tab['blood Elf'], 1),428 11 => array($lang_id_tab['draenei'], 0) ,430 10 => array($lang_id_tab['bloodelf'], 1), 431 11 => array($lang_id_tab['draenei'], 0) 429 432 ); 430 433 … … 439 442 if ($rank>14) { $rank = 14; } 440 443 return $rank; 441 } 444 }; 445 442 446 443 447 ?> -
minimanager/stat.php
r142 r178 8 8 * License: GNU General Public License v2(GPL) 9 9 */ 10 10 11 11 require_once("header.php"); 12 12 valid_login(1); … … 61 61 $total_gms = $sql->result($query,1); 62 62 63 $data = date("Y-m-d H:i:s"); 64 $data_1 = date_create ($data); 65 $data_1->modify ("-1 day"); 66 $data_1 = date_format($data_1,"Y-m-d H:i:s"); 67 $query = $sql->query("select distinct count(`last_ip`) from `account` where `last_login` > '$data_1' and `last_login` < '$data'"); 68 $uniqueIPs = $sql->result($query,0); 69 63 70 $sql->connect($characters_db[$realm_id]['addr'], $characters_db[$realm_id]['user'], $characters_db[$realm_id]['pass'], $characters_db[$realm_id]['name']); 64 71 $query = $sql->query("SELECT count(*) FROM `character`"); 65 72 $total_chars = $sql->result($query,0); 66 73 67 74 $sql->connect($mangos_db[$realm_id]['addr'], $mangos_db[$realm_id]['user'], $mangos_db[$realm_id]['pass'], $mangos_db[$realm_id]['name']); 68 75 $query = $sql->query("SELECT AVG(uptime)/60,MAX(uptime)/60,(100*SUM(uptime)/(UNIX_TIMESTAMP()-MIN(starttime))) FROM uptime"); 69 76 $uptime = $sql->fetch_row($query); 70 77 71 78 if ($total_chars){ 72 79 73 80 $order_race = (isset($_GET['race'])) ? "AND race =".$sql->quote_smart($_GET['race']) : ""; 74 81 $order_class = (isset($_GET['class'])) ? "AND class =".$sql->quote_smart($_GET['class']) : ""; … … 79 86 $order_level = "AND SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 35), ' ', -1) >= $lvl_min AND SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 35), ' ', -1) <= $lvl_max"; 80 87 } else $order_level = ""; 81 88 82 89 if(isset($_GET['side'])) { 83 90 if ($sql->quote_smart($_GET['side']) == "h") $order_side = "AND race IN(2,5,6,8,10)"; 84 91 elseif ($sql->quote_smart($_GET['side']) == "a") $order_side = "AND race IN (1,3,4,7,11)"; 85 92 } else $order_side = ""; 86 93 87 94 88 95 $output .= "<div class=\"top\"><h1>{$lang_stat['srv_statistics']}</h1></div>"; 89 96 90 97 $sql->connect($characters_db[$realm_id]['addr'], $characters_db[$realm_id]['user'], $characters_db[$realm_id]['pass'], $characters_db[$realm_id]['name']); 91 98 … … 96 103 $allies_chars = $total_chars - $horde_chars; 97 104 $allies_pros = 100 - $horde_pros; 98 105 99 106 $output .= "<center> 100 107 <table class=\"hidden\"> … … 103 110 {$lang_stat['uptime_prec']}: ".round($uptime[2],1)."%<br /> 104 111 {$lang_stat['avg_uptime']}: ".(int)($uptime[0]/60).":".(int)(($uptime[0]%60))."h<br /> 105 {$lang_stat['max_uptime']}: ".(int)($uptime[1]/60).":".(int)(($uptime[1]%60))."h<br /><br /> 112 {$lang_stat['max_uptime']}: ".(int)($uptime[1]/60).":".(int)(($uptime[1]%60))."h<br /> 113 {$lang_stat['unique_ip']}: $uniqueIPs<br /> <br /> 106 114 {$lang_stat['tot_accounts']}: $total_acc<br /> 107 115 {$lang_stat['total_of']} $total_gms {$lang_stat['gms_one_for']} ".round($total_acc/$total_gms,1)." {$lang_stat['players']}<br /><br /> 108 116 {$lang_stat['tot_chars_on_realm']}: $total_chars<br /> 109 117 {$lang_stat['average_of']} ".round($total_chars/$total_acc,1)." {$lang_stat['chars_per_acc']}<br /><br /> 110 118 111 119 <table class=\"tot_bar\"> 112 120 <tr> … … 193 201 194 202 $sql->close(); 195 203 196 204 } else { 197 205 $sql->close(); -
minimanager/templates/Malachite/Malachite_1024.css
r142 r178 469 469 } 470 470 471 .icon_border {472 border: 0px; 473 padding: 0px;471 .icon_border_0 { 472 border: 0px; 473 padding: 6px; 474 474 width: 32px; 475 475 height: 32px; 476 background: url(../../img/INV/icon_border_0.png) 477 } 478 479 .icon_border_1 { 480 border: 0px; 481 padding: 6px; 482 width: 32px; 483 height: 32px; 484 background: url(../../img/INV/icon_border_1.png) 485 } 486 487 .icon_border_2 { 488 border: 0px; 489 padding: 6px; 490 width: 32px; 491 height: 32px; 492 background: url(../../img/INV/icon_border_2.png) 493 } 494 495 .icon_border_3 { 496 border: 0px; 497 padding: 6px; 498 width: 32px; 499 height: 32px; 500 background: url(../../img/INV/icon_border_3.png) 501 } 502 503 .icon_border_4 { 504 border: 0px; 505 padding: 6px; 506 width: 32px; 507 height: 32px; 508 background: url(../../img/INV/icon_border_4.png) 509 } 510 511 .icon_border_5 { 512 border: 0px; 513 padding: 6px; 514 width: 32px; 515 height: 32px; 516 background: url(../../img/INV/icon_border_5.png) 517 } 518 519 .icon_border_6 { 520 border: 0px; 521 padding: 6px; 522 width: 32px; 523 height: 32px; 524 background: url(../../img/INV/icon_border_6.png) 476 525 } 477 526 -
minimanager/templates/Malachite/Malachite_1280.css
r142 r178 469 469 } 470 470 471 .icon_border {472 border: 0px; 473 padding: 0px;471 .icon_border_0 { 472 border: 0px; 473 padding: 6px; 474 474 width: 32px; 475 475 height: 32px; 476 background: url(../../img/INV/icon_border_0.png) 477 } 478 479 .icon_border_1 { 480 border: 0px; 481 padding: 6px; 482 width: 32px; 483 height: 32px; 484 background: url(../../img/INV/icon_border_1.png) 485 } 486 487 .icon_border_2 { 488 border: 0px; 489 padding: 6px; 490 width: 32px; 491 height: 32px; 492 background: url(../../img/INV/icon_border_2.png) 493 } 494 495 .icon_border_3 { 496 border: 0px; 497 padding: 6px; 498 width: 32px; 499 height: 32px; 500 background: url(../../img/INV/icon_border_3.png) 501 } 502 503 .icon_border_4 { 504 border: 0px; 505 padding: 6px; 506 width: 32px; 507 height: 32px; 508 background: url(../../img/INV/icon_border_4.png) 509 } 510 511 .icon_border_5 { 512 border: 0px; 513 padding: 6px; 514 width: 32px; 515 height: 32px; 516 background: url(../../img/INV/icon_border_5.png) 517 } 518 519 .icon_border_6 { 520 border: 0px; 521 padding: 6px; 522 width: 32px; 523 height: 32px; 524 background: url(../../img/INV/icon_border_6.png) 476 525 } 477 526 -
minimanager/templates/Sulfur/Sulfur_1024.css
r142 r178 484 484 } 485 485 486 .icon_border {487 border: 0px; 488 padding: 0px;486 .icon_border_0 { 487 border: 0px; 488 padding: 6px; 489 489 width: 32px; 490 490 height: 32px; 491 background: url(../../img/INV/icon_border_0.png) 492 } 493 494 .icon_border_1 { 495 border: 0px; 496 padding: 6px; 497 width: 32px; 498 height: 32px; 499 background: url(../../img/INV/icon_border_1.png) 500 } 501 502 .icon_border_2 { 503 border: 0px; 504 padding: 6px; 505 width: 32px; 506 height: 32px; 507 background: url(../../img/INV/icon_border_2.png) 508 } 509 510 .icon_border_3 { 511 border: 0px; 512 padding: 6px; 513 width: 32px; 514 height: 32px; 515 background: url(../../img/INV/icon_border_3.png) 516 } 517 518 .icon_border_4 { 519 border: 0px; 520 padding: 6px; 521 width: 32px; 522 height: 32px; 523 background: url(../../img/INV/icon_border_4.png) 524 } 525 526 .icon_border_5 { 527 border: 0px; 528 padding: 6px; 529 width: 32px; 530 height: 32px; 531 background: url(../../img/INV/icon_border_5.png) 532 } 533 534 .icon_border_6 { 535 border: 0px; 536 padding: 6px; 537 width: 32px; 538 height: 32px; 539 background: url(../../img/INV/icon_border_6.png) 491 540 } 492 541 -
minimanager/templates/Sulfur/Sulfur_1280.css
r142 r178 471 471 padding: 6px; 472 472 } 473 .icon_border { 474 border: 0px; 475 padding: 0px; 473 474 .icon_border_0 { 475 border: 0px; 476 padding: 6px; 476 477 width: 32px; 477 478 height: 32px; 479 background: url(../../img/INV/icon_border_0.png) 480 } 481 482 .icon_border_1 { 483 border: 0px; 484 padding: 6px; 485 width: 32px; 486 height: 32px; 487 background: url(../../img/INV/icon_border_1.png) 488 } 489 490 .icon_border_2 { 491 border: 0px; 492 padding: 6px; 493 width: 32px; 494 height: 32px; 495 background: url(../../img/INV/icon_border_2.png) 496 } 497 498 .icon_border_3 { 499 border: 0px; 500 padding: 6px; 501 width: 32px; 502 height: 32px; 503 background: url(../../img/INV/icon_border_3.png) 504 } 505 506 .icon_border_4 { 507 border: 0px; 508 padding: 6px; 509 width: 32px; 510 height: 32px; 511 background: url(../../img/INV/icon_border_4.png) 512 } 513 514 .icon_border_5 { 515 border: 0px; 516 padding: 6px; 517 width: 32px; 518 height: 32px; 519 background: url(../../img/INV/icon_border_5.png) 520 } 521 522 .icon_border_6 { 523 border: 0px; 524 padding: 6px; 525 width: 32px; 526 height: 32px; 527 background: url(../../img/INV/icon_border_6.png) 478 528 } 479 529
Note:
See TracChangeset
for help on using the changeset viewer.