0) {// $myrHost1 = mysql_fetch_array($resHost1); $curName = $myrHost1['name']; } else {// $curName = ''; die ("

No such site: ".$curUrl."

"); }// $title = ''; $meta_d = ''; $meta_k = ''; if ((isset($params[1])) && (trim($params[1]) != '')) {//1 $p =explode("-",$params[1]); if (count($p) == 2) {// switch($p[0]) {// case 'category': $resTitle1 = mysql_query("SELECT name FROM category WHERE page = '".StrInj($p[1])."' LIMIT 1"); if (mysql_num_rows($resTitle1) > 0) {// $myrTitle1 = mysql_fetch_array($resTitle1); $title = "// ��������� - ".$myrTitle1['name'].""; } else {// $title = " // ��������� �� �������"; }// break; ################################### case 'site': $highslide =1; //��� ����������� ������� highslide $resTitle1 = mysql_query("SELECT name,descr,keywords FROM sites WHERE id = '".StrInj($p[1])."' LIMIT 1"); if (mysql_num_rows($resTitle1) > 0) {// $myrTitle1 = mysql_fetch_array($resTitle1); $meta_d = $myrTitle1['descr']; $meta_k = strtolower($myrTitle1['keywords']); $title = " // ".$myrTitle1['name']." - ".$meta_k; } else {// $title = " // ���� �� ������"; }// break; ################################### }// }// }//1 ?> «<? echo $curName;?>» // // <? echo $title; ?> HERE; } ?>