File Manager

Current Path : /webspace/www.babilon.be/html/modules/FormBuilder/templates/
Upload File :
Current File : //webspace/www.babilon.be/html/modules/FormBuilder/templates/RenderFormCSS.tpl

{* SIMPLE CSS Form *}
<div{if $css_class != ''} class="{$css_class}"{/if}>
{if $total_pages gt 1}<span>{$title_page_x_of_y}</span>{/if}
{foreach from=$fields item=entry}
	{if $entry->display == 1}
		{strip}
		{if $entry->needs_div == 1}
		<div
			{if $entry->required == 1 || $entry->css_class != '' || $entry->valid == 0} class="
				{if $entry->required == 1}
					required
				{/if}
				{if $entry->required == 1 && $entry->css_class != ''} {/if}
				{if $entry->css_class != ''}
					{$entry->css_class}
				{/if}
				{if $entry->valid == 0}
					fb_invalid
				{/if}
				"
			{/if}
		>
		{/if}
		{if $entry->hide_name == 0}
		<label{if $entry->multiple_parts != 1} for="{$entry->input_id}"{/if}>{$entry->name}
			{if $entry->required_symbol != ''}
				{$entry->required_symbol}
			{/if}
		</label>
		{/if}
		{if $entry->multiple_parts == 1}
			{section name=numloop loop=$entry->input}
				{if $entry->label_parts == 1}
					<div>{$entry->input[numloop]->input}&nbsp;{$entry->input[numloop]->name}</div>
				{else}
					{$entry->input[numloop]->input}
				{/if}
				{if $entry->input[numloop]->op}{$entry->input[numloop]->op}{/if}
			{/section}
		{else}
			{if $entry->smarty_eval == '1'}{eval var=$entry->input}{else}{$entry->input}{/if}
		{/if}
		{if $entry->valid == 0} &lt;--- {$entry->error}{/if}
		{if $entry->needs_div == 1}
			</div>
		{/if}
		{/strip}
	{/if}
{/foreach}
{if isset($has_captcha) && $has_captcha == 1}
	<div class="captcha">{$graphic_captcha}{$title_captcha}<br />{$input_captcha}</div>
{/if}
	<div class="submit">{$prev}{$submit}</div>
</div>

File Manager Version 1.0, Coded By Lucas
Email: hehe@yahoo.com