You can look up a way to show the search box in example.php:
<!-- SECTION: SEARCH -->
<h3>Quick search</h3>
<form action="<?php echo PHP_SELF; ?>" method="GET">
<input type="hidden" name="dosearch" value="Y" />
<div>
<input style="width: 200px; padding: 4px;" class="text" type="text" name="search" value="<?php echo cn_htmlspecialchars(REQ('search')); ?>" />
<input style="width: 75px; padding: 4px;" class="submit" type="submit" value="search it!" />
</div>
</form>
then you will need to make the following changes on the news displaying page:
<?php
if (isset($_GET['search'])&&$_GET['search'])
{
include ("search.php");
}
else
{
include ("show_news.php");
}
?>
Best regards,
CN Support team