Location: PHPKode > projects > Horizon Blogging Software > templates/default/default_search.php
<?php if (!(defined('IN_HBS')) || IN_HBS !== TRUE) { header('Location: 404.php'); exit(); } ?>
<?php if (isset($empty) && $empty === TRUE) { ?>
<div style='width: 98%; background-color: #FFCACA; font-weight: bold; font-family: Verdana; font-size: 14px; padding: 5px; border: 1px dashed #FF0000;' align='center'><div align='center'>Please enter a search query.</div></div><br />

<?php } else { ?>
<font size='3px'>Your search results:</font><br /><hr>
<?php if (isset($results) && $results === TRUE) { foreach ($result as $res) {?>

<a href="comment.php?id=<?=$res['id'] ?>"><?=$res['title'] ?></a><br><?=$res['entry'] ?><br><hr>

<?php } } else { ?>

<div style='width: 98%; background-color: #FFCACA; font-weight: bold; font-family: Verdana; font-size: 14px; padding: 5px; border: 1px dashed #FF0000;' align='center'><div align='center'>No articles we're found.</div></div><br />

<?php } } ?>
Return current item: Horizon Blogging Software