Пример #1
0
	<?php 
    echo apms_line('fa', 'fa-gift');
    //라인
    ?>
 
<?php 
}
?>

<?php 
// 비디오
if ($item_video) {
    echo apms_line('fa', 'fa-video-camera');
    echo $item_video;
}
$item_video = apms_link_video($link_video);
?>

<?php 
if ($is_torrent) {
    // 토렌트 파일정보
    ?>
	<?php 
    for ($i = 0; $i < count($torrent); $i++) {
        ?>
		<div class="panel panel-default">
			<div class="panel-heading">
				<h3 class="panel-title"><i class="fa fa-cube"></i> <?php 
        echo $torrent[$i]['name'];
        ?>
</h3>
Пример #2
0
    if ($view['as_img'] == "2") {
        // 본문삽입
        $view['wr_content'] = preg_replace_callback("/{이미지\\:([0-9]+)[:]?([^}]*)}/i", "conv_rich_content", $view['wr_content']);
    } else {
        for ($i = 0; $i <= count($view['file']); $i++) {
            if ($view['file'][$i]['view']) {
                $file .= '<p>' . get_view_thumbnail($view['file'][$i]['view']) . '</p>';
            }
        }
        if ($view['as_img'] == "1") {
            $head_file = $file;
        } else {
            $tail_file = $file;
        }
    }
    $view['wr_content'] = $head_file . apms_link_video($view['link']) . apms_content($view['wr_content']) . $tail_file;
    $view['wr_content'] = get_view_thumbnail($view['wr_content']);
    ?>

<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 $view['wr_content'];
    ?>
Пример #3
0
             }
             if (in_array($i, $exceptfile)) {
                 continue;
             }
             $refile['file'][$j] = $view['file'][$i];
             $j++;
         }
         if ($j > 0) {
             $view['file'] = $refile['file'];
             $view['file']['count'] = $j;
         }
     }
 }
 $view['content'] = apms_content($view['content']);
 if ($is_link_video) {
     $view['content'] = $autoplay . apms_link_video($view['link'], '', $seometa['img']['src']) . $view['content'];
 } else {
     $view['content'] = $autoplay . $view['content'];
 }
 //$view['rich_content'] = preg_replace("/{이미지\:([0-9]+)[:]?([^}]*)}/ie", "view_image(\$view, '\\1', '\\2')", $view['content']);
 if ($view['as_img'] == "2") {
     // 본문삽입
     function conv_rich_content($matches)
     {
         global $view;
         return view_image($view, $matches[1], $matches[2]);
     }
     $view['content'] = preg_replace_callback("/{이미지\\:([0-9]+)[:]?([^}]*)}/i", "conv_rich_content", $view['content']);
 }
 // 토렌트
 if ($board['as_torrent'] && $view['file']['count']) {