} // A QuickCode is given if ($go == 2) { if (!isset($_REQUEST['oper_detail'])) { echo '<div class="content">'; echo '<h2 class="info"> ' . '(' . $fiche->id . ')' . $fiche->getName() . ' ' . ' [ ' . $fiche->get_quick_code() . ' ] ' . '</h2>'; $fiche->HtmlTableHeader(); $fiche->HtmlTable(null, $_GET['ople']); $fiche->HtmlTableHeader(); echo "</div>"; } else { // Detail // echo '<div class="content">'; echo '<h2 class="info"> ' . '(' . $fiche->id . ')' . $fiche->getName() . ' ' . ' [ ' . $fiche->get_quick_code() . ' ] ' . '<h2>'; $fiche->HtmlTableHeader(); $fiche->HtmlTableDetail(); $fiche->HtmlTableHeader(); echo "</div>"; } exit; } // All the children account if ($go == 3) { if (sizeof($a_poste) == 0) { exit; } echo '<div class="content">'; if (!isset($_REQUEST['oper_detail'])) { $Poste = new Acc_Account_Ledger($cn, $_GET['poste_id']); echo Acc_Account_Ledger::HtmlTableHeader(); foreach ($a_poste as $poste_id) {