| 91 |
$buffer .= <<<MENU |
$buffer .= <<<MENU |
| 92 |
#--------------------------------------------------------------------- |
#--------------------------------------------------------------------- |
| 93 |
%menu M_EGROUP |
%menu M_EGROUP |
| 94 |
title 0, 0, "[Ŀб]" |
title 0, 0, "[栏目列表]" |
| 95 |
screen 2, 0, S_EGROUP |
screen 2, 0, S_EGROUP |
| 96 |
|
|
| 97 |
MENU; |
MENU; |
| 102 |
|
|
| 103 |
$section_count = count($section_class["sections"]); |
$section_count = count($section_class["sections"]); |
| 104 |
|
|
| 105 |
$title_f = str_repeat(" ", 5 - intval(log10($section_count))) . $section_count . " " . |
$title_f = str_repeat(" ", 5 - intval(log10($section_count))) . $section_count . " + " . |
| 106 |
$section_class['name'] . str_repeat(" ", 32 - strlen($section_class['name'])) . |
$section_class['name'] . str_repeat(" ", 32 - strlen($section_class['name'])) . |
| 107 |
"[" . addslashes($section_class['title']) . "]"; |
"[" . addslashes($section_class['title']) . "]"; |
| 108 |
|
|
| 136 |
|
|
| 137 |
$article_count = $section['udf_values']['article_count']; |
$article_count = $section['udf_values']['article_count']; |
| 138 |
|
|
| 139 |
$title_f = str_repeat(" ", 5 - intval(log10($article_count))) . $article_count . " " . |
$title_f = str_repeat(" ", 5 - intval(log10($article_count))) . $article_count . " + " . |
| 140 |
$section['name'] . str_repeat(" ", 20 - strlen($section['name'])) . |
$section['name'] . str_repeat(" ", 20 - strlen($section['name'])) . |
| 141 |
$class_title_f . addslashes($section['title']) . str_repeat(" ", 22 - str_length($section['title'])) . |
$class_title_f . addslashes($section['title']) . str_repeat(" ", 22 - str_length($section['title'])) . |
| 142 |
($section['udf_values']['section_master'] == "" ? "" : $section['udf_values']['section_master']); |
($section['udf_values']['section_master'] == "" ? "诚征版主中" : $section['udf_values']['section_master']); |
| 143 |
|
|
| 144 |
$buffer .= <<<MENU |
$buffer .= <<<MENU |
| 145 |
@LIST_SECTION {$display_row}, 4, 1, {$section['read_user_level']}, "{$section['name']}", "{$title_f}" |
@LIST_SECTION {$display_row}, 4, 1, {$section['read_user_level']}, "{$section['name']}", "{$title_f}" |
| 236 |
$buffer .= <<<MENU |
$buffer .= <<<MENU |
| 237 |
#--------------------------------------------------------------------- |
#--------------------------------------------------------------------- |
| 238 |
%menu M_ANNOUNCE |
%menu M_ANNOUNCE |
| 239 |
title 0, 0, "" |
title 0, 0, "精华公布栏" |
| 240 |
screen 2, 0, S_EGROUP |
screen 2, 0, S_EGROUP |
| 241 |
|
|
| 242 |
MENU; |
MENU; |
| 247 |
|
|
| 248 |
$section_count = count($section_class["sections"]); |
$section_count = count($section_class["sections"]); |
| 249 |
|
|
| 250 |
$title_f = str_repeat(" ", 5 - intval(log10($section_count))) . $section_count . " " . |
$title_f = str_repeat(" ", 5 - intval(log10($section_count))) . $section_count . " + " . |
| 251 |
$section_class['name'] . str_repeat(" ", 32 - strlen($section_class['name'])) . |
$section_class['name'] . str_repeat(" ", 32 - strlen($section_class['name'])) . |
| 252 |
"[" . addslashes($section_class['title']) . "]"; |
"[" . addslashes($section_class['title']) . "]"; |
| 253 |
|
|
| 268 |
$buffer .= <<<MENU |
$buffer .= <<<MENU |
| 269 |
#--------------------------------------------------------------------- |
#--------------------------------------------------------------------- |
| 270 |
%menu M_EX_{$section_class["name"]} |
%menu M_EX_{$section_class["name"]} |
| 271 |
title 0, 0, " > {$section_class["title"]}" |
title 0, 0, "精华区 > {$section_class["title"]}" |
| 272 |
screen 2, 0, S_EX_DIR |
screen 2, 0, S_EX_DIR |
| 273 |
|
|
| 274 |
MENU; |
MENU; |
| 284 |
continue; |
continue; |
| 285 |
} |
} |
| 286 |
|
|
| 287 |
$title_f = str_repeat(" ", 5 - intval(log10($article_count))) . $article_count . " " . |
$title_f = str_repeat(" ", 5 - intval(log10($article_count))) . $article_count . " + " . |
| 288 |
$section['name'] . str_repeat(" ", 20 - strlen($section['name'])) . |
$section['name'] . str_repeat(" ", 20 - strlen($section['name'])) . |
| 289 |
$class_title_f . addslashes($section['title']) . str_repeat(" ", 22 - str_length($section['title'])) . |
$class_title_f . addslashes($section['title']) . str_repeat(" ", 22 - str_length($section['title'])) . |
| 290 |
(new DateTimeImmutable($section['udf_values']['ex_menu_tm']))->format("Y.m.d"); |
(new DateTimeImmutable($section['udf_values']['ex_menu_tm']))->format("Y.m.d"); |
| 308 |
$buffer .= <<<MENU |
$buffer .= <<<MENU |
| 309 |
#--------------------------------------------------------------------- |
#--------------------------------------------------------------------- |
| 310 |
%menu M_BOARD |
%menu M_BOARD |
| 311 |
title 0, 0, "[б]" |
title 0, 0, "[版块列表]" |
| 312 |
screen 2, 0, S_BOARD |
screen 2, 0, S_BOARD |
| 313 |
page 4, 1, 20 |
page 4, 1, 20 |
| 314 |
|
|
| 324 |
{ |
{ |
| 325 |
$article_count = $section['udf_values']['article_count']; |
$article_count = $section['udf_values']['article_count']; |
| 326 |
|
|
| 327 |
$title_f = str_repeat(" ", 5 - intval(log10($article_count))) . $article_count . " " . |
$title_f = str_repeat(" ", 5 - intval(log10($article_count))) . $article_count . " + " . |
| 328 |
$section['name'] . str_repeat(" ", 20 - strlen($section['name'])) . |
$section['name'] . str_repeat(" ", 20 - strlen($section['name'])) . |
| 329 |
$class_title_f . addslashes($section['title']) . str_repeat(" ", 22 - str_length($section['title'])) . |
$class_title_f . addslashes($section['title']) . str_repeat(" ", 22 - str_length($section['title'])) . |
| 330 |
($section['udf_values']['section_master'] == "" ? "" : $section['udf_values']['section_master']); |
($section['udf_values']['section_master'] == "" ? "诚征版主中" : $section['udf_values']['section_master']); |
| 331 |
|
|
| 332 |
$buffer .= <<<MENU |
$buffer .= <<<MENU |
| 333 |
@LIST_SECTION {$display_row}, 4, 1, {$section['read_user_level']}, "{$section['name']}", "{$title_f}" |
@LIST_SECTION {$display_row}, 4, 1, {$section['read_user_level']}, "{$section['name']}", "{$title_f}" |
| 347 |
$buffer .= <<<MENU |
$buffer .= <<<MENU |
| 348 |
#--------------------------------------------------------------------- |
#--------------------------------------------------------------------- |
| 349 |
%menu M_FAVOUR |
%menu M_FAVOUR |
| 350 |
title 0, 0, "[ղ]" |
title 0, 0, "[版块收藏]" |
| 351 |
screen 2, 0, S_BOARD |
screen 2, 0, S_BOARD |
| 352 |
use_filter |
use_filter |
| 353 |
page 4, 1, 20 |
page 4, 1, 20 |
| 364 |
{ |
{ |
| 365 |
$article_count = $section['udf_values']['article_count']; |
$article_count = $section['udf_values']['article_count']; |
| 366 |
|
|
| 367 |
$title_f = str_repeat(" ", 5 - intval(log10($article_count))) . $article_count . " " . |
$title_f = str_repeat(" ", 5 - intval(log10($article_count))) . $article_count . " + " . |
| 368 |
$section['name'] . str_repeat(" ", 20 - strlen($section['name'])) . |
$section['name'] . str_repeat(" ", 20 - strlen($section['name'])) . |
| 369 |
$class_title_f . addslashes($section['title']) . str_repeat(" ", 22 - str_length($section['title'])) . |
$class_title_f . addslashes($section['title']) . str_repeat(" ", 22 - str_length($section['title'])) . |
| 370 |
($section['udf_values']['section_master'] == "" ? "" : $section['udf_values']['section_master']); |
($section['udf_values']['section_master'] == "" ? "诚征版主中" : $section['udf_values']['section_master']); |
| 371 |
|
|
| 372 |
$buffer .= <<<MENU |
$buffer .= <<<MENU |
| 373 |
@LIST_SECTION {$display_row}, 4, {$section['sid']}, {$section['read_user_level']}, "{$section['name']}", "{$title_f}" |
@LIST_SECTION {$display_row}, 4, {$section['sid']}, {$section['read_user_level']}, "{$section['name']}", "{$title_f}" |