addHistory(), addNationHistory()에서 history를 덧붙이는 과정 개선

This commit is contained in:
2018-03-02 00:46:23 +09:00
parent c0dfd42791
commit ea638b8221
16 changed files with 118 additions and 111 deletions
+2 -2
View File
@@ -637,8 +637,8 @@ function setGift($connect, $tnmt_type, $tnmt, $phase) {
$query = "select no,history from general where no={$general2['no']}";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$gen2 = MYDB_fetch_array($result);
$gen1 = addHistory($connect, $gen1, "<C>●</>{$admin['year']}{$admin['month']}월:<C>{$tp}</> 대회에서 우승");
$gen2 = addHistory($connect, $gen2, "<C>●</>{$admin['year']}{$admin['month']}월:<C>{$tp}</> 대회에서 준우승");
addHistory($gen1, "<C>●</>{$admin['year']}{$admin['month']}월:<C>{$tp}</> 대회에서 우승");
addHistory($gen2, "<C>●</>{$admin['year']}{$admin['month']}월:<C>{$tp}</> 대회에서 준우승");
$cost = $admin['develcost'] * 20;
$cost2 = $admin['develcost'] * 12;