掲載:
">『』
源流フォトギャラリー
多摩川源流研究所 所長の中村文明が、四季折々の多摩川源流域の"今"を写真でご紹介します。
= 400 || $height >= 400) {
if ( $height > $width ) {
$cwidth = 140;
$cheight = 180;
} else {
$cwidth = 180;
$cheight = ($cwidth / $width) * $height;
}
} else if ($width < 400 || $height < 400) {
$cwidth = $width;
$cheight = $height;
}
if (strlen($row["title"]) > 34) {
$title = mb_substr( mb_convert_kana($row["title"],"RNASKV","EUC-JP") ,0,34)."...";
} else {
$title = $row["title"];
}
if (strlen($row["place"]) > 38) {
$place = mb_substr( mb_convert_kana($row["place"],"RNASKV","EUC-JP") ,0,38)."...";
} else {
$place = $row["place"];
}
if (strlen($row["img_comment"]) > 38) {
$img_comment = mb_substr( mb_convert_kana($row["img_comment"],"RNASKV","EUC-JP") ,0,38)."...";
} else {
if ($row["img_comment"] != "") {
$img_comment = $row["img_comment"];
} else {
$img_comment = " ";
}
}
?>