#i","",$contents); $te=$contents; fclose ($handle); } if ($add) { $fd = fopen("adressen.txt", "w"); $cont=preg_replace ("##i","",$list); fwrite($fd, $cont); fclose($fd); $te=$list; if ($bez) { $li1[]=$bez; $li2[]=$meng; $li3[]=$einzel; $li4[]=$meng*$einzel; } } if ($fertig) { echo "\n"; echo "\n"; echo "Untitled Document\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo "
       
       
       
       
       
       
       
       
\n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; $ic=count($li1); $ic=$ic-1; for ($i = 0; $i <= $ic; $i++) { echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " "; } echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " "; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; $ic=count($li1); $ic=$ic-1; for ($i = 0; $i <= $ic; $i++) { $all=$all+$li4[$i]; } $all=$all+$porto; $mwst=$all/100*16; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " "; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " "; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo "
\n"; echo nl2br($empf); echo "     
   
    
    
       
       
       
 $rechn    \n"; echo "
$datum
\n"; echo "
       
      
       
       
       
       
".nl2br($li1[$i])." \n"; echo "
$li2[$i]
\n"; echo "
\n"; echo "
x
\n"; echo "
\n"; echo "
".number_format($li3[$i],2)."
\n"; echo "
\n"; echo "
".number_format($li4[$i],2)."
\n"; echo "
Porto     \n"; echo "
".number_format($porto,2)."
\n"; echo "
       \n"; echo "
_______________
\n"; echo "
    Summe: \n"; echo "
".number_format($all,2)."
\n"; echo "
    +MwSt. 16% \n"; echo "
".number_format($mwst,2)."
\n"; echo "
       
    Endbetrag:\n"; echo "
".number_format($all+$mwst,2)."
\n"; echo "
     \n"; echo "
==============
\n"; echo "
    
"; echo "\n"; echo "\n"; die; } ?> Untitled Document
FRIEDEL's BAGS&CASES
Empfänger: Adressliste:
 
          
Rechnungsnummer: Datum:
> >
   
\n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " "; } } ?>
Art.NR Bezeichnung   Menge Einzelpreis
Betrag in Euro

\n"; echo " \n"; echo "   \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; $li4[$i]=$li3[$i]*$li2[$i]; echo " \n"; echo "
         

.        
Art.NR Bezeichnung   Menge Einzelpreis
    x
         
       
.        
Porto: