사용자단 따옴표 작업 bbs/good.php 까지 진행

This commit is contained in:
whitedot
2012-11-29 18:19:25 +09:00
parent cbf7e9c21e
commit 091f9deade
69 changed files with 587 additions and 587 deletions

View File

@ -1,12 +1,12 @@
<?
include_once("./_common.php");
include_once('./_common.php');
include_once("$g4[path]/head.sub.php");
include_once($g4['path'].'/head.sub.php');
if (!$member[mb_id]) {
$href = "./login.php?$qstr&url=".urlencode("./board.php?bo_table=$bo_table&wr_id=$wr_id");
$href = "./login.php?$qstr&amp;url=".urlencode("./board.php?bo_table=$bo_table&amp;wr_id=$wr_id");
echo <<<HEREDOC
<script type="text/javascript">
<script>
alert("회원만 접근 가능합니다.");
opener.location.href = "$href";
window.close();
@ -16,7 +16,7 @@ HEREDOC;
}
echo <<<HEREDOC
<script type="text/javascript">
<script>
if (window.name != "scrap") {
alert("올바른 방법으로 사용해 주십시오.");
window.close();
@ -34,8 +34,8 @@ $sql = " select count(*) as cnt from $g4[scrap_table]
$row = sql_fetch($sql);
if ($row[cnt]) {
echo <<<HEREDOC
<script type="text/javascript">
if (confirm('이미 스크랩하신 글 입니다.\\n\\n지금 스크랩을 확인하시겠습니까?'))
<script>
if (confirm('이미 스크랩하신 글 입니다..PHP_EOL.PHP_EOL.지금 스크랩을 확인하시겠습니까?'))
document.location.href = './scrap.php';
else
window.close();
@ -44,8 +44,8 @@ HEREDOC;
exit;
}
$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/scrap_popin.skin.php");
include_once("$g4[path]/tail.sub.php");
include_once($g4['path'].'/tail.sub.php');
?>