//有朋自遠方来 include_once("../common/preference.inc"); include_once("../common/common.inc"); include_once("../common/err.inc"); if (ereg('^[0-9]+$',$_GET['p'])) {$p = sprintf('%02d',$_GET['p']);} else {$p = '01';} //ファイル一覧取得 $dir = dir('./link_data'); while(($tmp = $dir -> read()) !== FALSE) { if (ereg('\.csv$',$tmp)) { $num_tmp = substr($tmp,0,2); $num_tmp = sprintf('%d',$num_tmp); if ($p == $num_tmp) {$selected = 'selected';} else {$selected = '';} $options .= ''; } } //データ用CSVファイル読み込み $data = read_file('link_data/'.$p.'.csv'); //ページトップ $up = '
|
|||||||||||||||||