/****************************************************** ' System :Eco-footprint 会員ページ ' Content:我が家の結果グラフ表示 '******************************************************/ $top = '.'; $inc = "$top/../inc"; include("$inc/common.php"); include("$inc/database.php"); include("$inc/cnv_eng_co2.php"); include("$inc/cnv_unit.php"); $inc = "$top/inc"; include("$inc/mypage.php"); include("$inc/graph01.php"); // Flashパラメータ編集 /* グラフに打つそれぞれの点の高さ */ for($i = 0; $i < 12; $i++) { $fv[] = "elcM" . ($i + 1) . "spend=" . $use_cy_ary['ele'][$i]; $fv[] = "LYelcM" . ($i + 1) . "spend=" . $use_ly_ary['ele'][$i]; $fv[] = "gasM" . ($i + 1) . "spend=" . $use_cy_ary['gas'][$i]; $fv[] = "LYgasM" . ($i + 1) . "spend=" . $use_ly_ary['gas'][$i]; $fv[] = "wtrM" . ($i + 1) . "spend=" . $use_cy_ary['wtr'][$i]; $fv[] = "LYwtrM" . ($i + 1) . "spend=" . $use_ly_ary['wtr'][$i]; $fv[] = "oilM" . ($i + 1) . "spend=" . $use_cy_ary['oil'][$i]; $fv[] = "LYoilM" . ($i + 1) . "spend=" . $use_ly_ary['oil'][$i]; $fv[] = "gsoM" . ($i + 1) . "spend=" . $use_cy_ary['gso'][$i]; $fv[] = "LYgsoM" . ($i + 1) . "spend=" . $use_ly_ary['gso'][$i]; $fv[] = "dstM" . ($i + 1) . "spend=" . $use_cy_ary['dst'][$i]; $fv[] = "LYdstM" . ($i + 1) . "spend=" . $use_ly_ary['dst'][$i]; $fv[] = "co2M" . ($i + 1) . "spend=" . $use_cy_ary['co2'][$i]; $fv[] = "LYco2M" . ($i + 1) . "spend=" . $use_ly_ary['co2'][$i]; } $fv[] = "elc_spendMetaphor=" . $metaphor['ele']; $fv[] = "gas_spendMetaphor=" . $metaphor['gas']; $fv[] = "wtr_spendMetaphor=" . $metaphor['wtr']; $fv[] = "oil_spendMetaphor=" . $metaphor['oil']; $fv[] = "gso_spendMetaphor=" . $metaphor['gso']; $fv[] = "dst_spendMetaphor=" . $metaphor['dst']; $fv[] = "co2_spendMetaphor=" . $metaphor['co2']; $fv[] = "elc_compareValue=" . $comp_ary['ele']; $fv[] = "gas_compareValue=" . $comp_ary['gas']; $fv[] = "wtr_compareValue=" . $comp_ary['wtr']; $fv[] = "oil_compareValue=" . $comp_ary['oil']; $fv[] = "gso_compareValue=" . $comp_ary['gso']; $fv[] = "dst_compareValue=" . $comp_ary['dst']; $fv[] = "elc_compareCost=" . $cost_ary['ele']; $fv[] = "gas_compareCost=" . $cost_ary['gas']; $fv[] = "wtr_compareCost=" . $cost_ary['wtr']; $fv[] = "oil_compareCost=" . $cost_ary['oil']; $fv[] = "gso_compareCost=" . $cost_ary['gso']; $fv[] = "dst_compareCost=0"; /* 追加変数 */ $fv[] = "thisMonth=" . (int)get_datepart('M', $data_ym); $fv[] = "thisMonth_co2spend=$co2"; $fv[] = "addmissMonth=" . (int)get_datepart('M', $start_ym); $fv = join('&', $fv); ?>