diff --git a/twe/_admin5.php b/twe/_admin5.php
index 36d1af97..c7994353 100644
--- a/twe/_admin5.php
+++ b/twe/_admin5.php
@@ -7,10 +7,6 @@ include "func.php";
CheckLogin();
$connect = dbConn();
-$query = "select skin from general where owner='{$_SESSION['userID']}'";
-$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
-$me = MYDB_fetch_array($result);
-
if(Session::getUserGrade() < 5) {
echo "
@@ -254,7 +250,7 @@ for($i=0; $i < $nationCount; $i++) {
?>
diff --git a/twe/_admin7.php b/twe/_admin7.php
index af7d6c3c..547e8690 100644
--- a/twe/_admin7.php
+++ b/twe/_admin7.php
@@ -7,10 +7,6 @@ include "func.php";
CheckLogin();
$connect = dbConn();
-$query = "select skin from general where owner='{$_SESSION['userID']}'";
-$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
-$me = MYDB_fetch_array($result);
-
if(Session::getUserGrade() < 5) {
echo "
@@ -98,7 +94,7 @@ for($i=0; $i < $gencount; $i++) {
|
-
+
|
|
@@ -109,10 +105,10 @@ for($i=0; $i < $gencount; $i++) {
|
-
+
|
-
+
|
@@ -121,10 +117,10 @@ for($i=0; $i < $gencount; $i++) {
|
-
+
|
-
+
|
diff --git a/twe/_admin8.php b/twe/_admin8.php
index eadd878e..330b9933 100644
--- a/twe/_admin8.php
+++ b/twe/_admin8.php
@@ -7,10 +7,6 @@ include "func.php";
CheckLogin();
$connect = dbConn();
-$query = "select skin from general where owner='{$_SESSION['userID']}'";
-$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
-$me = MYDB_fetch_array($result);
-
if(Session::getUserGrade() < 5) {
echo "
diff --git a/twe/a_history.php b/twe/a_history.php
index 2d52dc1a..fc583f06 100644
--- a/twe/a_history.php
+++ b/twe/a_history.php
@@ -13,7 +13,7 @@ $query = "select startyear,year,month,conlimit from game where no=1";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$admin = MYDB_fetch_array($result);
-$query = "select skin,map,con,turntime from general where owner='{$_SESSION['userID']}'";
+$query = "select map,con,turntime from general where owner='{$_SESSION['userID']}'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$me = MYDB_fetch_array($result);
@@ -55,10 +55,6 @@ if($month <= 0) {
$month += 12;
}
-if($me['skin'] < 1) {
- $tempColor = $_basecolor; $tempColor2 = $_basecolor2; $tempColor3 = $_basecolor3; $tempColor4 = $_basecolor4;
- $_basecolor = "000000"; $_basecolor2 = "000000"; $_basecolor3 = "000000"; $_basecolor4 = "000000";
-}
?>
diff --git a/twe/a_status.php b/twe/a_status.php
index 23ee2733..e09b9a22 100644
--- a/twe/a_status.php
+++ b/twe/a_status.php
@@ -13,7 +13,7 @@ $query = "select conlimit from game where no=1";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$admin = MYDB_fetch_array($result);
-$query = "select skin,map,con,turntime from general where owner='{$_SESSION['userID']}'";
+$query = "select map,con,turntime from general where owner='{$_SESSION['userID']}'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$me = MYDB_fetch_array($result);
@@ -53,7 +53,7 @@ $(function(){
|
-
+
|
=getMapHtml()?>
@@ -61,7 +61,7 @@ $(function(){
|
|
-
+
|
diff --git a/twe/a_traffic.php b/twe/a_traffic.php
index a5a5a184..b5ac0136 100644
--- a/twe/a_traffic.php
+++ b/twe/a_traffic.php
@@ -16,7 +16,7 @@ $file = @fread($fp, 1000);
@fclose($fp);
$log = explode("\n",$file);
$str = "";
-for($i=0; $i < $count; $i++) { $str .= ConvertLog($log[count($log)-2-$i], $skin)."
"; }
+for($i=0; $i < $count; $i++) { $str .= ConvertLog($log[count($log)-2-$i])."
"; }
echo $str;
$curonline = getOnlineNum();
diff --git a/twe/b_auction.php b/twe/b_auction.php
index b0bea602..4683192e 100644
--- a/twe/b_auction.php
+++ b/twe/b_auction.php
@@ -8,7 +8,7 @@ CheckLogin();
$connect = dbConn();
increaseRefresh("거래장", 2);
-$query = "select no,special,skin,con,turntime from general where owner='{$_SESSION['userID']}'";
+$query = "select no,special,con,turntime from general where owner='{$_SESSION['userID']}'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$me = MYDB_fetch_array($result);
@@ -35,11 +35,6 @@ if(Session::getUserGrade() >= 5 || ($me['special'] != 30 && $btCount < 1) || ($m
$btn = "hidden";
}
-if($me['skin'] < 1) {
- $tempColor = $_basecolor; $tempColor2 = $_basecolor2; $tempColor3 = $_basecolor3; $tempColor4 = $_basecolor4;
- $_basecolor = "000000"; $_basecolor2 = "000000"; $_basecolor3 = "000000"; $_basecolor4 = "000000";
-}
-
if($msg == "") $msg = "-";
if($msg2 == "") $msg2 = "-";
?>
@@ -227,7 +222,7 @@ for($i=0; $i < $count; $i++) {
| 최 근 기 록 |
|
- =AuctionLog(20, $me['skin']);?>
+ =AuctionLog(20);?>
|
| 도 움 말 |
|
diff --git a/twe/b_battleCenter.php b/twe/b_battleCenter.php
index b3b536f6..0c6f133d 100644
--- a/twe/b_battleCenter.php
+++ b/twe/b_battleCenter.php
@@ -18,7 +18,7 @@ $query = "select nation from general where no='$gen'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$general = MYDB_fetch_array($result);
-$query = "select skin,no,nation,level,con,turntime,belong from general where owner='{$_SESSION['userID']}'";
+$query = "select no,nation,level,con,turntime,belong from general where owner='{$_SESSION['userID']}'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$me = MYDB_fetch_array($result);
@@ -50,10 +50,6 @@ if($type == 0) {
}
$sel[$type] = "selected";
-if($me['skin'] < 1) {
- $tempColor = $_basecolor; $tempColor2 = $_basecolor2; $tempColor3 = $_basecolor3; $tempColor4 = $_basecolor4;
- $_basecolor = "000000"; $_basecolor2 = "000000"; $_basecolor3 = "000000"; $_basecolor4 = "000000";
-}
?>
@@ -117,10 +113,10 @@ for($i=0; $i < $gencount; $i++) {
|
|
-
+
|
-
+
|
@@ -129,10 +125,10 @@ for($i=0; $i < $gencount; $i++) {
|
-
+
|
-
+
|
diff --git a/twe/b_chiefboard.php b/twe/b_chiefboard.php
index b2207f9e..81a8e89c 100644
--- a/twe/b_chiefboard.php
+++ b/twe/b_chiefboard.php
@@ -8,7 +8,7 @@ CheckLogin();
$connect = dbConn();
increaseRefresh("기밀실", 1);
-$query = "select skin,no,nation,level from general where owner='{$_SESSION['userID']}'";
+$query = "select no,nation,level from general where owner='{$_SESSION['userID']}'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$me = MYDB_fetch_array($result);
@@ -17,10 +17,6 @@ if($me['level'] < 5) {
exit();
}
-if($me['skin'] < 1) {
- $tempColor = $_basecolor; $tempColor2 = $_basecolor2; $tempColor3 = $_basecolor3; $tempColor4 = $_basecolor4;
- $_basecolor = "000000"; $_basecolor2 = "000000"; $_basecolor3 = "000000"; $_basecolor4 = "000000";
-}
?>
diff --git a/twe/b_chiefcenter.php b/twe/b_chiefcenter.php
index e6aa7e3c..d59848cc 100644
--- a/twe/b_chiefcenter.php
+++ b/twe/b_chiefcenter.php
@@ -12,7 +12,7 @@ $query = "select conlimit from game where no=1";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$admin = MYDB_fetch_array($result);
-$query = "select skin,no,nation,level,con,turntime,belong from general where owner='{$_SESSION['userID']}'";
+$query = "select no,nation,level,con,turntime,belong from general where owner='{$_SESSION['userID']}'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$me = MYDB_fetch_array($result);
diff --git a/twe/b_currentCity.php b/twe/b_currentCity.php
index 575cf027..3a3a70fb 100644
--- a/twe/b_currentCity.php
+++ b/twe/b_currentCity.php
@@ -8,7 +8,7 @@ CheckLogin();
$connect = dbConn();
increaseRefresh("현재도시", 1);
-$query = "select skin,no,nation,level,city from general where owner='{$_SESSION['userID']}'";
+$query = "select no,nation,level,city from general where owner='{$_SESSION['userID']}'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$me = MYDB_fetch_array($result);
@@ -16,10 +16,6 @@ $query = "select nation,level,spy from nation where nation='{$me['nation']}'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$myNation = MYDB_fetch_array($result);
-if($me['skin'] < 1) {
- $tempColor = $_basecolor; $tempColor2 = $_basecolor2; $tempColor3 = $_basecolor3; $tempColor4 = $_basecolor4;
- $_basecolor = "000000"; $_basecolor2 = "000000"; $_basecolor3 = "000000"; $_basecolor4 = "000000";
-}
?>
@@ -276,7 +272,7 @@ for($j=0; $j < $gencount; $j++) {
$imageTemp = GetImageURL($general['imgsvr']);
echo "
- |
+ |
{$general['name']} |
$leader |
$power |
diff --git a/twe/b_dipcenter.php b/twe/b_dipcenter.php
index 375d48da..752e2a8e 100644
--- a/twe/b_dipcenter.php
+++ b/twe/b_dipcenter.php
@@ -12,7 +12,7 @@ $query = "select conlimit from game where no=1";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$admin = MYDB_fetch_array($result);
-$query = "select skin,no,nation,level,con,turntime,belong from general where owner='{$_SESSION['userID']}'";
+$query = "select no,nation,level,con,turntime,belong from general where owner='{$_SESSION['userID']}'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$me = MYDB_fetch_array($result);
@@ -31,10 +31,6 @@ if($me['level'] == 0 || ($me['level'] == 1 && $me['belong'] < $nation['secretlim
if($me['level'] >= 5) { $btn = "submit"; $read = ""; }
else { $btn = "hidden"; $read = "readonly"; }
-if($me['skin'] < 1) {
- $tempColor = $_basecolor; $tempColor2 = $_basecolor2; $tempColor3 = $_basecolor3; $tempColor4 = $_basecolor4;
- $_basecolor = "000000"; $_basecolor2 = "000000"; $_basecolor3 = "000000"; $_basecolor4 = "000000";
-}
?>
diff --git a/twe/b_diplomacy.php b/twe/b_diplomacy.php
index 5f08240f..344085fe 100644
--- a/twe/b_diplomacy.php
+++ b/twe/b_diplomacy.php
@@ -12,7 +12,7 @@ $query = "select turnterm from game where no=1";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$admin = MYDB_fetch_array($result);
-$query = "select no,nation,skin,map from general where owner='{$_SESSION['userID']}'";
+$query = "select no,nation,map from general where owner='{$_SESSION['userID']}'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$me = MYDB_fetch_array($result);
@@ -43,10 +43,6 @@ for($i=0; $i < $nationcount; $i++) {
$cityStr .= "속령 $citycount
";
}
-if($me['skin'] < 1) {
- $tempColor = $_basecolor; $tempColor2 = $_basecolor2; $tempColor3 = $_basecolor3; $tempColor4 = $_basecolor4;
- $_basecolor = "000000"; $_basecolor2 = "000000"; $_basecolor3 = "000000"; $_basecolor4 = "000000";
-}
?>
diff --git a/twe/b_genList.php b/twe/b_genList.php
index 8572561a..5f26a54d 100644
--- a/twe/b_genList.php
+++ b/twe/b_genList.php
@@ -12,7 +12,7 @@ $query = "select conlimit from game where no=1";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$admin = MYDB_fetch_array($result);
-$query = "select skin,no,nation,level,con,turntime,belong from general where owner='{$_SESSION['userID']}'";
+$query = "select no,nation,level,con,turntime,belong from general where owner='{$_SESSION['userID']}'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$me = MYDB_fetch_array($result);
@@ -33,10 +33,6 @@ if($type == 0) {
}
$sel[$type] = "selected";
-if($me['skin'] < 1) {
- $tempColor = $_basecolor; $tempColor2 = $_basecolor2; $tempColor3 = $_basecolor3; $tempColor4 = $_basecolor4;
- $_basecolor = "000000"; $_basecolor2 = "000000"; $_basecolor3 = "000000"; $_basecolor4 = "000000";
-}
?>
diff --git a/twe/b_myBossInfo.php b/twe/b_myBossInfo.php
index 5d1c432f..0caf3710 100644
--- a/twe/b_myBossInfo.php
+++ b/twe/b_myBossInfo.php
@@ -10,7 +10,7 @@ increaseRefresh("인사부", 1);
//훼섭 추방을 위해 갱신
checkTurn($connect);
-$query = "select skin,no,nation,level from general where owner='{$_SESSION['userID']}'";
+$query = "select no,nation,level from general where owner='{$_SESSION['userID']}'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$me = MYDB_fetch_array($result);
@@ -20,10 +20,6 @@ if($meLevel == 0) {
exit();
}
-if($me['skin'] < 1) {
- $tempColor = $_basecolor; $tempColor2 = $_basecolor2; $tempColor3 = $_basecolor3; $tempColor4 = $_basecolor4;
- $_basecolor = "000000"; $_basecolor2 = "000000"; $_basecolor3 = "000000"; $_basecolor4 = "000000";
-}
?>
diff --git a/twe/b_myCityInfo.php b/twe/b_myCityInfo.php
index 7395aa43..f719e40e 100644
--- a/twe/b_myCityInfo.php
+++ b/twe/b_myCityInfo.php
@@ -8,7 +8,7 @@ CheckLogin();
$connect = dbConn();
increaseRefresh("세력도시", 1);
-$query = "select no,nation,level,skin from general where owner='{$_SESSION['userID']}'";
+$query = "select no,nation,level from general where owner='{$_SESSION['userID']}'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$me = MYDB_fetch_array($result);
@@ -22,10 +22,6 @@ if($type == 0) {
}
$sel[$type] = "selected";
-if($me['skin'] < 1) {
- $tempColor = $_basecolor; $tempColor2 = $_basecolor2; $tempColor3 = $_basecolor3; $tempColor4 = $_basecolor4;
- $_basecolor = "000000"; $_basecolor2 = "000000"; $_basecolor3 = "000000"; $_basecolor4 = "000000";
-}
?>
diff --git a/twe/b_myGenInfo.php b/twe/b_myGenInfo.php
index 9b389cba..c48bc9bc 100644
--- a/twe/b_myGenInfo.php
+++ b/twe/b_myGenInfo.php
@@ -8,7 +8,7 @@ CheckLogin();
$connect = dbConn();
increaseRefresh("세력장수", 1);
-$query = "select skin,no,nation,level from general where owner='{$_SESSION['userID']}'";
+$query = "select no,nation,level from general where owner='{$_SESSION['userID']}'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$me = MYDB_fetch_array($result);
@@ -23,10 +23,6 @@ if($type == 0) {
}
$sel[$type] = "selected";
-if($me['skin'] < 1) {
- $tempColor = $_basecolor; $tempColor2 = $_basecolor2; $tempColor3 = $_basecolor3; $tempColor4 = $_basecolor4;
- $_basecolor = "000000"; $_basecolor2 = "000000"; $_basecolor3 = "000000"; $_basecolor4 = "000000";
-}
?>
@@ -140,7 +136,7 @@ for($j=0; $j < $gencount; $j++) {
$imageTemp = GetImageURL($general['imgsvr']);
echo "
- | 0?" background={$imageTemp}/{$general['picture']}":""; echo " height=64> |
+ |
$name |
"; echo getLevel($general['level'], $nation['level']); echo " |
".getDed($general['dedication'])." |
diff --git a/twe/b_myKingdomInfo.php b/twe/b_myKingdomInfo.php
index 2c2d22d5..09346fbe 100644
--- a/twe/b_myKingdomInfo.php
+++ b/twe/b_myKingdomInfo.php
@@ -33,7 +33,7 @@ if($me['level'] == 0) {
| 국가열전 |
- ".ConvertLog($nation['history'], $me['skin'])." |
+ ".ConvertLog($nation['history'])." |
";
diff --git a/twe/b_myPage.php b/twe/b_myPage.php
index cfa65873..cee07c01 100644
--- a/twe/b_myPage.php
+++ b/twe/b_myPage.php
@@ -25,18 +25,14 @@ if($btn == "설정저장" && $me['myset'] > 0) {
$submit = 'hidden';
}
- $query = "update general set myset=myset-1,map='$map',mode='$mode',skin='$skin',tnmt='$tnmt' where owner='{$_SESSION['userID']}'";
+ $query = "update general set myset=myset-1,map='$map',mode='$mode',tnmt='$tnmt' where owner='{$_SESSION['userID']}'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
}
-$query = "select no,skin,map,mode,tnmt,myset from general where owner='{$_SESSION['userID']}'";
+$query = "select no,map,mode,tnmt,myset from general where owner='{$_SESSION['userID']}'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$me = MYDB_fetch_array($result);
-if($me['skin'] < 1) {
- $tempColor = $_basecolor; $tempColor2 = $_basecolor2; $tempColor3 = $_basecolor3; $tempColor4 = $_basecolor4;
- $_basecolor = "000000"; $_basecolor2 = "000000"; $_basecolor3 = "000000"; $_basecolor4 = "000000";
-}
?>
@@ -67,27 +63,6 @@ function go(type) {
|