Initial import from local backup (Documents-Playground/pakerpale)

This commit is contained in:
jeonghwa
2026-07-03 05:27:05 +09:00
commit afabb85270
1520 changed files with 374739 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
<?php
function getCSSPageMenuOpen($tree, $isMenu)
{
if (is_null($isMenu)) {
if (get_instance()->uri->segment(2)) {
if (in_array(get_instance()->uri->segment(2), $tree)) {
return ' active';
}
} else if (in_array(get_instance()->uri->segment(1), $tree)) {
return ' active';
}
} else if (in_array(get_instance()->uri->segment(1), $tree)) {
return ' ' . ($isMenu ? 'menu-open' : 'active menu-open');
}
}