<?php
require_once 'htmlpurifier-4.10.0/library/HTMLPurifier.auto.php';

$config = HTMLPurifier_Config::createDefault();
$purifier = new HTMLPurifier($config);

$inhalt_fin = '<div align="justify"><p class="MsoNormal"><strong style="mso-bidi-font-weight:normal">Verantwortliche Schwerpunktthema:<br />
</strong><strong style="mso-bidi-font-weight:normal"><span style="font-size:10.0pt;
mso-bidi-font-size:12.0pt"><br />
</span><br />
</strong>Professor&nbsp; M. Alber, Professor Dr. Neeser</p>
<p>&nbsp;</p>
<br />
<br />
<br />
Allgemeiner Hinweis:<br />
TEILNAHMEPFLICHT<br />
Die Studierenden <strong>müssen</strong>&nbsp;&nbsp; <strong>z w e i</strong>&nbsp;&nbsp; Themen &agrave; 30 Stunden bearbeiten. Die Anmeldung erfolgt über das Anmeldesystem (wie bei Wahlpflichtfach und Bachelorarbeit).<br />
Für die Schwerpunktthemen gibt es nur&nbsp;&nbsp; <strong>e i n e</strong>&nbsp;&nbsp; Gesamtnote, die mit 2,5 % in die Prüfungsgesamtnote eingeht. Die Durchschnittsnote ergibt aufgerundet die Gesamtnote.<br />
<br />
<table style="border-collapse:collapse;mso-table-layout-alt:fixed;border:none;
    mso-border-alt:solid windowtext .5pt;mso-yfti-tbllook:480;mso-padding-alt:
    2.85pt 1.4pt 2.85pt 1.4pt;mso-border-insideh:.5pt dotted windowtext;
    mso-border-insidev:.5pt dotted windowtext" class="MsoNormalTable" cellspacing="0" cellpadding="0" border="1">
    <thead>
        <tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;page-break-inside:avoid;
            height:16.5pt">
            <td style="width:455.0pt;border:solid windowtext 1.0pt;
            mso-border-alt:solid windowtext .5pt;background:#D9D9D9;padding:2.85pt 1.4pt 2.85pt 1.4pt;
            height:16.5pt" rowspan="3" colspan="2" width="607">
            <p style="text-align:center" class="MsoNormal" align="center"><strong style="mso-bidi-font-weight:normal"><span style="font-size:14.0pt">Stoffgliederungsplan</span></strong></p>
            </td>
            <td style="height:16.5pt;border:none" width="0" height="22">&nbsp;</td>
        </tr>
        <tr style="mso-yfti-irow:1;page-break-inside:avoid;height:16.1pt">
            <td style="height:16.1pt;border:none" width="0" height="21">&nbsp;</td>
        </tr>
        <tr style="mso-yfti-irow:2;page-break-inside:avoid;height:16.1pt">
            <td style="height:16.1pt;border:none" width="0" height="21">&nbsp;</td>
        </tr>
    </thead>
    <tbody>
        <tr style="mso-yfti-irow:3;page-break-inside:avoid;height:15.35pt">
            <td style="width:34.85pt;border-top:none;border-left:
            solid windowtext 1.0pt;border-bottom:dotted windowtext 1.0pt;border-right:
            dotted windowtext 1.0pt;mso-border-top-alt:dotted windowtext .5pt;mso-border-alt:
            dotted windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;padding:
            2.85pt 1.4pt 2.85pt 1.4pt;height:15.35pt" width="46" valign="top">
            <p class="MsoNormal">1</p>
            </td>
            <td style="width:420.15pt;border-top:none;border-left:
            none;border-bottom:dotted windowtext 1.0pt;border-right:solid windowtext 1.0pt;
            mso-border-top-alt:dotted windowtext .5pt;mso-border-left-alt:dotted windowtext .5pt;
            mso-border-alt:dotted windowtext .5pt;mso-border-right-alt:solid windowtext .5pt;
            padding:2.85pt 1.4pt 2.85pt 1.4pt;height:15.35pt" width="560" valign="top">
            <p class="MsoNormal">Begriff &bdquo;Organschaft&ldquo;</p>
            </td>
            <td style="height:15.35pt;border:none" width="0" height="20">&nbsp;</td>
        </tr>
        <tr style="mso-yfti-irow:4;page-break-inside:avoid;height:15.35pt">
            <td style="width:34.85pt;border-top:none;border-left:
            solid windowtext 1.0pt;border-bottom:dotted windowtext 1.0pt;border-right:
            dotted windowtext 1.0pt;mso-border-top-alt:dotted windowtext .5pt;mso-border-alt:
            dotted windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;padding:
            2.85pt 1.4pt 2.85pt 1.4pt;height:15.35pt" width="46" valign="top">
            <p class="MsoNormal">2</p>
            </td>
            <td style="width:420.15pt;border-top:none;border-left:
            none;border-bottom:dotted windowtext 1.0pt;border-right:solid windowtext 1.0pt;
            mso-border-top-alt:dotted windowtext .5pt;mso-border-left-alt:dotted windowtext .5pt;
            mso-border-alt:dotted windowtext .5pt;mso-border-right-alt:solid windowtext .5pt;
            padding:2.85pt 1.4pt 2.85pt 1.4pt;height:15.35pt" width="560" valign="top">
            <p class="MsoNormal">Wirtschaftliche Bedeutung</p>
            </td>
            <td style="height:15.35pt;border:none" width="0" height="20">&nbsp;</td>
        </tr>
        <tr style="mso-yfti-irow:5;page-break-inside:avoid;height:15.35pt">
            <td style="width:34.85pt;border-top:none;border-left:
            solid windowtext 1.0pt;border-bottom:dotted windowtext 1.0pt;border-right:
            dotted windowtext 1.0pt;mso-border-top-alt:dotted windowtext .5pt;mso-border-alt:
            dotted windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;padding:
            2.85pt 1.4pt 2.85pt 1.4pt;height:15.35pt" width="46" valign="top">
            <p class="MsoNormal">3</p>
            </td>
            <td style="width:420.15pt;border-top:none;border-left:
            none;border-bottom:dotted windowtext 1.0pt;border-right:solid windowtext 1.0pt;
            mso-border-top-alt:dotted windowtext .5pt;mso-border-left-alt:dotted windowtext .5pt;
            mso-border-alt:dotted windowtext .5pt;mso-border-right-alt:solid windowtext .5pt;
            padding:2.85pt 1.4pt 2.85pt 1.4pt;height:15.35pt" width="560" valign="top">
            <p class="MsoNormal">Materiell-rechtliche Voraussetzungen</p>
            </td>
            <td style="height:15.35pt;border:none" width="0" height="20">&nbsp;</td>
        </tr>
        <tr style="mso-yfti-irow:6;page-break-inside:avoid;height:15.35pt">
            <td style="width:34.85pt;border-top:none;border-left:
            solid windowtext 1.0pt;border-bottom:dotted windowtext 1.0pt;border-right:
            dotted windowtext 1.0pt;mso-border-top-alt:dotted windowtext .5pt;mso-border-alt:
            dotted windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;padding:
            2.85pt 1.4pt 2.85pt 1.4pt;height:15.35pt" width="46" valign="top">
            <p class="MsoNormal">4</p>
            </td>
            <td style="width:420.15pt;border-top:none;border-left:
            none;border-bottom:dotted windowtext 1.0pt;border-right:solid windowtext 1.0pt;
            mso-border-top-alt:dotted windowtext .5pt;mso-border-left-alt:dotted windowtext .5pt;
            mso-border-alt:dotted windowtext .5pt;mso-border-right-alt:solid windowtext .5pt;
            padding:2.85pt 1.4pt 2.85pt 1.4pt;height:15.35pt" width="560" valign="top">
            <p class="MsoNormal">Konsequenzen für die materiell-rechtliche Besteuerung</p>
            </td>
            <td style="height:15.35pt;border:none" width="0" height="20">&nbsp;</td>
        </tr>
        <tr style="mso-yfti-irow:7;mso-yfti-lastrow:yes;page-break-inside:avoid;
            height:15.35pt">
            <td style="width:34.85pt;border-top:none;border-left:
            solid windowtext 1.0pt;border-bottom:solid windowtext 1.0pt;border-right:
            dotted windowtext 1.0pt;mso-border-top-alt:dotted windowtext .5pt;mso-border-top-alt:
            dotted;mso-border-left-alt:solid;mso-border-bottom-alt:solid;mso-border-right-alt:
            dotted;mso-border-color-alt:windowtext;mso-border-width-alt:.5pt;padding:
            2.85pt 1.4pt 2.85pt 1.4pt;height:15.35pt" width="46" valign="top">
            <p class="MsoNormal">5</p>
            </td>
            <td style="width:420.15pt;border-top:none;border-left:
            none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
            mso-border-top-alt:dotted windowtext .5pt;mso-border-left-alt:dotted windowtext .5pt;
            mso-border-top-alt:dotted;mso-border-left-alt:dotted;mso-border-bottom-alt:
            solid;mso-border-right-alt:solid;mso-border-color-alt:windowtext;mso-border-width-alt:
            .5pt;padding:2.85pt 1.4pt 2.85pt 1.4pt;height:15.35pt" width="560" valign="top">
            <p class="MsoNormal">Konsequenzen für das formelle Besteuerungsverfahren</p>
            </td>
            <td style="height:15.35pt;border:none" width="0" height="20">&nbsp;</td>
        </tr>
    </tbody>
