Changeset 211 for trunk/action.php


Ignore:
Timestamp:
Jun 20, 2009, 10:53:24 AM (15 years ago)
Author:
maron
Message:

do globálního hledání přidáno vyhledávání ve slovníčku

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/action.php

    r174 r211  
    3636        echo('<tr><td><a href="download.php?addon">Čeština pro klienta</a></td><td>'.$Line[0].'</td></tr>');
    3737        echo('<tr><td><a href="aowow/?search='.$Search.'">Vyhledávací databáze AoWoW</a></td></tr>');
     38        $Line = mysql_fetch_row($Database->SQLCommand('SELECT count(*) FROM `dictionary` WHERE (`Text` LIKE "%'.$Search.'%" OR `Description` LIKE "%'.$Search.'%") AND Language = 1'));
     39        echo('<tr><td><a href="dictionary.php?search='.$Search.'">Slovníček</a></td><td>'.$Line[0].'</td></tr>');
    3840 
    3941  echo('</table>');
Note: See TracChangeset for help on using the changeset viewer.