dateFormat에 포맷 추가. error 페이지 표기 수정

This commit is contained in:
2018-04-09 03:21:11 +09:00
parent 269a40ca9d
commit 50d1c4cd34
4 changed files with 7 additions and 6 deletions
+2 -3
View File
@@ -17,7 +17,7 @@ $v->rule('integer', [
'minutes2' 'minutes2'
])->rule('dateFormat', [ ])->rule('dateFormat', [
'starttime' 'starttime'
]); ], 'Y-m-d H:i:s');
if (!$v->validate()) { if (!$v->validate()) {
Error($v->errorStr()); Error($v->errorStr());
} }
@@ -117,5 +117,4 @@ switch ($btn) {
break; break;
} }
//echo "<script>location.replace('_admin1.php');</script>"; header('location:_admin1.php');
echo '_admin1.php';//TODO:debug all and replace
+1 -1
View File
@@ -224,7 +224,7 @@ if ($session->userGrade >= 5) {
<td width=698 height=520 colspan=2> <td width=698 height=520 colspan=2>
<?=getMapHtml()?> <?=getMapHtml()?>
</td> </td>
<td width=298 rowspan=4><iframe seamless="seamless" sandbox="allow-same-origin allow-top-navigation allow-forms allow-scripts" name=commandlist src='commandlist.php' width=298 height=700 frameborder=0 marginwidth=0 marginheight=0 topmargin=0 scrolling=no></iframe></td> <td width=298 rowspan=4><iframe seamless="seamless" name=commandlist src='commandlist.php' width=298 height=700 frameborder=0 marginwidth=0 marginheight=0 topmargin=0 scrolling=no></iframe></td>
</tr> </tr>
<form name=form2 action=preprocessing.php method=post target=commandlist> <form name=form2 action=preprocessing.php method=post target=commandlist>
<tr> <tr>
+1 -1
View File
@@ -54,7 +54,7 @@ CREATE TABLE `general` (
`turntime` DATETIME NULL DEFAULT NULL, `turntime` DATETIME NULL DEFAULT NULL,
`recwar` DATETIME NULL DEFAULT NULL, `recwar` DATETIME NULL DEFAULT NULL,
`makenation` CHAR(255) 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, `killturn` INT(3) NULL DEFAULT NULL,
`lastconnect` DATETIME NULL DEFAULT NULL, `lastconnect` DATETIME NULL DEFAULT NULL,
`lastrefresh` DATETIME NULL DEFAULT NULL, `lastrefresh` DATETIME NULL DEFAULT NULL,
+3 -1
View File
@@ -22,10 +22,12 @@
<button style='width:200px;height:2em;font-size:1.2em;' onclick="location.replace('index.php')"> 눌러주세요</button> <button style='width:200px;height:2em;font-size:1.2em;' onclick="location.replace('index.php')"> 눌러주세요</button>
</div> </div>
<div class="with_border"> <div class="with_border">
<?=$message?> <?=$this->message?>
</div> </div>
<div class="with_border"> <div class="with_border">
<pre>
<?php debug_print_backtrace(); ?> <?php debug_print_backtrace(); ?>
</pre>
</div> </div>
</div> </div>
</body> </body>