Changeset 158 for trunk/userlist.php
- Timestamp:
- Mar 18, 2009, 8:35:25 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/userlist.php
r155 r158 15 15 else if(!array_key_exists('Desc', $_SESSION)) $_SESSION['Desc'] = 'DESC'; 16 16 17 if(array_key_exists('search', $_GET)) { 18 $_SESSION['Where'] = ' WHERE `user`.`user` LIKE "%'.$_GET['search'].'%"'; 19 } 20 if(array_key_exists('Where', $_GET)) { 21 $_SESSION['Where'] = ' WHERE '.$_GET['Where']; 22 if($_GET['Where'] == '') $_SESSION['Where'] = ''; 23 } 17 if(array_key_exists('search', $_GET)) 18 { 19 $_SESSION['Where'] = ' WHERE `user`.`user` LIKE "%'.$_GET['search'].'%"'; 20 } 21 if(array_key_exists('Where', $_GET)) 22 { 23 $_SESSION['Where'] = ' WHERE '.$_GET['Where']; 24 if($_GET['Where'] == '') $_SESSION['Where'] = ''; 25 } 24 26 else if(!array_key_exists('Where', $_SESSION)) $_SESSION['Where'] = ''; 25 27 26 if ($_SESSION['Where'] <> '') echo(' <a href="?Where">Zrušit filtr uživatelů</a><br />');28 if($_SESSION['Where'] <> '') echo(' <a href="?Where">Zrušit filtr uživatelů</a><br />'); 27 29 28 30 ListPaging('?Page=', 'user', $_SESSION['Where'], $Config['Web']['ItemsPerPage'], $_SESSION['Page']);
Note:
See TracChangeset
for help on using the changeset viewer.