| 90 |
// Generate menu of section class |
// Generate menu of section class |
| 91 |
$buffer .= <<<MENU |
$buffer .= <<<MENU |
| 92 |
#--------------------------------------------------------------------- |
#--------------------------------------------------------------------- |
|
%S_EGROUP |
|
|
·µ»Ø[[1;32m¡û[0;37m] ½øÈë[[1;32m¡ú[0;37m] Ñ¡Ôñ[[1;32m¡ü PgUp[0;37m,[1;32m¡ý PgDn[0;37m] |
|
|
[44;37m [1;37m°æ¿éÊýÁ¿ À¸Ä¿Ãû³Æ ÖÐ ÎÄ Ðð Êö [m |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
% |
|
|
#--------------------------------------------------------------------- |
|
| 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 |
| 122 |
// Generate menu of sections in section_class[$c_index] |
// Generate menu of sections in section_class[$c_index] |
| 123 |
$buffer .= <<<MENU |
$buffer .= <<<MENU |
| 124 |
#--------------------------------------------------------------------- |
#--------------------------------------------------------------------- |
|
%S__{$section_class["name"]} |
|
|
·µ»Ø[[1;32m¡û[0;37m] ½øÈë[[1;32m¡ú[0;37m] Ñ¡Ôñ[[1;32m¡ü PgUp[0;37m,[1;32m¡ý PgDn[0;37m] |
|
|
[44;37m [1;37mÎÄÕÂÊýÁ¿ °æ¿éÃû³Æ À¸Ä¿ ÖÐ ÎÄ Ðð Êö °æ Ö÷ [m |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
% |
|
|
#--------------------------------------------------------------------- |
|
| 125 |
%menu M__{$section_class["name"]} |
%menu M__{$section_class["name"]} |
| 126 |
title 0, 0, "[{$section_class["title"]}]" |
title 0, 0, "[{$section_class["title"]}]" |
| 127 |
screen 2, 0, S__{$section_class["name"]} |
screen 2, 0, S_BOARD |
| 128 |
|
|
| 129 |
MENU; |
MENU; |
| 130 |
|
|
| 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']); |
| 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}" |
| 157 |
// Generate menu of all sections |
// Generate menu of all sections |
| 158 |
$buffer .= <<<MENU |
$buffer .= <<<MENU |
| 159 |
#--------------------------------------------------------------------- |
#--------------------------------------------------------------------- |
| 160 |
%S_BOARD |
%menu M_BOARD |
| 161 |
·µ»Ø[[1;32m¡û[0;37m] ½øÈë[[1;32m¡ú[0;37m] Ñ¡Ôñ[[1;32m¡ü PgUp[0;37m,[1;32m¡ý PgDn[0;37m] |
title 0, 0, "[°æ¿éÁбí]" |
| 162 |
[44;37m [1;37mÎÄÕÂÊýÁ¿ °æ¿éÃû³Æ À¸Ä¿ ÖÐ ÎÄ Ðð Êö °æ Ö÷ [m |
screen 2, 0, S_BOARD |
| 163 |
|
page 4, 1, 20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 164 |
|
|
| 165 |
|
MENU; |
| 166 |
|
|
| 167 |
|
$display_row = 4; |
| 168 |
|
|
| 169 |
|
foreach ($section_hierachy as $c_index => $section_class) |
| 170 |
|
{ |
| 171 |
|
$class_title_f = "[" . addslashes($section_class['title']) . "]" . str_repeat(" ", 10 - str_length($section_class['title'])); |
| 172 |
|
|
| 173 |
|
foreach ($section_class["sections"] as $s_index => $section) |
| 174 |
|
{ |
| 175 |
|
$article_count = $section['udf_values']['article_count']; |
| 176 |
|
|
| 177 |
|
$title_f = str_repeat(" ", 5 - intval(log10($article_count))) . $article_count . " £« " . |
| 178 |
|
$section['name'] . str_repeat(" ", 20 - strlen($section['name'])) . |
| 179 |
|
$class_title_f . addslashes($section['title']) . str_repeat(" ", 22 - str_length($section['title'])) . |
| 180 |
|
($section['udf_values']['section_master'] == "" ? "³ÏÕ÷°æÖ÷ÖÐ" : $section['udf_values']['section_master']); |
| 181 |
|
|
| 182 |
|
$buffer .= <<<MENU |
| 183 |
|
@LIST_SECTION {$display_row}, 4, 1, {$section['read_user_level']}, "{$section['name']}", "{$title_f}" |
| 184 |
|
|
| 185 |
|
MENU; |
| 186 |
|
|
| 187 |
|
$display_row = 0; |
| 188 |
|
} |
| 189 |
|
} |
| 190 |
|
|
| 191 |
|
$buffer .= <<<MENU |
| 192 |
|
% |
| 193 |
|
|
| 194 |
|
MENU; |
| 195 |
|
|
| 196 |
% |
// Generate menu of favourite sections |
| 197 |
|
$buffer .= <<<MENU |
| 198 |
#--------------------------------------------------------------------- |
#--------------------------------------------------------------------- |
| 199 |
%menu M_BOARD |
%menu M_FAVOUR |
| 200 |
title 0, 0, "[°æ¿éÁбí]" |
title 0, 0, "[°æ¿éÊÕ²Ø]" |
| 201 |
screen 2, 0, S_BOARD |
screen 2, 0, S_BOARD |
| 202 |
|
use_filter |
| 203 |
page 4, 1, 20 |
page 4, 1, 20 |
| 204 |
|
|
| 205 |
MENU; |
MENU; |
| 217 |
$title_f = str_repeat(" ", 5 - intval(log10($article_count))) . $article_count . " £« " . |
$title_f = str_repeat(" ", 5 - intval(log10($article_count))) . $article_count . " £« " . |
| 218 |
$section['name'] . str_repeat(" ", 20 - strlen($section['name'])) . |
$section['name'] . str_repeat(" ", 20 - strlen($section['name'])) . |
| 219 |
$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'])) . |
| 220 |
$section['udf_values']['section_master']; |
($section['udf_values']['section_master'] == "" ? "³ÏÕ÷°æÖ÷ÖÐ" : $section['udf_values']['section_master']); |
| 221 |
|
|
| 222 |
$buffer .= <<<MENU |
$buffer .= <<<MENU |
| 223 |
@LIST_SECTION {$display_row}, 4, 1, {$section['read_user_level']}, "{$section['name']}", "{$title_f}" |
@LIST_SECTION {$display_row}, 4, {$section['sid']}, {$section['read_user_level']}, "{$section['name']}", "{$title_f}" |
| 224 |
|
|
| 225 |
MENU; |
MENU; |
| 226 |
|
|