{include file="header.html"} {include file="data/fancybox.html"}
| {$lng.listings.crt_value} | {$lng.listings.new_value} | |
|---|---|---|
| {$lng.listings.title} | {$listing_array.title} | {$pending_edited_array.title} |
| {$lng.listings.description} | {$listing_array.description} | {$pending_edited_array.description} |
| {$v.name} | {* current value *}
{if $v.prefix && isset($listing_array[$v.caption]) && $listing_array[$v.caption]}{$v.prefix}{/if}
{if $v.type=="price"}
{if in_array("price_extra", $modules_array) && isset($pe_settings[$fieldset])}
{include file="modules/price_extra/price_tag.html" values_array=$listing_array}
{elseif isset($listing_array.price_curr) && $listing_array.price>0}
{$listing_array.price_curr}
{/if}
{elseif $v.type=="checkbox_group" || $v.type=="multiselect"}
{if isset($listing_array[$v.caption])}
{foreach name=multi from = $listing_array[$v.caption] item=x}
{if $smarty.foreach.multi.index!=0}, {/if}{$x}
{/foreach}
{/if}
{elseif $v.type=="youtube" && isset($listing_array[$v.caption]) && $listing_array[$v.caption]}
{$listing_array[$v.caption]|regex_replace:'/ width="[0-9]+"/':" width='200'"|regex_replace:'/ height="[0-9]+"/':" height='180'"}
{elseif $v.type=="url" && isset($listing_array[$v.caption]) && $listing_array[$v.caption]}
{$listing_array[$v.caption]}
{elseif $v.type=="file" && isset($listing_array[$v.caption]) && $listing_array[$v.caption]}
{elseif $v.type=="image" && isset($listing_array[$v.caption]) && $listing_array[$v.caption]}
{elseif $v.type=="date"}
{if isset($listing_array.vis[$v.caption])}{$listing_array.vis[$v.caption]}{/if}
{elseif $v.validation_type=="numeric"}
{if isset($listing_array.formatted[$v.caption])}{$listing_array.formatted[$v.caption]}{/if}
{elseif $v.type=="textarea"}
{if isset($listing_array.formatted[$v.caption])}{$listing_array.formatted[$v.caption]}{/if}
{elseif $v.type=="checkbox"}
{if isset($listing_array[$v.caption])}
{if $listing_array[$v.caption]==1}{$lng.general.Yes}{else}{$lng.general.No}{/if}
{/if}
{elseif $v.type=="google_maps" && isset($listing_array[$v.caption]) && $listing_array[$v.caption]}
{else}
{if isset($listing_array[$v.caption]) && $listing_array[$v.caption]}{$listing_array[$v.caption]}{else}-{/if}
{/if}
{if $v.postfix && isset($listing_array[$v.caption]) && $listing_array[$v.caption]}{$v.postfix}{/if}
|
{* new value *}
{if $v.prefix && isset($pending_edited_array[$v.caption]) && $pending_edited_array[$v.caption]}{$v.prefix}{/if}
{if $v.type=="price"}
{if in_array("price_extra", $modules_array) && isset($pe_settings[$fieldset])}
{include file="modules/price_extra/price_tag.html" values_array=$pending_edited_array}
{elseif isset($pending_edited_array.price_curr) && $pending_edited_array.price>0}
{$pending_edited_array.price_curr}
{/if}
{elseif $v.type=="checkbox_group" || $v.type=="multiselect"}
{if isset($pending_edited_array[$v.caption])}
{foreach name=multi from = $pending_edited_array[$v.caption] item=x}
{if $smarty.foreach.multi.index!=0}, {/if}{$x}
{/foreach}
{/if}
{elseif $v.type=="youtube" && isset($pending_edited_array[$v.caption]) && $pending_edited_array[$v.caption]}
{$pending_edited_array[$v.caption]|regex_replace:'/ width="[0-9]+"/':" width='200'"|regex_replace:'/ height="[0-9]+"/':" height='180'"}
{elseif $v.type=="url" && isset($pending_edited_array[$v.caption]) && $pending_edited_array[$v.caption]}
{$pending_edited_array[$v.caption]}
{elseif $v.type=="file" && isset($pending_edited_array[$v.caption]) && $pending_edited_array[$v.caption]}
{elseif $v.type=="image" && isset($pending_edited_array[$v.caption]) && $pending_edited_array[$v.caption]}
{elseif $v.type=="date"}
{if isset($pending_edited_array.vis[$v.caption])}{$pending_edited_array.vis[$v.caption]}{/if}
{elseif $v.validation_type=="numeric"}
{if isset($pending_edited_array.formatted[$v.caption])}{$pending_edited_array.formatted[$v.caption]}{/if}
{elseif $v.type=="textarea"}
{if isset($pending_edited_array.formatted[$v.caption])}{$pending_edited_array.formatted[$v.caption]}{/if}
{elseif $v.type=="checkbox"}
{if isset($pending_edited_array[$v.caption])}
{if $pending_edited_array[$v.caption]==1}{$lng.general.Yes}{else}{$lng.general.No}{/if}
{/if}
{elseif $v.type=="google_maps" && isset($pending_edited_array[$v.caption]) && $pending_edited_array[$v.caption]}
{else}
{if isset($pending_edited_array[$v.caption]) && $pending_edited_array[$v.caption]}{$pending_edited_array[$v.caption]}{else}-{/if}
{/if}
{if $v.postfix && isset($pending_edited_array[$v.caption]) && $pending_edited_array[$v.caption]}{$v.postfix}{/if}
|
| {$lng.listings.meta_keywords} | {if isset($listing_array.meta_keywords)}{$listing_array.meta_keywords}{/if} | {if isset($pending_edited.meta_keywords)}{$pending_edited_array.meta_keywords}{/if} |
| {$lng.listings.meta_description} | {if isset($listing_array.meta_description)}{$listing_array.meta_description}{/if} | {if isset($pending_edited.meta_description)}{$pending_edited_array.meta_description}{/if} |
| {$lng.packages.pictures} |
{foreach from=$pictures_array item=v}
|
{foreach from=$pending_edited_pictures_array item=v}
|