From 1c9f0f6018bf73b3505179d9d12d62bb6b6f493a Mon Sep 17 00:00:00 2001
From: chicpro
Date: Wed, 26 Mar 2014 17:14:30 +0900
Subject: [PATCH] =?UTF-8?q?=EC=82=AC=EC=9A=A9=EC=9E=90=20=EC=BD=94?=
=?UTF-8?q?=EB=93=9C=20=EC=B2=B4=ED=81=AC=20=EB=B0=8F=20=EC=A0=95=EB=A6=AC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
bbs/current_connect.php | 2 +-
bbs/email_stop.php | 10 +++++-----
bbs/formmail_send.php | 2 +-
bbs/link.php | 12 ++++++------
bbs/login_check.php | 2 +-
bbs/memo_delete.php | 18 +++++++++---------
bbs/memo_form.php | 2 +-
bbs/new.php | 2 +-
bbs/new_delete.php | 13 +++++++++----
bbs/password_check.php | 4 ++--
bbs/poll_etc_update.php | 18 +++++++++---------
bbs/qalist.php | 2 +-
bbs/register_email.php | 3 +--
bbs/register_form.php | 4 ++--
bbs/rss.php | 5 +++++
bbs/scrap.php | 2 +-
bbs/search.php | 4 ++--
bbs/view.php | 7 ++++++-
bbs/write.php | 4 ++--
19 files changed, 65 insertions(+), 51 deletions(-)
diff --git a/bbs/current_connect.php b/bbs/current_connect.php
index f9331a070..686522564 100644
--- a/bbs/current_connect.php
+++ b/bbs/current_connect.php
@@ -18,7 +18,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
$list[$i]['name'] = get_sideview($row['mb_id'], cut_str($row['mb_nick'], $config['cf_cut_name']), $row['mb_email'], $row['mb_homepage']);
} else {
if ($is_admin)
- $list[$i]['name'] = $row[lo_ip];
+ $list[$i]['name'] = $row['lo_ip'];
else
$list[$i]['name'] = preg_replace("/([0-9]+).([0-9]+).([0-9]+).([0-9]+)/", G5_IP_DISPLAY, $row['lo_ip']);
}
diff --git a/bbs/email_stop.php b/bbs/email_stop.php
index 8e0a9bfff..3635bb361 100644
--- a/bbs/email_stop.php
+++ b/bbs/email_stop.php
@@ -1,15 +1,15 @@
", $content);
+ $content = str_replace("\n", "
", $content);
}
// html 이면
diff --git a/bbs/link.php b/bbs/link.php
index 1ba9f8fee..e74536ca9 100644
--- a/bbs/link.php
+++ b/bbs/link.php
@@ -1,23 +1,23 @@
'
."\n".' >'
- ."\n".' >'.preg_replace("/\n/", "\n> ", get_text($row['me_memo'], 0))
+ ."\n".' >'.str_replace("\n", "\n> ", get_text($row['me_memo'], 0))
."\n".' >'
.' >';
diff --git a/bbs/new.php b/bbs/new.php
index d91c0a8e2..66a10188b 100644
--- a/bbs/new.php
+++ b/bbs/new.php
@@ -52,7 +52,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
// 원글
$comment = "";
$comment_link = "";
- $row2 = sql_fetch(" select * from {$tmp_write_table} where wr_id = '$row[wr_id]' ");
+ $row2 = sql_fetch(" select * from {$tmp_write_table} where wr_id = '{$row['wr_id']}' ");
$list[$i] = $row2;
$name = get_sideview($row2['mb_id'], cut_str($row2['wr_name'], $config['cf_cut_name']), $row2['wr_email'], $row2['wr_homepage']);
diff --git a/bbs/new_delete.php b/bbs/new_delete.php
index 6358d4885..e3df24ce8 100644
--- a/bbs/new_delete.php
+++ b/bbs/new_delete.php
@@ -44,7 +44,7 @@ for($i=0;$i메일인증을 받지 못한 경우 회원정보의 메일주소를 변경 할 수 있습니다.
-