diff --git a/hwe/js/diplomacy.js b/hwe/js/diplomacy.js index e106dc1b..d4e2edbb 100644 --- a/hwe/js/diplomacy.js +++ b/hwe/js/diplomacy.js @@ -98,6 +98,8 @@ function drawLetter(letterObj){ //TODO: 국가명, 수뇌명 입력 $letter.find('.date').text(letterObj.date); + $letter.find('.letterNo').text('#'+letterObj.no); + $letter.find('.srcNation').text(letterObj.aux['']) $letter.find('.brief').html(nl2br(escapeHtml(letterObj.brief))); $letter.find('.detail').html(nl2br(escapeHtml(letterObj.detail))); //TODO: 바꿀 것 diff --git a/hwe/t_diplomacy.php b/hwe/t_diplomacy.php index ddf994be..d62b5d8c 100644 --- a/hwe/t_diplomacy.php +++ b/hwe/t_diplomacy.php @@ -27,4 +27,48 @@ if ($permission < 1) { exit(); } -$nation = $db->queryFirstRow('SELECT secretlimit, msg, scoutmsg FROM nation WHERE nation = %i', $me['nation']); \ No newline at end of file +?> + + +
+