/******************************************************
' 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_unten.php");
include("$inc/sim_db.php");
// 排気量(ガソリン車)プルダウン表示
function select_engine_vol1($name, $default) {
$ary = array(
1 => '660',
2 => '1000-1500',
3 => '1600-2000',
4 => '2200-2500',
5 => '2600-3000'
);
sim_select_ary($name, $ary, $default);
}
// 排気量(ディーゼル車)プルダウン表示
function select_engine_vol2($name, $default) {
$ary = array(
4 => '2200-2500',
5 => '2600-3000'
);
sim_select_ary($name, $ary, $default);
}
// 排気量(ハイブリッド車)プルダウン表示
function select_engine_vol3($name, $default) {
$ary = array(
2 => '1000-1500',
3 => '1600-2000',
4 => '2200-2500',
5 => '2600-3000'
);
sim_select_ary($name, $ary, $default);
}
// 走行距離プルダウン表示
function select_kyori($name, $default) {
sim_select_no($name, 100, 1000, $default, '', '', '', 100);
}
// アイドリング時間プルダウン表示
function select_idling($name, $default) {
sim_select_no($name, 0, 60, $default, '', '', '', 10);
}
// 走行距離削減プルダウン表示
function select_kyori_e($name, $default) {
sim_select_no($name, 0, 100, $default, '', '', '', 10);
}
// アイドリング削減時間プルダウン表示
function select_idling_e($name, $default) {
sim_select_no($name, 0, 100, $default, '', '', '', 10);
}
// エコ診断クラス生成
$sim = new sim_unten;
// DBから診断データを読み込み
$sim->read_eco_data();
?>
運転方法診断
|
あなたの車の運転方法を変えることでどれくらいの「Eco効果」があるか計算します!!
|
|
 |
|
 |