Changeset 298 for trunk/log.php


Ignore:
Timestamp:
Dec 28, 2009, 5:13:29 PM (15 years ago)
Author:
george
Message:
  • Přidáno: Nová skupina záznamu akcí Export. Vkládány akce vytvořen export, smazán export.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/log.php

    r291 r298  
    6262      else $Where = '';
    6363  }
    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'].'%"';
    6565
    6666  $DbResult = $Database->SQLCommand('SELECT COUNT(*) FROM `log` '.$Where);
     
    8181 
    8282  $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);
    8485  while($Line = mysql_fetch_assoc($ID))
    8586  {
Note: See TracChangeset for help on using the changeset viewer.