Changeset 214 for trunk/includes/global_function.php
- Timestamp:
- Jun 22, 2009, 9:22:20 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/global_function.php
r199 r214 177 177 array('4', 'Moderátor', 'orange', 'Operace administrátorů a moderátorů'), 178 178 array('10', 'Chyby', 'red', 'Zachycené chybové hlášení'), 179 array('11', 'Import', '#A020F0', 'Záznam změn při importu'), 179 180 ); 180 181 … … 223 224 } 224 225 225 $Next = mysql_fetch_a rray($Database->SQLCommand($sql));226 $Next = mysql_fetch_assoc($Database->SQLCommand($sql)); 226 227 if($Next) 227 228 { … … 232 233 } 233 234 235 function GetBuildNumber($Version) 236 { 237 global $Database; 238 239 $sql = 'SELECT BuildNumber FROM `wow_client_version` WHERE Version = "'.$Version.'"'; 240 $BuildNumber = mysql_fetch_assoc($Database->SQLCommand($sql)); 241 return($BuildNumber['BuildNumber']); 242 } 243 244 function GetVersionWOW($BuildNumber) 245 { 246 global $Database; 247 248 $sql = 'SELECT Version FROM `wow_client_version` WHERE BuildNumber = "'.$BuildNumber.'"'; 249 $Version = mysql_fetch_assoc($Database->SQLCommand($sql)); 250 return($Version['Version']); 251 } 252 234 253 ?>
Note:
See TracChangeset
for help on using the changeset viewer.