/****************************************************** ' System :Eco-footprint 会員ページ ' Content:LD冷房エコ診断 '******************************************************/ $top = '.'; $inc = "$top/../inc"; include("$inc/common.php"); include("$inc/database.php"); include("$inc/cnv_unit.php"); include("$inc/cnv_eng_mny.php"); include("$inc/cnv_eng_co2.php"); $inc = "$top/inc"; include("$inc/mypage.php"); include("$inc/sim_define.php"); include("$inc/sim_sub.php"); include("$inc/sim_reibou_ld.php"); include("$inc/sim_db.php"); include("$inc/sim_total.php"); // エコ診断クラス生成 $sim = new sim_reibou_ld; // フォームからデータ取得 $sim->cooler_type = $cooler_type; $sim->temperature = $temperature; $sim->hours1 = $hours1; $sim->hours2 = $hours2; $sim->hours3 = $hours3; $sim->cooler_type_e = $cooler_type_e; $sim->temperature_e = $temperature_e; $sim->hours1_e = $hours1_e; $sim->hours2_e = $hours2_e; $sim->hours3_e = $hours3_e; // エコ診断計算 $sim->simulation($energy, $cost, $co2, $msg); // 年間使用量取得 total_use($total_energy, $total_water, $total_cost, $total_co2); ?>