{if $template_event eq 'preview'}
|
{$post_vars.node_content|preview} |
|
{* end of preview *}
{elseif $template_event eq 'filter_by'}
{get_threaded_children listing_amount=23232322323 offset=$offset types=$children_types search_type=$post_vars.search_type search=$post_vars.node_content}
{elseif $user_id neq true}
{get_threaded_children link='yes' offset=0 listing_amount=232 orderby="asc"}
{elseif $node.node_user_subchild_count eq true}
{get_threaded_children link='yes' offset=0 listing_amount=232 time=$node.last_visit time=$node.last_visit orderby=$listing_order types=$children_types}
{else}
{get_threaded_children link='yes' listing_amount=$listing_amount offset=$offset types=$children_types orderby=$listing_order}
{/if}
{*get_linked_nodes time_1=$time_1 time_2=$time_2 orderby=$listing_order*}
{if $user_id neq true}
{merge_arrays array1=$get_threaded_children array2=$get_linked_nodes sort_by='thread' orderby="asc"}
{else}
{merge_arrays array1=$get_threaded_children array2=$get_linked_nodes sort_by='thread' orderby=$listing_order}
{/if}
{foreach from=$merged item=child}
{if $child.template_id eq 11}
{get_poll poll=$child}
{include file="modules/show_poll.tpl" get_poll=$get_poll}
{else}
{*if $child.node_created > $node.last_visit and $child.depth>$node.vector_depth*}
{$child.node_vector} |
{*/if*}
|
|
{$child.node_content|stripslashes|nl2br} |
|
{/if}
{/foreach}