$val){ $wh_tmp .= '`furi` LIKE \''.$val.'%\' OR '; } $iwt["img"] = "t-a.gif"; $iwt["words"] = "あ行"; }elseif($page == "ka"){ $tmp = NULL; $wh = NULL; $wh = array('カ','キ','ク','ケ','コ'); foreach($wh as $key => $val){ $wh_tmp .= '`furi` LIKE \''.$val.'%\' OR '; } $iwt["img"] = "t-ka.gif"; $iwt["words"] = "か行"; }elseif($page == "sa"){ $tmp = NULL; $wh = NULL; $wh = array('サ','シ','ス','セ','ソ'); foreach($wh as $key => $val){ $wh_tmp .= '`furi` LIKE \''.$val.'%\' OR '; } $iwt["img"] = "t-sa.gif"; $iwt["words"] = "さ行"; }elseif($page == "ta"){ $tmp = NULL; $wh = NULL; $wh = array('タ','チ','ツ','テ','ト'); foreach($wh as $key => $val){ $wh_tmp .= '`furi` LIKE \''.$val.'%\' OR '; } $iwt["img"] = "t-ta.gif"; $iwt["words"] = "た行"; }elseif($page == "na"){ $tmp = NULL; $wh = NULL; $wh = array('ナ','ニ','ヌ','ネ','ノ'); foreach($wh as $key => $val){ $wh_tmp .= '`furi` LIKE \''.$val.'%\' OR '; } $iwt["img"] = "t-na.gif"; $iwt["words"] = "な行"; }elseif($page == "ha"){ $tmp = NULL; $wh = NULL; $wh = array('ハ','ヒ','フ','ヘ','ホ'); foreach($wh as $key => $val){ $wh_tmp .= '`furi` LIKE \''.$val.'%\' OR '; } $iwt["img"] = "t-ha.gif"; $iwt["words"] = "は行"; }elseif($page == "ma"){ $tmp = NULL; $wh = NULL; $wh = array('マ','ミ','ム','メ','モ'); foreach($wh as $key => $val){ $wh_tmp .= '`furi` LIKE \''.$val.'%\' OR '; } $iwt["img"] = "t-ma.gif"; $iwt["words"] = "ま行"; }elseif($page == "ya"){ $tmp = NULL; $wh = NULL; $wh = array('ヤ','ユ','ヨ'); foreach($wh as $key => $val){ $wh_tmp .= '`furi` LIKE \''.$val.'%\' OR '; } $iwt["img"] = "t-ya.gif"; $iwt["words"] = "や行"; }elseif($page == "ra"){ $tmp = NULL; $wh = NULL; $wh = array('ラ','リ','ル','レ','ロ'); foreach($wh as $key => $val){ $wh_tmp .= '`furi` LIKE \''.$val.'%\' OR '; } $iwt["img"] = "t-ra.gif"; $iwt["words"] = "ら行"; }elseif($page == "wa"){ $tmp = NULL; $wh = NULL; $wh = array('ワ','ヲ','ン'); foreach($wh as $key => $val){ $wh_tmp .= '`furi` LIKE \''.$val.'%\' OR '; } $iwt["img"] = "t-wa.gif"; $iwt["words"] = "わ行"; }else{ } if($wh_tmp){ $wh_tmp = rtrim($wh_tmp,"OR "); $tmp = amu_db_all("*","words",$wh_tmp,"`furi` ASC","",""); $html ='

'.$iwt[

'; if(is_array($tmp)){ $html .=' '; $c = 0; foreach($tmp as $key => $val){ $c++; $works_link = works_link($val["kaisetu"],"words"); if($c == "1"){ $html .=' '; }else{ $html .=' '; } } $html .= '
'.nl2br($val["word"]).' '.nl2br($works_link["0"]).'
'.nl2br($val["word"]).' '.nl2br($works_link["0"]).'
'; } $html .= '
'; } // $altohi = NULL; $altohi["a"] = "あ"; $altohi["ka"] = "か"; $altohi["sa"] = "さ"; $altohi["ta"] = "た"; $altohi["na"] = "な"; $altohi["ha"] = "は"; $altohi["ma"] = "ま"; $altohi["ya"] = "や"; $altohi["ra"] = "ら"; $altohi["wa"] = "わ"; $tmp2 = array("a","ka","sa","ta","na","ha","ma","ya","ra","wa"); foreach($tmp2 as $key => $val){ if($page == $val){ $img = 'b-'.$val.'_on.gif'; }else{ $img = 'b-'.$val.'_off.gif'; } $nav .= '
  • '.$altohi[$val].'行
  • '; } //// $SEO = NULL; $SEO = amu_db_all("*","seo","`page_url`='".$_SERVER["PHP_SELF"]."'","","",""); $Page_title = $SEO["0"]["page_title"]; $Description = $SEO["0"]["description"]; $Keywords = $SEO["0"]["keywords"]; ?> <?=$Page_title?>

    ネイル用語辞典

    PAGE TOP