/******************************************************
' System :Eco-footprint 会員ページ
' Content:洗濯エコ診断
'******************************************************/
$top = '.';
$inc = "$top/../inc";
include("$inc/common.php");
include("$inc/database.php");
$inc = "$top/inc";
include("$inc/mypage.php");
include("$inc/sim_define.php");
include("$inc/sim_sub.php");
include("$inc/sim_sentaku.php");
include("$inc/sim_db.php");
// 洗濯層の容量プルダウン表示
function select_capacity($name, $default) {
sim_select_no($name, 4, 8, $default);
}
// 洗濯回数プルダウン表示
function select_times($name, $default) {
$ary['0.5'] = '2日に1';
for ($i = 1; $i <= 5; $i++)
$ary[$i] = $i;
sim_select_ary($name, $ary, $default);
}
// 洗濯物量の割合プルダウン表示
function select_ratio($name, $default) {
$ary = array(
50 => '半分',
80 => '八分目',
100 => 'ちょうど',
120 => '押し込む'
);
sim_select_ary($name, $ary, $default);
}
// 残り湯の使用ラジオボタン表示
function radio_nokoriyu($name, $default, $eco = '') {
$ary = array(
1 => '使用しない',
2 => '洗いのみ使用',
3 => '洗いとすすぎ1回使用 '
);
sim_radio_ary($name, $ary, $default, $eco);
}
// 残り湯の使用プルダウン表示
function select_nokoriyu($name, $default) {
$ary = nokoriyu_name();
sim_select_ary($name, $ary, $default);
}
// エコ診断クラス生成
$sim = new sim_sentaku;
// DBから診断データを読み込み
$sim->read_eco_data();
?>
洗濯診断
|
あなたの家の洗濯方法を変えることでどれくらいの「Eco効果」があるか計算します!!
|
|
 |
|
 |