/******************************************************
' 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_shigengomi.php");
include("$inc/sim_db.php");
// 購入量プルダウン表示
function select_num($name, $default) {
$ary[0] = 0;
$ary['0.5'] = '1/2';
for ($i = 1; $i <= 10; $i++)
$ary[$i] = $i;
sim_select_ary($name, $ary, $default);
}
// リサイクルラジオボタン表示
function radio_recycle($name, $default, $eco = '') {
$ary = array(
1 => 'している',
0 => 'していない'
);
sim_radio_ary($name, $ary, $default, $eco, ' ');
}
// リサイクルプルダウン表示
function select_recycle($name, $default) {
$ary = array(
1 => 'する',
0 => 'しない'
);
sim_select_ary($name, $ary, $default);
}
// エコ診断クラス生成
$sim = new sim_shigengomi;
// DBから診断データを読み込み
$sim->read_eco_data();
?>
ごみ診断
|
あなたの家の資源ごみの出し方を変えることでどれくらいの「Eco効果」があるか計算します!!
|
|
 |
|
 |