/****************************************************** ' System :Eco-footprint 会員ページ ' Content:先月の実績入力最終確認 '******************************************************/ $top = '.'; $inc = "$top/../inc"; include("$inc/common.php"); include("$inc/database.php"); $inc = "$top/inc"; include("$inc/result_input.php"); include("$inc/mypage.php"); // セッション処理 if (!isset($_SESSION['ss_result_input'])) redirect('result_input.php'); $reg = &$_SESSION['ss_result_input']; // ガス未使用者抽出 $sql = "SELECT mb_gas_kind_cd FROM t_member WHERE mb_seq_no={$_SESSION['ss_seq_no']}"; $gas_kind = db_fetch1($sql); if (!$reg->el_use) $msg[] = "電気の使用量及び金額が入力されていないようです。"; if (!$reg->gs_use && $gas_kind != 3) $msg[] = "ガスの使用量及び金額が入力されていないようです。"; if (!$reg->wt_use_input && $reg->bd_m == $reg->mb_wt_month) $msg[] = "水道の使用量及び金額が入力されていないようです。"; if (!$msg) redirect('result_input_fix.php'); ?>
![]() |
|
![]() |
|||||
![]()
|
|||||||
![]() |
|
![]() |