You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
1.2 KiB
23 lines
1.2 KiB
{if $typeid==1}
|
|
{$code}
|
|
{elseif $typeid==2}
|
|
<a href="{$url}" title="{$text_title}" target="_blank">{$text_name}</a>
|
|
{elseif $typeid==3}
|
|
{if $url}<a href="{$url}" target="_blank">{/if}<img src="{$image_src}" width="{$width}" height="{$height}" alt="{$image_alt}"/>{if $url}</a>{/if}
|
|
{elseif $typeid==4}
|
|
{if $url}<a href="{$url}" target="_blank"><img src="{DT_SKIN}image/spacer.gif" width="{$width}" height="{$height}" alt="" style="position:absolute;z-index:2;"/></a>{/if}<video src="{$video_src}" width="{$width}" height="{$height}" controls="controls"{if $video_auto} autoplay="autoplay" muted="muted"{/if}{if $video_loop} loop="loop"{/if}></video>
|
|
{elseif $typeid == 5}
|
|
{load('slide.js')}
|
|
<div id="slide_a{$pid}" class="slide" style="width:{$width}px;height:{$height}px;">
|
|
{loop $tags $i $t}
|
|
<a href="{if $t[linkurl]}{$t[linkurl]}{else}###{/if}" target="{if $t[linkurl]}_blank{else}_self{/if}"><img src="{$t[thumb]}" width="{$width}" height="{$height}" alt="{$t[alt]}"/></a>
|
|
{/loop}
|
|
</div>
|
|
<script type="text/javascript">$(function(){new dslide('slide_a{$pid}');});</script>
|
|
{elseif $typeid==6}
|
|
{if $tags}
|
|
<div id="adword">
|
|
<div class="adword">{template 'list-'.$ad_module, 'tag'}</div>
|
|
</div>
|
|
{/if}
|
|
{/if}
|