<li>Popular Search</li> </ul> <div style="clear:both;"></div> </div> <div id="neb_search_form"> <?php /* The function displaying the search form along with advance search option has been moved to a separate PHP 'nebsearch.php'*/ include "nebsearchform.php"; ?> </div> <div id="breadcrumbs"> <?php /* To execute a query navigation object's funtion is called. The navigation is defined ib navbar,php */ $result = $nav->execute($sql, $link, "mysql"); $num_rows = mysql_num_rows($result); /*To count total number of data*/ $Countresult = mysql_query($sql); $TotalCount = mysql_num_rows($Countresult); $TotalCount2 = $TotalCount; $total_records = $TotalCount; echo '<table width="98%" align="center">'; echo '<tr>'; $links = $nav->getlinks("sides", "on"); /*To count number of data on current page*/ for ($y = 0; $y < count($links); $y++) { if ($y / 2 == 0) { echo "<td align=\"left\">"; } else { echo " <td align=\"right\">";
</td> </tr> <tr> <td colspan="4" align="left"> <div align="center"> <input type="submit" value=" GO "> </div> </td> </tr> </table> </form> <?php $data = buildAdvanceSearchQuery(); $result_id = $nav->execute($data, $link, "mysql"); $num_rows = mysql_num_rows($result_id); ?> <div id="breadcrumbs"> <?php $links = $nav->getlinks("sides", "on"); echo '<table width="98%" align="center">'; echo '<tr>'; for ($y = 0; $y < count($links); $y++) { if ($y / 2 == 0) { echo "<td align=\"left\">"; } else { echo "<td align=\"right\">"; } echo $links[$y] . " "; echo "</td>";