Merge branch 'master' of github.com:gnuboard/g4s

This commit is contained in:
whitedot
2013-02-19 14:11:55 +09:00

View File

@ -119,13 +119,18 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<? <?
// 파일 출력 // 파일 출력
$v_img_count = count($view['file']);
if($v_img_count) {
echo "<div id=\"bo_v_img\">\n";
for ($i=0; $i<=count($view['file']); $i++) { for ($i=0; $i<=count($view['file']); $i++) {
if ($view['file'][$i]['view']) { if ($view['file'][$i]['view']) {
if ($i == 0) echo "<div id=\"bo_v_img\">";
echo $view['file'][$i]['view']; echo $view['file'][$i]['view'];
if ($i == 0) echo "</div>";
} }
} }
echo "</div>\n";
}
?> ?>
<div id="bo_v_con"><?=$view['content'];?></div> <div id="bo_v_con"><?=$view['content'];?></div>