public function displayhistoriqueForm()
    {
        include_once dirname(__FILE__) . '/mondialrelay.php';
        $mondialrelay = new MondialRelay();
        $_html = '';
        $query = "SELECT * FROM `" . _DB_PREFIX_ . "mr_historique` ORDER BY `id` DESC ;";
        $query = Db::getInstance()->ExecuteS($query);
        $_html .= '<fieldset>';
        $_html .= '<legend>' . $mondialrelay->getL('History of sticks creation') . '</legend>';
        $_html .= '<div style="overflow-x: auto;overflow-y: scroller; height: 300px; padding-top: 0.6em;" >';
        $_html .= '<form method="post" action="' . $_SERVER['REQUEST_URI'] . '">';
        $_html .= '<table class=table><tbody><tr><th>' . $mondialrelay->getL('Selected') . '<br><a href="javascript:void(0);" onclick="checked_all_h();">' . $mondialrelay->getL('All') . '</a>
			 | <a href="javascript:void(0);" onclick="un_checked_all_h();">' . $mondialrelay->getL('None') . '</a></th><th>' . $mondialrelay->getL('Orders ID') . '</th><th>' . $mondialrelay->getL('Exps num') . '</th><th>' . $mondialrelay->getL('Print stick A4') . '</th><th>' . $mondialrelay->getL('Print stick A5') . '</th></tr>';
        foreach ($query as $k => $row) {
            $_html .= '<tr>
			<td><input type="hidden" name="history[' . $row['id'] . '][id]" id="history_id_' . $row['id'] . '" value="' . $row['id'] . '" />
			<input type="checkbox" mask_mr_h=1 name=history[' . $row['id'] . '][selected] id="history_selected_' . $row['id'] . '" value="1" /></td>
			<td>' . str_replace(';', ', ', $row['order']) . '</td><td>' . str_replace(';', ', ', $row['exp']) . '</td><td><a href="' . $row['url_a4'] . '" target="a4">' . $mondialrelay->getL('Print stick A4') . '</a></td><td><a href="' . $row['url_a5'] . '" target="a5">' . $mondialrelay->getL('Print stick A5') . '</a></td></tr>';
        }
        $_html .= '</tbody></table>';
        $_html .= '<input type="submit" name="delete_h" id="delete_h" value="' . $mondialrelay->getL('Delete selected history') . '" class="button" />';
        $_html .= '</form></div>';
        $_html .= '</fieldset>';
        return $_html;
    }