Пример #1
0
                if (isset($search_start)) {
                    $obj->start = $search_start;
                }
                if (isset($search_end)) {
                    $obj->end = $search_end;
                }
                if (isset($max_amount)) {
                    $obj->fil_amount_max = $max_amount;
                }
                if (isset($min_amount)) {
                    $obj->fil_amount_min = $min_amount;
                }
                if (isset($side)) {
                    $obj->fil_deb = $side;
                }
                $form .= $obj->show_letter($j_id);
            } else {
                $form .= _('Mauvais type objet');
            }
        }
        $form .= HtmlInput::submit('record', _('Sauver')) . $ret->input();
        $form .= '</FORM>';
        $form .= '</div>';
        $html = $r . $form;
        $html .= $date_error;
        //       echo $html;exit;
        $html = escape_xml($html);
        header('Content-type: text/xml; charset=UTF-8');
        echo <<<EOF
<?xml version="1.0" encoding="UTF-8"?>
<data>