From 0d4c3db333069a30ecc677ca39f8f789e9c8d653 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sat, 24 Mar 2018 22:05:15 +0900 Subject: [PATCH] =?UTF-8?q?skin=EC=9D=84=20=EC=82=AD=EC=A0=9C=ED=95=98?= =?UTF-8?q?=EB=AF=80=EB=A1=9C,=20unfont()=EB=8F=84=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- twe/func.php | 22 ---------------------- twe/func_string.php | 9 --------- 2 files changed, 31 deletions(-) diff --git a/twe/func.php b/twe/func.php index 4c72565d..fd06c0a8 100644 --- a/twe/func.php +++ b/twe/func.php @@ -467,14 +467,6 @@ function myNationInfo($connect) { } - if($me['skin'] == 0) { - $nation['tech'] = unfont($nation['tech']); - $nation['tricklimit'] = unfont($nation['tricklimit']); - $nation['surlimit'] = unfont($nation['surlimit']); - $nation['scout'] = unfont($nation['scout']); - $nation['war'] = unfont($nation['war']); - } - echo " @@ -978,15 +970,6 @@ function generalInfo($connect, $no, $skin) { elseif($general['mode'] == 1) { $general['mode'] = "수비 함(훈사60)"; } else { $general['mode'] = "수비 안함"; } - if($skin == 0) { - $general['age'] = unfont($general['age']); - $special = unfont($special); - $special2 = unfont($special2); - $atmos = unfont($atmos); - $train = unfont($train); - $general['mode'] = unfont($general['mode']); - } - $weapImage = "{$images}/weap{$general['crewtype']}.jpg"; if($admin['img'] < 2) { $weapImage = "{$image}/default.jpg"; }; $imageTemp = GetImageURL($general['imgsvr']); @@ -1096,11 +1079,6 @@ function generalInfo2($connect, $no, $skin) { $dedication = getDed($general['dedication'])." ({$general['dedication']})"; break; } - if($skin == 0) { - $experience = unfont($experience); - $dedication = unfont($dedication); - } - $dex0 = $general['dex0'] / $_dexLimit * 100; $dex10 = $general['dex10'] / $_dexLimit * 100; $dex20 = $general['dex20'] / $_dexLimit * 100; diff --git a/twe/func_string.php b/twe/func_string.php index f407643f..4a3f7162 100644 --- a/twe/func_string.php +++ b/twe/func_string.php @@ -8,15 +8,6 @@ function getFont($str) { return $str; } -function unfont($str) { - $str = str_replace("", "", $str); - $str = str_replace("", "", $str); - $str = str_replace("", "", $str); - $str = str_replace("", "", $str); - $str = str_replace("", "", $str); - return $str; -} - function SQ2DQ($str) { return str_replace("'", "'", $str); }