/****************************************************** ' System :Eco-footprint 会員ページ ' Content:住居情報入力 '******************************************************/ $top = '.'; $inc = "$top/../inc"; include("$inc/common.php"); include("$inc/database.php"); include("$inc/select.php"); $inc = "$top/inc"; include("$inc/regist2.php"); // IMEだけJavaScript実行 function check_browser($func, $parameter='') { if ($func == 'onload') { if ( ereg ("MSIE", $_SERVER["HTTP_USER_AGENT"])) echo "onload='onload()'"; } else { if ( ereg ("MSIE", $_SERVER["HTTP_USER_AGENT"])) echo "$func=\"show_hide('$parameter')\""; } } // 建築年次 function select_chikunen($default, $selected) { if ($default) echo "\n"; $sql = "SELECT cn_chikunen_cd,cn_chikunen_text FROM m_chikunen ORDER BY cn_chikunen_cd"; $result = db_exec($sql); $nrow = pg_numrows($result); for ($i = 0; $i < $nrow; $i++) { $fetch = pg_fetch_object($result, $i); echo '', "\n"; } } // 住居面積 function select_space($default, $selected) { if ($default) echo "\n"; $sql = "SELECT sp_space_cd,sp_space_text FROM m_space ORDER BY sp_space_cd"; $result = db_exec($sql); $nrow = pg_numrows($result); for ($i = 0; $i < $nrow; $i++) { $fetch = pg_fetch_object($result, $i); echo '', "\n"; } } // セッション処理 session_start(); if (!isset($_SESSION['ss_regist2'])) redirect('member_input_exp.php'); $reg = &$_SESSION['ss_regist2']; ?>