/******************************************************
' System :「きゃららFactory」管理者用ページル
' 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/select.php");
include("$inc/decode.php");
include("$inc/format.php");
// 優先度選択
function select_priority($selected) {
echo '', "\n";
echo '', "\n";
}
// 写真画像URL取得
$ur_photo = get_system_info('url_photo');
// 似顔絵URL取得
$ur_nigaoe = get_system_info('url_nigaoe');
// メイン処理
set_global('staff', 'スタッフ情報管理', '似顔絵チェックリスト', BACK_TOP);
$sql = "SELECT nd_nigaoe_id,nd_status,nd_random_id,nd_campaign_cd,nd_photo_date,nd_assign_date,nd_creation_date,nd_completion_date,nd_nouki_date"
. ",nd_priority, nd_staff_id,nd_sex_code,nd_brushwork,nd_age,nd_photo_file,nd_nigaoe_file,to_char(nd_nouki_date - now(),'dd日 HH24時間MI分') AS limit_nouki"
. " FROM t_nigaoe_data WHERE nd_nigaoe_id=$id";
$result = db_exec($sql);
if (pg_numrows($result) == 0)
system_error("所属名IDが不正", __FILE__);
$fetch = pg_fetch_object($result, 0);
?>
=$g_title?>
page_header() ?>
似顔絵ID |
=$fetch->nd_random_id?> |
性別 |
=decode_sex($fetch->nd_sex_code)?> |
年齢 |
=$fetch->nd_age != '' ? $fetch->nd_age : '-'?>才
|
納期 |
=format_datetime($fetch->nd_nouki_date)?> [ 納期まで:=$fetch->limit_nouki?> ] |
ユーザからの写真受信日時 |
=format_datetime($fetch->nd_photo_date)?> =$fetch->photo != '' ? "[経過時間:$fetch->photo]":''?>
|
作画スタッフ割当日時 |
=format_datetime($fetch->nd_assign_date)?> =$fetch->assign != '' ? "[経過時間:$fetch->assign]":''?>
|
似顔絵作成開始日時 |
=format_datetime($fetch->nd_creation_date)?> =$fetch->creation != '' ? "[経過時間:$fetch->creation]":''?>
|
似顔絵完成日時 |
=format_datetime($fetch->nd_completion_date)?> =$fetch->completion != '' ? "[経過時間:$fetch->completion]":''?>
|
page_footer() ?>