pushHistory를 DB기반으로 변경

This commit is contained in:
2018-04-01 05:18:17 +09:00
parent d062fac671
commit 74390602d8
22 changed files with 125 additions and 98 deletions
+4 -4
View File
@@ -37,7 +37,7 @@ function processSpring($connect) {
$admin = MYDB_fetch_array($result);
$history[0] = "<R>★</>{$admin['year']}{$admin['month']}월: <S>모두들 즐거운 게임 하고 계신가요? ^^ <Y>삼국일보</> 애독해 주시고, <M>훼접</>은 삼가주세요~</>";
pushHistory($history);
pushHistory($history, $admin['year'], $admin['month']);
}
function processGoldIncome($connect) {
@@ -109,7 +109,7 @@ function processGoldIncome($connect) {
}
$history[0] = "<C>●</>{$admin['year']}{$admin['month']}월:<W><b>【지급】</b></>봄이 되어 봉록에 따라 자금이 지급됩니다.";
pushHistory($history);
pushHistory($history, $admin['year'], $admin['month']);
pushAdminLog($adminLog);
}
@@ -401,7 +401,7 @@ function processRiceIncome($connect) {
}
$history[0] = "<C>●</>{$admin['year']}{$admin['month']}월:<W><b>【지급】</b></>가을이 되어 봉록에 따라 군량이 지급됩니다.";
pushHistory($history);
pushHistory($history, $admin['year'], $admin['month']);
pushAdminLog($adminLog);
}
@@ -676,5 +676,5 @@ function disaster($connect) {
}
}
pushHistory($disaster);
pushHistory($disaster, $admin['year'], $admin['month']);
}