<{if $logo_auto==1}>
    <a href="<{$xoops_url}>/index.php?<{$logo_var}>=<{$smarty.get.$logo_var}>"><img id="website_logo" src="<{$xoops_url}><{$logo_path}><{$smarty.get.$logo_var}>.<{$logo_ext}>" style="max-width: 100%;<{if $logo_position=="slide"}>position: absolute; z-index: 5; <{$logo_place}><{else}>position: relative; z-index:10;<{/if}>" alt="<{$xoops_sitename}>" title="<{$xoops_sitename}>" class="img-fluid"></a>
<{elseif $logo_img|substr:-3=="swf"}>
    <object
    type="application/x-shockwave-flash"
    data="<{$logo_img}>"
    width="400"
    height="100"
    wmode="transparent">
    <param name="movie"
    value="<{$logo_img}>" width="400" height="100" name="wmode" value="transparent">
    </object>
<{elseif $logo_img}>
    <a href="<{$xoops_url}>/index.php"><img id="website_logo" src="<{$logo_img}>" style="max-width: 100%;<{if $logo_position=="slide"}>position: absolute; z-index: 5; <{$logo_place}><{else}>position: relative; z-index:10;<{/if}>" alt="<{$xoops_sitename}>" title="<{$xoops_sitename}>" class="img-fluid"></a>
<{else}>
    <a href="<{$xoops_url}>/index.php"><{$xoops_sitename}></a>
<{/if}>
