公益事業(講演会・イベント等)のお知らせ
$hcnt = $hyoujikensu - 1; $cntF = $kensuu + 1; $cntT = $cntF + $hcnt -1; $precnt = $cntF - $hcnt; $nxtcnt = $cntF + $hcnt; if ($cntT > $soukensuu) {$cntT = $soukensuu;} print("総数 : $soukensuu 件中 $cntF 〜 $cntT 件目を表示しています。
"); print(" "); ?> //本文表示 for ($j = 0;$j < $rows;$j++) { $titleid = pg_result($result,$j,0); $title1 = pg_result($result,$j,1); $honbun1 = pg_result($result,$j,2); $kokaibi = pg_result($result,$j,5); $photo_path1 = pg_result($result,$j,7); $photo_path2 = pg_result($result,$j,8); $photo_path3 = pg_result($result,$j,9); $photo_path4 = pg_result($result,$j,10); $photo_text1 = pg_result($result,$j,11); $photo_text2 = pg_result($result,$j,12); $photo_text3 = pg_result($result,$j,13); $photo_text4 = pg_result($result,$j,14); $datetime1 = pg_result($result,$j,15); $text1 = pg_result($result,$j,16); $text2 = pg_result($result,$j,17); $url1 = pg_result($result,$j,18); $tenp_name = pg_result($result,$j,19); // 本文内のハイパーリンクを新規ウィンドウで開くよう、”\n"); print(""); if ($kokaibi > $ymd1) { print(""); } print("$title1
\n"); print("$honbun1
");
print("");
if ($photo_path1 != '') {
$photofile = $titleid . '-1.' . $photo_path1;
$size = getimagesize("$server_imagepath$photofile");
if ((($size[0] > 450) || ($size[1] > 450)) && ($size[2] != 1)) {
$size[0] += 20;
$size[1] += 30;
print("");
print("\n");
print(" \n");
}
else {
print("\n");
print(" \n");
}
}
if ($photo_path2 != '') {
$photofile = $titleid . '-2.' . $photo_path2;
$size = getimagesize("$server_imagepath$photofile");
if ((($size[0] > 450) || ($size[1] > 450)) && ($size[2] != 1)) {
$size[0] += 20;
$size[1] += 30;
print("");
print("\n");
print(" \n");
}
else {
print("\n");
print(" \n");
}
}
if ($photo_path3 != '') {
$photofile = $titleid . '-3.' . $photo_path3;
$size = getimagesize("$server_imagepath$photofile");
if ((($size[0] > 450) || ($size[1] > 450)) && ($size[2] != 1)) {
$size[0] += 20;
$size[1] += 30;
print("");
print("\n");
print(" \n");
}
else {
print("\n");
print(" \n");
}
}
if ($photo_path4 != '') {
$photofile = $titleid . '-4.' . $photo_path4;
$size = getimagesize("$server_imagepath$photofile");
if ((($size[0] > 450) || ($size[1] > 450)) && ($size[2] != 1)) {
$size[0] += 20;
$size[1] += 30;
print("");
print("\n");
print(" \n");
}
else {
print("\n");
print(" \n");
}
}
print("
");
//添付ファイル
if ($tenp_name != '') {
$extension = explode(".",$tenp_name);
print("添付ファイル\n
");
}
?>
公開日: print($kokaibi); ?>