Курсовая работа: Разработка сайта. Система поиска по сайту

/*

list ($term_paper ['other'] ['link'],$term_paper ['other'] ['document']) =split (" ",$string,2);

$term_paper ['other'] ['document'] =substr ($term_paper ['other'] ['document'],0,$term_paper ['other'] ['MaxChars']);

$term_paper ['other'] ['document'] =trim (preg_replace ("/". $query. "/i","<b>\\0</b>",$term_paper ['other'] ['document'])).". ";

ParseTemplate ($term_paper ['templates'] ['result']);

flush ();

*/

$result [] =$string;

$found++;

}

fclose ($OpenDataFile);

if (! $found)

{

$term_paper ['other'] ['error'] =$term_paper ['error'] ['NoFound'];

ParseTemplate ($term_paper ['templates'] ['error']);

}

else

{

$term_paper ['other'] ['navigation'] =term_paper_array_navigation (

(isset ($result))? $result: null,

(isset ($term_paper ['other'] ['MaxShow']))? $term_paper ['other'] ['MaxShow']: null,

(isset ($term_paper ['other'] ['MaxPages']))? $term_paper ['other'] ['MaxPages']: null,

"? query=". $UserQuery. "&SearchPage=",

(isset ($_GET ['SearchPage']))? $_GET ['SearchPage']: null,

null,

null,

(isset ($term_paper ['color'] ['NotActive']))? $term_paper ['color'] ['NotActive']: null,

null,

(isset ($term_paper ['color'] ['CurrentPage']))? $term_paper ['color'] ['CurrentPage']: null,

К-во Просмотров: 641
Бесплатно скачать Курсовая работа: Разработка сайта. Система поиска по сайту