Blame | Letzte Änderung | Log anzeigen | RSS feed
<?for($bild_nr=1; $bild_nr <=5; $bild_nr++){$Feld="Bild$bild_nr";if (isset($user_rechte[modul_name][tool_name][$Feld])){?><tr><td class=links><?$Felddaten = explode(";", $web_rechte[modul_name][tool_name][$Feld]);if (!empty($Felddaten[0])) {echo $Felddaten[0];}else {?>Bild<? echo $bild_nr; ?><?}?></td><td class=rechts><table border="0" width="100%" cellspacing="0" cellpadding="0"><tr><td nowrap colspan="2"><?$image_name="bild_url";if ($bild_nr > 1) {$image_name=$image_name.$bild_nr;}$image_Path="/images/directory/".$bild_nr."/";$image_Path=$webs[verzeichnis].$image_Path;if ($Language_neueintrag){?><input type="hidden" name="<? echo $image_name ?>" value="<? echo $zeile[$image_name] ?>"><?}?><input type="hidden" name="<? echo $image_name ?>_Pfad" value="<? echo $image_Path ?>"><?if ($zeile[$image_name] != ""){?><input type="radio" name="_<? echo $image_name ?>" value="0" checked><a href="http://www.<? echo $site."/images/directory/".$bild_nr."/".$zeile[$image_name] ?>" target="blank"><? echo $zeile[$image_name]; ?></a><?if (file_exists($image_Path.$zeile[$image_name])){$size= filesize ($image_Path.$zeile[$image_name]) >> 10;$imgsize = GetImageSize ($image_Path.$zeile[$image_name]);echo " ( $size KB";if ($imgsize) { echo " $imgsize[0]x$imgsize[1]"; }echo " )<BR>";} else { echo "<br>";}}?><input type="radio" name="_<? echo $image_name ?>" value="1" <? if ($zeile[$image_name] == "") {echo "checked";}?>>kein<? if (substr($Felddaten[0],0,4) == "Doku"){ ?>Dokument<? }else{ ?>Bild<? } ?><br><input type="radio" name="_<? echo $image_name ?>" value="2"><input type="File" name="<? echo $image_name ?>" size="17" maxlength="255" onFocus="this.form._<? echo $image_name ?>[<? if ($zeile[$image_name] != "") {echo "2";} else {echo "1";} ?>].checked=true;"></td><td width="45%" nowrap align="center"> <? if (substr($Felddaten[0],0,4) <> "Doku"){if ($zeile[$image_name] != ""){ ?><a href="http://www.<? echo $site."/images/directory/".$bild_nr."/".$zeile[$image_name] ?>" target="blank"><img height="60" src="http://www.<? echo $site."/images/directory/".$bild_nr."/".$zeile[$image_name] ?>" border="0"></a><? }} ?> </td></tr></table><?if ((isset($user_rechte[modul_name][tool_name]["bild".$bild_nr."_text"])) and (isset($user_rechte[modul_name][tool_name]["bild_pos".$bild_nr]))){?><hr width="100%"><?}?><table border="0" width="50%" cellspacing="0" cellpadding="0"><?if (isset($user_rechte[modul_name][tool_name]["bild".$bild_nr."_text"])){?><tr><td width="27%" nowrap>Unterschrift:</td><td width="28%" nowrap><input type="text" name="bildunterschrift_<? echo $bild_nr ?>" value="<? echo $zeile["bildunterschrift_".$bild_nr] ?>"></td></tr><?}if (isset($user_rechte[modul_name][tool_name]["bild_pos".$bild_nr])){?><tr><td width="27%" nowrap>Position:</td><td width="28%" nowrap><select name="bild_position_<? echo $bild_nr ?>"><option value="0"<? if ($zeile["bild_position_".$bild_nr] == 0) {echo " selected";}?>>links</option><option value="1"<? if ($zeile["bild_position_".$bild_nr] == 1) {echo " selected";}?>>rechts</option></select></td></tr><?}?></table></td></tr><?}}?>