assign('list', $db -> free_sql('SELECT * FROM `pages` WHERE `txt` LIKE "%' . $f . '%" OR `title` LIKE "%' . $f . '%" OR `keywords` LIKE "%' . $f . '%"')); $smarty->assign('ftovar', $db -> free_sql('SELECT * FROM `m_tovar` WHERE `public`="1" AND (`artikul` LIKE "' . $f . '" OR `naim` LIKE "%' . $f . '%" OR `keywords` LIKE "%' . $f . '%")')); ?>