



$result2 = $db->sql_query("SELECT tid, title FROM ".$prefix."_encyclopedia_text WHERE text LIKE '%".addslashes($query)."%'");
$numrows = $db->sql_numrows($result2);
echo "<br><br><i><b>"._RESULTSINTERMTEXT."</b></i><br><br>";
if ($numrows == 0) {
echo _NORESULTSTEXT;
} else {
while ($row2 = $db->sql_fetchrow($result2)) {
$tid = $row2['tid'];
$title = stripslashes(check_html($row2['title'], "nohtml"));
echo "<strong><big>·</big></strong> <a href=\"modules.php?name=".$module_name."&op=content&tid=".$tid."&query=".$query."\">".$title."</a><br>";
}
}
$db->sql_freeresult($result2);


Obsah fóra BLASSENweb » Moduly
|
|