/****************************************************** ' 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 '不明'; } //メイン処理 set_global('member', '会員情報管理', '完了督促メール配信設定', BACK_TOP); // セッション登録 get_session_vars($pset, 'monitor_news', 'displine', 'sort_col', 'sort_dir', 'page'); // ソート条件 $order_by = order_by(1, 1, 'cm_seq_no', 'cm_subject', 'cm_send_date', 'cm_status', 'cm_send_num'); // 表示行数条件 $limit = disp_limit(); $sql = "SELECT cm_seq_no,cm_send_date,cm_subject,cm_status,cm_send_num" . " FROM t_close_mail $order_by $limit"; $result = db_exec($sql); $nrow = pg_numrows($result); ?>
=$fetch->cm_seq_no?> | =htmlspecialchars($fetch->cm_subject)?> | =format_datetime($fetch->cm_send_date)?> | =decode_news_status($fetch->cm_status)?> | =number_format($fetch->cm_send_num)?> |