From 9785239defa7979fc68bcd7952a6ce98669b4ed4 Mon Sep 17 00:00:00 2001 From: Arcturus Date: Wed, 23 Oct 2024 12:33:09 +0900 Subject: [PATCH] update --- list.skin.php | 91 +++++++++++++++++++++++++++++---------------------- 1 file changed, 51 insertions(+), 40 deletions(-) diff --git a/list.skin.php b/list.skin.php index 94d9a19..bfe700a 100644 --- a/list.skin.php +++ b/list.skin.php @@ -1,11 +1,12 @@ -', 0); ?> - - -', 0); + add_javascript('', 0); +} + add_stylesheet('', 0); include_once G5_LIB_PATH . '/thumbnail.lib.php'; @@ -13,13 +14,13 @@ $au_type = $board['bo_1'] ? $board['bo_1'] : '오리지널'; $slide_space = 10; $margin = "5px"; $slide_loop = ($board['bo_3']) ? 'true' : 'false'; -if ($board['bo_table_width'] == 0) - $width = "100%"; + +$width = $board['bo_table_width'] == 0 ? "100%" : (isset($width) ? $width : "0"); $cate = array(); $lists = array(); -?> - + +if ($board['bo_content_head']) { ?>
@@ -38,9 +39,11 @@ $lists = array(); if ($board['bo_4'] == '1' && $is_category) { $cate = explode('|', $board['bo_category_list']); } + for ($h = 0; $h <= count($cate); $h++) { if (count($cate) > 0 && $h == count($cate)) continue; + $list_item = sql_query("select * from {$write_table} where wr_reply='' and wr_is_comment=0 order by wr_10*1 desc, wr_num"); for ($k = 0; $row = sql_fetch_array($list_item); $k++) { @@ -48,64 +51,72 @@ $lists = array(); } ?>
- -

+ +

+