From 90dd3e7113e7603c41deefa2d3d09f935f6fcab7 Mon Sep 17 00:00:00 2001 From: Arcturus Date: Wed, 23 Oct 2024 00:08:19 +0900 Subject: [PATCH] update --- list.skin.php | 104 ++++++++++++++++++----------------- readme.md | 1 + set_order.php | 125 ++++++++++++++++++++++--------------------- set_order_update.php | 24 +++++---- 4 files changed, 131 insertions(+), 123 deletions(-) diff --git a/list.skin.php b/list.skin.php index 26b09a8..2f869ba 100644 --- a/list.skin.php +++ b/list.skin.php @@ -19,11 +19,12 @@ $lists = array(); if ($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, wr_id"); + $list_item = sql_query("SELECT * FROM {$write_table} WHERE wr_reply='' AND wr_is_comment=0 ORDER BY wr_10*1, wr_id"); for ($k = 0; $row = sql_fetch_array($list_item); $k++) { $lists[$k] = get_list($row, $board, $board_skin_url); } @@ -33,57 +34,61 @@ $lists = array();

@@ -113,5 +118,4 @@ $lists = array(); - diff --git a/readme.md b/readme.md index 84a86c4..404f616 100644 --- a/readme.md +++ b/readme.md @@ -7,6 +7,7 @@ ### 주요 수정 사항 - short open tag 제거 +- list.skin.php 수정 모든 아보카도 버전에 호환됩니다. diff --git a/set_order.php b/set_order.php index b4d2ed0..1f1c98d 100644 --- a/set_order.php +++ b/set_order.php @@ -1,73 +1,74 @@ ', 0); -if ($board['bo_write_level'] <= $member['mb_level']) { - ?> -
- - -
- - + +if ($board['bo_write_level'] <= $member['mb_level']) { ?> + + + +
+
+ + + + + + + + + + + - + - - - - - - + + + + + + - - - - - - + + + + + - - - - - - - - - - - -
카테고리
제목배너링크순서
카테고리제목배너링크순서 + + + + + + + + + + + +
- - - - - - - - - - - -
-
-
- - 목록으로 -
+ + + +
+
+ + 목록으로
- +
+ diff --git a/set_order_update.php b/set_order_update.php index e6801b6..bff6d9d 100644 --- a/set_order_update.php +++ b/set_order_update.php @@ -1,17 +1,19 @@