if($search_array[0]["title"]==""){ print "<h1>There were no results in the search.</h1>"; }else{ $count = $start; $total_search = $news_array[0]["totals"]+$pages_array[0]["totals"]; print "<h1>Your search for \"$keywords\" returned $total_search result".$common->singleCheck($total_search)."!</h1>"; for($i=0;$i<count($search_array);$i++){ $count++; print "<h3>$count. <a href='".$search_array[$i]["url"]."'>".$search_array[$i]["title"]."</a></h3>"; print "<p>".substr(strip_tags($search_array[$i]["sum"]), 0, 200)."..."; print "<br/><a href='".$search_array[$i]["url"]."'><i>".$search_array[$i]["url"]."</i></a></p>"; } if($total_search>$limit){ $data_list = array($keywords); $name_list = array("keywords"); $common->pageNav($start, $limit, $total_search, $name_list, $data_list); } } ?> </td> </tr> </table> </div> <div id="footer"> <block id='2' name='Global_Footer' description='Global_footer_details' default='4'></block> </div> </body> </html> <? //CLOSE OUT CONNECTION TO THE DATABASE $db->DB_CLOSE($database_connection);
}else{ print "<li class='even'><a href='#'>There are no news or events to display.</a></li>"; } ?> </ul> <? if($totals>$limit){ $common->pageNav($start, ($limit*2), $totals); } ?> </div> </td> <td id="rightcontent"> <? if(isset($_REQUEST['theid'])){