Merge branch 'g5'
This commit is contained in:
@ -409,7 +409,7 @@ var win_zip = function(frm_name, frm_zip1, frm_zip2, frm_addr1, frm_addr2, frm_a
|
|||||||
* sms5 창
|
* sms5 창
|
||||||
**/
|
**/
|
||||||
var win_sms5 = function(href) {
|
var win_sms5 = function(href) {
|
||||||
var new_win = window.open(href, 'win_zip', 'width=474, height=560, scrollbars=1');
|
var new_win = window.open(href, 'win_sms5', 'width=474, height=560, scrollbars=1');
|
||||||
new_win.focus();
|
new_win.focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,19 +1,19 @@
|
|||||||
<?
|
<?php
|
||||||
include_once("./_common.php");
|
include_once("./_common.php");
|
||||||
|
|
||||||
if (!$write)
|
if (!$write)
|
||||||
die("게시글이 없습니다.");
|
die("게시글이 없습니다.");
|
||||||
|
|
||||||
if ($group['gr_use_access'])
|
if ($group['gr_use_access'])
|
||||||
die("게시판그룹에서 접근사용을 해제하여 주십시오.");
|
die("게시판그룹에서 접근사용을 해제하여 주십시오.");
|
||||||
|
|
||||||
if ($board['bo_read_level'] > 1)
|
if ($board['bo_read_level'] > 1)
|
||||||
die("비회원 읽기가 가능한 게시판만 신디케이션을 지원합니다.");
|
die("비회원 읽기가 가능한 게시판만 신디케이션을 지원합니다.");
|
||||||
|
|
||||||
if (strstr($write['wr_option'], 'secret'))
|
if (strstr($write['wr_option'], 'secret'))
|
||||||
die("비밀글은 신디케이션을 지원하지 않습니다.");
|
die("비밀글은 신디케이션을 지원하지 않습니다.");
|
||||||
|
|
||||||
if (preg_match('#^('.$config['cf_syndi_except'].')$#', $bo_table))
|
if (preg_match('#^('.$config['cf_syndi_except'].')$#', $bo_table))
|
||||||
die("신디케이션에서 제외된 게시판입니다.");
|
die("신디케이션에서 제외된 게시판입니다.");
|
||||||
|
|
||||||
$title = htmlspecialchars($write['wr_subject']);
|
$title = htmlspecialchars($write['wr_subject']);
|
||||||
@ -32,9 +32,9 @@ $replace = array('&', ' '); # 바꾼다
|
|||||||
$content = str_replace( $find, $replace, $write['wr_content'] );
|
$content = str_replace( $find, $replace, $write['wr_content'] );
|
||||||
$summary = str_replace( $find, $replace, strip_tags($write['wr_content']) );
|
$summary = str_replace( $find, $replace, strip_tags($write['wr_content']) );
|
||||||
|
|
||||||
Header("Content-type: text/xml");
|
Header("Content-type: text/xml");
|
||||||
header("Cache-Control: no-cache, must-revalidate");
|
header("Cache-Control: no-cache, must-revalidate");
|
||||||
header("Pragma: no-cache");
|
header("Pragma: no-cache");
|
||||||
|
|
||||||
echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";
|
echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";
|
||||||
echo "<feed xmlns=\"http://webmastertool.naver.com\">\n";
|
echo "<feed xmlns=\"http://webmastertool.naver.com\">\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user