" . format_date($nouki_date) . ""; // 納期まで24時間以内 elseif (add_datetime($nouki_date, 0 , 0, 0, -24, 0, 0) <= date("Y-m-d H:i:s")) echo "" . format_date($nouki_date) . ""; // それ以外 else echo format_date($nouki_date); } else { // 納品済み echo "" . format_date($nouki_date) . ""; } } else { echo '未設定'; } } //メイン処理 set_global('nigaoe', '似顔絵情報管理', '似顔絵受付リスト', BACK_TOP); // セッション登録 get_session_vars($pset, 'order_list', 'status', 'product', 'displine', 'sort_col', 'sort_dir', 'page', 'photo'); // where条件 if ($status != '') { and_join($where, "nd_status=" . $status); } if ($product != '') { and_join($where, "nd_product_cd LIKE '%$product%'"); } else { and_join($where, "nd_product_cd='01'"); $product = '01'; } if ($where != '') $where = "WHERE $where"; // ソート条件 $order_by = order_by(9, 0, 'nd_random_id', 'nd_mail_addr', 'nd_sex_code', 'nd_status', 'as_server_id', 'nd_product_cd', 'st_name1_kana', 'nd_accept_date', 'nd_nouki_date'); // 表示行数条件 $limit = disp_limit(); $sql = "SELECT count(nd_nigaoe_id) AS count FROM t_nigaoe_data LEFT JOIN m_account_server ON nd_server_id=as_server_id $where"; $num = db_fetch1($sql); $sql = "SELECT * FROM t_nigaoe_data LEFT JOIN m_account_server ON nd_server_id=as_server_id LEFT JOIN m_staff ON nd_staff_id=st_staff_id $where $order_by $limit"; $result = db_exec($sql); $nrow = pg_numrows($result); // 写真画像URL取得 $ur_photo = get_system_info('url_photo'); ?> <?=$g_title?>
■似顔絵受付一覧 (総数: 名)
表示行数>> ステータス  商品  写真表示 リスト表示
> > >
width="100%" class="small2"> st_status; ?>
nd_random_id)?> nd_mail_addr)?> nd_sex_code)?> nd_status?> as_server_id)?> nd_product_cd)?> st_name1?> nd_accept_date)?> nd_nouki_date, $fetch->nd_dl_mail_date)?> nd_assign_date)?> nd_creation_date)?> nd_completion_date)?> nd_dl_mail_date)?> nd_download_date)?>
納期=納品済み、=納期まで24時間以内、=納期超過、黒=それ以外)
width="100%">
nd_random_id; ?>
性別:nd_sex_code)?> 年齢:nd_age)?>
<?=$random_id?>
nd_status)?>