time()) { continue; } array_push($vols, $vol[0]); } rsort($vols); $newno = $vols[0];; /* //最新号番号取得 $dir = './'; if( is_dir( $dir ) && $handle = opendir( $dir ) ) { $vols = array(); while( ($file = readdir($handle)) !== false ) { if( filetype( $path = $dir . $file ) == "file" && strpos($file, 'vol') !== false ) { $res = preg_match('/vol([0-9]+)\.html/', $file, $vol); //公開日でないものは表示しない $tmp = file($file); if(preg_match('/^$/', $tmp[0], $match)){ $setTime = strtotime($match[1]); if(time() < strtotime($match[1])){ continue; } array_push($vols, $vol[1]); } } } rsort($vols); $newno = $vols[0]; } */ $no = $_GET['no']; $filename = 'vol' . $no . '.html'; if (!is_file($filename)) { if (is_dir($dir) && $handle = opendir($dir)) { $vols = array(); while (($file = readdir($handle)) !== false) { if (filetype($path = $dir . $file) == "file" && strpos($file, 'vol') !== false) { $res = preg_match('/vol([0-9]+)\.html/', $file, $vol); //公開日でないものは表示しない $tmp = file($file); if (preg_match('/^$/', $tmp[0], $match)) { $setTime = strtotime($match[1]); if (time() < strtotime($match[1])) { continue; } } array_push($vols, $vol[1]); } } rsort($vols); $no = $vols[0]; $filename = 'vol' . $no . '.html'; } } $title = 'ウェブレター no.' . $no; $breadtitle = $title; $keyword = ''; $description = ''; set_meta_robots('noindex, nofollow'); get_header('newothers'); ?>

ウェブレターの配信をご希望の方はメールアドレスを入力して登録してください。