Topic: Search Form like this
Already searched, but i not have found what exactly i want.
I've the CuteNews 1.4.6.
I want put a long search form (inside the top.php), when you research something the results will appear on the home.php.
This is the Html code on the index.php and the code in the home.php. Like this example
<html>
<head>
<title>WEBSITE</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<div align="center">
<table width="1080"; height: 500px; border="0" align="center" cellpadding="0" cellspacing="0">
<tbody>
<tr align="left" valign="top">
<td colspan="3"><span class="txtfin">
<? include("top.html"); ?>
</span></td>
</tr><tr>
<td style="width: 140px; background-color: #9F0000;vertical-align: top; text-align: left"><span class="txtfin">
<? include("left.php"); ?>
<?php
if(isset($_GET['p']) && file_exists($_GET['p'].'.php')){
include($_GET['p'].'.php');
}
else{
include('home.php');
}
?>
</span>
</td>
<td style="width: 300px; vertical-align: top; text-align:right">
<span class="txtfin">
<? include("right.php"); ?>
</span></td></tr>
<tr align="center" valign="top"; "background-color: #000000">
<td colspan="3" style="background-color: #060D21"><span class="txtfin">
<? include("sub.html"); ?>
</span></td>
</tr>
</tbody>
</table>
</div>
</body>
</html>
<?php $number = "15";
include("cutenews/show_news.php");
?>