<input type="hidden" name="sid" value="' . $sid . '">
   			<input type="hidden" name="lang" value="' . $lang . '">
   			<input type="hidden" name="order_nr" value="' . $order_nr . '">
   			<input type="hidden" name="dept_nr" value="' . $dept_nr . '">
   			<input type="hidden" name="cat" value="' . $cat . '">
   			<input type="hidden" name="userck" value="' . $userck . '">
			<input type="submit" value="' . $LDFinalizeList . '">   
   			</form>	';
} else {
    if ($itwassent) {
        echo '<font size=2>' . $LDWasSent . '<p></font>';
    }
    echo '<img ' . createMascot($root_path, 'mascot1_r.gif', '0', 'middle') . '><font size=2>' . $LDBasketEmpty . '<p>';
    // get all lists that are not sent
    $rows = 0;
    $ergebnis =& $product_obj->OrderDrafts($dept_nr, $cat);
    $rows = $product_obj->LastRecordCount();
    # +++++++++ show the last lists+++++++++++++++++++++++++++++++++++++++++
    if ($rows > 0) {
        if ($rows > 1) {
            echo $LDListNotSentMany;
        } else {
            echo $LDListNotSent;
        }
        echo $LDClk2SeeEdit . '<br></font><p>';
        $tog = 1;
        echo '
		<font size=2 color="#800000">' . $last_orderlist . $dept_obj->FormalName($dept_nr) . ':</font>
		<table border=0 cellspacing=1 cellpadding=3 width="100%">
  		<tr class="wardlisttitlerow">';
        //for ($i=0;$i<sizeof($LDListindex);$i++)