function collect_hierarchie_d($rev, $o = '') { //dig $r = supertriad_c($_SESSION['dayb'], $_SESSION['frm']); //_d $r = supertriad_compintime($r, $o); if (is_array($r)) { $superline = hierarchic_line($r, $r, $rev); } if (is_array($superline)) { if ($rev) { krsort($superline); } else { ksort($superline); } } return $superline; }
function taxo_arts($p) { if ($p == 1) { $v = $_SESSION['frm']; } if (!$p) { $p = ib_of_id(ses('read')); } if (!is_numeric($p)) { $taxcat = $_SESSION['superline'][$p]; } elseif (is_numeric($p)) { $hie = supertriad_c($_SESSION['dayb']); $taxcat = $hie[$p]; } return $taxcat; }