first commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
{if $config.wishes_site_snow_on != 0}
|
||||
|
||||
{if $config.wishes_site_snow_on == 1 && $uri=="/wishes" || $config.wishes_site_snow_on == 2 && $uri=="/" || $config.wishes_site_snow_on == 2 && $uri=="/wishes" || $config.wishes_site_snow_on == 3}
|
||||
<script type="text/javascript" src="/js/snowfall.min.jquery.js"></script>
|
||||
{literal}
|
||||
<script type="text/javascript" language="javascript">
|
||||
jQuery(function($) {
|
||||
$(document).ready(function() {
|
||||
$(document).snowfall({shadow : true, flakeCount : 250,});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
{/if}
|
||||
{/if}
|
||||
@@ -0,0 +1,42 @@
|
||||
{if $config.wishes_responsive_on == 1}
|
||||
<div id="wishes">
|
||||
<div class="row thumbnail relative{if $type == 'video'} wish-video{/if}" style="margin: 0 0 10px;">
|
||||
{if $type == 'video'}
|
||||
<div class="video-banner-bg">
|
||||
<video autoplay loop muted playsinline>
|
||||
<source src="/uploads/wishes_picture/{$filename}" type="video/mp4">
|
||||
</video>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
|
||||
<div>
|
||||
{if $type == 'image'}
|
||||
<img class="img-responsive center-block" src="/uploads/wishes_picture/{$filename}">
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 wishes-description">
|
||||
<div class="caption">
|
||||
|
||||
{$configBanner.wishes_responsive_description}
|
||||
|
||||
{if $config.wishes_responsive_music_on == 1}
|
||||
<div style=" margin: 20px auto; width: 260px;">
|
||||
{if $config.wishes_responsive_song_number == 1}
|
||||
<iframe width="100%" height="20" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/178863854&color=cccccc&inverse=false&&show_user=true"></iframe>
|
||||
{/if}
|
||||
{if $config.wishes_responsive_song_number == 3}
|
||||
<iframe width="100%" height="20" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/178863856&color=cccccc&inverse=false&&show_user=true"></iframe>
|
||||
{/if}
|
||||
{if $config.wishes_responsive_song_number == 6}
|
||||
<iframe width="100%" height="20" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/178863855&color=cccccc&inverse=false&&show_user=true"></iframe>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
Reference in New Issue
Block a user