제보받은 작은 문제들 수정
This commit is contained in:
@ -131,22 +131,22 @@ function all_send()
|
|||||||
<tr>
|
<tr>
|
||||||
<td><?php echo $re_vnum--?></td>
|
<td><?php echo $re_vnum--?></td>
|
||||||
<!-- <td><input type=checkbox></td> -->
|
<!-- <td><input type=checkbox></td> -->
|
||||||
<!-- <td><?php echo $res[wr_message]; ?></span></td>-->
|
<!-- <td><?php echo $res['wr_message']; ?></span></td>-->
|
||||||
<!-- <td><?php echo $res[wr_reply]; ?></td>-->
|
<!-- <td><?php echo $res['wr_reply']; ?></td>-->
|
||||||
<td><?php echo $res['wr_datetime']?></td>
|
<td><?php echo $res['wr_datetime']?></td>
|
||||||
<td><?php echo number_format($res['wr_total'])?></td>
|
<td><?php echo number_format($res['wr_total'])?></td>
|
||||||
<td><?php echo number_format($res['wr_success'])?></td>
|
<td><?php echo number_format($res['wr_success'])?></td>
|
||||||
<td><?php echo number_format($res['wr_failure'])?></td>
|
<td><?php echo number_format($res['wr_failure'])?></td>
|
||||||
<td class="td_mng">
|
<td class="td_mng">
|
||||||
<a href="./history_view.php?page=<?php echo $page?>&st=<?php echo $st?>&sv=<?php echo $sv?>&wr_no=<?php echo $res['wr_no']?>&wr_renum=<?php echo $res['wr_renum']?>" class="btn btn_03">수정</a>
|
<a href="./history_view.php?page=<?php echo $page?>&st=<?php echo $st?>&sv=<?php echo $sv?>&wr_no=<?php echo $res['wr_no']?>&wr_renum=<?php echo $res['wr_renum']?>" class="btn btn_03">수정</a>
|
||||||
<!-- <a href="./history_del.php?page=<?php echo $page?>&st=<?php echo $st?>&sv=<?php echo $sv?>&wr_no=<?php echo $res[wr_no]?>&wr_renum=<?php echo $res[wr_renum]?>">삭제</a> -->
|
<!-- <a href="./history_del.php?page=<?php echo $page?>&st=<?php echo $st?>&sv=<?php echo $sv?>&wr_no=<?php echo $res['wr_no']?>&wr_renum=<?php echo $res['wr_renum']?>">삭제</a> -->
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<?php } ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
<?php } ?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if( $write['wr_memo'] ){
|
if( $write['wr_memo'] ){
|
||||||
|
|||||||
@ -168,7 +168,7 @@ function frm_install_submit(f)
|
|||||||
alert('TABLE명 접두사'+reg_msg); f.table_prefix.focus(); return false;
|
alert('TABLE명 접두사'+reg_msg); f.table_prefix.focus(); return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(/^[a-z][a-z0-9]/i.test(f.admin_id.value) == false) {
|
if(/^[a-z]+[a-z0-9]{2,19}$/i.test(f.admin_id.value) == false) {
|
||||||
alert('최고관리자 회원 ID는 첫자는 반드시 영문자 그리고 영문자와 숫자로만 만드셔야 합니다.');
|
alert('최고관리자 회원 ID는 첫자는 반드시 영문자 그리고 영문자와 숫자로만 만드셔야 합니다.');
|
||||||
f.admin_id.focus();
|
f.admin_id.focus();
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@ -28,6 +28,10 @@ $admin_pass = $_POST['admin_pass'];
|
|||||||
$admin_name = $_POST['admin_name'];
|
$admin_name = $_POST['admin_name'];
|
||||||
$admin_email = $_POST['admin_email'];
|
$admin_email = $_POST['admin_email'];
|
||||||
|
|
||||||
|
if (preg_match("/[^0-9a-z_]+/i", $admin_id)) {
|
||||||
|
die('<div class="ins_inner"><p>관리자 아이디는 영문자, 숫자, _ 만 입력하세요.</p><div class="inner_btn"><a href="./install_config.php">뒤로가기</a></div></div>');
|
||||||
|
}
|
||||||
|
|
||||||
$dblink = sql_connect($mysql_host, $mysql_user, $mysql_pass, $mysql_db);
|
$dblink = sql_connect($mysql_host, $mysql_user, $mysql_pass, $mysql_db);
|
||||||
if (!$dblink) {
|
if (!$dblink) {
|
||||||
?>
|
?>
|
||||||
|
|||||||
@ -2752,6 +2752,11 @@ function module_exec_check($exe, $type)
|
|||||||
} else {
|
} else {
|
||||||
// 바이너리 파일인지
|
// 바이너리 파일인지
|
||||||
if($is_linux) {
|
if($is_linux) {
|
||||||
|
|
||||||
|
if ( !function_exists('exec') ) {
|
||||||
|
alert('exec 함수실행이 불가능하므로 사용할수 없습니다.');
|
||||||
|
}
|
||||||
|
|
||||||
$search = false;
|
$search = false;
|
||||||
$isbinary = true;
|
$isbinary = true;
|
||||||
$executable = true;
|
$executable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user