echo '<tr>
					<td></td>
					<td>
						<input type="hidden" value="' . $vorlageOE->vorlagestudiengang_id . '" name="vorlagestudiengang_id" />
						<input type="hidden" value="' . $oe_auswahl . '" name="oe_auswahl" />
						
						<input type="submit" name="speichern" value="' . $val . '">
					</td>
				</tr>
			</table>
		</form>';
}
echo '<hr>';
if ($vorlage_kurzbz != '' || $oe_kurzbz != '') {
    $vorlage_version = new vorlage();
    $vorlage_version->getAllVersions($vorlage_kurzbz, $oe_auswahl);
    $oe = new organisationseinheit();
    $vorlage = new vorlage();
    //echo '<span style="font-size: 9pt">Anzahl: '.$db->db_num_rows($vorlage_version->result).'</span>';
    echo '<table class="tablesorter" id="t1">
				<thead>
				<tr class="liste">
					<th>Vorlage</th>
					<th>Organisationseinheit</th>
					<th>Studiengang</th>
					<th>Version</th>
					<th>Anmerkung</th>
					<th>Aktiv</th>
					<th colspan="2"></th>
				</tr>
				</thead>