diff --git a/hwe/_admin1_submit.php b/hwe/_admin1_submit.php index eef09be8..2ae49504 100644 --- a/hwe/_admin1_submit.php +++ b/hwe/_admin1_submit.php @@ -17,7 +17,7 @@ $v->rule('integer', [ 'minutes2' ])->rule('dateFormat', [ 'starttime' -]); +], 'Y-m-d H:i:s'); if (!$v->validate()) { Error($v->errorStr()); } @@ -117,5 +117,4 @@ switch ($btn) { break; } -//echo ""; -echo '_admin1.php';//TODO:debug all and replace +header('location:_admin1.php'); \ No newline at end of file diff --git a/hwe/index.php b/hwe/index.php index 7192fff4..5a340b70 100644 --- a/hwe/index.php +++ b/hwe/index.php @@ -224,7 +224,7 @@ if ($session->userGrade >= 5) { - +
diff --git a/hwe/sql/schema.sql b/hwe/sql/schema.sql index dd883803..1c53da16 100644 --- a/hwe/sql/schema.sql +++ b/hwe/sql/schema.sql @@ -54,7 +54,7 @@ CREATE TABLE `general` ( `turntime` DATETIME NULL DEFAULT NULL, `recwar` DATETIME NULL DEFAULT NULL, `makenation` CHAR(255) NULL DEFAULT NULL, - `makelimit` INT(2) NULL DEFAULT '24', + `makelimit` INT(2) NULL DEFAULT '0', `killturn` INT(3) NULL DEFAULT NULL, `lastconnect` DATETIME NULL DEFAULT NULL, `lastrefresh` DATETIME NULL DEFAULT NULL, diff --git a/hwe/templates/error.php b/hwe/templates/error.php index 6db303bf..7718226e 100644 --- a/hwe/templates/error.php +++ b/hwe/templates/error.php @@ -22,10 +22,12 @@
- + message?>
+
         
+