Changeset 155 for trunk/userlist.php


Ignore:
Timestamp:
Mar 12, 2009, 1:27:34 PM (16 years ago)
Author:
maron
Message:

Globální hledání

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/userlist.php

    r149 r155  
    1515else if(!array_key_exists('Desc', $_SESSION)) $_SESSION['Desc'] = 'DESC';
    1616
     17if(array_key_exists('search', $_GET)) {
     18         $_SESSION['Where'] = ' WHERE `user`.`user` LIKE "%'.$_GET['search'].'%"';
     19 }
    1720if(array_key_exists('Where', $_GET)) {
    1821         $_SESSION['Where'] = ' WHERE '.$_GET['Where'];
    19      if($_GET['Where'] == '') $_SESSION['Where'] = '';
     22     if($_GET['Where'] == '') $_SESSION['Where'] = '';     
    2023 }
    2124else if(!array_key_exists('Where', $_SESSION)) $_SESSION['Where'] = '';
Note: See TracChangeset for help on using the changeset viewer.