$result2 = mysql_query("SELECT * FROM {$table4} WHERE kat_id =  '{$kat_id}'");
$kategorie = mysql_result($result2, isset($i2), 'kategorie');
$parent = mysql_result($result2, isset($i2), 'parent');
?>

<div class="page">

	<p id="kopf">pic2base :: Kategoriezuweisung aufheben <span class='klein'>(User: <?php 
echo $c_username;
?>
)</span></p>
	
	<div class="navi" style="clear:right;">
		<div class="menucontainer">
		<?php 
createNavi3_1($c_username);
//echo $navigation;
?>
		</div>
	</div>
	
	<div class="content">
	<p class="zwoelfred" style="margin:120px 0px; text-align:center">Wollen Sie wirklich die Kategoriezuweisung<BR> "<?php 
echo $kategorie;
?>
" <BR>f&uuml;r das gew&auml;hlte Bild aufheben?<BR><BR>
	Wenn Sie mit 'JA' fortfahren, werden gleichzeitig<BR>alle Unterkategorie-Zuweisungen mit aufgehoben!<BR><BR>
	<?php 
echo "\n\t<INPUT type='button' value='JA' onClick='location.href=\"del_kat_action.php?kat_id={$kat_id}&pic_id={$pic_id}&parent={$parent}\"'>\n\t&#160;&#160;\n\t<INPUT type='button' value='Nein' onClick='location.href=\"edit_remove_kat.php?pic_id=0&mod=kat&kat_id={$parent}\"'></p>\n\t</div>\n\t<br style='clear:both;' />\n\n\t<p id='fuss'><A style='margin-right:745px;' HREF='http://www.pic2base.de' target='blank'>www.pic2base.de</A>" . $cr . "</p>\n\n</div>";
mysql_close($conn);
?>
    $art = $_GET['art'];
} else {
    if (!isset($art)) {
        $art = '';
    }
}
if (array_key_exists('ID', $_REQUEST)) {
    $ID = $_REQUEST['ID'];
} else {
    if (!isset($ID)) {
        $ID = '';
    }
}
echo "<BODY onLoad=\"getKatTreeview({$kat_id},'0','kat','0','edit','edit_beschreibung')\">\n<CENTER>\n<DIV Class='klein'>";
echo "\n<div class='page' id='page'>\n\t<FORM name='desc-zuweisung', method='post' action='edit_desc_daten_action2.php?ID={$ID}&art={$art}'>\n\t<div class='head' id='head'>\n\t\tpic2base :: Datensatz-Bearbeitung (Beschreibung bearbeiten) <span class='klein'>(User: {$username})</span>\n\t</div>\n\t\t\n\t<div class='navi' id='navi'>\n\t\t<div class='menucontainer'>";
createNavi3_1($uid);
echo "<INPUT type='submit' class='button3' id='button3' value='Speichern'>\n\t\t\t<INPUT type='button' class='button3a' id='button3a' value='Abbrechen' OnClick='location.href=\"edit_start.php\"'>\n\t\t</div>\n\t</div>\n\t\n\t<div id='spalte1F'>\n\t\t<center>\n\t\t\t<fieldset  style='background-color:none; margin-top:10px;'>\n\t\t\t<legend style='color:blue; font-weight:bold;'>Bildauswahl nach Kategorien</legend>\n\t\t\t\t<div id='scrollbox0' style='overflow-y:scroll;'>";
$ziel = '../../html/edit/edit_beschreibung.php';
$modus = 'edit';
$mod = 'kat';
$base_file = 'edit_beschreibung';
echo "\n\t\t\t\t</div>\n\t\t\t</fieldset>\n\t\t</center>\n\t</div>\n\t\n\t<div id='spalte2F'>\n\t\t<fieldset id='fieldset_spalte2' style='background-color:none; margin-top:10px;'>\n\t\t\t<legend style='color:blue; font-weight:bold;'>F&uuml;ge Beschreibungstext den ausgew&auml;hlten Bildern zu</legend>\n\t\t\t<br /><u>Hinweis:</u><br /><br />\n\t\t\tDer hier eingetragene Text wird den vorhandenen Beschreibungen der ausgew&auml;hlten Bildern hinzugef&uuml;gt.<BR><BR>\n\t\t\t<textarea name='description' id='desc_textarea2' wordwrap style='background-color:#DFEFFf;'></textarea>\n\t\t</fieldset>\n\t</div>\n\t\n\t<div id='filmstreifen'>";
$modus = 'edit';
$mod = 'kat';
echo "\n\t</div>\n\n\t<div class='foot' id='foot'>\n\t\t<A style='position:relative; top:8px; left:10px; font-size:10px; color:#eeeeee;' HREF='http://www.pic2base.de' target='blank'>www.pic2base.de</A>\n\t</div>\n\t\n</div>\n</FORM>\n\n<div id='blend' style='display:none; z-index:99;'>\n\t<IMG src='../../share/images/grey.png' style='z-index:100; position:absolute; top:0px; left:0px; width:100%; height:99%;' />\n\t<img src=\"../../share/images/loading.gif\" style='position:absolute; top:200px; width:20px; z-index:101;' />\n</div>";
mysql_close($conn);
?>
</DIV>
</CENTER>
</BODY>
</HTML>