사용자단 따옴표 작업 bbs/write_update.php 할 차례

This commit is contained in:
whitedot
2012-11-30 19:10:49 +09:00
parent 68ae98cd95
commit de88c60cd2
54 changed files with 1264 additions and 1247 deletions

View File

@ -1,34 +1,34 @@
<?
include_once('./_common.php');
if ($w == "u")
$action = "./write.php";
else if ($w == "d")
$action = "./delete.php";
else if ($w == "x")
$action = "./delete_comment.php";
else if ($w == "s")
if ($w == 'u')
$action = './write.php';
else if ($w == 'd')
$action = './delete.php';
else if ($w == 'x')
$action = './delete_comment.php';
else if ($w == 's')
{
// 패스워드 창에서 로그인 하는 경우 관리자 또는 자신의 글이면 바로 글보기로 감
if ($is_admin || ($member[mb_id] == $write[mb_id] && $write[mb_id]))
goto_url("./board.php?bo_table=$bo_table&amp;wr_id=$wr_id");
goto_url('./board.php?bo_table='.$bo_table.'&amp;wr_id='.$wr_id);
else
$action = "./password_check.php";
$action = './password_check.php';
}
else
alert("w 값이 제대로 넘어오지 않았습니다.");
alert('w 값이 제대로 넘어오지 않았습니다.');
$g4['title'] = "패스워드 입력";
$g4['title'] = '패스워드 입력';
include_once($g4['path'].'/head.sub.php');
if ($board[bo_include_head]) { @include ($board[bo_include_head]); }
if ($board[bo_content_head]) { echo stripslashes($board[bo_content_head]); }
if ($board[bo_content_head]) { echo stripslashes($board[bo_content_head]); }
$member_skin_path = "$g4['path']/skin/member/$config[cf_member_skin]";
$member_skin_path = $g4['path'].'/skin/member/'.$config[cf_member_skin];
include_once("$member_skin_path/password.skin.php");
include_once($member_skin_path.'/password.skin.php');
if ($board[bo_content_tail]) { echo stripslashes($board[bo_content_tail]); }
if ($board[bo_content_tail]) { echo stripslashes($board[bo_content_tail]); }
if ($board[bo_include_tail]) { @include ($board[bo_include_tail]); }
include_once($g4['path'].'/tail.sub.php');