<script src="functions/jscolor/jscolor.js"></script>

<?PHP 
$ggPicture="feature".$gadgetDN."Pic";
$ggPictureX=$$ggPicture;
$ggAlt="feature".$gadgetDN."Alt";
$ggAltX=$$ggAlt;
$ggLinktext="feature".$gadgetDN."Linktext";
$ggLinktextX=$$ggLinktext;
$ggUrl="feature".$gadgetDN."Url";
$ggUrlX=$$ggUrl;
$ggTarget="feature".$gadgetDN."Target";
$ggTargetX=$$ggTarget;
$ggHeadline="feature".$gadgetDN."Headline";
$ggHeadlineX=$$ggHeadline;
$ggText="feature".$gadgetDN."Text";
$ggTextX=$$ggText;

echo "
<tr class='tbX dpl1'>
<td colspan='2'><div class='dataline1'></div></td>
</tr>

<tr class='menu-out4'>
<td colspan='2'>
<div><span class='formtitle'>".$gadetsinfo0c2." ".$gadgetDN.", ".$gadetsinfo0d." </span><span class='formsub'>[".$gadetsinfo0e."]:</span></div>
<div class='form-container'>
<select name='$ggPicture' class='formfieldD'>
<option value='$ggPictureX' class='formfield1'>".$ggPictureX."</option>
<option value='' class='dd-empty'>".$emptyI."</option>";
include("./../".$SYSD."/".$filename2."-image-list4.inc.php");
echo "</select>
</div>
</td>
</tr>

<tr class='menu-out4'>
<td colspan='2'>
<div><span class='formtitle'>".$gadetsinfo0c2." ".$gadgetDN.", ".$gadetsinfo3b."</span><span class='formsub'>[".$gadetsinfo0f2."]:</span></div>
<div class='form-container'>
<!--webbot bot='Validation' B-Value-Required='TRUE' I-Maximum-Length='150' -->
<input class='formfield1 effect-1' type='text' maxlength='150' id='$ggAlt' name='$ggAlt' value='$ggAltX'> 
<span class='focus-border'></span>
</div>
</td>
</tr>

<tr class='menu-out4'>
<td colspan='2'>
<div><span class='formtitle'>".$gadetsinfo0c2." ".$gadgetDN.", ".$gadetsinfo3f."</span><span class='formsub'>[".$max30."]:</span></div>
<div class='form-container'>
<!--webbot bot='Validation' B-Value-Required='TRUE' I-Maximum-Length='30' -->
<input class='formfield1 effect-1' type='text' maxlength='30' id='$ggHeadline' name='$ggHeadline' value='$ggHeadlineX'> 
<span class='focus-border'></span>
</div>
</td>
</tr>

<tr class='menu-out4'>
<td colspan='2'>
<div><span class='formtitle'>".$gadetsinfo0c2." ".$gadgetDN.", ".$gadetsinfo3l.":</span><span class='formsub'>[".$max250."]:</span></div>
<div class='form-container'>
<textarea id='$ggText' name='$ggText' class='texteditor-inner effect-1' maxlength='250' wrap='virtual'>".$ggTextX."</textarea>
<span class='focus-border'></span>
</div>
</td>
</tr>

<tr class='menu-out4'>
<td colspan='2'>
<div><span class='formtitle'>".$gadetsinfo0c2." ".$gadgetDN.", ".$gadetsinfo3c."</span><span class='formsub'>[".$max30."]:</span></div>
<div class='form-container'>
<!--webbot bot='Validation' B-Value-Required='TRUE' I-Maximum-Length='30' -->
<input class='formfield1 effect-1' type='text' maxlength='30' id='$ggLinktext' name='$ggLinktext' value='$ggLinktextX'> 
<span class='focus-border'></span>
</div>
</td>
</tr>

<tr class='menu-out4'>
<td colspan='2'>
<div><span class='formtitle'>".$gadetsinfo0c2." ".$gadgetDN.", ".$gadetsinfo3d.":</span></div>
<div class='form-container'>
<input class='formfield1 effect-1' type='text' id='$ggUrl' name='$ggUrl' value='$ggUrlX'> 
<span class='focus-border'></span>
</div>
</td>
</tr>
";

if($ggTargetX == "_self"){$ggTargetXx=$apptarget1;}else{$ggTargetXx=$apptarget2;}
echo "
<tr class='menu-out4'>
<td colspan='2'>
<div><span class='formtitle'>".$gadetsinfo0c2." ".$gadgetDN.", ".$gadetsinfo3e.":</span></div>
<div class='form-container'>
<select name='$ggTarget' class='formfieldD'>
<option value='$ggTargetX' class='formfield1'>".$ggTargetXx."</option>";
include("./functions/dd-target.inc.php");
echo "</select>
</div>
</td>
</tr>
";
?>