Changeset 298 for trunk/log.php
- Timestamp:
- Dec 28, 2009, 5:13:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/log.php
r291 r298 62 62 else $Where = ''; 63 63 } 64 if(($Where != '') and (array_key_exists('group', $_SESSION))) $Where .= ' AND text LIKE "%'.$TranslationTree[$_SESSION['group']]['Name'].'%"';64 //if(($Where != '') and (array_key_exists('group', $_SESSION))) $Where .= ' AND text LIKE "%'.$TranslationTree[$_SESSION['group']]['Name'].'%"'; 65 65 66 66 $DbResult = $Database->SQLCommand('SELECT COUNT(*) FROM `log` '.$Where); … … 81 81 82 82 $sql = 'SELECT *,(SELECT `user`.`user` FROM `user` WHERE `user`.`id` = `log`.`user`) AS `user` FROM `log` '.$Where.$Order['SQL'].$PageList['SQLLimit']; 83 $ID = $Database->SQLCommand($sql); 83 //echo($sql); 84 $ID = $Database->SQLCommand($sql); 84 85 while($Line = mysql_fetch_assoc($ID)) 85 86 {
Note:
See TracChangeset
for help on using the changeset viewer.