10000){$match[1]=0;}
if($match[1]>0){$search_day="★".$match[1]."日前に更新されたサイト
";}
else{$search_day="★本日に更新されたサイト
";}
}
elseif(preg_match("/^(\d+)\-(\d+)$/", $_GET['search_day'], $match)){ #[str_day]-[end_day]
if($match[2]>0){$search_day="★".$match[1]."日前〜".$match[2]."日前に更新されたサイト
";}
else{$search_day="★".$match[1]."日以内に更新されたサイト
";}
}
elseif(preg_match("/^(\d+)\/(\d+)\/(\d+)$/", $_GET['search_day'], $match)){ #year/mon/day
$search_day="★".$_GET['search_day']." に更新されたサイト
";
}
}
##ファイルの読み込み&該当データ総数を得る
$Clog=open_for_search($_GET['search_kt'],$_GET['search_day'],$_GET['sort']);
if($_GET['item_id']){
//$Stitle="検索結果";
$Stitle = $write[0][1];
}elseif($_GET['use_str'] == "on"){
$Stitle="検索結果(検索式:$_GET[word])";
}
else{
if(!$_GET['method']){$_GET['method']="and";}
$Stitle="検索結果(検索ワード:$_GET[word] / 検索条件:$_GET[method])";
}
//xoops2 タイトル設定
global $xoopsModule,$xoopsTpl;
if (is_object($xoopsTpl))
{
$xoops_pagetitle = $xoopsModule->name();
$xoops_pagetitle = "$Stitle-$xoops_pagetitle";
$xoopsTpl->assign("xoops_pagetitle",$xoops_pagetitle);
}
?>
=$Stitle?> |