/****************************************************** ' System :Eco-footprint 管理ページ ' Content:退会者リスト '******************************************************/ $top = '../..'; $inc = "$top/inc"; include("$inc/login_check.php"); include("$inc/header.php"); $inc = "$top/../inc"; include("$inc/common.php"); include("$inc/define.php"); include("$inc/database.php"); //include("$inc/decode.php"); include("$inc/select.php"); include("$inc/format.php"); include("$inc/list.php"); // 送信状態 function decode_news_status($code) { switch ($code) { case 0: return '未送信'; case 1: return '送信済'; } return '不明'; } // decode配信対象 function decode_target($code) { switch ($code) { case 4: return '全員'; case 1: return '仮登録1'; case 2: return '仮登録2'; case 3: return '本登録'; } return '不明'; } //メイン処理 set_global('member', '会員情報管理', '退会者リスト', BACK_TOP); // セッション登録 get_session_vars($pset, 'monitor_news', 'displine', 'target', 'sort_col', 'sort_dir', 'page'); // where条件 if ($target != '') and_join($where, "am_target=$target"); if ($where != '') $where = "WHERE $where"; // ソート条件 $order_by = order_by(4, 1, 'mb_id', 'mb_name1_kana||mb_name2_kana', 'tk_opinion_cd', 'tk_regist_date'); // 表示行数条件 $limit = disp_limit(); $sql = "SELECT mb_seq_no,mb_id,mb_name1,mb_name2,mb_name1_kana,mb_name2_kana,tk_seq_no,tk_opinion_cd,tk_regist_date" . " FROM t_taikai LEFT JOIN t_member ON tk_mb_seq_no=mb_seq_no $where $order_by $limit"; $result = db_exec($sql); $nrow = pg_numrows($result); ?>
=$fetch->mb_id?> | ="$fetch->mb_name1 $fetch->mb_name2"?> | =$fetch->tk_opinion_cd?> | =format_datetime($fetch->tk_regist_date)?> | 表示 |