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

<?PHP 
$ggPicture="app3Pic".$gadgetDN;
$ggPictureX=$$ggPicture;
$ggAlt="app3Alt".$gadgetDN;
$ggAltX=$$ggAlt;
$ggLinktext="app3Linktext".$gadgetDN;
$ggLinktextX=$$ggLinktext;
$ggUrl="app3Url".$gadgetDN;
$ggUrlX=$$ggUrl;
$ggTarget="app3Target".$gadgetDN;
$ggTargetX=$$ggTarget;
$ggHeadline="app3Headline".$gadgetDN;
$ggHeadlineX=$$ggHeadline;
$ggText="app3Text".$gadgetDN;
$ggTextX=$$ggText;
$ggAlign="app3align".$gadgetDN;
$ggAlignX=$$ggAlign;
$ggColor="app3color".$gadgetDN;
$ggColorX=$$ggColor;

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'>".$gadetsinfo0c." ".$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-list3.inc.php");
echo "</select>
</div>
</td>
</tr>

<tr class='menu-out4'>
<td colspan='2'>
<div><span class='formtitle'>".$gadetsinfo0c." ".$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'>".$gadetsinfo0c." ".$gadgetDN.", ".$gadetsinfo3c."</span><span class='formsub'>[".$gadetsinfo0f1."]:</span></div>
<div class='form-container'>
<!--webbot bot='Validation' B-Value-Required='TRUE' I-Maximum-Length='50' -->
<input class='formfield1 effect-1' type='text' maxlength='50' 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'>".$gadetsinfo0c." ".$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 == ""){$ggTargetXx=$apptarget1;}else{$ggTargetXx=$apptarget2;}
echo "
<tr class='menu-out4'>
<td colspan='2'>
<div><span class='formtitle'>".$gadetsinfo0c." ".$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>

<tr class='menu-out4'>
<td colspan='2'>
<div><span class='formtitle'>".$gadetsinfo0c." ".$gadgetDN.", ".$gadetsinfo3f."</span><span class='formsub'>[".$gadetsinfo0f1."]:</span></div>
<div class='form-container'>
<!--webbot bot='Validation' B-Value-Required='TRUE' I-Maximum-Length='50' -->
<input class='formfield1 effect-1' type='text' maxlength='50' 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'>".$gadetsinfo0c." ".$gadgetDN.", ".$gadetsinfo3l.":</span></div>
<div class='form-container'>
<textarea id='$ggText' name='$ggText' class='texteditor-inner effect-1' wrap='virtual'>".$ggTextX."</textarea>
<span class='focus-border'></span>
</div>
</td>
</tr>
";

if($ggAlignX == "left"){$ggAlignXx=$gadetsinfo3i;}else{$ggAlignXx=$gadetsinfo3j;}
echo "
<tr class='menu-out4'>
<td colspan='2'>
<div><span class='formtitle'>".$gadetsinfo0c." ".$gadgetDN.", ".$gadetsinfo3g."</span><span class='formsub'>[".$gadetsinfo3h."]:</span></div>
<div class='form-container'>
<select name='$ggAlign' class='formfieldD'>
<option value='$ggAlignX' class='formfield1'>".$ggAlignXx."</option>";
include("./functions/dd-orientation4.inc.php");
echo "</select>
</div>
</td>
</tr>

<tr class='menu-out4'>
<td colspan='2'>
<div><span class='formtitle'>".$appimginfo4." ".$gadgetDN.", ".$gadetsinfo3k.":</span></div>
<div class='form-container'>
<!--webbot bot='Validation' B-Value-Required='TRUE' I-Maximum-Length='7' -->
<input class='formfield1 fd200 effect-1 color00' type='text' maxlength='7' id='$ggColor' name='$ggColor' value='$ggColorX'> 
<span class='focus-border fd200'></span>
</div>
</td>
</tr>
";
?>