Changeset 518
- Timestamp:
- Feb 18, 2013, 10:30:36 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/Version.php
r515 r518 1 1 <?php 2 2 3 $Revision = 51 5; // Subversion revision3 $Revision = 518; // Subversion revision 4 4 $DatabaseRevision = 510; 5 $ReleaseTime = '2013-02-1 6';5 $ReleaseTime = '2013-02-18'; 6 6 7 7 ?> -
trunk/log.php
r507 r518 86 86 87 87 $sql = 'SELECT *, `LogType`.`Color` AS `LogColor`, (SELECT `User`.`Name` FROM `User` WHERE `User`.`ID` = `Log`.`User`) AS `UserName` FROM `Log` LEFT JOIN `LogType` ON `LogType`.`Id`=`Log`.`Type` '.$Where.$Order['SQL'].$PageList['SQLLimit']; 88 //echo($sql);89 88 $DbResult = $System->Database->query($sql); 90 89 while($Line = $DbResult->fetch_assoc()) 91 90 { 92 //$Output .= '<tr><td>'.$Line['Date'].'</td><td><span style="color: '.$Line['LogColor'].'">'.$Line['Text'].'</span></td><td>'.$Line['UserName'].'</td><td>'.$Line['IP'].'</td></tr>'; 91 $Output .= '<tr><td>'.$Line['Date'].'</td>'. 92 '<td><span style="color: '.$Line['LogColor'].'">'.htmlspecialchars($Line['Text']).'</span></td>'. 93 '<td>'.$Line['UserName'].'</td>'. 94 '<td>'.$Line['IP'].'</td></tr>'; 93 95 } 94 96 $Output .= '</table>'.
Note:
See TracChangeset
for help on using the changeset viewer.