장수명을 9글자까지 반영할 수 있도록 수정하고. 레이아웃 틀어지지 않도록 수정 진행중

This commit is contained in:
2018-05-30 02:47:33 +09:00
parent a95903ceff
commit 317c42b384
17 changed files with 51 additions and 48 deletions
+2 -2
View File
@@ -49,7 +49,7 @@ if($command == 46) {
$name = str_replace(" ", "", $name);
$name = str_replace(" ", "", $name);
if($name == "") { $name = "무명"; }
$name = StringUtil::subStringForWidth($name, 0, 12);
$name = StringUtil::subStringForWidth($name, 0, 18);
$db->update('general', [
'makenation'=>$name
@@ -77,7 +77,7 @@ if($command == 53) {
$nationname = str_replace(" ", "", $nationname);
$nationname = str_replace(" ", "", $nationname);
if($nationname == "") { $nationname = "무명"; }
$nationname = StringUtil::subStringForWidth($nationname, 0, 12);
$nationname = StringUtil::subStringForWidth($nationname, 0, 18);
$query = "update general set makenation='{$nationname}' where level>=5 and nation='{$me['nation']}'";
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");