1313 lines
40 KiB
Smarty
1313 lines
40 KiB
Smarty
{include file='header.tpl'}
|
|
{literal}
|
|
<link rel="stylesheet" type="text/css" href="/include/videogallery3/css/mvp.css" />
|
|
<style>
|
|
.mvp-pip-toggle{display:block!important;}
|
|
#imagecontainer1{height:627px;background:#0D0D0D; text-align:center;position: relative;}
|
|
#imagecontainer img{margin:auto; max-height:100%;}
|
|
|
|
|
|
.mvp-player-wrap{width:100%; height:100%;}
|
|
.pull-right-ad{float:right; margin-top:-40px}
|
|
@media (max-width: 587px){
|
|
.pull-right-ad{float:left; text-aliogn:center; margin-top:-20px}
|
|
}
|
|
.blogo{width:25px;}
|
|
#video_rating{background:none;}
|
|
|
|
@media (min-width: 992px) {
|
|
.pull-right-lg {
|
|
float: right;
|
|
}
|
|
}
|
|
@media (max-width: 1050px) {
|
|
{/literal}#{$owner->user_info.user_username}_profile_comments{literal} {
|
|
scroll-margin-top: 80px;
|
|
|
|
}
|
|
}
|
|
|
|
|
|
.jffthumb{
|
|
height:75px;
|
|
margin:auto;
|
|
}
|
|
@media (max-width: 477px) {
|
|
.jffthumb{
|
|
height: 100px;
|
|
margin: auto;
|
|
width: 100%;
|
|
object-fit: cover;
|
|
|
|
}}
|
|
@media (max-width: 367px) {
|
|
.jffthumb{
|
|
height: 120px;
|
|
margin: auto;
|
|
width: 100%;
|
|
object-fit: cover;
|
|
|
|
}}
|
|
.blogofloat{float: left; padding-left: 35px; padding-top: 5px;}
|
|
.blogocommentfloat{float: left; padding-left: 35px; padding-top: 5px;}
|
|
|
|
.jffusername{margin-top:12px; margin-left:152px;}
|
|
.albums_browse_item1{width:249px;}
|
|
.albums_browse_item1_margin{border-bottom:2px solid #3F3F3F; margin-bottom:10px; padding-bottom:5px;}
|
|
.albums_browse_item1_img img {
|
|
position: relative;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
height: auto;
|
|
top: 50%;
|
|
width: 100%;
|
|
min-height: 183.86px;
|
|
/* object-fit: cover; */
|
|
min-width: 262px;
|
|
}
|
|
.albums_browse_item1_img{overflow:hidden;
|
|
height:183.86px;
|
|
|
|
}
|
|
@media (max-width: 776px){
|
|
.blogofloat{float: right; padding-top: 5px;}
|
|
.blogocommentfloat{float: left;padding-top: 5px; padding-left:0; clear:both; margin-top:20px;}
|
|
.flagreport{margin-top:20px;}
|
|
.right-full{width: 100%; padding-left:0;}
|
|
.albums_browse_item1_img{width:100%;}
|
|
.albums_browse_item1{width: 100%; padding-right:0px;padding-left:0;}
|
|
}
|
|
|
|
|
|
#video_rating{font-size:15px;}
|
|
.videoratingbar a{color:white; font-weight:normal;}
|
|
.videoratingbar img{height:25px; font-size:15px; color:white; margin-bottom: 5px;}
|
|
.jffinfo{margin-top:10px; background:#0D0D0D; border:1px solid #3F3F3F; padding:10px; font-size:15px;}
|
|
|
|
.videoratingbar{
|
|
margin-top:10px; background:#0D0D0D; border-radius: 0 0 10px 10px; border:1px solid #3F3F3F; padding:10px 20px 10px 20px; font-size:15px;
|
|
}
|
|
|
|
.videoabout{background: #0D0D0D; padding: 15px 10px 15px 22px; border-radius: 10px 10px 0 0; border:1px solid #3F3F3F; margin-bottom: 25px; color: #bbbbbb;}
|
|
.videoaboutheader{font-size:15px; margin-bottom: 10px; color:white;}
|
|
|
|
|
|
|
|
|
|
.mvp-playlist-title{font-size:13px;}
|
|
.mvp-skin-sirius .mvp-solo-progress-level::-webkit-progress-value{
|
|
background-color:#fa3200;
|
|
}
|
|
.mvp-skin-sirius .mvp-solo-progress-level::-moz-progress-bar{
|
|
background-color:#fa3200;
|
|
}
|
|
|
|
.mvp-skin-sirius .mvp-contr-btn:hover svg{
|
|
color:#fa3200;
|
|
|
|
}
|
|
.mvp-skin-sirius .mvp-input-progress {
|
|
|
|
color: #fa3200;
|
|
|
|
}
|
|
|
|
.mvp-skin-sirius .mvp-input-volume {
|
|
|
|
color: #fa3200;
|
|
|
|
}
|
|
</style>
|
|
<script type="text/javascript" src="/include/videogallery3/js/new.js"></script>
|
|
<script type="text/javascript">
|
|
var player;
|
|
|
|
document.addEventListener("DOMContentLoaded", function(event) {
|
|
|
|
var settings = {
|
|
sourcePath: "/include/videogallery3/",
|
|
useEmbed: false,
|
|
|
|
useRewind: true,
|
|
rightClickContextMenu:"browser",
|
|
useCasting: true,
|
|
usePip: true,//picture in picture
|
|
adTitleText: "Advertisement",
|
|
adSkipWaitText: "You can skip ad in",
|
|
adSkipReadyText: "SKIP AD >",
|
|
logoPath:'/images/watermark1.png',//logo above player
|
|
inlineAdsContinueInText: "Continue in",
|
|
inlineAdsUpgradeText: "<a href='#'>Upgrade to Pro membership to hide these ads</a>",
|
|
inlineAdsCountdown: 5,
|
|
inlineAdsOccurence: 5000,
|
|
useShare:false,
|
|
forceAdMutedOnIos:true,
|
|
createAdMarkers:true,
|
|
playAdsOnlyOnce:true,
|
|
adUpcomingMsgText: "Ad will start in..",
|
|
showAdUpcomingMsg: true,
|
|
adUpcomingMsgTime: 5,
|
|
useAdSeekbar: true,
|
|
useAdControls: true,
|
|
useInfo:false,
|
|
|
|
|
|
instanceName: "player1",
|
|
activePlaylist: ".playlist-video",
|
|
activeItem: 0,
|
|
volume: 0,
|
|
autoPlay: true,
|
|
autoPlayAfterFirst: true,
|
|
randomPlay: true,
|
|
loopingOn: true,
|
|
aspectRatio:1,
|
|
useGa: true,
|
|
gaTrackingId: "G-00Z6DGT33S",
|
|
hidePlaylistOnFullscreenEnter: true,
|
|
mediaEndAction: "next",
|
|
//aspectRatio: 1,
|
|
playlistOpened: false,
|
|
useKeyboardNavigationForPlayback: true,
|
|
// rightClickContextMenu: "custom",
|
|
playlistItemContent: "thumb,title,description",
|
|
vrInfoImage: "/include/videogallery3/data/360.png",
|
|
elementsVisibilityArr: [
|
|
{
|
|
width: 500,
|
|
elements: [
|
|
"play",
|
|
"rewind",
|
|
"seekbar",
|
|
"fullscreen",
|
|
"settings",
|
|
|
|
|
|
"volume",
|
|
|
|
|
|
|
|
"chapter",
|
|
"annotations"
|
|
]
|
|
}
|
|
],
|
|
skin: "sirius",
|
|
playlistPosition: "no-playlist",
|
|
playerType: "normal",
|
|
playlistScrollType_field: "perfect-scrollbar",
|
|
/*adPre: //pre-roll: plays before video starts, only one allowed
|
|
{
|
|
type: "video",
|
|
path: [
|
|
{
|
|
quality: "HD",
|
|
mp4: "https://cdn.bateword.com/images/bumper/LOGO116x9.mp4"
|
|
}
|
|
],
|
|
skipEnable: "60", //allow skip to show button after x seconds, optional
|
|
link: "http://www.google.com", //url link to open when ad is clicked
|
|
target: "_blank" //url link target
|
|
},*/
|
|
playerTransition: "alpha"
|
|
}
|
|
|
|
|
|
|
|
player= new mvp(document.getElementById("wrapper"), settings);
|
|
|
|
|
|
|
|
player.addEventListener("fullscreenEnter", function(data){
|
|
|
|
//document.getElementById("arrowchat_base").style.display = "none"
|
|
jQuery("#arrowchat_mobiletab").hide();
|
|
jQuery("#fixedmobile").hide();
|
|
//called on fullscreen enter, returns (instance, instanceName, media)
|
|
|
|
})
|
|
player.addEventListener("fullscreenExit", function(data){
|
|
|
|
jQuery("#arrowchat_mobiletab").show();
|
|
jQuery("#fixedmobile").show();
|
|
//jQuery("#arrowchat_base").show();
|
|
//jQuery("#fixedmobile").show();
|
|
//called on fullscreen exit, returns (instance, instanceName, media)
|
|
|
|
})
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
</script>
|
|
{/literal}
|
|
|
|
<!-- Modernizr --><script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.0.6/modernizr.min.js"></script>{literal}<script>loadCSS('{/literal}{$imagecdn}{literal}include/flexslider/flexslider.css?s=19');</script><style type="text/css">.flex-caption{width:96%;padding:2%;left:0;bottom:0;background:rgba(0,0,0,.5);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.3);font-size:14px;line-height:18px}li.css a{border-radius:0}</style>{/literal}
|
|
{literal}
|
|
<script type="text/javascript">
|
|
|
|
jQuery(function(){
|
|
display_photos(15);setInterval(function() {display_photos(15)}, 120000);
|
|
display_photos(5);setInterval(function() {display_photos(5)}, 120000);
|
|
display_photos(6);setInterval(function() {display_photos(6)}, 120000);
|
|
display_photos(7);setInterval(function() {display_photos(7)}, 120000);
|
|
display_photos(8);setInterval(function() {display_photos(8)}, 120000);
|
|
display_photos(9);setInterval(function() {display_photos(9)}, 120000);
|
|
display_photos(24);setInterval(function() {display_photos(24)}, 120000);
|
|
display_photos(25);setInterval(function() {display_photos(25)}, 120000);
|
|
display_photos(26);setInterval(function() {display_photos(26)}, 120000);
|
|
display_photos(27);setInterval(function() {display_photos(27)}, 120000);
|
|
display_photos(28);setInterval(function() {display_photos(28)}, 120000);
|
|
display_photos(10);setInterval(function() {display_photos(10)}, 120000);
|
|
display_photos(11);setInterval(function() {display_photos(11)}, 120000);
|
|
display_photos(14);setInterval(function() {display_photos(14)}, 120000);
|
|
});
|
|
{/literal}
|
|
var userid="{$user->user_info.user_id}";
|
|
|
|
var username="{$user->user_info.user_username}";
|
|
|
|
var userlevel="{$user->user_info.user_level_id}";
|
|
|
|
var userinvisible="{$user->user_info.user_invisible}";
|
|
|
|
var userblocklist="";//"{$user->user_info.user_blocklist}";
|
|
|
|
</script><div id="hp_wrap" style="position:relative"><div class="col-sm-3 homeleft "><script type="text/javascript">
|
|
|
|
var userid="{$user->user_info.user_id}";
|
|
|
|
var pagename="home";
|
|
|
|
var username="{$user->user_info.user_username}";
|
|
|
|
var useremail="{$user->user_info.user_email}";
|
|
|
|
var userlevel="{$user->user_info.user_level_id}";
|
|
|
|
var userinvisible="{$user->user_info.user_invisible}";
|
|
|
|
var userphoto="{$user->user_info.user_photo}";
|
|
|
|
</script>
|
|
|
|
{* <div class='portal_login'> <div style='padding-bottom: 5px;'><a href='{$url->url_create("profile",$user->user_info.user_username)}'><img src='{$user->user_photo("./images/nophoto.png",true)}' border='0' class='photo' alt="{lang_sprintf id=509 1=$user->user_info.user_username}"/></a></div><div>{lang_sprintf id=510 1=$user->user_displayname_short}</div><div>[ <form method="POST" id="user_logout" action="user_logout.php" style="display:inline;margin:0;"><a href='user_logout.php?token={$token}' class='top_menu_item' onclick="$('user_logout').submit(); return false;">{lang_print id=26}</a></form>]</div></div><div class='portal_spacer'></div>*}<div class="header"><a href="/profile.php?user={$user->user_info.user_username}" style="text-decoration:underline;">Welcome, {$user->user_info.user_username}</a></div>
|
|
|
|
|
|
<div id="videocontainer">
|
|
<div id="wrapper">
|
|
|
|
<!--<div class="mvp-player-wrap">
|
|
|
|
|
|
</div><!-- end mvp-player-wrap -->
|
|
|
|
{literal}
|
|
|
|
</div>
|
|
|
|
<div id="mvp-playlist-list">
|
|
|
|
<div class="playlist-video">
|
|
|
|
|
|
|
|
<div class="mvp-playlist-item" data-type="video" data-path='[{"quality": "HD", "mp4":"{/literal}videos/XYBKBRYaudition.mp4{literal}"}]' data-thumb="{$video_info.video_dir|replace:'./':''}{$video_info.video_id}_thumb.jpg{literal}" data-title="{/literal}{$videos[video_loop].video_title}{literal}" data-description="{/literal}{$videos[video_loop].video_desc}">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
{literal}
|
|
|
|
|
|
<div class="mvp-playlist-item" data-type="video" data-path='[{"quality": "HD", "mp4":"{/literal}videos/PopperNateAudition.mp4{literal}"}{/literal}]' data-thumb="{$video_info.video_dir|replace:'./':''}{$video_info.video_id}_thumb.jpg{literal}" data-title="{/literal}{$videos[video_loop].video_title}{literal}" data-description="{/literal}{$videos[video_loop].video_desc}">
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
{*<div class="holder sitephoto15" style="font-size:9px;text-align:right;" id="welcomead">
|
|
</div>*}<div class='portal_spacer'></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{if $nomessages==1}<table cellpadding='0' cellspacing='0' width='100%'> <tr> <td class='header'>Notice To New Members</td></tr><tr> <td class='home_box'>In order to reduce spam, new members must wait before they are able to message others. Once you are able to message others, this message will no longer be seen. </td></tr></table><div class='portal_spacer'></div>{/if}
|
|
|
|
{* SHOW STATUS *}
|
|
|
|
<script src="/include/js/jquery.form.js"></script>
|
|
|
|
{if $user->level_info.level_profile_status != 0}
|
|
|
|
{lang_javascript ids=773,1113 range=743-747}
|
|
|
|
{literal}
|
|
|
|
<script type="text/javascript">
|
|
|
|
<!--
|
|
|
|
//SocialEngine.Viewer.user_status = '{/literal}{$user->user_info.user_status}{literal}';
|
|
|
|
|
|
|
|
document.addEventListener('DOMContentLoaded', function() {
|
|
|
|
|
|
|
|
jQuery('body').on('hidden.bs.modal', '#internalPageModal', function () {
|
|
|
|
jQuery("#internalPageModal .modal-content").empty();
|
|
|
|
jQuery(this).removeData('');
|
|
|
|
jQuery("body").append(content);
|
|
|
|
});
|
|
|
|
jQuery(document).on('click', '.removestatusimage', function(){
|
|
|
|
jQuery(this).parent().remove();
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
function addimagechange(val, ext)
|
|
|
|
{
|
|
|
|
duplicate=0;
|
|
|
|
jQuery('.statusimages').each(function(){
|
|
|
|
var el = jQuery(this); // element we're testing
|
|
|
|
|
|
|
|
// attempt to cast the form's value to a number
|
|
|
|
var n = el.val();
|
|
|
|
|
|
|
|
// check if the conversion passed
|
|
|
|
if (n==val){
|
|
|
|
duplicate=1;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
if(duplicate==0){
|
|
|
|
jQuery("#showimages").append("<div style='position: relative; margin:auto 5px; vertical-align:top; display: inline-block; width:100px; height:100px'><img src='{/literal}{$imagecdn1}{$url->url_userdir($user->user_info.user_id)}{literal}"+val+"."+ext+"' style='max-width:100px; max-height:100px;'><button type='button' class='close main-bg-color alt-text-color orangebg removestatusimage' style='top:0; right:0;'><i class='fa fa-times'></i></button><input type='hidden' name='statusimages[]' class='statusimages' value='"+val+"'></div>");
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
//-->
|
|
|
|
</script>
|
|
|
|
{/literal}
|
|
|
|
{if $nostatus!=1}
|
|
|
|
<table cellpadding='0' cellspacing='0' width='100%'> <tr> <td class='header'>{lang_print id=742}</td></tr><tr> <td class='home_box'> <table cellpadding='0' cellspacing='0'> <tr> <td valign='top'> </td><td> <div id='ajax_status'>
|
|
|
|
|
|
|
|
{if $user->user_info.user_status !=""}{assign var='status_date' value=$datetime->time_since($user->user_info.user_status_date)}{$user->user_displayname_short} <span id='ajax_currentstatus_value'>{$user->user_info.user_status}</span> <div style='padding-top: 5px;'> <div class='home_updated'>{lang_print id=1113} <span id='ajax_currentstatus_date'>{lang_sprintf id=$status_date[0] 1=$status_date[1]}</span> </div><div style='clear: both; height: 0px;'></div>
|
|
|
|
|
|
|
|
</div>{else}<span id='ajax_currentstatus_value'>{$user->user_info.user_status}</span> {/if}</div></td></tr>
|
|
|
|
<tr><td></td><td>
|
|
|
|
<a href="#internalPageModal" onclick="changeModalID('status_new', 'Update Your Status');" data-target="#internalPageModal" data-toggle="modal">Update Status</a></td></tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
</td></tr></table> <div class='portal_spacer'></div>{/if}
|
|
|
|
{/if}
|
|
|
|
<div id="status_new" style="background:black; display:none;">
|
|
|
|
<form autocomplete="off" id="updatestatus" action="misc_js.php" method="post"><input type="hidden" name="task" value="status_change">
|
|
|
|
<div id="ajax_status">{$user->user_info.user_username}<br>
|
|
|
|
<textarea name="status" id="status" class="form-control"></textarea><br>
|
|
|
|
<a href="javascript:void(0);" onclick="jQuery('#photoorvideoframe').prop('src', 'photogallery.php');jQuery('#photogallery').removeClass('hidden');">Add Photo</a><!-- |
|
|
|
|
<a href="javascript:void(0);" onclick="jQuery('#videogallery').show();">Add Video</a>-->
|
|
|
|
<div id="showimages" style="text-align:left;"></div>
|
|
|
|
<div id="photogallery" class="hidden"><iframe id="photoorvideoframe" src="" style="width:100%; height:500px;"></iframe></div>
|
|
|
|
<a href="javascript:void(0);" onclick="jQuery('#updatestatus').submit();modal.close(); return false;">save</a> | <a href="javascript:void(0);" data-dismiss="modal">cancel</a></div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{* SHOW RECENT NEWS ANNOUNCEMENTS IF MORE THAN ZERO *}{if $news|@count > 0}<div class='header'>{lang_print id=664}</div><div style='padding: 10px;margin:0px;background:#000;'>{section name=news_loop loop=$news max=10}<div style="margin-top:10px;">{if $news[news_loop].announcement_date!=''}{$news[news_loop].announcement_date}{/if}<br>
|
|
|
|
<strong>{$news[news_loop].announcement_subject}</strong></div><div style="margin:0px;padding:5px 0 0 0;">{$news[news_loop].announcement_body}</div>{/section}</div><div class='portal_spacer'></div>{/if}{if $user->user_info.iperror==1}{literal}<script>alert("You are no longer eligible for a 7 day free trial since they had a previous profile.");</script>{/literal}{/if}
|
|
|
|
|
|
|
|
{* <div class="flexslider" id="flexslider3">{include_php file=$serverpath|cat:'public_html/homestorage/batemas.html'}</div>
|
|
<div class="portal_spacer"></div>*}
|
|
|
|
<div class="sitephoto7"></div><div class='portal_spacer'></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{* hook_foreach name=user_home var=user_home_args}{include file=$user_home_args.file}{/hook_foreach *}<div class='header'>{lang_print id=2000240}</div><div class='network_content'>{if $total_group_subscribes !=0}{section name=subscribe_loop loop=$group_subscribes}{if $group_subscribes[subscribe_loop].total_comments !=0 OR $group_subscribes[subscribe_loop].total_posts !=0 OR $group_subscribes[subscribe_loop].total_photos !=0}{if !$smarty.section.subscribe_loop.first}<div style='height: 5px;'></div>{/if}<div style='font-weight: bold; margin-bottom: 2px;'> <a href='{$url->url_create("group", $smarty.const.NULL, $group_subscribes[subscribe_loop].group_id)}'>{$group_subscribes[subscribe_loop].group_title}</a> </div>{if $group_subscribes[subscribe_loop].total_comments !=0}<div style='font-size: 9px;'> - <a href='{$url->url_create("group", $smarty.const.NULL, $group_subscribes[subscribe_loop].group_id)}&v=comments'>{$group_subscribes[subscribe_loop].total_comments}New Comment{if $group_subscribes[subscribe_loop].total_comments!=1}s{/if}</a> </div>{/if}{if $group_subscribes[subscribe_loop].total_posts !=0}<div style='font-size: 9px;'> - <a href='{$url->url_create("group", $smarty.const.NULL, $group_subscribes[subscribe_loop].group_id)}&v=discussions'>{$group_subscribes[subscribe_loop].total_posts}New Post{if $group_subscribes[subscribe_loop].total_posts!=1}s{/if}</a> </div>{/if}{if $group_subscribes[subscribe_loop].total_photos !=0}<div style='font-size: 9px;'> - <a href='{$url->url_create("group", $smarty.const.NULL, $group_subscribes[subscribe_loop].group_id)}&v=photos'>{$group_subscribes[subscribe_loop].total_photos} New Photo{if $group_subscribes[subscribe_loop].total_photos!=1}s{/if}</a> </div>{/if}{assign var='group_updates' value=$group_updates+1}{/if}{/section}{if $group_updates==0}{* lang_print id=2000245 *}You have no group updates. To enable updates click on 'subscribe to group' anytime after you join a group.{/if}{else}You have no group updates. To enable updates click on 'subscribe to group' anytime after you join a group.{/if}</div><div class='portal_spacer'></div>
|
|
|
|
|
|
<div class='header'>Video of the Day</div><div class='portal_content' style="text-align:center;">{fetch file=$serverpath|cat:'public_html/homestorage/vidoftheday.html'}</div>
|
|
<div class="portal_spacer"></div>
|
|
|
|
|
|
<div class="sitephoto5"></div>
|
|
|
|
<div class='portal_spacer'></div>
|
|
|
|
|
|
|
|
{* SHOW ONLINE USERS IF MORE THAN ZERO *}{math assign='total_online_users' equation="x+y" x=$online_users[0]|@count y=$online_users[1]}{if $total_online_users > 0}<div id="online-users"> <div class='header'><a href="membersonline.php">Members <span class="yellow">Online</span> ({$total_online_users})</a></div></div><div class='portal_spacer'></div>{/if}
|
|
|
|
<div class="sitephoto6"></div>
|
|
|
|
<div class='portal_spacer'></div>
|
|
|
|
|
|
|
|
{fetch file=$serverpath|cat:'public_html/homestorage/latestphotos.html'}
|
|
|
|
<div class="portal_spacer"></div>
|
|
|
|
|
|
|
|
{fetch file=$serverpath|cat:'public_html/homestorage/latestvideos.html'}<div class="portal_spacer"></div>
|
|
|
|
|
|
|
|
|
|
<div class="sitephoto14"></div>{* include_php file=$serverpath|cat:'public_html/ads/adhomeleft4.php'*}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
{* BEGIN MIDDLE COLUMN *}<div class='col-sm-6 middlecolumn '>{* SHOW RECENT SIGNUPS *}<div class="gallery gallery1"> <div class='header'>{lang_print id=666}</div><div class='portal_content'>{if !empty($signups)}<div class="holder"> <ul>{section name=signups_loop loop=$signups max=36}<li>{if !empty($signups[signups_loop])}<a href='{$url->url_create("profile",$signups[signups_loop]->user_info.user_username)}' style="font-size:12px;">{$signups[signups_loop]->user_displayname|regex_replace:"/'/":"'"|truncate:9:"...":true}</a><br/> <a href='{$url->url_create("profile",$signups[signups_loop]->user_info.user_username)}'>{assign var="profilepicture" value=$signups[signups_loop]->user_photo("./images/nophoto.png", TRUE)}{$signups[signups_loop]->userprofiledot($profilepicture, "75px", "75px", NULL, 1)}</a>{/if}</li>{/section}</ul> </div>{else}{lang_print id=667}{/if}</div><div class="control"> <a href="javascript:void(0);" class="prev">prev</a> <a href="javascript:void(0);" class="next">next</a> </div></div><div class='portal_spacer'></div>
|
|
|
|
|
|
|
|
|
|
|
|
{* SHOW ACTIVITY FEED BANNER BANNER *}
|
|
|
|
|
|
|
|
{if $user->user_info.user_id>0}<div class='belownm_top' style='display: block; visibility: visible;margin:0px;padding:0px 0 2px 0;'>{* include_php file=$serverpath|cat:'public_html/ads/adhomemiddle1.php' *}<div class="sitephoto8"></div></div>{/if}{* END CONTENT CONTAINER *}<div class='portal_spacer'></div>
|
|
|
|
<div class="gallery gallery4"> <div class='header'>Newest Verified</div><div class='portal_content'>{if !empty($verifieds)}<div class="holder"> <ul>{section name=verifieds_loop loop=$verifieds max=36}<li>{if !empty($verifieds[verifieds_loop])}<a href='{$url->url_create("profile",$verifieds[verifieds_loop]->user_info.user_username)}' style="font-size:12px;">{$verifieds[verifieds_loop]->user_displayname|regex_replace:"/'/":"'"|truncate:9:"...":true}</a><br/> <a href='{$url->url_create("profile",$verifieds[verifieds_loop]->user_info.user_username)}'>{assign var="profilepicture" value=$verifieds[verifieds_loop]->user_photo("./images/nophoto.png", TRUE)}{$verifieds[verifieds_loop]->userprofiledot($profilepicture, "75px", "75px", NULL, 1)}</a>{/if}</li>{/section}</ul> </div>{else}{lang_print id=667}{/if}</div><div class="control"> <a href="javascript:void(0);" class="prev">prev</a> <a href="javascript:void(0);" class="next">next</a> </div></div>
|
|
|
|
<div class='portal_spacer'></div>
|
|
|
|
{*include_php file=$serverpath|cat:'public_html/ads/activityfeed.php'*}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{* SHOW PUBLIC VERSION OF ACTIVITY LIST *}{* ACTIVITY FEED PREFERENCES *}<div class="header">{lang_print id=737}<span class="activityspan">{if $setting.setting_actions_preference==1}<div class="styled-select floatleft ninetywide"><select onchange="document.location.href='home.php?show='+this.options[this.selectedIndex].value+'&membersonline={$smarty.get.membersonline}'"> <option value="5"{if $show==5}selected="selected"{/if}>Everyone</option> <option value="4"{if $show==4}selected="selected"{/if}>Friends</option> </select></div><a href='javascript:actionprefs();' style='color:#fff;'>{lang_print id=1070}</a>{/if}</span></div>
|
|
|
|
|
|
|
|
|
|
|
|
{if $setting.setting_actions_preference==1}{* DIV FOR SPECIFYING ACTION PREFERENCES *}<div style='display: none;' id='actionprefs'> <div style='margin-top: 10px;'>{lang_print id=1069}</div><br/> <form action='actionsettings_home_js.php' method='post' target='ajaxframe'>
|
|
|
|
{literal}<div style="border-bottom:1px solid white; margin-bottom:10px;"><label><input type="checkbox" id="checkallactions" onclick="if(jQuery('#checkallactions').is(':checked')){jQuery('.actiontypes').prop('checked', true);}else{jQuery('.actiontypes').prop('checked', false); }">Check all</label></div>{/literal}
|
|
|
|
{section name=actiontypes_loop loop=$actiontypes}{if $actiontypes[actiontypes_loop].actiontype_id!=28}<div><input type='checkbox' name='actiontype[]' id='actiontype_id_{$actiontypes[actiontypes_loop].actiontype_id}' value='{$actiontypes[actiontypes_loop].actiontype_id}'{if $actiontypes[actiontypes_loop].actiontype_selected==1}checked='checked'{/if} class="actiontypes" /> <label for='actiontype_id_{$actiontypes[actiontypes_loop].actiontype_id}'>{lang_print id=$actiontypes[actiontypes_loop].actiontype_desc}</label></div>{/if}{/section} <br/> <input type='submit' class='button' value='{lang_print id=173}'/> <input type='button' class='button' value='{lang_print id=39}' onClick='closemodal();'/> <input type='hidden' name='task' value='save_actionprefs'/> </form> </div>
|
|
|
|
|
|
|
|
{/if}
|
|
|
|
{* JAVACRIPT FOR SPECIFYING ACTION PREFERENCES *}
|
|
|
|
{literal}
|
|
|
|
<script type="text/javascript">
|
|
|
|
<!--
|
|
|
|
function actionprefs()
|
|
|
|
{
|
|
|
|
opendivmodal('actionprefs');
|
|
|
|
|
|
|
|
}
|
|
|
|
//-->
|
|
|
|
</script>
|
|
|
|
{/literal}
|
|
|
|
|
|
|
|
<div class='portal_whatsnew'>
|
|
|
|
{* RECENT ACTIVITY ADVERTISEMENT BANNERS *}<br>
|
|
|
|
|
|
|
|
<div class="action_text"> <a href="/home.php#latestgroups">Skip to bottom</a></div><br><br>
|
|
|
|
|
|
|
|
|
|
|
|
<div id="activities">Loading...</div>
|
|
|
|
</div>
|
|
|
|
<div class='portal_spacer'></div>
|
|
|
|
|
|
<div class="sitephoto9"></div>
|
|
|
|
<div class="portal_spacer"></div>
|
|
|
|
|
|
{* SHOW RECENT GROUPS *}
|
|
|
|
<div class="gallery gallery2" style="margin:0px;padding:0px;">
|
|
|
|
<div class='header'><a href="http://bateworld.com/browse_groups.php" title="Groups" name="latestgroups">Latest Groups</a></div>
|
|
|
|
<div class="portal-content" style="background:#000;margin:0px;padding:0px;">
|
|
|
|
<div class="holder" style="margin:0px;padding:0px;max-width:520px; width:100%; padding-bottom:10px;padding-top:6px;">
|
|
|
|
<ul style="background:#000;margin:0px;padding:0px;padding-left:6px;">
|
|
|
|
{section name=group_loop loop=$groups}
|
|
|
|
<li style="background:#000;width:250px;margin:0px;padding:0px 0px 0px 5px;">
|
|
|
|
<div style="padding-left:0px;">
|
|
|
|
<a href='{$url->url_create("group", $smarty.const.NULL, $groups[group_loop].group->group_info.group_id)}' style="font-size:11px !important;">
|
|
|
|
{$groups[group_loop].group->group_info.group_title|html_entity_decode:$smarty.const.ENT_QUOTES:'utf-8'|truncate:40:"...":true}
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<a href='{$url->url_create("group", $smarty.const.NULL, $groups[group_loop].group->group_info.group_id)}'>
|
|
|
|
<img onerror="this.src='{$imagecdn}/images/blank.gif'" data-src='{$groups[group_loop].group->group_photo()}' border='0' width='60' height='60' style="float:left;margin-right:5px;" class="lozad" />
|
|
|
|
</a>
|
|
|
|
<div style="padding-right:5px;">
|
|
|
|
{$groups[group_loop].group->group_info.group_desc|strip_tags|truncate:80:"...":true}
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
{/section}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control">
|
|
|
|
<a href="javascript:void(0);" class="prev">prev</a>
|
|
|
|
<a href="javascript:void(0);" class="next">next</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class='portal_spacer'></div>
|
|
|
|
|
|
<div class="sitephoto10"></div>
|
|
|
|
{* include_php file=$serverpath|cat:'public_html/ads/adhomemiddle2.php' *}
|
|
<div class='portal_spacer'></div>
|
|
|
|
{* Show Polls *}
|
|
|
|
<div id="latestpolls">Loading...</div>
|
|
<div class='portal_spacer'></div>
|
|
|
|
<div class="sitephoto24"></div>
|
|
{* include_php file=$serverpath|cat:'public_html/ads/adhomemiddle3.php' *}
|
|
|
|
|
|
<div class='portal_spacer'></div>
|
|
|
|
|
|
|
|
{* RECENT FORUMS *}
|
|
|
|
|
|
<div>
|
|
<div class="header"><a href="browse_albums.php">Random Photos</a><div class="pull-right"><a href="javascript:void(0);" onclick="reloadphotos();">Reload</a></div><div class="clear clearfix"></div></div>
|
|
|
|
|
|
<div style="background:#000;padding:10px 0px 0px 0px; ">
|
|
<div style="max-width:570px; width:100%; margin:auto;" id="randomphotos">
|
|
Loading...
|
|
|
|
|
|
<div class="clear clearfix"></div>
|
|
</div></div><div class="clear clearfix"></div>
|
|
</div><div class="clear clearfix"></div>
|
|
|
|
<div class='portal_spacer'></div>
|
|
<div class="sitephoto25"></div>
|
|
{* include_php file=$serverpath|cat:'public_html/ads/adhomemiddle3.php' *}
|
|
|
|
|
|
<div class='portal_spacer'></div>
|
|
|
|
|
|
{* LATEST BLOGS *}
|
|
|
|
<div id="latestblogs">Loading...</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class='portal_spacer'></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{* BEGIN RIGHT COLUMN CONTENT *}
|
|
|
|
<div class="col-sm-2 homeright">
|
|
|
|
{* WHAT'S HOT *}
|
|
|
|
<div id="wh-cont">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div style="margin:0px;padding:0px;width:100%;">
|
|
|
|
{* include_php file=$serverpath|cat:'public_html/ads/adhomeright1.php' *}
|
|
<div class="sitephoto11"></div>
|
|
|
|
|
|
<div class="portal_spacer"></div>
|
|
<a href="https://thebatorblog.com" target="_blank"><img data-src="/images/BatorBlogButton.png" class="img-responsive center-block lozad"></a>
|
|
<a href="https://thebateshop.com" target="_blank"><img data-src="/images/BateShopButton.png" class="img-responsive center-block lozad"></a>
|
|
<div class="portal_spacer"></div>
|
|
{literal}
|
|
<script>
|
|
jQuery('#newsletterform').ajaxForm({
|
|
success: function(){
|
|
|
|
jQuery('#newsletterform_div').hide();
|
|
jQuery('#newslettersuccess_div').show();
|
|
setTimeout(closemodal, 5000);
|
|
|
|
}
|
|
});
|
|
</script>
|
|
<div class="header"><a href="/newsletter" title="Newsletter" target="_blank">Newsletter</a></div>
|
|
|
|
|
|
|
|
<div style="padding: 10px;margin:0px;background:#000;">
|
|
<div id="newslettersuccess_div" style="display:none;" >Your subscription is confirmed</div>
|
|
<div id="newsletterform_div">
|
|
<form action="https://pmail.bateworld.com/subscribe" id="newsletterform" method="post">
|
|
Email:<br>
|
|
<input type="hidden" name="api_key" value="XaYQWwDBi6ujJkLon7iC">
|
|
<input type="text" name="email" value="" class="form-control"><input type="hidden" name="list" value="C763rpb9KlYCggYjqrxaSj1w">
|
|
<input type="submit" value="Subscribe" style="margin-top:10px;">
|
|
|
|
</form>
|
|
</div></div>{/literal}<div class='portal_spacer'></div>
|
|
|
|
|
|
{if $checkitout|@count > 0}
|
|
<div class='header'>Check It Out</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="holder checkitout" style="margin:0;padding:0 0 20px 0; width:100%;height:auto;overflow:hidden;background:#000;">
|
|
|
|
{section name=news_loop loop=$checkitout max=10}
|
|
|
|
<div><!--<img src='./images/icons/news16.gif' border='0' class='icon' alt='' />--><b>{$checkitout[news_loop].announcement_subject}</b>{if $checkitout[news_loop].announcement_date!=''} - {$checkitout[news_loop].announcement_date}{/if}</div>
|
|
|
|
<div style="margin:0px;padding:5px 0 0 0;">{$checkitout[news_loop].announcement_body}</div>
|
|
|
|
{/section}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div><div class='portal_spacer'></div>
|
|
<div class="sitephoto26"></div>
|
|
|
|
<div class='portal_spacer'></div><div class='header'>Photo of the Day</div><div class='portal_content' style="text-align:center;">{fetch file=$serverpath|cat:'public_html/homestorage/picoftheday.html'}</div>
|
|
<div class='portal_spacer'></div>
|
|
|
|
{* SHOW Events *}
|
|
|
|
|
|
|
|
{if $events|@count > 0}
|
|
|
|
<div class="header"><a href="http://bateworld.com/browse_events.php" title="Events">Events</a></div>
|
|
|
|
<div style="background:#000;">
|
|
|
|
{section name=event_loop loop=$events max=10}
|
|
|
|
<div style='padding: 5px 5px 5px 5px; background: #000000; text-align:left;'>
|
|
|
|
<div style='font-weight: bold; font-size: 12px;padding-bottom:7px;'>
|
|
|
|
<a href='/event.php?event_id={$events[event_loop].event->event_info.event_id}'>
|
|
|
|
{$events[event_loop].event->event_info.event_title}
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-4">
|
|
|
|
<a href='/event.php?event_id={$events[event_loop].event->event_info.event_id}'>
|
|
|
|
<img class='photo lozad' data-src='{$events[event_loop].event->event_photo()}' onerror="this.src='{$imagecdn}/images/blank.gif'" border='0' style="width:60px; height:60px;" />
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-4 nosidepadding">
|
|
|
|
<div style='color: #c0c0c0; font-size: 9px; margin-bottom: 2px;'>
|
|
|
|
{assign var=event_date_start value=$datetime->timezone($events[event_loop].event->event_info.event_date_start, $global_timezone)}
|
|
|
|
{assign var=event_date_end value=$datetime->timezone($events[event_loop].event->event_info.event_date_end, $global_timezone)}
|
|
|
|
|
|
|
|
{* NO END DATE *}
|
|
|
|
{if !$events[event_loop].event->event_info.event_date_end}
|
|
|
|
{lang_sprintf id=3000203 1=$datetime->cdate($setting.setting_dateformat, $event_date_start) 2=$datetime->cdate($setting.setting_timeformat, $event_date_start)}
|
|
|
|
|
|
|
|
{* SAME-DAY EVENT *}
|
|
|
|
{elseif $datetime->cdate("F j, Y", $event_date_start)==$datetime->cdate("F j, Y", $event_date_end)}
|
|
|
|
{lang_sprintf id=3000202 1=$datetime->cdate($setting.setting_dateformat, $event_date_start) 2=$datetime->cdate($setting.setting_timeformat, $event_date_start) 3=$datetime->cdate($setting.setting_timeformat, $event_date_end)}
|
|
|
|
|
|
|
|
{* MULTI-DAY EVENT *}
|
|
|
|
{else}
|
|
|
|
{lang_sprintf id=3000204 1=$datetime->cdate("`$setting.setting_dateformat` `$setting.setting_timeformat`", $event_date_start) 2=$datetime->cdate("`$setting.setting_dateformat` `$setting.setting_timeformat`", $event_date_end)} PT
|
|
|
|
{/if}
|
|
|
|
</div>
|
|
|
|
<div style='color: #c0c0c0; font-size: 9px; margin-bottom: 5px;'>
|
|
|
|
{assign var='event_dateupdated' value=$datetime->time_since($events[event_loop].event->event_info.event_dateupdated)}{capture assign="updated"}{lang_sprintf id=$event_dateupdated[0] 1=$event_dateupdated[1]}{/capture}
|
|
|
|
{lang_sprintf id=3000215 1=$events[event_loop].event->event_info.event_totalmembers} -
|
|
|
|
{lang_sprintf id=3000216 1=$events[event_loop].event_creator->user_displayname 2="/profile.php?user=`$events[event_loop].event_creator->user_info.user_username`"}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div style="height:1px;margin-top:-1px;font-size:0px;overflow:hidden;clear:both;"> </div>
|
|
|
|
{if $events[event_loop].event->event_info.onlineonly==1}Online Event{else}{$events[event_loop].event->event_info.address}<br>
|
|
|
|
{$events[event_loop].event->event_info.city}<br>
|
|
|
|
{$events[event_loop].event->event_info.state}{$events[event_loop].event->event_info.province}{if $events[event_loop].event->event_info.postal!=""} {$events[event_loop].event->event_info.postal}{/if}{/if}
|
|
|
|
</div>
|
|
|
|
{if $smarty.section.event_loop.rownum < $events|@count && $smarty.section.event_loop.rownum < 4 }
|
|
|
|
{*<hr style="width:95%;text-align:center;line-height:1px;" />*}
|
|
|
|
{else}
|
|
|
|
<!--<div style="height:5px;font-size:0px;overflow:hidden;"> </div>-->
|
|
|
|
{*<hr style="width:95%;text-align:center;line-height:1px;" />*}
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
{/section}
|
|
|
|
</div>
|
|
|
|
<div class='portal_spacer'></div>
|
|
|
|
{/if}
|
|
|
|
<div class="sitephoto27"></div>
|
|
<div class='portal_spacer'></div>
|
|
{*<div id="bookdiv"> <div class="flexslider" id="flexslider1">{fetch file=$serverpath|cat:'public_html/homestorage/bookbox.html'}</div></div>*}
|
|
|
|
|
|
|
|
|
|
<div class="flexslider" id="flexslider">{include_php file=$serverpath|cat:'public_html/homestorage/rotatingbox.html'}</div>
|
|
|
|
|
|
{* SHOW UPCOMING BIRTHDAYS *}<div class='header'>{lang_print id=1176}</div><div class='network_content'>
|
|
|
|
{* rgh - 2010-11-16 - removed year from date format string. Was previously backtickdollarsign setting.setting_dateformat backtick *}
|
|
|
|
{section name=birthday_loop loop=$birthdays max=20}
|
|
|
|
<div>
|
|
|
|
{*
|
|
|
|
<a href='{$url->url_create("profile", $birthdays[birthday_loop].birthday_user_username)}'>{$birthdays[birthday_loop].birthday_user_displayname}</a>
|
|
|
|
- {$datetime->cdate("`$setting.setting_dateformat`", $birthdays[birthday_loop].birthday_date)}
|
|
|
|
*}
|
|
|
|
<a href='{$url->url_create("profile", $birthdays[birthday_loop].birthday_user_username)}'>{$birthdays[birthday_loop].birthday_user_displayname}</a>
|
|
|
|
- {$birthdays[birthday_loop].birthday_date|date_format:"%B %e"}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
{sectionelse}
|
|
|
|
{lang_print id=1180}
|
|
|
|
{/section}</div>
|
|
|
|
<div class='portal_spacer'></div>
|
|
|
|
<div class="sitephoto28"></div>
|
|
|
|
<!-- end whats hot wrap //--><!-- end whats hot container //--></div><!-- end whats hot //--><div class='portal_spacer'></div>{*<script type="text/javascript" src="jackbox/js/jackbox-packed.min.js"></script>*}<script type="text/javascript">
|
|
|
|
{literal} jQuery=jQuery.noConflict();
|
|
|
|
jQuery(document).ready(function() { randomnumber=Math.floor(Math.random() * 2000000);
|
|
|
|
jQuery.ajax({
|
|
|
|
url: "homestorage/latestforums.html?s="+randomnumber,
|
|
|
|
cache: false
|
|
|
|
}).done(function( html ) { jQuery( "#latestforums" ).html( html );
|
|
|
|
});
|
|
|
|
|
|
|
|
jQuery.ajax({
|
|
|
|
url: "homestorage/latestblogs.html?s="+randomnumber,
|
|
|
|
cache: false
|
|
|
|
})
|
|
|
|
.done(function( html ) {
|
|
|
|
|
|
|
|
|
|
|
|
jQuery( "#latestblogs" ).html( html );
|
|
|
|
});jQuery.ajax({
|
|
|
|
url: "homestorage/latestpolls.html?s="+randomnumber,
|
|
|
|
cache: false
|
|
|
|
})
|
|
|
|
.done(function( html ) {
|
|
|
|
jQuery( "#latestpolls" ).html( html );
|
|
|
|
});
|
|
|
|
|
|
|
|
jQuery.ajax({
|
|
|
|
url: "homestorage/activityfeed.php?show={/literal}{$show}{literal}",
|
|
|
|
cache: false
|
|
|
|
})
|
|
|
|
.done(function( html ) {
|
|
|
|
jQuery( "#activities" ).html( html );
|
|
|
|
});
|
|
|
|
|
|
jQuery.ajax({
|
|
|
|
url: "misc_js.php?task=randomphotoshome",
|
|
|
|
cache: true
|
|
|
|
})
|
|
|
|
.done(function( html ) {
|
|
|
|
jQuery( "#randomphotos" ).html( html );
|
|
|
|
});
|
|
|
|
|
|
});
|
|
|
|
|
|
function reloadphotos(){
|
|
jQuery.ajax({
|
|
|
|
url: "misc_js.php?task=randomphotoshome",
|
|
|
|
cache: false
|
|
|
|
})
|
|
|
|
.done(function( html ) {
|
|
|
|
jQuery( "#randomphotos" ).html( html );
|
|
|
|
|
|
|
|
display_photos(15);
|
|
display_photos(5);
|
|
display_photos(6);
|
|
display_photos(7);
|
|
display_photos(8);
|
|
display_photos(9);
|
|
display_photos(24);
|
|
display_photos(25);
|
|
display_photos(26);
|
|
display_photos(27);
|
|
display_photos(28);
|
|
display_photos(10);
|
|
display_photos(11);
|
|
display_photos(14);
|
|
});}
|
|
|
|
function loadmoreactions(loadfrom)
|
|
|
|
{
|
|
|
|
jQuery.ajax({
|
|
|
|
url: "homestorage/activityfeed.php?show={/literal}{$show}{literal}&loadfrom="+loadfrom,
|
|
|
|
cache: true
|
|
|
|
})
|
|
|
|
.done(function( html ) {
|
|
|
|
jQuery( "#activities" ).append( html );
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
{/literal}
|
|
|
|
</script></div><div style='clear: both;'></div><!-- FlexSlider --><script src="https://cdnjs.cloudflare.com/ajax/libs/flexslider/2.7.2/jquery.flexslider-min.js"></script>
|
|
|
|
{literal}
|
|
|
|
<script type="text/javascript">
|
|
|
|
jQuery(function(){
|
|
|
|
|
|
|
|
SyntaxHighlighter.all();});
|
|
|
|
jQuery(window).load(function(){
|
|
|
|
jQuery('.flexslider').flexslider({
|
|
|
|
animation: "slide",
|
|
|
|
slideshowSpeed: 10000,
|
|
|
|
slideshow: true,
|
|
|
|
controlNav: false,
|
|
|
|
start: function(slider){
|
|
|
|
//$('body').removeClass('loading');
|
|
|
|
}
|
|
|
|
});var gallery1 = new slideGallery($$(".gallery1"), {
|
|
|
|
steps: 6,
|
|
|
|
mode: "circle",
|
|
|
|
random: false,
|
|
|
|
autoplay: true,
|
|
|
|
stop: ".stop",
|
|
|
|
start: ".start",
|
|
|
|
duration: 7000,
|
|
|
|
speed: 800
|
|
|
|
});var gallery2 = new slideGallery($$(".gallery2"), {
|
|
|
|
steps: 6,
|
|
|
|
mode: "circle",
|
|
|
|
autoplay: true,
|
|
|
|
duration: 9000,
|
|
|
|
speed: 800
|
|
|
|
|
|
|
|
});var gallery3 = new slideGallery($$(".gallery3"), {
|
|
|
|
steps: 2,
|
|
|
|
mode: "circle",
|
|
|
|
autoplay: true,
|
|
|
|
duration: 7000,
|
|
|
|
speed: 500
|
|
|
|
|
|
|
|
}); var gallery3 = new slideGallery($$(".gallery4"), {
|
|
|
|
steps: 6,
|
|
|
|
mode: "circle",
|
|
|
|
autoplay: true,
|
|
|
|
duration: 7000,
|
|
|
|
speed: 500
|
|
|
|
|
|
|
|
});var gallery3 = new slideGallery($$(".gallery5"), {
|
|
|
|
steps: 2,
|
|
|
|
mode: "circle",
|
|
|
|
autoplay: true,
|
|
|
|
duration: 7000,
|
|
|
|
speed: 500
|
|
|
|
|
|
|
|
}); var gallery3 = new slideGallery($$(".gallery6"), {
|
|
|
|
steps: 2,
|
|
|
|
mode: "circle",
|
|
|
|
autoplay: true,
|
|
|
|
duration: 7000,
|
|
|
|
speed: 500
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
{/literal} <!-- Syntax Highlighter --><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/SyntaxHighlighter/3.0.83/scripts/shCore.min.js"></script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/SyntaxHighlighter/3.0.83/scripts/shBrushXml.min.js"></script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/SyntaxHighlighter/3.0.83/scripts/shBrushJScript.min.js"></script><!-- Optional FlexSlider Additions --><script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-mousewheel/3.1.13/jquery.mousewheel.min.js"></script>{include file='footer.tpl'} |