Changeset 524 for trunk/index.php
- Timestamp:
- Feb 20, 2013, 9:40:53 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/index.php
r522 r524 19 19 function ShowLastTranslated() 20 20 { 21 global $System ;21 global $System, $Config; 22 22 23 23 $Count = 40; … … 37 37 $DbRow['Id'].' AS `Group`, "'.addslashes($DbRow['Name']).'" AS `GroupName`, `T`.`Take` FROM `'. 38 38 $DbRow['TablePrefix'].'` AS `T`'. 39 ' WHERE (`T`.`Complete` = 1) AND (`T`.`Language` != 0) ORDER BY `T`.`ModifyTime` DESC LIMIT '.39 ' WHERE (`T`.`Complete` = 1) AND (`T`.`Language` != '.$Config['OriginalLanguage'].') ORDER BY `T`.`ModifyTime` DESC LIMIT '. 40 40 $Count.') AS `T`'; 41 41 } 42 $Query = 'SELECT `TT`.*, `User`.`Name` AS `UserName` FROM ('.implode(' UNION ', $UnionItems).') AS `TT`'. 42 $Query = 'SELECT `TT`.*, `User`.`Name` AS `UserName`, `User`.`Id` AS `UserId` '. 43 ' FROM ('.implode(' UNION ', $UnionItems).') AS `TT`'. 43 44 ' JOIN `User` ON `User`.`Id` = `TT`.`User`'. 44 45 ' ORDER BY `ModifyTime` DESC LIMIT '.$Count; … … 48 49 { 49 50 $Output .= '<tr><td>'.HumanDate($DbRow['ModifyTime']).'</td>'. 50 '<td> '.$DbRow['UserName'].'</td>'.51 '<td><a href="user.php?id='.$DbRow['UserId'].'">'.$DbRow['UserName'].'</a></td>'. 51 52 '<td><a href="form.php?group='.$DbRow['Group'].'&ID='.$DbRow['ID'].'">'.$DbRow['ID'].'</a></td>'. 52 53 '<td><a href="form.php?group='.$DbRow['Group'].'&ID='.$DbRow['Take'].'">'.$DbRow['Take'].'</a></td>'.
Note:
See TracChangeset
for help on using the changeset viewer.