Example #1
0
			<div class="date"><?php 
            echo getDateFormat($_R['d_regis'], 'Y년 m월 d일');
            ?>
</div>
			<div class="cont">
				<?php 
            if ($_THUMB) {
                ?>
<img src="<?php 
                echo $_THUMB;
                ?>
" alt="" /><?php 
            }
            ?>
				<?php 
            echo getStrCut(getStripTags($_R['content']), 200, '..');
            ?>
			</div>
		</div>
		<?php 
        }
        ?>
		<?php 
        if (!$_NUM) {
            ?>
		<div class="none">등록된 게시물이 없습니다.</div>
		<?php 
        }
        ?>
		<div class="clear"></div>
	</div>
Example #2
0
			<div class="date"><?php 
                echo getDateFormat($_R['d_regis'], 'Y년 m월 d일');
                ?>
</div>
			<div class="cont">
				<?php 
                if ($_THUMB) {
                    ?>
<img src="<?php 
                    echo $_THUMB;
                    ?>
" alt="" /><?php 
                }
                ?>
				<?php 
                echo getStripTags($_R['content']);
                ?>
			</div>
		</div>

		<?php 
            }
            ?>
	<?php 
        }
        ?>

	</div>
	<?php 
    }
    ?>
Example #3
0
</a></div>
		<div class="tdate"><?php 
            echo getDateFormat($_R['d_regis'], 'Y.m.d');
            ?>
 , <?php 
            echo $_R['comment'] + $_R['oneline'];
            ?>
 Comment<?php 
            if ($_R['comment'] + $_R['oneline'] > 1) {
                ?>
s<?php 
            }
            ?>
</div>
		<div class="tcont"><?php 
            echo nl2br(getStrCut(getStripTags($_R['content']), 85, '..'));
            ?>
</div>
		<?php 
            while ($_R = db_fetch_array($_RCD)) {
                ?>
		<div class="tpost"><a href="<?php 
                echo getPostLink($_R);
                ?>
"><?php 
                echo $_R['subject'];
                ?>
</a><?php 
                if ($_R['comment'] + $_R['oneline']) {
                    ?>
<i>(<?php 
Example #4
0
        if (strpos('_' . $B['putfoot'], '[v]')) {
            $g['add_footer_inc'] = $g['dir_module'] . 'var/code/' . $B['id'] . '.footer.php';
            if ($B['imgfoot']) {
                $g['add_footer_img'] = $g['url_module'] . '/var/files/' . $B['imgfoot'];
            }
        }
        if ($R['mbruid']) {
            $g['member'] = getDbData($table['s_mbrdata'], 'memberuid=' . $R['mbruid'], '*');
        }
        if (!$_HS['titlefix']) {
            $g['browtitle'] = $_HS['title'] . ' - ' . getStripTags($R['subject']);
        }
        $g['meta_tit'] = $_HS['name'] . ' - ' . $B['name'];
        $g['meta_sbj'] = str_replace('"', '\'', $R['subject']);
        $g['meta_key'] = $R['tag'] ? $B['name'] . ',' . $R['tag'] : $B['name'] . ',' . str_replace('"', '\'', $R['subject']);
        $g['meta_des'] = getStrCut(getStripTags($R['content']), 150, '');
        $g['meta_cla'] = $R['category'];
        $g['meta_rep'] = '';
        $g['meta_lan'] = 'kr';
        $g['meta_bui'] = getDateFormat($R['d_regis'], 'Y.m.d');
    }
} else {
    if ($bid) {
        $B = getDbData($table[$m . 'list'], "id='" . $bid . "'", '*');
        if (!$B['uid']) {
            if ($_stop == 'Y') {
                exit;
            }
            getLink($g['s'] . '/?r=' . $r . '&_stop=Y', '', '존재하지 않는 게시판입니다.', '');
        }
        include_once $g['dir_module'] . 'var/var.' . $B['id'] . '.php';