/****************************************************** ' 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/search.php"); include("$inc/decode.php"); include("$inc/select.php"); include("$inc/list_item.php"); //メイン処理 set_global('member', '会員情報管理', '会員数検索', BACK_TOP); // セッション処理 session_start(); if (!isset($_SESSION['ss_search'])) $_SESSION['ss_search'] = new search_class; $search = &$_SESSION['ss_search']; if (!isset($_SESSION['ss_litem'])) $_SESSION['ss_litem'] = new list_item_class; $litem = &$_SESSION['ss_litem']; $search->get_form(); // 検索結果表示 $sql = 'SELECT COUNT(*) FROM t_member'; $all = db_fetch1($sql); $sql = 'SELECT COUNT(*) FROM t_member where mb_step=3'; $mb_count = db_fetch1($sql); if ($litem->where == '') $where = $search->make_sql(); else $where = $litem->where; $sql = "SELECT COUNT(*) FROM t_member WHERE $where"; $result = db_exec($sql); if (pg_numrows($result)) { $fetch = pg_fetch_row($result, 0); $find = $fetch[0]; } if ($litem->condition == '') $condition = $search->get_condition(); else $condition = $litem->condition; $litem->renew_flag = 'on'; // 情報更新日時取得 $sql = "SELECT MAX(lb_date) AS lb_date FROM l_batch WHERE lb_file_name='co2_update.php'"; $lb_date = db_fetch1($sql); ?>
|
||||||||||||
最終更新日時:=date('Y/m/d H:i:s', sql_time($lb_date))?> |
>
>
>
>
>
|