//--------------------------------- »ó´Ü ½ºÅ©¸³Æ® -------------------------------//
require "../include/func.php";
$Conn = get_dbconn('../config/conn.php');
$row = get_one_array("SELECT C_NAME, C_EMAIL, C_SUBJECT, C_CONTENT, C_DATE, C_USETAG FROM JINA_BOARD_$table WHERE C_UID = $id", $Conn);
if($row[C_USETAG] == '0') {
$row[C_CONTENT] = nl2br($row[C_CONTENT]);
$row[C_CONTENT] = erase_br($row[C_CONTENT]); // ű׸¦ »ç¿ëÇÒ ¶§¿¡¸¸ br ű׸¦ Á¦°ÅÇØ ÁØ´Ù.
} else {
// url°ú À̸ÞÀÏÀÇ Á¤±Ô Ç¥Çö½Ä
$row[C_CONTENT] = htmlspecialchars($row[C_CONTENT]);
$row[C_CONTENT] = str_replace(" ", " ", $row[C_CONTENT]);
$row[C_CONTENT] = str_replace("\t", " ", $row[C_CONTENT]);
$row[C_CONTENT] = nl2br($row[C_CONTENT]);
}
$row[C_DATE] = date("Y³â m¿ù dÀÏ", $row[C_DATE]);
?>
include "../include/license.txt"; ?>
=$row[C_SUBJECT]?> - Áö³ªº¸µå 2.1 (http://www.jinaboard.com)
Á¦¸ñ : =$row[C_SUBJECT]?>
|
ÇÁ¸°Æ®Çϱ⠴ݱâ |
ÀÛ¼ºÀÚ : =$row[C_NAME]?>
ÀÛ¼ºÀÏ : =$row[C_DATE]?>
if($row[C_EMAIL]) { echo " ÀüÀÚ¿ìÆí : $row[C_EMAIL]"; } ?>
|
=$row[C_CONTENT]?> |
|