{if $v.type!='depending' && $v.type!='price' && $v.type!='radio_group' && $v.type!='checkbox_group' && in_array($v.type, $default_fields_types)}
{$v.name} |
{if $v.required==1}*{/if} |
{/if}
{if $v.type=="textbox" || $v.type=="url" || $v.type=="email"}
{if $v.prefix!=""} {$v.prefix} {/if}
{if $v.postfix!=""} {$v.postfix} {/if}
{/if}
{if $v.type=="file" || $v.type=="image"}
{if $v.prefix!=""} {$v.prefix} {/if}
{if $v.postfix!=""} {$v.postfix} {/if}
{if $v.type=="file" && $tmp[$v.caption]} {/if}
{if $v.type=="image" && $tmp[$v.caption]} {/if}
{/if}
{if $v.type=="textarea"}
{if $v.prefix!=""} {$v.prefix} {/if}
{if $v.postfix!=""} {$v.postfix} {/if}
{/if}
{if $v.type=="htmlarea"}
{if $v.prefix!=""} {$v.prefix} {/if}
{if $v.postfix!=""} {$v.postfix} {/if}
{/if}
{if $v.type=="menu"}
{if $v.prefix!=""} {$v.prefix} {/if}
{if $v.postfix!=""} {$v.postfix} {/if}
{if $v.other_val}
{if $tmp[$v.caption] && !in_array($tmp[$v.caption], $v.elements_array)}
{else}
{/if}
{/if}
{/if}
{if $v.type=="multiselect"}
{/if}
{if $v.type=="radio"}
{foreach from=$v.elements_array item=t}
{if $v.prefix!=""} {$v.prefix} {/if}
{$t}
{if $v.postfix!=""} {$v.postfix} {/if}
{/foreach}
{/if}
{if $v.type=="radio_group"}
|
{$v.name} |
|
{/if}
{if $v.type=="checkbox"}
{/if}
{if $v.type=="checkbox_group"}
{$v.name} |
|
{/if}
{if $v.type=="date" }
{include file="data/date.html"}
{if $v.prefix!=""} {$v.prefix} {/if}
{if $v.postfix!=""} {$v.postfix} {/if}
{/if}
{if $v.type=="youtube"}
{if $v.prefix!=""} {$v.prefix} {/if}
{if $v.postfix!=""} {$v.postfix} {/if}
{/if}
{if $v.type=="google_maps" }
{if $v.info_message}{$v.info_message}{/if}
{/if}
{if !in_array($v.type, $default_fields_types) && in_array($v.type, $modules_array)}
{$v.name} |
{if $v.required==1}*{/if} |
{if $v.info_message}{$v.info_message} {/if}
{include file="modules/`$v.type`/form.html"}
|
{/if}
{if $v.type!='depending' && $v.type!='price'}
{if $v.type=="checkbox_group" && $v.type=="radio_group" && $v.type=="google_maps" && in_array($v.type, $default_fields_types)}
{if $v.info_message}{$v.info_message}{/if}
{/if}
{elseif $v.type=='price' && $ads_settings.enable_price}
{$v.name} |
{if $v.required}*{/if} |
|
{elseif $v.type=='depending'}
{$v.depending.name1} |
{if $v.depending.required1==1}*{/if} |
{if $v.other_val}
{if $tmp[$v.depending.caption1] && !in_array($tmp[$v.depending.caption1], $v.depending.elements)}
{else}
{/if}
{/if}
{if $v.info_message}{$v.info_message}{/if}
|
{$v.depending.name2} |
{if $v.depending.required2==1}*{/if} |
{if $v.other_val}
{/if}
|
{if $v.depending.no>=3}
{$v.depending.name3} |
{if $v.depending.required3==1}*{/if} |
{if $v.other_val}
{/if}
|
{/if}
{if $v.depending.no==4}
{$v.depending.name4} |
{if $v.depending.required4==1}*{/if} |
{if $v.other_val}
{/if}
|
{/if}
{/if}