<?PHP 
$pictureP="picture".$picDX;
$picturePx=$$pictureP;
$pictureK="picture".$picDX."k";
$pictureKx=$$pictureK;
$pictureA="picAlt".$picDX;
$pictureAx=$$pictureA;
$pictureL="pic".$picDX."L";
$pictureLx=$$pictureL;
$pictureV="pic".$picDX."V";
$pictureVx=$$pictureV;
$pictureC="pic".$picDX."C";
$pictureCx=$$pictureC;
$pictureS="pic".$picDX."S";
$pictureSx=$$pictureS;
$pictureB1="pic".$picDX."B1";
$pictureB1x=$$pictureB1;
$pictureB2="pic".$picDX."B2";
$pictureB2x=$$pictureB2;
$pictureB3="pic".$picDX."B3";
$pictureB3x=$$pictureB3;
$pictureB4="pic".$picDX."B4";
$pictureB4x=$$pictureB4;
$pictureB5="pic".$picDX."B5";
$pictureB5x=$$pictureB5;
$pictureB6="pic".$picDX."B6";
$pictureB6x=$$pictureB6;
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'>".$appimginfo4." ".$picDN.", ".$appimginfo4b."</span><span class='formsub'>[".$appimginfo4a."]:</span></div>
<div class='form-container'>
<select name='$pictureK' class='formfieldD'>
<option value='$pictureKx' class='formfield1'>".$pictureKx."</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'>".$appimginfo4." ".$picDN.", ".$appimginfo4c."</span><span class='formsub'>[".$appimginfo4a."]:</span></div>
<div class='form-container'>
<select name='$pictureP' class='formfieldD'>
<option value='$picturePx' class='formfield1'>".$picturePx."</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'>".$appimginfo4." ".$picDN.", ".$appimginfo7."</span><span class='formsub'>[".$appimginfo7a."]:</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='$pictureC' name='$pictureC' value='$pictureCx'> 
<span class='focus-border'></span>
</div>
</td>
</tr>

<tr class='menu-out4'>
<td colspan='2'>
<div><span class='formtitle'>".$appimginfo4." ".$picDN.", ".$appimginfo6."</span><span class='formsub'>[".$appimginfo6b."]:</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='$pictureA' name='$pictureA' value='$pictureAx'> 
<span class='focus-border'></span>
</div>
</td>
</tr>

<tr class='menu-out4'>
<td colspan='2'>
<div><span class='formtitle'>".$appimginfo4." ".$picDN.", ".$appimginfo8.":</span></div>
<div class='form-container'>
<input class='formfield1 effect-1' type='text' id='$pictureL' name='$pictureL' value='$pictureLx'> 
<span class='focus-border'></span>
</div>
</td>
</tr>
";

if($pictureVx == "_self"){$pictureVxx=$apptarget1;}else{$pictureVxx=$apptarget2;}
echo "
<tr class='menu-out4'>
<td colspan='2'>
<div><span class='formtitle'>".$appimginfo8b." ".$picDN.":</span></div>
<div class='form-container'>
<select name='$pictureV' class='formfieldD'>
<option value='$pictureVx' class='formfield1'>".$pictureVxx."</option>";
include("./functions/dd-target.inc.php");
echo "</select>
</div>
</td>
</tr>

<tr class='menu-out4'>
<td colspan='2'>
<div><span class='formtitle'>".$appimginfo4." ".$picDN.", ".$appimginfo9."</span><span class='formsub'>[".$appimginfo9a."]:</span></div>
";
if($pictureB1x == "on"){$checked1="checked";}else{$checked1="";}
echo "
<div class='ftL margin-r10'><span class='font12'>".$cat1."&nbsp;</span>
<div class='onoffswitch2'>
<input type='checkbox' class='onoffswitch2-checkbox' name='$pictureB1' id='$pictureB1' value='on' $checked1>
<label class='onoffswitch2-label' for='$pictureB1'>
<span class='onoffswitch2-inner'></span>
<span class='onoffswitch2-switch'></span>
</label>
</div>
</div>
";

if($pictureB2x == "on"){$checked1="checked";}else{$checked1="";}
echo "
<div class='ftL margin-r10'><span class='font12'>".$cat2."&nbsp;</span>
<div class='onoffswitch2'>
<input type='checkbox' class='onoffswitch2-checkbox' name='$pictureB2' id='$pictureB2' value='on' $checked1>
<label class='onoffswitch2-label' for='$pictureB2'>
<span class='onoffswitch2-inner'></span>
<span class='onoffswitch2-switch'></span>
</label>
</div>
</div>
";

if($pictureB3x == "on"){$checked1="checked";}else{$checked1="";}
echo "
<div class='ftL margin-r10'><span class='font12'>".$cat3."&nbsp;</span>
<div class='onoffswitch2'>
<input type='checkbox' class='onoffswitch2-checkbox' name='$pictureB3' id='$pictureB3' value='on' $checked1>
<label class='onoffswitch2-label' for='$pictureB3'>
<span class='onoffswitch2-inner'></span>
<span class='onoffswitch2-switch'></span>
</label>
</div>
</div>
";

if($pictureB4x == "on"){$checked1="checked";}else{$checked1="";}
echo "
<div class='ftL margin-r10'><span class='font12'>".$cat4."&nbsp;</span>
<div class='onoffswitch2'>
<input type='checkbox' class='onoffswitch2-checkbox' name='$pictureB4' id='$pictureB4' value='on' $checked1>
<label class='onoffswitch2-label' for='$pictureB4'>
<span class='onoffswitch2-inner'></span>
<span class='onoffswitch2-switch'></span>
</label>
</div>
</div>
";

if($pictureB5x == "on"){$checked1="checked";}else{$checked1="";}
echo "
<div class='ftL margin-r10'><span class='font12'>".$cat5."&nbsp;</span>
<div class='onoffswitch2'>
<input type='checkbox' class='onoffswitch2-checkbox' name='$pictureB5' id='$pictureB5' value='on' $checked1>
<label class='onoffswitch2-label' for='$pictureB5'>
<span class='onoffswitch2-inner'></span>
<span class='onoffswitch2-switch'></span>
</label>
</div>
</div>
";

if($pictureB6x == "on"){$checked1="checked";}else{$checked1="";}
echo "
<div class='ftL margin-r10'><span class='font12'>".$cat6."&nbsp;</span>
<div class='onoffswitch2'>
<input type='checkbox' class='onoffswitch2-checkbox' name='$pictureB6' id='$pictureB6' value='on' $checked1>
<label class='onoffswitch2-label' for='$pictureB6'>
<span class='onoffswitch2-inner'></span>
<span class='onoffswitch2-switch'></span>
</label>
</div>
</div>
";
?>