<b>{--LANG=W=profile;wo_weblang--} :</b><br/>
<form method="post" action="">
<table width=100%>
<tr>
<td>{--LANG=W=profile;wo_lang--} :</td>
<td>
<select name="lang" ONCHANGE="xajax_updatecharset(this.value);">
{--ARRAY= $langs --}
<option value="$ARRAY_ENTRY_VAL" {--LOGIC= $ARRAY_ENTRY_VAL == %active_lang --}selected{--LOGIC-END--}>$ARRAY_ENTRY_VAL</option>
{--ARRAY-ELSE--}
<option value="">--LANG=W=profile;wo_nolang--}</option>
{--ARRAY-END--}
</select>
</td>
</tr>
<tr>
<td>{--LANG=W=profile;wo_charset--} :</td>
<td>
<span id="lang_charsets">
<select name="charset">
{--ARRAY= $charsets--}
<option value="$ARRAY_ENTRY_VAL" {--LOGIC= $ARRAY_ENTRY_VAL == %active_charset --}selected{--LOGIC-END--}>$ARRAY_ENTRY_VAL</option>
{--ARRAY-ELSE--}
<option value="">{--LANG=W=profile;wo_nocharset--}</option>
{--ARRAY-END--}
</select>
</span><br/>
</td>
</tr>
</table>
<input type=submit value="{--LANG=W=profile;wo_swaplang--}" />
</form>
<hr/>
<b>{--LANG=W=profile;wo_theme--} :</b><br/>
<form method="post" action="">
<table width=100%>
<tr>
<td>{--LANG=W=profile;wo_tpl --}:</td>
<td>
<select name="theme" onchange="xajax_swaptheme(this.value)">
{--ARRAY= $themes --}
<option value="$ARRAY_ENTRY_KEY" {--LOGIC= $ARRAY_ENTRY_KEY == %active_theme --}selected{--LOGIC-END--}>$ARRAY_ENTRY_VAL</option>
{--ARRAY-END--}
</select>
</td>
</tr>
<tr>
<td>{--LANG=W=profile;wo_img --} :</td>
<td>
<span id="theme_imgvar">
<select name="img_$active_theme" onchange="xajax_swapthmvariant('img', this.value)">
{--ARRAY= $imgvariant --}
<option value="$ARRAY_ENTRY_KEY" {--LOGIC= $ARRAY_ENTRY_KEY == %active_img --}selected{--LOGIC-END--}>$name</option>
{--ARRAY-ELSE--}
<option value="0" selected>Default image set</option>
{--ARRAY-END--}
</select>
{--LOGIC= $use_custum_img istrue --}
{--LOGIC= $active_img == custum --}
<input type=text name="custum_img_$active_theme" value="$custum_img" />
{--LOGIC-END--}
{--LOGIC-END--}
</span>
</td>
</tr>
<tr>
<td>{--LANG=W=profile;wo_css --} :</td>
<td>
<span id="theme_cssvar">
<select name="css_$active_theme" onchange="xajax_swapthmvariant('css', this.value)">
{--ARRAY= $cssvariant --}
<option value="$ARRAY_ENTRY_KEY" {--LOGIC= $ARRAY_ENTRY_KEY == %active_css --}selected{--LOGIC-END--}>$name</option>
{--ARRAY-END--}
</select>
{--LOGIC= $use_custum_css istrue --}
{--LOGIC= $active_css == custum --}
<input type=text name="custum_css_$active_theme" value="$custum_css"/>
{--LOGIC-END--}
{--LOGIC-END--}
</span>
</td>
</tr>
</table>
<input type=submit value="{--LANG=W=profile;wo_swaptheme--}" />
</form>