• Jetzt anmelden. Es dauert nur 2 Minuten und ist kostenlos!

Inserat aufgeben ohne Bild eintrag

Sunkal

Neues Mitglied
Hallo Jungs und Mädels, habe ein Script das eigentlich ganz gut funzt, leider muss ich jedoch bei einem Inserat ein Bild eingegen.
Ist es möglich es so zu gestaltten dass ich auch ein Inserat ohne Bild erstellen kann???
Anbei der Script code...er kann helfen......
--------------------------------------------------------------------------------------------
<div style="float:left; clear:both; padding-bottom:15px;">
<div style="float:left; width:120px; padding-top:4px;"><b>Telefonnummer</b></div>
<div style="float:left;"><input type="text" name="telefon" style="border:1px solid #ccc; padding:3px; font-family:tahoma; width:290px;"></div>
</div>
</div>
<div style="float:left; padding:20px; font-size:16px; padding-bottom:10px; padding-top:0; color:#9bcd32;">
<div style="float:left; width:625px; border-bottom:1px solid #ccc; padding-bottom:5px;">
<b>Zusätzliche Angaben</b>
</div>
</div>
<div style="float:left; clear:both; padding:12px; padding-top:5px; padding-left:20px;">
<div style="float:left; clear:both; padding-bottom:0px;">
<div style="float:left; width:120px; padding-top:4px;"><b>Bild</b></div>
<div style="float:left;"><input type="file" name="file"></div>
</div>
</div>
<div style="float:left; clear:both; padding:12px; padding-top:5px; padding-left:20px;">
<div style="float:left; clear:both; padding-bottom:0px;">
<div style="float:left; width:120px; padding-top:4px;"><b>Bild 2</b></div>
<div style="float:left;"><input type="file" name="file1"></div>
</div>
</div>
<div style="float:left; clear:both; padding:12px; padding-top:5px; padding-left:20px;">
<div style="float:left; clear:both; padding-bottom:0px;">
<div style="float:left; width:120px; padding-top:4px;"><b>Bild 3</b></div>
<div style="float:left;"><input type="file" name="file2"></div>
</div>
</div>
<div style="float:left; clear:both; padding:12px; padding-top:5px; padding-left:20px;">
<div style="float:left; clear:both; padding-bottom:0px;">
<div style="float:left; width:120px; padding-top:4px;"><b>Bild 4</b></div>
<div style="float:left;"><input type="file" name="file3"></div>
</div>
</div>
<div style="float:left; clear:both; padding:12px; padding-top:5px; padding-left:20px;">
<div style="float:left; clear:both; padding-bottom:0px;">
<div style="float:left; width:120px; padding-top:4px;"><b>Bild 5</b></div>
<div style="float:left;"><input type="file" name="file4"></div>
</div>
</div>
<div style="float:left; clear:both; padding:12px; padding-top:5px; padding-left:20px;">
<div style="float:left; clear:both; padding-bottom:15px;">
<div style="float:left; width:120px; padding-top:4px;"><b>Bild 6</b></div>
<div style="float:left;"><input type="file" name="file5"></div>
</div>
</div>
<div style="float:left; padding:20px; font-size:16px; padding-bottom:10px; padding-top:0; color:#9bcd32;">
<div style="float:left; width:625px; border-bottom:1px solid #ccc; padding-bottom:5px;">
<b>Beschreibung</b>
</div>
</div>
<div style="float:left; clear:both; padding:12px; padding-top:5px; padding-left:20px;">
<div style="float:left; clear:both; padding-bottom:15px;">
<div style="float:left; width:120px; padding-top:4px;"><b>Anzeigetext<font style="color:#9bcd32;">*</font></b></div>
<div style="float:left;"><textarea name="beschreibung" style="border:1px solid #ccc; font-family:arial; font-size:12px; padding:5px; width:400px; height:110px;"></textarea></div>
</div>
</div>
<div style="float:left; padding:20px; font-size:16px; padding-bottom:10px; padding-top:0; color:#9bcd32;">
<div style="float:left; width:625px; border-bottom:1px solid #ccc; padding-bottom:5px;">
<b>Veröffentlichen Sie Ihre Anzeige</b>
</div>
</div>
 
Werbung:
Meinst du das so, dass man die 6 Möglichkeiten hat ein Bild hinzuzufügen aber nicht zwingend muss? Oder dass es die 6 <input type="file"> gar nicht hat?
Und wertest du die Daten dann mit PHP aus?
 
Hallo Sunnyboy..Hat sich erledigt da ich heute ein Update bekommen habe..Trotzdem Danke dass du geschrieben hast.....
 
Werbung:
Zurück
Oben