사용자: 인덱스 최신글 완료 #173

This commit is contained in:
whitedot
2013-01-24 16:38:56 +09:00
parent 121557fc82
commit 0a64d941e6
3 changed files with 16 additions and 11 deletions

View File

@ -2,13 +2,9 @@
if (!defined('_GNUBOARD_')) exit;
// 최신글 추출
function latest($skin_dir='', $bo_table, $rows=10, $subject_len=40, $position='left')
function latest($skin_dir='', $bo_table, $rows=10, $subject_len=40)
{
global $g4;
static $lt_count=0;
if ($position == 'right')
$lt_count++;
if (!$skin_dir) $skin_dir = 'basic';
$latest_skin_path = skin_path().'/latest/'.$skin_dir;