WebsiteBaker 2.13.8 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
if( isset( $_GET['search'] ) ) { $query_links = $database->query("SELECT title,url,target FROM ".TABLE_PREFIX."mod_bookmarks_links WHERE title LIKE '%".$_GET[search]."%' ORDER BY position ASC");if( $query_links->numRows() > 0 ) { print '<p>Search results for "'.$_GET['search'].'":'; print '<ul>'; while($link = $query_links->fetchRow()) { print '<li>'; print '<a href="'.$link['url'].'" target="'.$link['target'].'">'; print $link['title']; print '</a>'; print '</li>'; } print '</ul>';} else { print '<p>Sorry, no results found for "'.$_GET['search'].'".</p>';}} else { print '<form method="GET" action="'.$_ENV[PHP_SELF].'" style="margin:0px;">'; print '<p style="margin-bottom:0px;padding-bottom:0px;">Search bookmarks: '; print '<input type="text" name="search" size="30">'; print '<input type="submit" value=" Search "></p>'; print '</form>';}print '<hr>'; // remove this line to get rid of the visible horizontal rule.