From 9924ec6963ac9a1859060a61aa3a7ccc4fdb3e56 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sat, 12 Jan 2019 18:53:01 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B5=AD=EB=B2=95=20=EA=B8=B0=EB=8A=A5=20?= =?UTF-8?q?=EC=A0=9C=EA=B1=B0.=20=EC=99=B8=EA=B5=90=EB=B6=80=EB=A5=BC=20?= =?UTF-8?q?=EC=9C=84=ED=95=9C=20=EC=9E=90=EB=A6=AC=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/b_nationrule.php | 63 --------------------------------- hwe/c_nationrule.php | 25 ------------- hwe/sql/schema.sql | 1 - hwe/templates/commandButton.php | 5 +-- 4 files changed, 3 insertions(+), 91 deletions(-) delete mode 100644 hwe/b_nationrule.php delete mode 100644 hwe/c_nationrule.php diff --git a/hwe/b_nationrule.php b/hwe/b_nationrule.php deleted file mode 100644 index 0d3dc367..00000000 --- a/hwe/b_nationrule.php +++ /dev/null @@ -1,63 +0,0 @@ -setReadOnly(); -$userID = Session::getUserID(); - -$db = DB::db(); -$connect=$db->get(); - -increaseRefresh("국법", 1); -?> - - - -<?=UniqueConst::$serverName?>: 국법 - - - - - - - - - - - - - - - - - - -
국 법
- -= 5) { - echo " -
-
- -
"; -} else { - echo " -
"; -} - -?> -
- - - diff --git a/hwe/c_nationrule.php b/hwe/c_nationrule.php deleted file mode 100644 index 26932a63..00000000 --- a/hwe/c_nationrule.php +++ /dev/null @@ -1,25 +0,0 @@ -setReadOnly(); -$userID = Session::getUserID(); - -$db = DB::db(); -$connect=$db->get(); - -$query = "select no,nation from general where owner='{$userID}'"; -$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); -$me = MYDB_fetch_array($result); - -$msg = addslashes(SQ2DQ($msg)); - -$query = "update nation set rule='$msg' where nation='{$me['nation']}'"; -MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); - -header('location:b_nationrule.php'); \ No newline at end of file diff --git a/hwe/sql/schema.sql b/hwe/sql/schema.sql index 01babc4b..175e500b 100644 --- a/hwe/sql/schema.sql +++ b/hwe/sql/schema.sql @@ -203,7 +203,6 @@ CREATE TABLE `nation` ( `spy` CHAR(255) NOT NULL DEFAULT '{}', `level` INT(1) NULL DEFAULT '0', `type` INT(2) NULL DEFAULT '0', - `rule` TEXT NULL DEFAULT '', `history` MEDIUMTEXT NULL DEFAULT '', `board0` TEXT NULL DEFAULT '', `board0_who` INT(6) NULL DEFAULT '0', diff --git a/hwe/templates/commandButton.php b/hwe/templates/commandButton.php index 830e0e12..acfcabac 100644 --- a/hwe/templates/commandButton.php +++ b/hwe/templates/commandButton.php @@ -3,12 +3,13 @@ + - +
@@ -16,12 +17,12 @@ - +
\ No newline at end of file