Changeset 436 for trunk/action.php
- Timestamp:
- Apr 9, 2010, 11:16:24 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/action.php
r376 r436 15 15 $Table = $Group['TablePrefix']; 16 16 17 $sql = 'SELECT COUNT(*) FROM `'.$Table.'` WHERE `ID` LIKE "%'.$Search.'%" 18 OR `Entry` LIKE "%'.$Search.'%" 19 OR `User` LIKE "%'.$Search.'%" 20 OR `Complete` LIKE "%'.$Search.'%"'; 17 $sql = 'SELECT COUNT(*) FROM `'.$Table.'` WHERE '. 18 ' (`ID` LIKE "%'.$Search.'%")'. 19 ' OR (`Entry` LIKE "%'.$Search.'%")'; 21 20 foreach($Group['Items'] as $Item) 22 21 { … … 24 23 } 25 24 $Line = mysql_fetch_row($Database->SQLCommand($sql)); 26 echo('<tr><td><a href="TranslationList.php?group='.$Group['Id'].'& action=search&search='.$Search.'">'.$Group['Name'].'</a></td><td>'.$Line[0].'</td></tr>');25 echo('<tr><td><a href="TranslationList.php?group='.$Group['Id'].'&user=0&state=0&text='.$Search.'&entry=">'.$Group['Name'].'</a></td><td>'.$Line[0].'</td></tr>'); 27 26 } 28 27
Note:
See TracChangeset
for help on using the changeset viewer.