</table>
<p class="MsoNormal">&nbsp;</p></div></pre>';
     $inhalt_fin = strip_tags($inhalt_fin, '<br>, <p>, <b>, <strong>, <table>, <tr>, <td>');

$inhalt_fin = $purifier->purify($inhalt_fin);     


    require_once(dirname(__FILE__).'/html2pdf_v4.03/html2pdf.class.php');
    $inhalt_fin = '<page backtop="0mm" backbottom="10mm" style="font-size: 11pt" style="font-family: freeserif">'.nl2br($inhalt_fin).'</page>';
#echo $inhalt_fin;
#exit;
    try
    {
  
#/*
        // seitenränder (in mm)
	$oben=15;    //mT
	$unten=15;   //mB
	$links=15;   //mL
	$rechts=15;  //mR
#        $html2pdf = new HTML2PDF('P', 'A4', 'de');
        $html2pdf = new HTML2PDF('P', 'A4', 'de', true, 'UTF-8', array($links, $oben, $rechts, $unten));
        $html2pdf->pdf->SetDisplayMode('real');
#        $html2pdf->setDefaultFont('arialunicid0'); //add this line
#       $html2pdf->setModeDebug();
#        $html2pdf->setDefaultFont('Arial');
        $html2pdf->writeHTML($inhalt_fin, isset($_GET['vuehtml']));
        $html2pdf->Output("LG_$lid.pdf",'D');
#*/
    }
    catch(HTML2PDF_exception $e) {
        echo $e;
        exit;
    }

?>
