Changeset 366 for trunk/includes/global_function.php
- Timestamp:
- Mar 9, 2010, 1:01:14 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/global_function.php
r365 r366 256 256 257 257 $Result = array(); 258 $DbResult = $Database->SQLCommand('SELECT * FROM ` group` ORDER BY `name`');258 $DbResult = $Database->SQLCommand('SELECT * FROM `Group` ORDER BY `Name`'); 259 259 while($DbRow = mysql_fetch_assoc($DbResult)) 260 260 { … … 262 262 $Result[$DbRow['Id']] = $DbRow; 263 263 } 264 $DbResult = $Database->SQLCommand('SELECT * FROM ` group_item`');264 $DbResult = $Database->SQLCommand('SELECT * FROM `GroupItem`'); 265 265 while($DbRow = mysql_fetch_assoc($DbResult)) 266 266 { … … 378 378 if(isset($BuildNumbers[$Version]) == false) 379 379 { 380 $sql = 'SELECT `BuildNumber` FROM ` wow_client_version` WHERE `Version` = "'.$Version.'"';380 $sql = 'SELECT `BuildNumber` FROM `ClientVersion` WHERE `Version` = "'.$Version.'"'; 381 381 $DbRow = mysql_fetch_assoc($Database->SQLCommand($sql)); 382 382 $BuildNumbers[$Version] = $DbRow['BuildNumber']; … … 391 391 if(isset($VersionsWOW[$BuildNumber]) == false) 392 392 { 393 $sql = 'SELECT `Version` FROM ` wow_client_version` WHERE `BuildNumber` = "'.$BuildNumber.'"';393 $sql = 'SELECT `Version` FROM `ClientVersion` WHERE `BuildNumber` = "'.$BuildNumber.'"'; 394 394 $Version = mysql_fetch_assoc($Database->SQLCommand($sql)); 395 395 $VersionsWOW[$BuildNumber] = $Version['Version']; … … 404 404 if(isset($DBCColumns[$Version][$DBCFileName]) == false) 405 405 { 406 $sql = 'SELECT `DBCColumns_'.$DBCFileName.'` AS `DBCColumns` FROM ` wow_client_version` WHERE `Version` = "'.$Version.'"';406 $sql = 'SELECT `DBCColumns_'.$DBCFileName.'` AS `DBCColumns` FROM `ClientVersion` WHERE `Version` = "'.$Version.'"'; 407 407 $DbRow = mysql_fetch_assoc($Database->SQLCommand($sql)); 408 408 $DBCColumns[$Version][$DBCFileName] = $DbRow['DBCColumns']; … … 417 417 if(isset($DBCColumnIndex[$Version][$DBCFileName][$Column]) == false) 418 418 { 419 $sql = 'SELECT `'.$DBCFileName.'_'.$Column.'` AS `DBCColumns` FROM ` wow_client_version` WHERE `Version` = "'.$Version.'"';419 $sql = 'SELECT `'.$DBCFileName.'_'.$Column.'` AS `DBCColumns` FROM `ClientVersion` WHERE `Version` = "'.$Version.'"'; 420 420 $DbRow = mysql_fetch_assoc($Database->SQLCommand($sql)); 421 421 $DBCColumnIndex[$Version][$DBCFileName][$Column] = $DbRow['DBCColumns'];
Note:
See TracChangeset
for help on using the changeset viewer.