Пример #1
0
    }
    ?>

<item>
<title><?php 
    echo specialchars_replace($view['wr_subject']);
    ?>
</title>
<link><?php 
    echo specialchars_replace(G5_BBS_URL . '/board.php?bo_table=' . $bo_table . '&wr_id=' . $view['wr_id']);
    ?>
</link>
<description><![CDATA[<?php 
    echo $head_file;
    echo conv_link_video($view['wr_link1']);
    echo conv_link_video($view['wr_link2']);
    echo $view['wr_content'];
    echo $tail_file;
    ?>
]]></description>
<dc:creator><?php 
    echo specialchars_replace($view['wr_name']);
    ?>
</dc:creator>
<?php 
    $date = $view['wr_datetime'];
    // rss 리더 스킨으로 호출하면 날짜가 제대로 표시되지 않음
    //$date = substr($date,0,10) . "T" . substr($date,11,8) . "+09:00";
    $date = date('r', strtotime($date));
    ?>
<dc:date><?php 
Пример #2
0
        }
    }
    ?>
<item>
<title><?php 
    echo specialchars_replace('[' . $board['bo_subject'] . '] ' . $row['wr_subject']);
    ?>
</title>
<link><?php 
    echo specialchars_replace(G5_BBS_URL . '/board.php?bo_table=' . $post['bo_table'] . '&wr_id=' . $post['wr_id']);
    ?>
</link>
<description><![CDATA[<?php 
    echo $head_file;
    echo conv_link_video($row['wr_link1']);
    echo conv_link_video($row['wr_link2']);
    echo $row['wr_content'];
    echo $tail_file;
    ?>
]]></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