{assign var=c_section value="{href_entry key="files"}"} {insert name="getCurrentSection" assign=s} {if $s eq "file-menu-entry6" or $smarty.post.do_reload eq "1"} {generate_html type="playlist_layout" bullet_id="ct-bullet1" entry_id="ct-entry-details1" section="files" bb="1"} {elseif $s eq "file-menu-entry7" or $s eq "file-menu-entry8"} {if $s eq "file-menu-entry7"} {generate_html type="file_comments_layout" bullet_id="ct-bullet1" entry_id="ct-entry-details1" section="files" bb="1"} {else} {generate_html type="file_responses_layout" bullet_id="ct-bullet1" entry_id="ct-entry-details1" section="files" bb="1"} {/if} {if $smarty.get.s eq ""} {/if} {else} {generate_html type="files_layout" bullet_id="ct-bullet1" entry_id="ct-entry-details1" section="files" bb="1"} {if $smarty.get.s ne ""} {/if} {/if} {if !$smarty.get or $s|strpos:"file-menu-entry6"!== false} {insert name="swiperJS" for="tnav"} {if $video_module}{insert name="swiperJS" for="video"}{/if} {if $short_module}{insert name="swiperJS" for="short"}{/if} {if $live_module}{insert name="swiperJS" for="live"}{/if} {if $image_module}{insert name="swiperJS" for="image"}{/if} {if $audio_module}{insert name="swiperJS" for="audio"}{/if} {if $document_module}{insert name="swiperJS" for="doc"}{/if} {if $blog_module}{insert name="swiperJS" for="blog"}{/if} {/if}