Changeset 455 for trunk/TranslationList.php
- Timestamp:
- Apr 13, 2010, 10:03:12 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/TranslationList.php
r446 r455 249 249 function ShowGroupTypeList() 250 250 { 251 global $ Database, $User;252 253 $DbResult = $ Database->SQLCommand('SELECT COUNT(*) FROM `Group`');254 $DbRow = mysql_fetch_row($DbResult);251 global $System, $User; 252 253 $DbResult = $System->Database->query('SELECT COUNT(*) FROM `Group`'); 254 $DbRow = $DbResult->fetch_row(); 255 255 $PageList = GetPageList($DbRow[0]); 256 256 echo('<h3>Seznam překladových skupin</h3>'); … … 269 269 echo($Order['Output']); 270 270 271 $ ID = $Database->SQLCommand('SELECT * FROM `Group`'.$Order['SQL'].$PageList['SQLLimit']);272 while($Group = mysql_fetch_assoc($ID))271 $DbResult = $System->Database->query('SELECT * FROM `Group`'.$Order['SQL'].$PageList['SQLLimit']); 272 while($Group = $DbResult->fetch_assoc()) 273 273 { 274 274 echo('<tr><td><a href="?group='.$Group['Id'].'&action=filter">'.$Group['Name'].'</a></td><td>'.$Group['SourceType'].'</td><td>'); … … 285 285 function ShowMenu() 286 286 { 287 global $ Database, $User, $TranslationTree;287 global $User, $TranslationTree; 288 288 289 289 $GroupId = GetParameter('group', 0, true);
Note:
See TracChangeset
for help on using the changeset viewer.